summaryrefslogtreecommitdiff
path: root/vcl
AgeCommit message (Collapse)AuthorFilesLines
2013-01-13make presentation spanning all screens work (bnc#758138)Luboš Luňák2-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>
2012-11-15Windows: Enable nicer toolbars even for XP, not only Vista and higher.Jan Holesovsky1-3/+3
Change-Id: I26837290d1416637032d2dfcfa45b4003c874309
2012-11-05Merge remote-tracking branch 'origin/libreoffice-3-6-3' into suse-3.6Petr Mladek16-45/+131
Conflicts: desktop/source/app/sofficemain.cxx instsetoo_native/util/openoffice.lst solenv/inc/minor.mk Change-Id: I3e9510067c7173f6c71368e70ba6dfe168c5318e
2012-10-23Resolves: rhbz#868479 / fdo#56281 doubled ~ in German ok/cancel translationsCaolán McNamara1-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>
2012-10-13confusion around parantheses near fabs()Andras Timar1-1/+1
Change-Id: Ifcab9f9ef73eb044288ed68014dc05acd9a2efa8
2012-10-12Add new Scale modes, simplify convolution calculation.Tomaž Vajngerl2-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.
2012-10-10Fix fdo#55142 - use proper output offsets.Sergey Farbotka1-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>
2012-10-01Silly workaround for fdo#55156Tor Lillqvist1-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>
2012-09-28simpler fix fo fdo#51336, bnc#757602 - change vcl checkbox no-label behaviourNoel Power2-10/+20
Change-Id: I1563dc2afc49c7b1115192db00fbd08a7524154e
2012-09-28Revert "fdo#51336 - change vcl checkbox no-label behaviour"Noel Power2-21/+12
This reverts commit 99cad9fd7f413adecffc527d334eff616799cc4b.
2012-09-28Revert "additional fix for fdo#51336 for radiobuttons"Noel Power2-15/+6
This reverts commit aea425a8cd851e6bee02247673c8996b58789484.
2012-09-27Fix crash on Mac when a11y in use, and avoid infinite loop, fdo#47275Tor Lillqvist2-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>
2012-09-26Clean up option processingStephan Bergmann1-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>
2012-09-20Don't access broken service mgr during bootstrap failureStephan Bergmann11-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>
2012-09-10fdo#47368: Fix for infinite recursionMichael Meeks1-9/+3
See bug for discussion. Change-Id: Id45dd2902bd2cb68618c3e7324867f226c025698 Signed-off-by: Tor Lillqvist <tml@iki.fi>
2012-09-07multiline tooltip for very long (eg. footnote) texts #i42424#László Németh1-2/+4
Change-Id: Ib6383220c3cdd6fef55dee82fcfdc3472da45163 Signed-off-by: Andras Timar <atimar@suse.com>
2012-09-05fdo#54546: Force version 2.1 of the sRGB profile for PDF/A-1aFridrich Štrba1-0/+2
(cherry picked from commit 24f691867d02e853153a53e49276c2a8c30ea1fe) Change-Id: I7c40c37fbe344f1e46ea4a09fb99a5ac82ffd577 Signed-off-by: Lionel Elie Mamane <lionel@mamane.lu>
2012-08-16Resolves: fdo#53258 Aquabase-spanish-support busts ttf reader againCaolán McNamara1-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>
2012-08-14Windows toolbars: Use our own theming even for vertical or bottom toolbars.Jan Holesovsky1-26/+35
Change-Id: I4836d7f2055c4811f0e6ccdc87dc58895528b3f8 Signed-off-by: Petr Mladek <pmladek@suse.cz>
2012-08-10WaE: unused variableChristian Lohmaier1-0/+1
see a9e58e29f65df820d133022c5cb15387075d6b37 not cherry-picked as file was moved on master Change-Id: Ibb74e51a1bcba6f0fd532186767124d55e061f67
2012-08-08additional fix for fdo#51336 for radiobuttonsNoel Power2-6/+15
Change-Id: Ib35d27962b2c63221e1967886236547b3b1047d6 Signed-off-by: Petr Mladek <pmladek@suse.cz>
2012-08-08fdo#51336 - change vcl checkbox no-label behaviourNoel Power2-12/+21
Change-Id: I352c6041cc520dc76c302190dcf3a6945f5ac85f Signed-off-by: Petr Mladek <pmladek@suse.cz>
2012-08-02basic, cui, extensions, filter, vcl: fix some warningsMichael Stahl2-6/+7
Signed-off-by: Petr Mladek <pmladek@suse.cz>
2012-08-01do not let LO's autoextension handling interfere with KFileDialog's(fdo#52546)Luboš Luňák1-3/+6
Change-Id: I73263a74d7b9bbf4a99e86773854e69f747e19d5 Signed-off-by: Tomas Chvatal <tchvatal@suse.cz>
2012-07-25Make default dark shadow non-blackRuslan Kabatsayev2-0/+3
Change-Id: If517926b12633a96ad8088e007cfcd6d84e5c919 Signed-off-by: Jan Holesovsky <kendy@suse.cz>
2012-07-23Resolves: fdo#50975 rsvg_handle_new_from_data calls rsvg_handle_closeCaolán McNamara1-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>
2012-07-23fdo#47368 - fix one potential re-enterancy hazard around even emissionMichael Meeks1-2/+7
Change-Id: I8be50fb82d1333731dae825b1785e981fe69adbd Signed-off-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-07-22Fix fdo#50631 - have GetTextBoundRect() properly rotate boundsThorsten Behrens1-1/+28
Earlier fixes to AquaSalGraphics::GetGlyphBoundRect() are ineffective, since this method is not even called from ATSLayout. Change-Id: Iaeda228afed4799e6d54c5a7b1764b39f7b77c81
2012-07-17Resolves: fdo#51957 typo, endash entered twice, 2nd should be emdashCaolán McNamara1-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>
2012-07-14Related: fdo#45355 stale gdi font handles apparently still usedCaolán McNamara2-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>
2012-07-13Fix the About dialog rendering when librsvg is not available / functional.Jan Holesovsky1-1/+2
Change-Id: Ib460f3cbf44114ef74065168b218daca51f2f0e9 (cherry picked from commit debfb21c927e39ab18aafb1895f343840967e16a) Signed-off-by: Caolán McNamara <caolanm@redhat.com>
2012-07-10correctly paint toolbar separators with gtk-2.8 (bnc#770013)Petr Mladek1-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
2012-07-09fdo#47071: Undocked toolbars do not show all icons in special ratioIvan Timofeev1-1/+1
restore the old behaviour (pre-1703501a100cd6d52578baeb4e8097218b285ffb) for floating toolbars. Change-Id: I8435bd94a44744c5af7a3abdbeb99e8f7cf0af24 (cherry picked from commit 89de7eef5090c5efdca1314f8838bdc977001e5d)
2012-07-07Fix check for FRAME_DRAW_NWF, and thus reenable CTRL_FRAME supportRuslan Kabatsayev1-1/+1
Change-Id: I065c8f21c72a1992282dbd90dc7ff7850a301261 (cherry picked from commit 9508f653ddced5b1dc7d74d050d7c36d563978c9)
2012-07-05fdo#49486: fix graphite2 hyphenation regressionMartin Hosken1-2/+2
Change-Id: I6d5901f28b66c8edc0c16e7ec04d574a5d59dedc (cherry picked from commit b25385a671ed43580a360570981ac1d52446a615)
2012-07-04fix drawing of calc input line when vcl backend supports CTRL_FRAMEIvan Timofeev1-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)
2012-07-02typo in Norwegian translations of keyboard shortcuts (fdo#50415)Mihkel Tõnnov1-1/+1
Change-Id: Ia6408f7c50ad16851d3302eebf603545996b2978
2012-07-02Estonian translation for keyboard shortcuts (fdo#50415)Mihkel Tõnnov1-0/+31
Change-Id: I741553e5f489b74b339e991ae01d7e6f1b7f29c7
2012-06-26aero toolbar: Use f0f0f0 for the gradient again, it was reverted by accident.Jan Holesovsky1-1/+1
Change-Id: I05435615185f05ec3fd9609f039394f4ecb03def
2012-06-26Fix more bugs in ImplgetTopDockingAreaHeight().Jan Holesovsky1-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
2012-06-25Better initialization of members.Jan Holesovsky1-9/+7
Change-Id: I5e11865222dbb966185585fe3fd413834c6c6b9a
2012-06-25Re-introduce a useful MSDN link about DWM and drawing into non-client area.Jan Holesovsky1-1/+4
Change-Id: If56d66f7ee8a509566da0cf5c21ce91bced67310
2012-06-25aero toolbar: Extend the drawing of the toolbar to the menubar area.Jan Holesovsky2-43/+49
Fix the maTopDockingAreaHeight computation too, it did not work. Change-Id: I788c96960a5607482b750d536e522644e236f052
2012-06-25Revert "Reduce copy'n'paste by different nesting of if's."Jan Holesovsky1-26/+38
This reverts commit 83208da599e46dbba39c9e9a5b503bc4e93d4eea.
2012-06-25Revert "aero: Implement a glass menubar on Windows."Jan Holesovsky5-159/+37
This reverts commit 64c696fc92a860fdbbe490ca503391b964dd646f.
2012-06-25Revert "menubar: Improved Windows Vista or later look (based on Mirek M.'s ↵Jan Holesovsky1-83/+31
design)." This reverts commit eac708b0b188d7e6477922bb4bc03199cd92f5ca.
2012-06-25Revert "aero menubar: Improve look according to Mirek M. + Astron's notes."Jan Holesovsky1-52/+63
This reverts commit 663bfb42c8e2a7e3306eaa59ca77746d0aa0a197.
2012-06-25Revert "aero menubar: Make the text in menu black."Jan Holesovsky2-101/+10
This reverts commit 9164d135db46be9de56ef60f4b95bbd933fdb57e.
2012-06-25Revert "aero menubar: Make the glow around the entries smaller."Jan Holesovsky1-58/+2
This reverts commit ff367eb669686c80cd5f0931cf0adf81d02f49e0.
2012-06-25Resolves: fdo#47636 cache fontconfig font substitutionsCaolán McNamara3-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