summaryrefslogtreecommitdiff
path: root/vcl
AgeCommit message (Collapse)Author
2013-06-03re-base on ALv2 code. Includes:Michael Meeks
Patches contributed by Mathias Bauer gnumake4 work variously http://svn.apache.org/viewvc?view=revision&revision=1394707 http://svn.apache.org/viewvc?view=revision&revision=1394326 http://svn.apache.org/viewvc?view=revision&revision=1397337 http://svn.apache.org/viewvc?view=revision&revision=1397315 http://svn.apache.org/viewvc?view=revision&revision=1396797 Patches contributed by Andre Fischer Fixed getcsym.awk to handle #-comments that contain special regexp chars. http://svn.apache.org/viewvc?view=revision&revision=1230971 118778: Added ADDITIONAL_REPOSITORIES environment variable and its automatic setup in configure. http://svn.apache.org/viewvc?view=revision&revision=1232004 118160: Added external CoinMP library. http://svn.apache.org/viewvc?view=revision&revision=1233909 Patches contributed by Herbert Duerr #i119168# use generic LICENSE file for langpacks and sdks http://svn.apache.org/viewvc?view=revision&revision=1310178 macosxotoolhelper: need to quote perl regexp if it may contain regexp metachars http://svn.apache.org/viewvc?view=revision&revision=1183367 allow gbuild with empty sysroot on linux http://svn.apache.org/viewvc?view=revision&revision=1179186 Patches contributed by Ingo Schmidt native373: #164472# improvements for msi database http://svn.apache.org/viewvc?view=revision&revision=1167540 http://svn.apache.org/viewvc?view=revision&revision=1167539 Patches contributed by Jurgen Schmidt adapt setup package scripts to handle special DS_Store file for developer snapshot builds http://svn.apache.org/viewvc?view=revision&revision=1232430 imported patch extensions_i117681.patch http://svn.apache.org/viewvc?view=revision&revision=1172102 Patches contributed by Michael Stahl gbuild: RepositoryFixes.mk should be optional http://svn.apache.org/viewvc?view=revision&revision=1166123 xslt filter: remove the FLA horror wordml import filter: replace FLA usage with plain XSLT http://svn.apache.org/viewvc?view=revision&revision=1363727 Patch contributed by Oliver-Rainer Wittmann i#88652: applied patch, remove unicows deps http://svn.apache.org/viewvc?view=revision&revision=1177585 Remove lots of OS2 conditionals, re-extract Rhino Java, unwind cppunit pieces, cleanup Mac image bits, remove coin-mp and re-package lpsolve, Oxygen & Crystal, fixup qstart bits, expand MPLv2 subset checking. Change-Id: Iad5c8a76399620b892671633c0d8c29996db3564
2013-06-03Use the right control variable for index accessStephan Bergmann
Change-Id: Ic0b9f7bc62cbce52c7f870ba77d5463fd759566f
2013-06-03fdo#56583 - avoid setting user time on unrealized windows.Michael Meeks
Change-Id: Iab776088b1d168295d636069e1a92ba948241653
2013-06-03fdo#46808, Use service constructor for ZipFileAccessNoel Grandin
Change-Id: I9c3f8e2df56953487329bdbbac251b3af8cd9917
2013-06-02sidebar: Try harder to find the command's image.Jan Holesovsky
Change-Id: I14d2a3887c36937be44e151409a851f923262a62
2013-06-02sidebar: Support for dropdown toolbar items in .ui.Jan Holesovsky
Change-Id: I964f82321e26cc8c9a0b6ec9d9d3f28dc5fc935b
2013-06-02sidebar: Allow creation of toolboxes using Widget layout / .ui.Jan Holesovsky
Change-Id: Idc07614005a00401a51007b1a0aef00e17507daa
2013-06-02Drop useless forward declarationTakeshi Abe
Change-Id: I23154b592ffb624fd9fa5a091472a52e02ffbc4b
2013-06-02sal_Bool to boolTakeshi Abe
Change-Id: Ic4407aa95193f6ed1f3f854f3fa9fb50131e7511
2013-05-31Band-aid fix for bnc#795857 and the pdf export black background.Thorsten Behrens
Problem is the general un-awareness of the code base for inline alpha. Needs larger rework eventually. Change-Id: I01430d9087f98615819f0a7085b93f1c318e8b0b
2013-05-31sal_Bool to boolTakeshi Abe
Change-Id: Idce2e9d650e9ff0d0e4fe17eeb06721cb73241e4
2013-05-30Make use of IsStarSymbol()Thomas Arnhold
Change-Id: I7a2e3a6f11bbaaaff50e8163e4ce3e2583b1d03c Reviewed-on: https://gerrit.libreoffice.org/4077 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-05-30sal_Bool to boolTakeshi Abe
Change-Id: I20c94b140547e1f8de0665c7287bf586fb91dede
2013-05-29convert save defaults to .ui formatCaolán McNamara
Change-Id: I7843598761cf95b04d9c3741cd8b0612b9b059ce
2013-05-29convert more queryboxes to new message box replacementCaolán McNamara
Change-Id: Ice41a86e17d5cbee784e239224b640ea4378ac36
2013-05-28UNX does not imply X11Tor Lillqvist
We really need some feature test macro that would be equivalent to using X11. Change-Id: I0c1f9b487b4feab3b7d4641e898f9fdf0144065b
2013-05-28fix emf transparency handling (bnc#820385)Luboš Luňák
46e53913e9dcc84ffed8fb5f1b4959c70c7e5649 fixed some transparency emf problems on X11, it however did it by implementing alpha support in X11SalBitmap only and made generic code rely on it. Now it doesn't work at least on Windows, after reverting it works on Windows but not on X11. As I have no idea what the real problem is, at least keep both code paths. Change-Id: I2f2cf247becfcd777b4f3d129efe4d6a5d641f7b
2013-05-28Source files shouldn't have executable bit set.Mark Wielaard
Change-Id: Iafad6249a7998d7c749c1ca2979a606078cfcb5e Reviewed-on: https://gerrit.libreoffice.org/4070 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-05-28fdo#63254 UI:Horizontal scroll bar isn't displayed when RTL tabAbdulaziz A Alayed
opened with LTR UI. Change-Id: Iff6899539fe0b1788df7b09f91f850b91bcdb811 Reviewed-on: https://gerrit.libreoffice.org/4024 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2013-05-27be case-insensitive for open/starsymbol comparisonThomas Arnhold
Change-Id: I7a342c809a723f5f9c03271c6145d9c367cea6de Reviewed-on: https://gerrit.libreoffice.org/4015 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-05-27Fix bnc#795857 Use correct sizes for EMF+ bitmap renderingRadek Doulik
Fix pdf export wrong size issues for embedded EMF+ images. Change-Id: I998c9535bde32fc9f452d61d7cb7609c95f5528d (cherry picked from commit 4c676625d4016d428e9becd5512b7cfc8b0c4b24) Conflicts: vcl/inc/vcl/gdimtf.hxx vcl/source/gdi/gdimtf.cxx
2013-05-27Generalize the check for a recode tableCaolán McNamara
I think we can distill this down to a "if the source or target is a symbol font check for a recode table" Change-Id: I6c674f10d9f1ab7fbe7274abfafb9082bae88218
2013-05-27fdo#64632 If a Symbol font is missing, ensure that conversion is doneSean Young
ImplDevFontList::ImplFindByFont() will nearly always return a font, so we do not go through the code path which sets up conversion. Change-Id: Ice361f183c9f42aa562d4caab1d589417ad3fc9a Reviewed-on: https://gerrit.libreoffice.org/4037 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-05-27cast double to sal_Int64 can throw EXCEPTION_FLT_INVALID_OPERATION on WindowsYuri Dario
cherry picked from commit eb34ba3c343807201c62a49a19d7616e1011c118) Conflicts: vcl/source/control/field.cxx Change-Id: I2fb03b1b03ea23259e9eca7305c3f86d80d79f21
2013-05-27vcl: Check SH_MenuBar_MouseTracking when menubar is drawn on KDEIsamu Mogi
If QStyle::SH_MenuBar_MouseTracking is 0, it makes a mouse rollover effect minimize. By this, a menubar item of CDE and Motif styles becomes closer to standard behavior. Change-Id: I87dccbd30bf7b9f0d82d1a6e67355c1b25d22dc8 Reviewed-on: https://gerrit.libreoffice.org/4018 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-05-27vcl: Implement drawing CTRL_MENUBAR and PART_MENU_ITEM on KDEIsamu Mogi
Currently, menubar's background is drawn in window's background color and no menubar's specific background color. To fix this, The patch calls QStyle::drawControl() with QStyle::CE_MenuBarEmptyArea. Change-Id: I89b9decc016a926a0f00b9663ec1a5bce81daac1 Reviewed-on: https://gerrit.libreoffice.org/4025 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-05-27vcl: Add sink effect (QStyle::State_Sunken) to menubar on KDEIsamu Mogi
A selected menubar item of cleanlooks, gtk+ and plastique styles becomes closer to standard looks by passing QStyle::State_Sunken with QStyle::CE_MenuBarItem to QStyle::drawControl(). It is currently not documented on QT developmet resources. But these styles interpret that. Change-Id: Ic7835bf0bf7af374ebdf8330d15b462d056de8a5 Reviewed-on: https://gerrit.libreoffice.org/4017 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-05-26fix OUString conversionThomas Arnhold
no idea why hgminchob and hgpminchob are/were not handled this way. Change-Id: Ia69ab790cc961645a806d971ddc4238d8288b573
2013-05-26fix OUString conversionSean Young
This used to be equalsAscii( "hg", 0, 2 ) before conversion. Fixes 7d1f4cdec307bb1e761bb5dd3d8231bba5833e10 Change-Id: I2cf61d88c79b3ab33c0ee7d077ee65b16053c05c Reviewed-on: https://gerrit.libreoffice.org/4035 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-05-25Fix fdo#64972 - strikethrough displays too highKhaled Hosny
I was calculating the leading before setting the ascent and descent, oops. Change-Id: Ic58ecb1a65cb33715ea06f5e3214c4acbcff1e40
2013-05-25Revert "Fix improper glyph positioning with old fonts"Khaled Hosny
This reverts commit cef3f3aac2f7a372e796deac4ee3e8155c5eb697. The previous commit addressed the real issue. Change-Id: I802e5f19e4a4991c316135f3984a1b9a6533a104
2013-05-25A hack to fix mark placement in old fontsKhaled Hosny
We need a way to recognize non spacing marks in fonts lacking GDEF table (like old Arabic fonts), so I just check for zero advance width and hope nothing elsewhere will break... Change-Id: I6fa848e97ba24d71fc9a381ae439e0fb98e50419
2013-05-24Resolves: #i120529# abort print controller job, if no pages will be printedOliver-Rainer Wittmann
(cherry picked from commit aad8d0b80c56b956ce674e713d4d09a077e20f68) Change-Id: I7c341961370ce12de1aeb8f0caed18f2dc496390
2013-05-24this themeing thing doesn't actually do anythingCaolán McNamara
both branches are the same and the set/get aren't called anyway. originally introduced with d02f75a8c36705924ddd6a5921fe3012fafce812 Change-Id: I94399bba0fa259bfafcc214e2df15f172d32374f
2013-05-24add missing modelinesDavid Tardon
Change-Id: I84028e254ed1bea71321da11be2027577ce4fa85
2013-05-24stop delivering freetype headersDavid Tardon
Change-Id: I8e14cc411520272969cfd24048e403b9fd53cde4
2013-05-24Resolves: #i120481# Add registered transferable flavor...Andre Fischer
to make the Writer accept column headers dragged from database tables. (cherry picked from commit a32aabba57b53f581691f60e5484a6ddf3deb9f2) Change-Id: I63d41c8000cdfc7f0b2ca28e83aaedf2e822e64d
2013-05-24sync the menubutton size request and draw calculationsCaolán McNamara
Change-Id: I122254532dfe8ecd9c3118622bf24b50f885a0f6
2013-05-24after 14 years I think we can forget about this titchy FIXMECaolán McNamara
Change-Id: I95472eb49975861721f5bd6e174b7cb05defe203
2013-05-24Newer boost is more picky with null pointersTor Lillqvist
Change-Id: I7a2bcd802ad9316696398a2e176dc03ea25baed1
2013-05-23Fix improper glyph positioning with old fontsKhaled Hosny
Apparently this second mnXOffset is not needed, further more it breaks some old Microsoft fonts. Change-Id: Ice033cb6bcb3f1bdfeef31a8406a7a2e5487da97
2013-05-23Resolves: #i115630# secured OutputDevice::ImplDrawHatch in vclArmin Le Grand
and PolyPolygon::Optimize in tools to useful fallbacks when working on PolyPolygons (what they do *not* support) (cherry picked from commit dbe489ab9766d96c5cafb079bc4778103bded783) Conflicts: vcl/source/gdi/outdev4.cxx Change-Id: I5d2374ec95702cb0cab29d2e82710d4aa29fa823
2013-05-23sal_Bool to boolTakeshi Abe
Change-Id: I4e2c942b4bc51199c37efac4ad29dc08f3bbdcd3
2013-05-23tweak bug comment to indicate which bug tracker its fromCaolán McNamara
Change-Id: I4b6a27a72f76d0d22f4104004468292c19a190ce
2013-05-23Fix left to right full justificationKhaled Hosny
I was overloading ApplyDXArray() with a HarfBuzz specific implementation because the GenericSalLayout one was screwing right to left kerning, but it seems to have broken left to right full justifications. Since mnXOffset was introduced a bit earlier to fix a similar issue, it can now be used here as well to minimize the possible side effects. Seems to work fine for both left to right and right to left text now, but at least one of my Arabic tests is regressing, so might need some tweaking. Change-Id: I1239b0ec77a4978f981a480400a6d01cda18af79
2013-05-23Splitter::ImplInitHorVer(bool) should always initialize all state.Mark Wielaard
When creating a new Splitter ImplInitHorVer(bool) should always init all state independent from the current state because some variables might not be initialized yet. Conditional jump or move depends on uninitialised value(s) at 0x8293625: Splitter::ImplInitHorVer(bool) (split.cxx:70) by 0x82936DF: Splitter::ImplInit(Window*, long) (split.cxx:100) by 0x8293CC3: Splitter::Splitter(Window*, long) (split.cxx:157) by 0x2686BC48: ScTabSplitter::ScTabSplitter(Window*, long, ScViewData*) (tabsplit.cxx:28) ... Uninitialised value was created by a heap allocation at 0x4A08361: operator new(unsigned long) (vg_replace_malloc.c:298) by 0x2687D8F1: ScTabView::Init() (tabview5.cxx:90) by 0x2686C5D3: ScTabView::ScTabView(Window*, ScDocShell&, ScTabViewShell*) (tabview.cxx:261) ... The public method to change the internal state is Splitter::SetHorizontal() which does check the current state (and calls Splitter::ImplInitHorVer() only when there is a real state change). So the bNew != mbHorzSplit was redundant anyway. Change-Id: If84e8bff4c87d208416de3583202ce88d6982a99 Reviewed-on: https://gerrit.libreoffice.org/4007 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-05-22Add mouse rollover effect to menubar on KDE and WindowsIsamu Mogi
- Add mouse rollover handling code to vcl::MenuBarWindow and vcl::Menu - Add member variable of rollover color to StyleSettings and ImplStyleData - Add rollover color definitions for each platforms Change-Id: I9ececd8a7089918ac63c5f2027c0c2f361a9d227 Reviewed-on: https://gerrit.libreoffice.org/3856 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-05-22replace DialogCancelledException with std::abortMarkus Mohrhard
Change-Id: Ib815c1a84efa4682ad644132ad3704f249b04a68
2013-05-22setting max line count should allow extra values to be added laterCaolán McNamara
Change-Id: Ia693c83b8d27cacbd257f81b5eae2936fc5f8a6f
2013-05-22Revert "fdo#62846 incorrect glyph to Unicode mappings in PDFs"Tor Lillqvist
Breaks the build for Windows: vcl/win/source/gdi/winlayout.cxx(1897) : error C2065: 'nCharPos' : undeclared identifier This reverts commit 0b70e4ea4fcf0adccdfdf4886e5cc45d46479692.