summaryrefslogtreecommitdiff
path: root/cui
AgeCommit message (Collapse)AuthorFilesLines
2017-04-23crash on exit from undisposed insert special character dialogCaolán McNamara1-1/+1
right click on style combobox in writer toolbar, insert character, esc, ctrl+f4 and crash Change-Id: I83c88584c6d772bf629121a2bcdc16076bee8003 (cherry picked from commit cfdfe1be91101654456bdf1f16d92461e1e5dbfa) Reviewed-on: https://gerrit.libreoffice.org/33701 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> (cherry picked from commit c98f16943a95f498cecbfc9345b592b5a2144fd7) (cherry picked from commit 5740c02c3adef317f476740916dce386ea7158bf)
2016-05-02do not localize Collabora Office URLAndras Timar1-1/+1
Change-Id: I1eb33d3ce649ff8ca1158e96fe6c6bc1a3ab75ea
2016-03-10tdf#97942 Return Ctrl+Shift+Space to the keyword customizeYousuf Philips1-0/+2
Change-Id: I4a886a9312a4b4afbe2451b88941b72dc5c6dadc Reviewed-on: https://gerrit.libreoffice.org/22621 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit f6f66bd6a102239f3d24c257298dc1f6c2fd8199) Reviewed-on: https://gerrit.libreoffice.org/22671 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit a0dcfdf37c14f16fe88ed9c0c9f096e2cea1fc03)
2016-02-22tdf#87178 Resetting menu shouldn't reset other resourcesMaxim Monastirsky1-1/+8
Change-Id: I6d6334cac9fdb5dfa3e35fe0cba70e5d9adf6fc2 (cherry picked from commit eb3ee586e420ee4e38f9ef8c579e1a37d2dc0c10) Reviewed-on: https://gerrit.libreoffice.org/21703 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit eb0aad9186953e0602ed96244492a71f203d8f94)
2016-01-15Bump copyright year to 2016Adolfo Jayme Barrientos1-1/+1
(cherry picked from commit 8085555f6de5905028fdc0761c9e5b2fd4a3609a) Change-Id: Ifbd88aa55d5aa32a7b8dc11d7ac0310d0ef1e5d1 (cherry picked from commit 2a8f10162deb89aebc7ed625b4072ed6af818a88)
2015-12-10Resolves: tdf#86845 hyperlink details not retained between tabsCaolán McNamara1-2/+2
Change-Id: Ib6c1df4a97598c156b10b1730debb078e362e0d2 (cherry picked from commit eb38493c4101d8777052267ee83a5d4f883dd9ac) (cherry picked from commit e34e0c8d97b90786e9ca9cf88d9fc3e127ce8350) Reviewed-on: https://gerrit.libreoffice.org/20549 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com> (cherry picked from commit b82567327fa64ceb7d486774df3ac9c95763009c)
2015-12-10tdf#96353 make spell options dialog resizableAndras Timar1-1/+0
Change-Id: I2e9ef88d471f8fa379a03f7b6b95bf14ce172acb Reviewed-on: https://gerrit.libreoffice.org/20499 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit ccb28049c1420b17a84aa89eee207af4cc517039)
2015-12-06cui: GCC 4.6 still doesn't do "override"Jan-Marek Glogowski1-1/+1
But you can use SAL_OVERRIDE instead. Change-Id: I2697593606ef3ff63f923e364d0ea7e5661b1b3a Reviewed-on: https://gerrit.libreoffice.org/20297 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 85cabc28b9a762a884972a857a6ac6f70e4bcb56)
2015-11-28Resolves: tdf#95352 resize the columns when the edits repositionCaolán McNamara2-30/+50
instead of assuming they are in their final position when the top level dialog resizes. Cause there's a timer/idle involved so the final position isn't known yet (cherry picked from commit d4d4e00a5a449bdf46608ce0cecbfa07c340e555) Change-Id: I713e938b0e275f181514315cb4ce4531f36191ca loplugin:vclwidgets (cherry picked from commit 4882664e39718109e2ae80348da8b914eb8b2ae6) Change-Id: I3e5d88bdc2ecae6164c75da8ddf1b8cfe0ed325f Reviewed-on: https://gerrit.libreoffice.org/19796 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk> (cherry picked from commit 6213ce4ab8621ad307df25c1fd2bfeb8de5dd1f6)
2015-11-28assign macro dialog: correct event name "errorOccured"Lionel Elie Mamane1-1/+1
"errorOccured" is an English spelling mistake, but is the name of the event, which cannot / should not be changed for backwards compatibility reasons. Spelling was boguously "corrected" in: commit 60a9b5172bcbd90b5764125b76279c189dd5563c Author: Takeshi Abe <tabe@fixedpoint.jp> Date: Sat Dec 4 12:56:38 2010 +0900 Replace all occured, occurance etc. This was leading to impossibility of assigning a macro to that event, since it was not appearing in this dialog. Change-Id: Ib0373501cba8af8f4abb1c62faddf8d65c926a7e Reviewed-on: https://gerrit.libreoffice.org/20180 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 5847c76dc3476f565cc40d2506808e6f34cb2f01)
2015-11-03Fix popup menu IDs after .ui conversionMaxim Monastirsky1-12/+12
(cherry picked from commit 9fbdb3d37fab7c8e0d6507807166c4de079d272f) Conflicts: cui/source/customize/cfg.cxx Change-Id: I8955bee3ac2bb7a757c1f70dd46141833a068517 Reviewed-on: https://gerrit.libreoffice.org/19739 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 13ef923c64859f073d16790e6bf4dfbd3f6d2d39)
2015-10-29tdf83825 Vertically center left and right margin labelsYousuf Philips1-0/+2
Change-Id: I583fc112333df6af3898b03f632780538b5f046f Reviewed-on: https://gerrit.libreoffice.org/19469 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit f5cf8524f9bc4c19064aee6b31202aefcf43a659) Reviewed-on: https://gerrit.libreoffice.org/19572 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> (cherry picked from commit ce260308525b2c4096858cae31a75443ef37ec7e)
2015-09-18tdf#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-18WaE: loplugin:staticmethods in the non-Java caseTor Lillqvist1-0/+10
Change-Id: I1fe771f01edb0ce14da01146191cfe3f48958966 (cherry picked from commit 8002f0ddc805251e6f0f550bf8526aab8603c5df)
2015-08-31tdf#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-31tdf#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-20tdf#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-06tdf#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-08-06Options: “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-08-06rendercontext: 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-08-06rendercontext: 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-08-06coverity#1307697 Dereference null return valueCaolán McNamara1-8/+12
(cherry picked from commit a7e7d057a4a574b337f3df6e9a600aac918be09c) Change-Id: I48bf70689153b83bd1da7ff1553a4a3ec823d1b2
2015-08-06Handle highlighting case inside SvxBackgroundPage classZolnai Tamás3-2/+39
... instead of converting attributes. (cherry picked from commit 62fb96e075e79676b45912a3a8ec2702b1e3aaf2) Change-Id: I3e45c0641389a7b6bdecb5141646aa13ee5c0aa5
2015-08-06tdf#91748 fix preview of special charactersTomaž Vajngerl2-7/+11
Change-Id: Icf18e8be2ec07bb4bcd6edce3e41a6e88ecefca7 (cherry picked from commit 56d62036862462ca7147686268558a754613858f)
2015-08-06tdf#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-08-06more untranslatable UI stringsAndras Timar1-2/+1
Change-Id: I4c02d7613743a1b11594fd96f6131219afd102ef (cherry picked from commit 814867c75cd175594b8e60125f248ecbb6647644)
2015-08-06add (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-08-06tdf#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-08-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-08-06tdf#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-08-06dispose 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