summaryrefslogtreecommitdiff
path: root/cui
AgeCommit message (Collapse)AuthorFilesLines
2015-09-03tdf#93870 - GL accel. via VCL canvas for presentations when GL enabled.Michael Meeks2-3/+7
Change-Id: Ia31a88cb3d9e6baa987b22f77f407a3f592031f1 Reviewed-on: https://gerrit.libreoffice.org/18285 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com> Reviewed-by: Jan Holesovsky <kendy@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/18295
2015-09-03WaE: loplugin:staticmethods in the non-Java caseTor Lillqvist1-0/+10
Change-Id: I1fe771f01edb0ce14da01146191cfe3f48958966 (cherry picked from commit 8002f0ddc805251e6f0f550bf8526aab8603c5df)
2015-08-26tdf#93620: show OpenGL status in Help->AboutLászló Németh2-0/+7
Build ID will show enabled OpenGL with an extra string "-GL" helping the fix of rendering issues. Change-Id: Id7bf2db2edb165542bf7a2a253c698c494278a03 Reviewed-on: https://gerrit.libreoffice.org/18014 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-08-21tdf#93547: Add basic lock-down support for OpenGL settingsMichael Meeks1-2/+10
Change-Id: I0459c33ac5230899366dd756886d55fefbe01798 Reviewed-on: https://gerrit.libreoffice.org/17887 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2015-08-17tdf#44399 Do not display 0 decimal for General formatLaurent Balland-Poirier1-1/+8
For General (Standard) format, "0" is not the number of decimal places Replaced by an empty string in dialog UI and Sidebar. (cherry picked from commit 0db37d785311aa2294f60b750fce4dadff6c75e0) Change-Id: Ia367b491b71fa7b4480cdd03408c0c0315425dc8 Reviewed-on: https://gerrit.libreoffice.org/17771 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-08-05tdf#93079: "resize shape to fit text" state can't be disabledJulien Nabet1-1/+1
Wrong copy-paste Change-Id: I7460c095c7bbb340be2cab32c4724688076c5952 Reviewed-on: https://gerrit.libreoffice.org/17477 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> (cherry picked from commit 4a847bb4a2002d7f8f5854b7276ac67d369bdd3b) Reviewed-on: https://gerrit.libreoffice.org/17488 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-06-24Options: “TSAs” button now has the same size as its neighborsAdolfo Jayme Barrientos1-0/+1
Change-Id: I19f01148c3d8af2b5aa574cacb098415eeeea38f Reviewed-on: https://gerrit.libreoffice.org/16434 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-06-23rendercontext: Mass fix of using the wrong size.Jan Holesovsky9-10/+10
In the paints, we must use the size of the Window for the computations, not of the RenderContext - the RenderContext can be much bigger than the Window in the double-buffering case. Fixes for example the list boxes, and many others. Change-Id: I4c7607569f88b2d097587140858d0862e54b5ea6 Reviewed-on: https://gerrit.libreoffice.org/16421 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-06-19rendercontext: Fix crash with double-buffering in the Styles combo box.Jan Holesovsky1-1/+1
Decouple the actual window from rendercontext in UserDrawEvent. Change-Id: Ic440c4e7f59fcffb7800c578146e8eb528cbb7b4
2015-06-18coverity#1307697 Dereference null return valueCaolán McNamara1-8/+12
(cherry picked from commit a7e7d057a4a574b337f3df6e9a600aac918be09c) Change-Id: I48bf70689153b83bd1da7ff1553a4a3ec823d1b2
2015-06-17Handle highlighting case inside SvxBackgroundPage classZolnai Tamás3-2/+39
... instead of converting attributes. (cherry picked from commit 62fb96e075e79676b45912a3a8ec2702b1e3aaf2) Change-Id: I3e45c0641389a7b6bdecb5141646aa13ee5c0aa5
2015-06-17tdf#91748 fix preview of special charactersTomaž Vajngerl2-7/+11
Change-Id: Icf18e8be2ec07bb4bcd6edce3e41a6e88ecefca7 (cherry picked from commit 56d62036862462ca7147686268558a754613858f)
2015-06-16tdf#89830: Ambiguous naming of character backgroundZolnai Tamás8-3/+17
Use 'Highlighting' also on Character Dialog. (cherry picked from commit 3588a04f438b001cb64aa1fd86b28869f2c4e70b) Options: Background -> Highlighting (cherry picked from commit b47151f5d1e287425511b45c5474e10eb0ba3a9d) Search By Format: Background -> Highlighting (cherry picked from commit 16d202f29cafbdc8d0648b830d2209f5c61c878f) Make this string localizable (cherry picked from commit a676ad5ec8348a6c8074e3a8d42590e8fd189cf5) Change-Id: Ifa48799bb9e415d17f4e323008fac57270bae34b Reviewed-on: https://gerrit.libreoffice.org/16322 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-06-15more untranslatable UI stringsAndras Timar1-2/+1
Change-Id: I4c02d7613743a1b11594fd96f6131219afd102ef (cherry picked from commit 814867c75cd175594b8e60125f248ecbb6647644)
2015-06-08add (and call before dtor) Commit to SvtSearchOptionsCaolán McNamara2-5/+6
i.e. follow up to commit 465359c35fcd8c30a2bedd3d0beb07c0c1c36cba Author: Michael Stahl <mstahl@redhat.com> Date: Wed Mar 11 16:39:24 2015 +0100 do not call virtual Commit() from dtors of utl::ConfigItem subclasses ~SvtAppFilterOptions_Impl() demonstrates that this is a bad idea, by not invoking its subclasses' ImplCommit() but its own. to avoid assert in SvtSearchOptions dtor Change-Id: I0eaf93450e1daddb81a9463f2c1df48a334dfb22 (cherry picked from commit 8d5a2116bc198f51ee394ca48c48f04ef4ba1658)
2015-06-08tdf#90804 remove SfxFieldUnit enumAndras Timar1-1/+1
b78d881520f2eb658180e2c90ffee3d30a80f0ae removed unused values from SfxFieldUnit enum. This broke the mapping between SfxFieldUnit and FieldUnit. In fact SfxFieldUnit was redundant. Change-Id: I13c7e7d708c6eeab0de192f4cd110b0a23989a31 Reviewed-on: https://gerrit.libreoffice.org/16150 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit 7f4230675c6c78ebea8b6db3f3612e3ef6fb23df)
2015-06-06Apply new VclPtr clang plugin to catch potential problems.Noel Grandin29-37/+48
Omit the plugin, and sw's FrameControlsManager for now. Change-Id: Ifb98a2e6e03a9d099efc1668305b96bd9142ca5f Reviewed-on: https://gerrit.libreoffice.org/16117 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-06-04tdf#91702 - fix stack-based MessBox allocation.Michael Meeks4-9/+8
Change-Id: I62dd164e281911d9db3de453789a5badc7cd5fd7 Reviewed-on: https://gerrit.libreoffice.org/15954 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-06-01dispose SfxControllerItem objects correctlyLászló Németh2-0/+7
Change-Id: Id5f80e06e5609b4e85f3d6db7bc37aabe6ef0dac Reviewed-on: https://gerrit.libreoffice.org/15976 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-05-29convert WINDOW constants for GetWindow() methods to scoped enumNoel Grandin1-1/+1
Change-Id: I0c7c6d095732704eb4ab48f1277a0592b1c7fa33 Signed-off-by: Jan Holesovsky <kendy@collabora.com>
2015-05-29convert constants in include/vcl/settings.hxx to scoped enumsNoel Grandin1-4/+4
Change-Id: I2a110c017f13eca6ddbd70ef3ed195d24adef0a3 Reviewed-on: https://gerrit.libreoffice.org/15828 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com> Signed-off-by: Jan Holesovsky <kendy@collabora.com>
2015-05-28Rewrite all calls like Dialog(params).Execute()Philippe Jung13-49/+49
Replace all calls looking like ADialog(some params).Execute() by ScopedVclPtrInstance<ADialog>::Create(some parms)->Execute() Change-Id: I0b6f0a9ea5ef0a749ffa30ce131e9dc989604639 Reviewed-on: https://gerrit.libreoffice.org/15915 Tested-by: Jenkins <ci@libreoffice.org> Tested-by: Michael Meeks <michael.meeks@collabora.com> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2015-05-27Fix accidental mis-uses of VclPtr address-of operatorStephan Bergmann1-2/+2
Change-Id: I3a82423378d3198a25f90ddfbf42af55d85c96fb (cherry picked from commit 668408fa1c69eaf0f0a37f24e2ec8b4a38fe3db7, w/o the accidentally included sw/htmlexport-swobjects.patch)
2015-05-26Resolves: tdf#89904 allow the options color page to load/save palettesCaolán McNamara2-18/+6
Change-Id: I02c5d57db9ffb854b096c9382d740923e9cc3b89 (cherry picked from commit 0f98a035806aed03ba56e292bc7ee17b242ff2a0) dynamic_cast of this to the type is already is (cherry picked from commit 004b026865839a044fb9cd2e08e5eca46a64c8fe)
2015-05-25tdf#91469: convert links in help/about to httpsJulien Nabet1-1/+1
Change-Id: I1274f75a49a999285488e99713782956e2287249 Reviewed-on: https://gerrit.libreoffice.org/15870 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> (cherry picked from commit ffa560e0dec34d71f4593b7bf23ad50321548c60) Reviewed-on: https://gerrit.libreoffice.org/15877 Reviewed-by: Joren De Cuyper <jorendc@libreoffice.org> Tested-by: Joren De Cuyper <jorendc@libreoffice.org>
2015-05-20VclPtr: crash on exit after visiting MSOffice compat pageCaolán McNamara1-1/+1
Change-Id: Ibc2fa183ee0847f92ace08388559d236898b1826 Signed-off-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-05-20bin/rename-sw-abbreviations.shlibreoffice-5-0-branch-pointChristian Lohmaier8-77/+77
renames the most annoying abbreviations in Writer (and partially in the shared code too). Change-Id: I9a62759138126c1537cc5c985ba05cf54d6132d9
2015-05-20convert DEFAULTCONSTANT constant to scoped enumNoel Grandin2-2/+2
Change-Id: I5ebd77edfa29d6c6c7acea37e826ef1d625916c3
2015-05-20convert TEXT_DRAW constants to scoped enumNoel Grandin5-28/+27
Change-Id: Ic0f7f8fa236bb478b3598ae3fd3c1b30ebbf1a01
2015-05-19tdf#91185 - appearance settings lifecycle fix.Michael Meeks1-2/+12
Change-Id: I4efe8e68419a3d878acf3c4eb741239794b26d85
2015-05-18make ui string translatableAndras Timar1-1/+1
Change-Id: Ic65c7d3ea00f83642b7c9f0bcafb71837e474862
2015-05-18perform a boundary checkTakeshi Abe1-1/+2
Change-Id: I54ec8841c0f162ee33bcf1de2507465b9c49cb71 Reviewed-on: https://gerrit.libreoffice.org/15744 Tested-by: Jenkins <ci@libreoffice.org> Tested-by: David Tardon <dtardon@redhat.com> Reviewed-by: David Tardon <dtardon@redhat.com>
2015-05-18Remove include stdio (part2)Julien Nabet1-1/+0
Change-Id: Iae58d107d8df1c543a165086fb2b7c288e7121dd Reviewed-on: https://gerrit.libreoffice.org/15775 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2015-05-18refactor how font, fg. and bg. are applied in widgets/controlsTomaž Vajngerl1-1/+1
- Move vcl::RenderContext to outdev. - Change some methods on vcl::Window to accept RenderContext as parameter. - Add ApplySettings to vcl::Window - This method is called before painting. Refactor existing classes that use InitSettings to have ApplySettings or mark the classes to be refactored later. - Add RenderSettings for adding defered settings to rendering. This is similar to ApplySettings but for more ad-hoc calls. Change-Id: I4ea58461f3b6b08ccfa3e0ddd1a4a3e04f8c4f45
2015-05-16Add missing ellipsis to the color picking buttonAdolfo Jayme Barrientos1-1/+1
Change-Id: I19fc41fdffc2579a6316807ba3dc4d937864a37c
2015-05-15tdf#91280 Fix capitalization in OpenCL white/blacklist dialogAdolfo Jayme Barrientos1-91/+91
Remember: Title case for headings and command buttons & menus, and sentence case for labels, tooltips, etc. Change-Id: Iec0f56798ec3ea0cc3b31252e9dd0a83c206f035
2015-05-15tdf#62475: partial handmade fixesAndrea Gelmini27-136/+19
Change-Id: Ib9af202c43b916b9af4b4e18db35d470a8692fe4 Reviewed-on: https://gerrit.libreoffice.org/15712 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-05-15conver MENU_FLAG_ constants to scoped enumNoel Grandin2-5/+5
Change-Id: I969d99fa8881cc89601696a2d8621905a82b147b
2015-05-15convert LISTBOX_ENTRY_FLAG constants to scoped enumNoel Grandin2-3/+3
Change-Id: Id7ca4853094c214b464e2dee53b10558f1f5a3ba
2015-05-14tdf#65509 - Auto Save Also Too DisabledJoel1-1/+1
Disabled "Autosave this document too." This feature never worked right. I just made it invisible until someone figures out how to make it work properly in order to avoid confusion and possible data loss. Change-Id: I9fdcf35944eec456c8b569817ddde95c13e9378e Reviewed-on: https://gerrit.libreoffice.org/15721 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-05-14refactor cui tabpages controls to use RenderContextTomaž Vajngerl4-346/+200
Change-Id: I91db162053cddfd669abe081e39bb85d3ee3e1f5
2015-05-14refactor SvxCropExample to use RenderContextTomaž Vajngerl2-15/+15
Change-Id: I06e8702ecea2db2529eda538128d6a1693971185
2015-05-14cleanup cui headersTomaž Vajngerl3-29/+3
Change-Id: I717854b9394549dfa375bd384677d5fd51c6c31b
2015-05-14refactor ThesaurusAlternativesCtrl to use RenderContextTomaž Vajngerl1-5/+4
Change-Id: I65d55c9d57eeb5eb878008885417d1e2118a946d
2015-05-14refactor SvxHlmarkTreeLBox to use RenderContextTomaž Vajngerl1-8/+6
Change-Id: I15f259cd68a628fc298ca086000b94abf018a938
2015-05-14refactor PseudoRubyText to use RenderContextTomaž Vajngerl1-35/+41
Change-Id: Icdf70e6f3bd87f6a5bc66365441f07b1ab510b93
2015-05-14refactor GraphicPreviewWindow to use RenderContextTomaž Vajngerl1-13/+11
Change-Id: I3471ca2c51782f6537d2bbc2fabc791c5f63d66c
2015-05-14refactor SvxShowText to use RenderContextTomaž Vajngerl1-19/+18
Change-Id: I7e059c36bb5a130f823a6da5feb981b0926b3294
2015-05-14refactor ColorPreviewControl to use RenderContextTomaž Vajngerl1-324/+411
Change-Id: I59bfd279a78f049721df419debb0022c5e36c291
2015-05-14refactor AboutDialog to use RenderContextTomaž Vajngerl1-16/+18
Change-Id: I7ce9df8c9f26d417d2400628cbb91f8ae18bc4d6