summaryrefslogtreecommitdiffstats
path: root/vcl
Commit message (Collapse)AuthorAgeFilesLines
* make presentation spanning all screens work (bnc#758138)Luboš Luňák2012-11-262-17/+23
| | | | | | | | | | | | | | | | This reverts an API "improvement" from 6ee5dfa150d408179e20a5525ff7ec46649e0e58 that tried to use -1 as the current screen/display but failed. The check for nDisplayScreen being in range broke all-screens (which is represented as last_screen+1 value, which is broken in its own way, as e.g. the screen count can change). The same way -1 as the default value is broken, as everywhere else invalid invalid screen number means spanning all screens. The extra overloads without a default value should take care of that. Conflicts: vcl/source/window/wrkwin.cxx Change-Id: Ie118038eacacebc007c25860732d5904ad0de2b9 Signed-off-by: Thorsten Behrens <tbehrens@suse.com>
* Windows: Enable nicer toolbars even for XP, not only Vista and higher.Jan Holesovsky2012-11-151-3/+3
| | | | Change-Id: I26837290d1416637032d2dfcfa45b4003c874309
* Merge remote-tracking branch 'origin/libreoffice-3-6-3' into suse-3.6Petr Mladek2012-11-0516-45/+131
|\ | | | | | | | | | | | | | | | | Conflicts: desktop/source/app/sofficemain.cxx instsetoo_native/util/openoffice.lst solenv/inc/minor.mk Change-Id: I3e9510067c7173f6c71368e70ba6dfe168c5318e
| * Resolves: rhbz#868479 / fdo#56281 doubled ~ in German ok/cancel translationsCaolán McNamara2012-10-231-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We have unix-specific code adding ~ to OK/Cancel. So don't add ~ if string already contains those. Though its an open question if the presence of ~ is a bad thing for the Windows case. i.e. if we should have tooling to not allow the OK/Cancel translations to contain ~ in the first place, of if we should drop the ifdef UNX and do it globally now Change-Id: I461c6ac9ca574ed188f51472919be82ec582e389 Signed-off-by: Petr Mladek <pmladek@suse.cz> Signed-off-by: Eike Rathke <erack@redhat.com> Signed-off-by: Andras Timar <timar74@gmail.com>
| * Fix fdo#55142 - use proper output offsets.Sergey Farbotka2012-10-101-1/+1
| | | | | | | | | | | | | | Change-Id: I49cd72a91cd31ddc8b3d57000210523a73926d1f Reviewed-on: https://gerrit.libreoffice.org/853 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
| * Silly workaround for fdo#55156Tor Lillqvist2012-10-011-0/+4
| | | | | | | | | | | | | | | | | | I feel dirty now. Change-Id: I1cafb0c0494d56bc9c81594c2145b2cc4a1ee389 Reviewed-on: https://gerrit.libreoffice.org/710 Reviewed-by: Michael Meeks <michael.meeks@suse.com> Tested-by: Michael Meeks <michael.meeks@suse.com>
| * Fix crash on Mac when a11y in use, and avoid infinite loop, fdo#47275Tor Lillqvist2012-09-272-2/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The code used static_cast blindly even if the object not necessarily was of the assumed subclass. Crash followed. Use dynamic_cast instead to be able to check, like the corresponding code for GTK a11y. After that fix we then got a nice infinite loop whn an object apparently is its own parent. Detect that and break out. Whether accessibility for the affected parts of the GUI actually works now for its real use cases, no idea. But anything is better than a crash... Change-Id: I862234e168db0bd19d185b0f1f73b733b570cac4 Signed-off-by: Norbert Thiebaud <nthiebaud@gmail.com>
| * Clean up option processingStephan Bergmann2012-09-261-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Support --version on non-UNX, too. * Consistently show the first unknown option and the help blob in the presence of any unknown options. * There is no need to tunnel --help/--version past oosplash in the soffice script, as oosplash is prepared to treat them adequately (esp. not pass them over any pipe); this only added unnecessary variance to what spellings exactly are supported and how mixtures of --help, --version, and unknown options are handled. (cherry picked from commit f4a4ba9ac1b58b4726825400e1edd1bf47d4080a) Change-Id: I617f2e727e2f0eafd34a2de3b85d441c6783ec4f Reviewed-on: https://gerrit.libreoffice.org/700 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
| * Don't access broken service mgr during bootstrap failureStephan Bergmann2012-09-2011-34/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...so that displaying a (non-translated) error box upon BE_UNO_SERVICEMANAGER works after all. Augment the error text with an exception message where appropriate. This allows to revert fdfb7a3c4b3a89b73ab5546b9620348bc4984d8f "Related fdo#51252: Report uncaught exceptions with MessageBox on Windows" as that was to catch and display failures from instantiating the service mgr. (cherry picked from commit cccc6bcfa095121c91e8bbc396f5bcf7e95424b9) Change-Id: I049a38e95342634796eb0e940e2ee8e55193c9d3 Reviewed-on: https://gerrit.libreoffice.org/654 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* | confusion around parantheses near fabs()Andras Timar2012-10-131-1/+1
| | | | | | | | Change-Id: Ifcab9f9ef73eb044288ed68014dc05acd9a2efa8
* | Add new Scale modes, simplify convolution calculation.Tomaž Vajngerl2012-10-122-171/+166
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Convolution calculation now uses 2x transposing horizontal pass instead of horizontal and vertical which simplifies the code by reducing code duplication. Instead of more convolution methods, only one generic method is used and kernels are now a parameter to the method. For this Kernel class was introduced with responsibility to calculate kernel walues and hold kernel specific information. Besides Lanzcos resampling also Box, Bilinear and Bicubic resampling was introduced. Box is the simplest and fastest but with still good quality.
* | simpler fix fo fdo#51336, bnc#757602 - change vcl checkbox no-label behaviourNoel Power2012-09-282-10/+20
| | | | | | | | Change-Id: I1563dc2afc49c7b1115192db00fbd08a7524154e
* | Revert "fdo#51336 - change vcl checkbox no-label behaviour"Noel Power2012-09-282-21/+12
| | | | | | | | This reverts commit 99cad9fd7f413adecffc527d334eff616799cc4b.
* | Revert "additional fix for fdo#51336 for radiobuttons"Noel Power2012-09-282-15/+6
|/ | | | This reverts commit aea425a8cd851e6bee02247673c8996b58789484.
* fdo#47368: Fix for infinite recursionMichael Meeks2012-09-101-9/+3
| | | | | | | See bug for discussion. Change-Id: Id45dd2902bd2cb68618c3e7324867f226c025698 Signed-off-by: Tor Lillqvist <tml@iki.fi>
* multiline tooltip for very long (eg. footnote) texts #i42424#László Németh2012-09-071-2/+4
| | | | | Change-Id: Ib6383220c3cdd6fef55dee82fcfdc3472da45163 Signed-off-by: Andras Timar <atimar@suse.com>
* fdo#54546: Force version 2.1 of the sRGB profile for PDF/A-1aFridrich Štrba2012-09-051-0/+2
| | | | | | | (cherry picked from commit 24f691867d02e853153a53e49276c2a8c30ea1fe) Change-Id: I7c40c37fbe344f1e46ea4a09fb99a5ac82ffd577 Signed-off-by: Lionel Elie Mamane <lionel@mamane.lu>
* Resolves: fdo#53258 Aquabase-spanish-support busts ttf reader againCaolán McNamara2012-08-161-3/+8
| | | | | | | | | Once as #i107552# and now again as fdo#53258. This is one sick puppy of a font. It makes fontforge and fontconfig jump through hoops as well. Change-Id: Ifee780bb1463dca4e8b045828a07369e6c3863fc Signed-off-by: Tomas Chvatal <tchvatal@suse.cz>
* Windows toolbars: Use our own theming even for vertical or bottom toolbars.Jan Holesovsky2012-08-141-26/+35
| | | | | Change-Id: I4836d7f2055c4811f0e6ccdc87dc58895528b3f8 Signed-off-by: Petr Mladek <pmladek@suse.cz>
* WaE: unused variableChristian Lohmaier2012-08-101-0/+1
| | | | | | | see a9e58e29f65df820d133022c5cb15387075d6b37 not cherry-picked as file was moved on master Change-Id: Ibb74e51a1bcba6f0fd532186767124d55e061f67
* additional fix for fdo#51336 for radiobuttonsNoel Power2012-08-082-6/+15
| | | | | Change-Id: Ib35d27962b2c63221e1967886236547b3b1047d6 Signed-off-by: Petr Mladek <pmladek@suse.cz>
* fdo#51336 - change vcl checkbox no-label behaviourNoel Power2012-08-082-12/+21
| | | | | Change-Id: I352c6041cc520dc76c302190dcf3a6945f5ac85f Signed-off-by: Petr Mladek <pmladek@suse.cz>
* basic, cui, extensions, filter, vcl: fix some warningsMichael Stahl2012-08-022-6/+7
| | | | Signed-off-by: Petr Mladek <pmladek@suse.cz>
* do not let LO's autoextension handling interfere with KFileDialog's(fdo#52546)Luboš Luňák2012-08-011-3/+6
| | | | | Change-Id: I73263a74d7b9bbf4a99e86773854e69f747e19d5 Signed-off-by: Tomas Chvatal <tchvatal@suse.cz>
* Make default dark shadow non-blackRuslan Kabatsayev2012-07-252-0/+3
| | | | | Change-Id: If517926b12633a96ad8088e007cfcd6d84e5c919 Signed-off-by: Jan Holesovsky <kendy@suse.cz>
* Resolves: fdo#50975 rsvg_handle_new_from_data calls rsvg_handle_closeCaolán McNamara2012-07-231-9/+8
| | | | | | | | | | | | | | rsvg_handle_new_from_data calls rsvg_handle_fill_with_data which itself calls rsvg_handle_close on success, so we don't have to. And older versions of librsvg (e.g. 2.16.1) don't protect against rsvg_handle_close getting called twice, although new versions do, so we crash on e.g. RHEL-5 Change-Id: I451075e50c9c2c7b07289356d7a92eb55db82f9f (cherry picked from commit 682cb83ed59233decbeeaff68c4d871442b58bb1) Signed-off-by: Michael Stahl <mstahl@redhat.com>
* fdo#47368 - fix one potential re-enterancy hazard around even emissionMichael Meeks2012-07-231-2/+7
| | | | | Change-Id: I8be50fb82d1333731dae825b1785e981fe69adbd Signed-off-by: Norbert Thiebaud <nthiebaud@gmail.com>
* Fix fdo#50631 - have GetTextBoundRect() properly rotate boundsThorsten Behrens2012-07-221-1/+28
| | | | | | | Earlier fixes to AquaSalGraphics::GetGlyphBoundRect() are ineffective, since this method is not even called from ATSLayout. Change-Id: Iaeda228afed4799e6d54c5a7b1764b39f7b77c81
* Resolves: fdo#51957 typo, endash entered twice, 2nd should be emdashCaolán McNamara2012-07-171-1/+1
| | | | | | | | | | A typo, correct list can be seen in the CFF spec http://download.microsoft.com/download/8/0/1/801a191c-029d-4af3-9642-555f6fe514ee/cff.pdf Change-Id: I1c07d140d2caae9ac32390c3367f65495ec76ff4 (cherry picked from commit a9a91490680d2778397b6b08583149e39022e692) Signed-off-by: Luboš Luňák <l.lunak@suse.cz>
* Related: fdo#45355 stale gdi font handles apparently still usedCaolán McNamara2012-07-142-28/+47
| | | | | | | | | | | | | | | | | | | When we do glyph fallback we check to see if the glyph is too large to fit the space available, and if it is we try and rescale it smaller. This worked wonderfully under Linux, but under Windows it seems that the SalLayout impl keeps an old unscaled gdi font handle which would give visually broken glyphs for me when the base font was smaller than the replacement font. So, now instead rather than just changing the font for the fallback level, we throw away the SalLayout using the old font, set the font for the fallback level, and recreate a new SalLayout using the new font. Hopefully this is the true reason behind the crashes of fdo#45355 although that remains unreproducible for me. Change-Id: I415b6e7a77777d4aa5e62079c52c6c18473c0ebd Signed-off-by: Andras Timar <atimar@suse.com>
* Fix the About dialog rendering when librsvg is not available / functional.Jan Holesovsky2012-07-131-1/+2
| | | | | | | Change-Id: Ib460f3cbf44114ef74065168b218daca51f2f0e9 (cherry picked from commit debfb21c927e39ab18aafb1895f343840967e16a) Signed-off-by: Caolán McNamara <caolanm@redhat.com>
* correctly paint toolbar separators with gtk-2.8 (bnc#770013)Petr Mladek2012-07-101-3/+5
| | | | | | | | | | wide_separators = 0 would be enough because the value was not modified if the property did not exist. Anyway, I added also #if GTK_CHECK_VERSION(2,10,0) because it helps to avoid the GTK warning about non-existing property 'wide-separators'. Change-Id: If93928821d951dc15da967519cb207efdaa30cf7
* fdo#47071: Undocked toolbars do not show all icons in special ratioIvan Timofeev2012-07-091-1/+1
| | | | | | | | restore the old behaviour (pre-1703501a100cd6d52578baeb4e8097218b285ffb) for floating toolbars. Change-Id: I8435bd94a44744c5af7a3abdbeb99e8f7cf0af24 (cherry picked from commit 89de7eef5090c5efdca1314f8838bdc977001e5d)
* Fix check for FRAME_DRAW_NWF, and thus reenable CTRL_FRAME supportRuslan Kabatsayev2012-07-071-1/+1
| | | | | Change-Id: I065c8f21c72a1992282dbd90dc7ff7850a301261 (cherry picked from commit 9508f653ddced5b1dc7d74d050d7c36d563978c9)
* fdo#49486: fix graphite2 hyphenation regressionMartin Hosken2012-07-051-2/+2
| | | | | Change-Id: I6d5901f28b66c8edc0c16e7ec04d574a5d59dedc (cherry picked from commit b25385a671ed43580a360570981ac1d52446a615)
* fix drawing of calc input line when vcl backend supports CTRL_FRAMEIvan Timofeev2012-07-041-1/+2
| | | | | | | | | | it is counterintuitive, but FRAME_DRAW_NWF was introduced to shrink a draw rectangle on its way, regardless of native CTRL_FRAME support (see d02e19e3d8697132f63eca353047a572b1e459ea). And that is what we want for the calc input line. Change-Id: Ie2f8bc6e2e21a56b081b8c71cc2b642b8f05848f (cherry picked from commit 504e433331016004fb2edebdb29a85d69084b1d6)
* typo in Norwegian translations of keyboard shortcuts (fdo#50415)Mihkel Tõnnov2012-07-021-1/+1
| | | | Change-Id: Ia6408f7c50ad16851d3302eebf603545996b2978
* Estonian translation for keyboard shortcuts (fdo#50415)Mihkel Tõnnov2012-07-021-0/+31
| | | | Change-Id: I741553e5f489b74b339e991ae01d7e6f1b7f29c7
* aero toolbar: Use f0f0f0 for the gradient again, it was reverted by accident.Jan Holesovsky2012-06-261-1/+1
| | | | Change-Id: I05435615185f05ec3fd9609f039394f4ecb03def
* Fix more bugs in ImplgetTopDockingAreaHeight().Jan Holesovsky2012-06-261-5/+8
| | | | | | | - fixed infinite loop (calling next in an 'else' is a bad idea) - there may be more top docking areas, pick the one with != 0 height Change-Id: I4892a655e25efff4d7282c5106ba238f94586374
* Better initialization of members.Jan Holesovsky2012-06-251-9/+7
| | | | Change-Id: I5e11865222dbb966185585fe3fd413834c6c6b9a
* Re-introduce a useful MSDN link about DWM and drawing into non-client area.Jan Holesovsky2012-06-251-1/+4
| | | | Change-Id: If56d66f7ee8a509566da0cf5c21ce91bced67310
* aero toolbar: Extend the drawing of the toolbar to the menubar area.Jan Holesovsky2012-06-252-43/+49
| | | | | | Fix the maTopDockingAreaHeight computation too, it did not work. Change-Id: I788c96960a5607482b750d536e522644e236f052
* Revert "Reduce copy'n'paste by different nesting of if's."Jan Holesovsky2012-06-251-26/+38
| | | | This reverts commit 83208da599e46dbba39c9e9a5b503bc4e93d4eea.
* Revert "aero: Implement a glass menubar on Windows."Jan Holesovsky2012-06-255-159/+37
| | | | This reverts commit 64c696fc92a860fdbbe490ca503391b964dd646f.
* Revert "menubar: Improved Windows Vista or later look (based on Mirek M.'s ↵Jan Holesovsky2012-06-251-83/+31
| | | | | | design)." This reverts commit eac708b0b188d7e6477922bb4bc03199cd92f5ca.
* Revert "aero menubar: Improve look according to Mirek M. + Astron's notes."Jan Holesovsky2012-06-251-52/+63
| | | | This reverts commit 663bfb42c8e2a7e3306eaa59ca77746d0aa0a197.
* Revert "aero menubar: Make the text in menu black."Jan Holesovsky2012-06-252-101/+10
| | | | This reverts commit 9164d135db46be9de56ef60f4b95bbd933fdb57e.
* Revert "aero menubar: Make the glow around the entries smaller."Jan Holesovsky2012-06-251-58/+2
| | | | This reverts commit ff367eb669686c80cd5f0931cf0adf81d02f49e0.
* Resolves: fdo#47636 cache fontconfig font substitutionsCaolán McNamara2012-06-253-52/+210
| | | | | | | | | | | | | But this time cache on *all* properties, not just the name, which doesn't cut it, given the things fontconfig can do, e.g. fdo#41556 (cherry picked from commit 8c023fd645c8b83637ffcde4055886b2e4f94393) Conflicts: vcl/inc/outfont.hxx vcl/source/gdi/outdev3.cxx Change-Id: Idfc1dbac67b6912e4985570a0b7c6ccdf47fa4a5