summaryrefslogtreecommitdiff
path: root/sfx2
AgeCommit message (Collapse)Author
2015-11-20tdf#95614 fix freezing with linked imagesLászló Németh
Change-Id: Id9c718fda8f15d804e07ad87ff4ca930c2ea70cf
2015-11-20loplugin:nullptrStephan Bergmann
Change-Id: Ieb8821ed16707afd26329cb84277c96dca66d5b7
2015-11-20loplugin:stringconstantStephan Bergmann
Change-Id: Ia0a89419fffb9081df7da4696c3ec21ef3f0256b
2015-11-20loplugin:staticmethodsStephan Bergmann
Change-Id: Ia306219fdcce4633e85c34db343a99b21e88157e
2015-11-20loplugin:nullptrStephan Bergmann
Change-Id: I12e145be9c9f19c51e86075298f616b003054e10
2015-11-20tdf#67770 store sidebar elements statesLaurent Godard
deck & panel states at user registry level when disposing a sidebar if a shared deck (with "any" context application) is modified, it apply to all applications (eg. Gallery between calc and writer); TODO ? clean ResourceManager Get/Set const/non-const add panels when deck is created & refactoring * macro example Sub Main controller = thisComponent.currentcontroller sidebar = thisComponent.currentcontroller.getSidebar() sidebar.setVisible(true) decks = sidebar.getdecks() deck = decks.getByName("PropertyDeck") deck.activate(true) deck.setTitle("new deck title") deck.moveLast() panels = deck.getPanels() panel = panels.getByName("TextPropertyPanel") panel.setTitle("new panel title") panel.expand(true) ' expand and collapse other panel.moveLast() End Sub Change-Id: I2552000af92a366ebb51a479962a094b72e400b6 Reviewed-on: https://gerrit.libreoffice.org/17992 Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de> Tested-by: Katarina Behrens <Katarina.Behrens@cib.de>
2015-11-20loplugin:sallogareasStephan Bergmann
Change-Id: Ib1f06cb5f925535858bc14aab6f59ad7fd2a3a8d
2015-11-20add mapKeysToSequence/mapValuesToSequence methods to comphelperNoel Grandin
and use them Change-Id: If4dc9df63db37185228aeaaab2979498d61304ec Reviewed-on: https://gerrit.libreoffice.org/20055 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-19loplugin:sallogareasStephan Bergmann
Change-Id: I2220ab194384fb397716bf3227d38716ba54f537
2015-11-18Unify menu-based toolbar controllersMaxim Monastirsky
The new GenericPopupToolbarController takes by default the popup menu controller that registered for the same .uno:Something command, and sets ToolBoxItemBits to ToolBoxItemBits::DROPDOWNONLY. If a different command specified using the "Value" property - takes the popup menu controller that registered for this command, and sets bits to ToolBoxItemBits::DROPDOWN. Change-Id: I75c5300bd27fcc9f618f2ee0df2aa6aefd088239 Reviewed-on: https://gerrit.libreoffice.org/20040 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2015-11-18fix for windows buildNoel Grandin
after my commit 032dae364b4853635186b7541e40c71588f9050a "use unique_ptr for pImpl in sfx2/" Change-Id: Ib7361a6b030a8ed28383bf0d30935bd3fb4a397d
2015-11-18use unique_ptr for pImpl in sfx2/Noel Grandin
Change-Id: I564fa80a2642a4849127f3c25236634289b5b93d
2015-11-17Don't assume sal_Unicode is unsigned shortStephan Bergmann
Change-Id: Id3bdce8776ebbdf700eabceed1e123a444a7bc4d
2015-11-16Move CommandInfoProvider to vcl and use it from thereSamuel Mehrbrodt
Change-Id: If7e3ef81cad8974bc54f359096e3ecc700fa62d6 Reviewed-on: https://gerrit.libreoffice.org/19984 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-11-16use initialiser list for Sequence<OUString>Noel Grandin
Change-Id: Ia5e47261d1fc6fac2d046656c05a1c5eedb07e02 Reviewed-on: https://gerrit.libreoffice.org/19978 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-16pch: CommandInfoProvider.hxx was renamed.Jan Holesovsky
Change-Id: I871ef2c50d393183dbca891efc1394455bf3acc6
2015-11-16Cleanup: Consolidate the different ways to get command labels/tooltipsSamuel Mehrbrodt
Change-Id: Ieab809a3122c9d592894b84ec2e68195a4e02dde
2015-11-15Fast PCH generator and optimized PCH filesAshod Nakashian
Ported update_pch.sh to Python with improved performance and features. The new script is invoked from the same update_pch.sh which calls it for each library in parallel, although it can be invoked directly. The ported script (update_pch) updates all PCH files in ~15 seconds where the old script took ~4500 seconds. In addition, the new script supports 3-tiered headers (system, module, and local) and is very flexible to support other improvement. It has a per-library optimal configuration settings that can be updated using another new scripts (update_pch_autotune.sh) which finds optimal per-PCH settings. PCH files have been generated using the new scripts which builds significantly faster (2-3x, depending on module and configuration) and the intermediate binaries are noticably smaller (by several GBs). The new script stamps each generated PCH file with the command that generated it to make it trivial for users to update them, and also adds the command to invoke another script (update_pch_bisect) that helps find missing headers or conflicting headers that may break the build after updating the PCH. Finally update_pch has built-in unit-tests for makefile parsing and other core functionality. Change-Id: Ib933b50e50374d7e2e7e3e95ba8799b0cc8a27fa Reviewed-on: https://gerrit.libreoffice.org/19965 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-11-15use initialiser for Sequence<OUString>Noel Grandin
using variations of: git grep -lP 'Sequence.*OUString.*\(\s*1\s*\)' | xargs perl -0777 -pi -e "s/Sequence<OUString> (\w+)\(1\)\; \s*OUString\* pArray.*; .*\[0\]\s*=\s*(\S+)\;/Sequence<OUString> \1 { \2 };/g" Change-Id: I03c64334ff30ee14dce0d17b67f5122a3893bbe3 Reviewed-on: https://gerrit.libreoffice.org/19971 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-15use initialiser for Sequence<OUString>Noel Grandin
replaced using: git grep -lP 'Sequence.*OUString.*\(\s*1\s*\)' | xargs perl -0777 -pi -e "s/Sequence<\s*OUString\s*> (\w+)\(\s*1\s*\); .*\[0\] = (\S+);/Sequence<OUString> \1 { \2 };/g" Change-Id: I20ad0489da887a9712982531c3b127339bb8b3b9 Reviewed-on: https://gerrit.libreoffice.org/19969 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-15use initialiser for Sequence<OUString>Noel Grandin
performed using: git grep -lP 'Sequence.*OUString.*\(1\)' | xargs perl -0777 -pi -e "s/Sequence<OUString> (\w+)\(1\); .*\[0\] = (\S+);/Sequence<OUString> \1 { \2 };/g" Change-Id: I4da56c80fa09bfc1e8f868794001e9921431e09f Reviewed-on: https://gerrit.libreoffice.org/19968 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-15use initialiser syntax for Sequence<OUString>Noel Grandin
replaced using the script: git grep -lP 'Sequence.*OUString.*\(1\)' | xargs perl -0777 -pi -e "s/Sequence< OUString > (\w+)\(1\); .*\[0\] = (\S+);/Sequence< OUString > \1 { \2 };/g" Change-Id: I23688a91562051a8eed11fc2a85599545c285c34 Reviewed-on: https://gerrit.libreoffice.org/19967 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-13rename: preview picture -> preview imageSamuel Mehrbrodt
Change-Id: Ia19d14def4b78b85ec9ddabb706416a971b670cb
2015-11-13cppcheck: noExplicitConstructorCaolán McNamara
Change-Id: Ife26f55c28c4631aec4ba4105225bfca72da8bff
2015-11-13sfx2: rename static variable SfxApplication::pApp etc.Michael Stahl
Change-Id: I69bb8ab014864ad77448785dfcd291d7c51a0cef
2015-11-12sfx2: boost::ptr_vector->std::vector<std::unique_ptr>Noel Grandin
Change-Id: I6a0b9d539489b7774c3437871f31fd28e737c901
2015-11-12sfx2: boost::ptr_vector->std::vector<std::unique_ptr>Noel Grandin
Change-Id: Ida6aa572b182f966180debc9bf8665975fe51ea2
2015-11-12sfx2: boost::ptr_vector->std::vectorNoel Grandin
Change-Id: I0ffe29145fb56f284300d40dfea323a8b16c26de
2015-11-12sfx2: boost::ptr_vector->std::vectorNoel Grandin
Change-Id: Icb9c44a6c251817a66276af32f0c2d1b26fb923a
2015-11-12sfx2: boost::ptr_vector->std::vector<std::unique_ptr>Noel Grandin
Change-Id: I9e4942a0b5c3f6f863b3fa35bf0cc30911944724
2015-11-12sfx2: boost::ptr_vector->std::vector<std::unique_ptr>Noel Grandin
Change-Id: Ic1ca1166874d0d90ed04b841d8143d3b10900cf5
2015-11-12sfx2: boost::ptr_vector->std::vector<std::unique_ptr>Noel Grandin
Change-Id: I13c6ede42f2fba55397addf7a48adeb80c6a3cb6
2015-11-12sfx2: boost::ptr_vector->std::vector<std::unique_ptr>Noel Grandin
Change-Id: I497702f3cdde1db0712d030756b9850d48d67380
2015-11-12sfx2: boost::ptr_vector->std::vector<std::unique_ptr>Noel Grandin
Change-Id: Idd5bec160e81deac2b570ee3137a1d5ccdc55975
2015-11-11coverity#1338604 Uninitialized scalar fieldCaolán McNamara
Change-Id: Ifb5bdfe677127911303455735997fcf271e80aa6
2015-11-11loplugin:nullptrStephan Bergmann
Change-Id: Id6dd74c1642914394d0e3f6f1af22480a65a0df1
2015-11-11loplugin:nullptrStephan Bergmann
Change-Id: I8007a7f0ed75fd1271520e900826a155c7a41463
2015-11-11tdf#93837 Create Thesaurus popup menu controllerMaxim Monastirsky
The old context menu implementation adds the thesaurus sub-menu by manipulating the menu at runtime, which isn't a good idea in general. Since it's a sub-menu anyway, better to have it as a separate controller, so it can be added to the xml, and users could decide if they want it, and where. Most of the code adapted from sfx2 (menu/mnumgr.cxx, menu/thessubmenu.cxx), hence the Apache-based license header. Change-Id: I4f533fcdd5d6480fae8ebcf53ec7c69675025adb
2015-11-11fix sfx2 buildCaolán McNamara
Change-Id: Iff8317bc59b033b5765d2ba3356f8185cc40a6b3
2015-11-115th step to remove tools/rtti.hxxOliver Specht
tools/rtti.hxx removed completed the interface of some Sdr.* Items and removed pseudo items Change-Id: I0cdcd01494be35b97a27d5985aa908affa96048a Reviewed-on: https://gerrit.libreoffice.org/19837 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2015-11-10sal_uIntPtr to sal_Int32Matteo Casalin
Change-Id: Ib21faeca4ca05bcb534c0418025c7f2607d21077
2015-11-10loplugin:nullptr (automatic rewrite; Mac-specific code)Stephan Bergmann
Change-Id: I65de14686d730743abc5becb139a296c6a4a537d
2015-11-10loplugin:bodynotinblockStephan Bergmann
Change-Id: I10e532dcbe98384fde9c553ccd2e151abf53251f
2015-11-10tdf#87995 - settings : missing a checkbox in order to avoid thumbnail savingbureken
Change-Id: I9822c930bb7e133306a3e90fd80f29648877d5f9 Reviewed-on: https://gerrit.libreoffice.org/19596 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-11-10loplugin:stringconstantStephan Bergmann
Change-Id: Ibb9114d34f2695aa85858e456518e36dbcbe0af1
2015-11-10loplugin:oncevarStephan Bergmann
Change-Id: Iee9987aeafed126e4324d8d487289469577fafa2
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
Change-Id: I7213b49b09ddcb00841aa5f63343baeab0e65fa4
2015-11-09new loplugin: oncevarNoel Grandin
Change-Id: If57390510dde4d166be3141b9f658a7453755d3f Reviewed-on: https://gerrit.libreoffice.org/19815 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-06tdf#92866 startcenter: Make the accellerators work again.Jan Holesovsky
I still have no idea what is the root cause here (why the accellerators do not work 'automagically') - I suspect it is because we don't have a shell there, and instead only a vcl::Window, or something like that :-) Either way, when we handle the accellerators already in PreNotify(), it works as expected, so let's live with that for the time being. Change-Id: Id050fd8f5fff38914821cb64eaa3ae7281fc6d50
2015-11-06tdf#89852 on Windows do not decode the filename for email subjectAndras Timar
... because MAPISendMail does not accept Unicode Change-Id: Id48a41d1cf25d1a991b0f83fd5daa1a65896e958