summaryrefslogtreecommitdiff
path: root/vcl
AgeCommit message (Collapse)Author
2016-09-08Resolves: tdf#101881 gtk3 3.18 menubar doesn't grab keyboard...Caolán McNamara
the same way gtk3 3.20 does with gtk_grab_add, so on gtk_menu_shell_deselect the keyboard focus doesn't remain in the menubar. bisecting gtk itself I find... commit 5cbbb90e311d95192d1b68ba89c3190cdb652868 Author: Carlos Garnacho <carlosg@gnome.org> Date: Thu Nov 26 19:54:31 2015 +0100 GtkCellRendererAccel: Use gdk_seat_grab() https://bugzilla.gnome.org/show_bug.cgi?id=759309 is the commit that makes it do what I want, so add an extra gtk_grab_add/gtk_grab_remove around our entry and exit of the menubar Change-Id: I5bf09834b4e1a14d30403208d03b3abd28a382a8
2016-09-08rename CollapsAttribs -> CollapseAttribsNoel Grandin
Change-Id: Ic70f67fb7e0e557a3a726f44aef25931def49835
2016-09-07Resolves: tdf#100443 handle sun keyboard copy/cut/paste keysCaolán McNamara
Thanks to Charles Lindsey for these suggested changes Change-Id: I22d14f16ee560f189c40ba0b143718278e0a8b7d
2016-09-07Related: tdf#100443 don't use deprecated gtk keysym definesCaolán McNamara
Change-Id: I7c018a304844b06e66b7f344a4deeabb43ae4026
2016-09-07tdf#101869 Allow toolbox to open from spacebarAkshay Deep
Change-Id: I3a60c8f590f78a9d750a428170d2a0521f267fd8 Reviewed-on: https://gerrit.libreoffice.org/28727 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-09-07less dlopen, call gtk2 things direct, baseline is newer nowCaolán McNamara
Change-Id: Iff385fe836f8e959fb8b16aa76603b490bc44d9f Reviewed-on: https://gerrit.libreoffice.org/28719 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-09-07Fix not-so-newly introduced perf regression in vclKhaled Hosny
Reverts f688acfdae00ebdd891737e533d54368810185e1 and the cluster boundaries part of 1da9b4c24e806ad2447b4a656e2a7192755bb6a8, checking the user of the GlyphItem::IS_IN_CLUSTER flag again, I think the old code provides what they expect. Change-Id: I47d279837af963a6db74ebd0019dcef83d98ae7a
2016-09-07BigToolBox painting fixSzymon Kłos
If the button was dropdown only type the arrow was on the same position as a text. Change-Id: I3d9693ef57c5c2d27549987339a1c388bc3ff724 Reviewed-on: https://gerrit.libreoffice.org/28721 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-09-07gtk: drop unneeded X11 includesCaolán McNamara
Change-Id: Iea6f90e40401bd3f0e4c54de598df2262f14b686
2016-09-07loplugin:constantparam in vclNoel Grandin
Change-Id: I0cae8e5de1170dec4c82df7f1f5377143a079876 Reviewed-on: https://gerrit.libreoffice.org/28686 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-09-07loplugin:constantparam in vcl..xmlscriptNoel Grandin
Change-Id: Icf66c08071b154259c9e551342d30331caf2b15a Reviewed-on: https://gerrit.libreoffice.org/28685 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-09-06Work around loplugin:unnecessaryoverrideStephan Bergmann
("public virtual function just calls public parent", in the gtk3 case) Change-Id: I0d5653f835fe0e62a905943fda7d79538dabfee3
2016-09-06use same GtkInstance::AnyInput impl for gtk2 and gtk3Caolán McNamara
Change-Id: Ib69884e0d02b0b245459eb05d5dfb54797d566ce Reviewed-on: https://gerrit.libreoffice.org/28680 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-09-06GtkInstance should use default no-op I18NImeStatusCaolán McNamara
gtk3 already did, gtk2 claimed to support it, but will use the built-in gtk support for this. So this leaves this as gen/kde4 only now. Change-Id: I640ffafc93bf45a4729ecd33f0f85f23fa67b4bf
2016-09-06move all X11SalData stuff togetherCaolán McNamara
Change-Id: I2dc27e8aa0231ad66955721029f61720d757967f
2016-09-06don't need to include all these headers, reduce to required minCaolán McNamara
Change-Id: I1f05ed32cabc059309f46ec0a195705f0e774bd6
2016-09-06SalI18NImeStatus is stubbed the same way for everyone except...Caolán McNamara
the gen vclplug, which is then unused for the gtk/gtk3 case so only possible to use in gen/kde. Make the default impl the no-op case and override just in gen Change-Id: Id0dd3fe4ae4e5b94bfc56219defab56905ec710a Reviewed-on: https://gerrit.libreoffice.org/28675 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-09-05Simplify Sequence constructionStephan Bergmann
Change-Id: I24b53d2879d1aa34d7882300c7b51e42e621160e
2016-09-05Convert PPDKey::SetupType to scoped enumNoel Grandin
Change-Id: I7c39c9bd4bc3b8fe82840665906f8d520e2e2d2a
2016-09-05convert PrinterInfoManager::Type to scoped enumNoel Grandin
Change-Id: I3ae15e3ef9505b9857ab1dfa0ecdbf57e3a08150
2016-09-05convert DuplexMode to scoped enumNoel Grandin
Change-Id: Ic6f6e11437e75d17630683196c1b94dc25dd888f
2016-09-05convert Orientation to scoped enumNoel Grandin
Change-Id: Ifbfcf3557ca2a16d21e7a1d613ee54c1c6625f07
2016-09-05convert ScrollType to scoped enumNoel Grandin
Change-Id: I6dd02d4f7df028dada6cfd5d767a6ec1b1c1efe1
2016-09-05convert ToolBoxButtonSize to scoped enumNoel Grandin
Change-Id: I365b0e34361eb339b04e5f4792f54eff5bf582a5
2016-09-05fix usage of std::uniqueNoel Grandin
in commit 26c149617c54e29902a "std::list<sal_Int32> to deque" Change-Id: Ifd6ad15d8f95512e31bac4c39d2092a53a7c0ee1
2016-09-05convert ExtTimeFieldFormat to scoped enumNoel Grandin
Change-Id: I6cb4e057f7a5b83edb51048f24372d19fbf48177
2016-09-05convert ExtDateFieldFormat to scoped enumNoel Grandin
Change-Id: I717e5e727ee0e2b6d732ecc6a432c70926654902
2016-09-05convert GradientStyle to scoped enumNoel Grandin
Change-Id: Ib740da708612df7a5f4b8c82262b9b1bd436604d
2016-09-05convert HatchStyle to scoped enumNoel Grandin
Change-Id: Ibef51ae5ae135ae584791959ec3f7bf78c50e2a8
2016-09-05convert LineStyle to scoped enumNoel Grandin
Change-Id: I30cfa5a0649b806604c443f55683d1f2a430983d
2016-09-05convert RasterOp to scoped enumNoel Grandin
Change-Id: I136423c105316c9b5b18e64d04a248fd7ac5590b
2016-09-05convert FontAutoHint to scoped enumNoel Grandin
Change-Id: Ie60f2e94e178ab7ed292b20da88fb5958662a041
2016-09-05convert FontHinting to scoped enumNoel Grandin
Change-Id: I13ce9e6d50e8d4e087c936bd86e8e96997f020cd
2016-09-05convert OutDevSupportType to scoped enumNoel Grandin
Change-Id: I7a1e4448dfff0ea6909149533d228829d980796c
2016-09-04coverity#1371167 Missing move assignment operatorCaolán McNamara
Change-Id: I95bafeb32b0444bf387efc1f6a56018975f09f29
2016-09-04Related: tdf#101779 TipStyleBalloon for ShowQuickHelp tooMaxim Monastirsky
681294d55b6b4edcdef08982596cb4bcee32e635 converted TableDataWindow::RequestHelp to use ShowQuickHelp, but it wants to set TipStyleBalloon to be able to use line break. Also I want to do the same in the template manager dialog, in the following commit. Change-Id: Ie2569a5ab29620a5f4474dafd2309513c08bd7d2
2016-09-03coverity#1371244 Missing move assignment operatorCaolán McNamara
Change-Id: I172f8397a96e5b7d0d4639e35c591caea2a0eef4
2016-09-03Resolves: tdf#101795 restore hiding on end of Gtk fpicker executeCaolán McNamara
but don't hide it at the end of every RunDialog::run so that the dialog still exists and is visible if the "sure you want to overwrite" dialog needs to be displayed and restore the cui options stuff to its original state as well, undoing the earlier efforts of... commit c1bd3156cf66318023f36d81ce809a38072588e4 Author: Caolán McNamara <caolanm@redhat.com> Date: Thu Jul 21 21:44:06 2016 +0100 Resolves: tdf#101054 crash on options->path with non-native file picker and commit 3bbc0574d78d129359638b74612de2f93419eeb0 Author: Caolán McNamara <caolanm@redhat.com> Date: Tue Jul 5 10:16:51 2016 +0100 Resolves: rhbz#1352835 path options doesn't promptly destroy folder picker Change-Id: I5d6bcee9fb0a73a95cc29e8f3f2ee2aea91a135a
2016-09-02coverity#1371159 Missing move assignment operatorCaolán McNamara
Change-Id: I1470d6a27cb5ee5a98ddb13f4f12cb0b7289b282
2016-09-02coverity#1371145 Missing move assignment operatorCaolán McNamara
Change-Id: I3aa3267cb6a824d1a7a843f2f61d7ce08ae0cd52 Reviewed-on: https://gerrit.libreoffice.org/28619 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-09-02coverity#1371150 Missing move assignment operatorCaolán McNamara
Change-Id: Iaf59b0dfc822fd00563ae15d25fde8c3cf2e2462 Reviewed-on: https://gerrit.libreoffice.org/28614 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-09-02coverity#1371325 Missing move assignment operatorCaolán McNamara
Change-Id: Iebe5ec7e2cdc6743dbabdecaa7cbb1c4a04893c4 Reviewed-on: https://gerrit.libreoffice.org/28610 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-09-02boost::intrusive_ptr->tools::SvRefCaolán McNamara
Change-Id: I4c913dc62efe3f3747e78670f4efb0216d95c4ad Reviewed-on: https://gerrit.libreoffice.org/28585 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-09-01For Valgrind, zero out alignment bytes of 24-bit bitmap, tooStephan Bergmann
...caused false warnings in CppunitTest_sw_filters_test testing sw/qa/core/exportdata/html/pass/cp1000068.odt Change-Id: I48943d5d4999e1b8c9a7ab50e39e65b2171b1b94
2016-09-01Looks like the menu highlight handler is now unusedMaxim Monastirsky
Change-Id: I75ff4bce35e7940e07b760f672e08ffe0dd208f8 Reviewed-on: https://gerrit.libreoffice.org/28580 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2016-09-01std::list<sal_Int32> to dequeNoel Grandin
Change-Id: I28942e35cf240b83ad49def6252f2709baf525a9
2016-09-01std::list<sal_Unicode> to vectorNoel Grandin
Change-Id: If437d2588c75c76fdf03413c074f4f49f93a12f4
2016-09-01std::list<sal_Int32> to vectorNoel Grandin
Change-Id: I991fba4593665035df26a0e13f0219029f2eb917
2016-09-01std::list<int> to vectorNoel Grandin
Change-Id: I018eec4fa6647e76c5f4d6a08350acda2950b33e
2016-09-01std::list<int> to vectorNoel Grandin
Change-Id: I05d4531ac6d3daa8c996db374bc2a2425215dde8