summaryrefslogtreecommitdiff
path: root/desktop
AgeCommit message (Collapse)AuthorFilesLines
2017-08-17implementing callback for ruler invalidationAditya Dewan1-0/+18
adding commands to fetch and changee ruler state '.uno:RulerState' and '.uno:RulerStateChange' Change-Id: I66107039a7ae5893691feb45c8ab2e4aa476ea76 Reviewed-on: https://gerrit.libreoffice.org/40727 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: pranavk <pranavk@collabora.co.uk>
2017-08-14updater: fix -Werror=undef problemsMarkus Mohrhard1-4/+4
Change-Id: I5a76a302419e911f541ad75e85ed6462ebe5f07f Reviewed-on: https://gerrit.libreoffice.org/41148 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-08-14updater: fix dependency for desktop testMarkus Mohrhard1-0/+8
Change-Id: I699124813f375185b408a1a0c4f49a91b518971e Reviewed-on: https://gerrit.libreoffice.org/41141 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-08-13updater: fix the updater path on windowsMarkus Mohrhard1-2/+2
Change-Id: I69ff622c12a289c4ac240ee4a7313eeffc3203b9 Reviewed-on: https://gerrit.libreoffice.org/40987 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-08-13updater: use desktop.updater log scope consistentlyMarkus Mohrhard2-6/+5
Change-Id: I242890aeda4820ada6f06e4cbe01b73d5faf549e Reviewed-on: https://gerrit.libreoffice.org/40924 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-08-13updater: make sure we pass the correct path for the updater executable on winMarkus Mohrhard1-5/+7
Change-Id: Ia7655317582b891e109f3b310498264cc59a3924 Reviewed-on: https://gerrit.libreoffice.org/40923 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-08-13updater: call the updater executable on windowsMarkus Mohrhard4-21/+57
Change-Id: Ibbcfea2e42bc55cf5c018bfb1856be7f1981f57d Reviewed-on: https://gerrit.libreoffice.org/40922 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-08-11convert std::map::insert to std::map::emplace IINoel Grandin2-12/+7
Change-Id: Ief8bd59c903625ba65b75114b7b52c3b7ecbd331 Reviewed-on: https://gerrit.libreoffice.org/41019 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-08-11convert std::map::insert to std::map::emplaceNoel Grandin8-10/+8
which is considerably less verbose Change-Id: Ifa373e8eb09e39bd6c8d3578641610a6055a187b Reviewed-on: https://gerrit.libreoffice.org/40978 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-08-09desktop,extensions: updater: only allow redirects to HTTP/HTTPSMichael Stahl1-0/+2
Configure curl to prevent redirects to other protocols. Change-Id: Ied73b3d9a062ea6e0a1d594f4c12162dffd6c4a7
2017-08-08loplugin:constantparamNoel Grandin2-16/+7
Change-Id: Ib92aba17c46a4ada75c2a0630f281759d995f32e Reviewed-on: https://gerrit.libreoffice.org/40843 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-08-03lok: Support RTF as output format.Jan Holesovsky1-0/+1
Change-Id: Ifea2d1dbf3d4424af557c18e31404e07f8ae89c2 Reviewed-on: https://gerrit.libreoffice.org/40691 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jenkins <ci@libreoffice.org>
2017-08-02updater: fix incorrect installation directory pathMarkus Mohrhard1-3/+2
With this change one step updates are finally working correctly. Change-Id: I41a33b670039adc85a24de713bd0938d99da6662 Reviewed-on: https://gerrit.libreoffice.org/40660 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-08-02updater: flush the configuration changes before we call execvMarkus Mohrhard1-0/+4
Without this the external configuration writer thread might not have written the config yet. Change-Id: I361fd8a7ee102a8ca50899fb644a0745ed3386ca Reviewed-on: https://gerrit.libreoffice.org/40659 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-08-02updater: always log all Updater messages also to SAL_INFOMarkus Mohrhard2-2/+4
Change-Id: Iafb9ebc8c1bc0ed317fa51b40e22bc8531bda6f1 Reviewed-on: https://gerrit.libreoffice.org/40657 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-08-02updater: log the update check timeMarkus Mohrhard1-0/+1
Change-Id: I41092b3548715a89baf9d795aa58c87a0e1621b2 Reviewed-on: https://gerrit.libreoffice.org/40658 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-08-02updater: switch to an one-step updateMarkus Mohrhard3-65/+7
Change-Id: I72af514ed0b3f83c8cc1fdfb8009ad523fc1a5a8 Reviewed-on: https://gerrit.libreoffice.org/40655 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-08-02updater: remove the updater files after an updateMarkus Mohrhard3-0/+54
Change-Id: Iaf12cb66fae2ead6d899864309f0d7f4d131e072 Reviewed-on: https://gerrit.libreoffice.org/40654 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-08-02updater: make it easier to test indenpendent updater partsMarkus Mohrhard1-4/+6
Change-Id: I3f06c6315349c9c53e3e76a8a01153679260c272 Reviewed-on: https://gerrit.libreoffice.org/40653 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-08-02updater: extract the build ID generation into own methodMarkus Mohrhard3-5/+14
Change-Id: Ieee90215c155d031da40b2d9d0b50bc41ff2e980 Reviewed-on: https://gerrit.libreoffice.org/40652 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-08-01tdf#109347: don't verify SSL certificate for crashreport uploadMarkus Mohrhard1-0/+1
Seems that on Windows we can not rely on the CA information to include the necessary info to verify the connection to the server. Change-Id: Ieed639c438f5a66e538d1126bb1e8ec1ea02b168 Reviewed-on: https://gerrit.libreoffice.org/40641 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-08-01move resmgr to unotoolsCaolán McNamara8-11/+9
and the vast majority of translations is to the ui language so default ctor with that arg and now drop OModuleResourceClient Change-Id: I3b85a560ffdfe5f019c2271ac56a5fe4a361522b
2017-08-01loplugin:checkunusedparamsNoel Grandin3-5/+3
the "check for taking address of function" part was generating false+ Change-Id: Iad6203850901229b7b1b2f8938c68ec703cd343f Reviewed-on: https://gerrit.libreoffice.org/40613 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-08-01loplugin:constparams in lotuswordproNoel Grandin2-2/+2
Change-Id: I2ad14fa797c99d26975dc472c1db115d94160eee Reviewed-on: https://gerrit.libreoffice.org/40615 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-07-31tdf#109262 - load libraries, and handle exceptions for --script-catMichael Meeks1-9/+27
Change-Id: I928ec885f445615fa1fb8a7cfb4ccc0015381d67 Reviewed-on: https://gerrit.libreoffice.org/40550 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2017-07-31loplugin:oncevarNoel Grandin1-4/+4
extend oncevar to any POD type Change-Id: Ia98ee0a67f183e40fb0c38477760124b2c411dc0 Reviewed-on: https://gerrit.libreoffice.org/40564 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-07-28Added SAL_NOLOCK_PROFILE variable to ignore lockfileSzymon Kłos1-5/+10
Change-Id: I4fb250468fc17fc8be94d666ef231636b4609c1d Reviewed-on: https://gerrit.libreoffice.org/40520 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2017-07-28loplugin:checkunusedparams more part3Noel Grandin2-8/+4
Change-Id: I621fcf7ceb27238ca86d2299dfb2b8ed03c270fd Reviewed-on: https://gerrit.libreoffice.org/40509 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-07-25loplugin:unusedmethodsNoel Grandin2-27/+0
Change-Id: Ia874baf21257e5fe41e104211068a2bcc50446eb Reviewed-on: https://gerrit.libreoffice.org/40391 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-07-25use more comphelper::InitAnyPropertySequenceNoel Grandin2-17/+16
Found with: git grep -n -A10 'Sequence.*Any' -- *.cxx | grep -B5 -w PropertyValueProvider and: git grep -n 'Sequence.*Any.*( *&' Change-Id: Icb18c98bdd3f8352817e443ff78de5df042859ad Reviewed-on: https://gerrit.libreoffice.org/40389 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-07-24updater: make sure the old oosplash process closesMarkus Mohrhard1-0/+2
Change-Id: Idc0c0231552c79b5e944facffd2d64352bb94cff
2017-07-24loplugin:unusedfields readonly fieldsNoel Grandin1-6/+0
Change-Id: I6629926df06f71ff86e9fb23ae4fc1ae73bc9406 Reviewed-on: https://gerrit.libreoffice.org/40360 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-07-23Removed duplicated includesAndrea Gelmini2-3/+0
Mainly about "core_resource.hxx" and "strings.hrc". It passed "make check" on Linux. Change-Id: I994420d5e33d02b64929f8a51c548a7322d88a79 Reviewed-on: https://gerrit.libreoffice.org/40311 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-07-21lok: Add docm/xlsm/pptm filters to be known by LOK.Jan Holesovsky1-0/+3
Change-Id: I4995498132b832ce783efc9740f1d7129f085a01 Reviewed-on: https://gerrit.libreoffice.org/40196 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk> Reviewed-on: https://gerrit.libreoffice.org/40266 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2017-07-21de-hrc various thingsCaolán McNamara3-5/+5
e.g. helpid[s].hrc -> helpids.h and insert include guards where missing move "ordinary" defines into .hxx files remove .hrc entries that are used as arguments to dialog factory when a dedicated method can be added instead Change-Id: I792fb8eb0adfaa63cf354e6e57401fc943e9196e
2017-07-21migrate to boost::gettextCaolán McNamara85-2037/+512
* all .ui files go from <interface> to <interface domain="MODULE"> e.g. vcl * all .src files go away and the english source strings folded into the .hrc as NC_("context", "source string") * ResMgr is dropped in favour of std::locale imbued by boost::locale::generator pointed at matching MODULE .mo files * UIConfig translations are folded into the module .mo, so e.g. UIConfig_cui goes from l10n target to normal one, so the res/lang.zips of UI files go away * translation via Translation::get(hrc-define-key, imbued-std::locale) * python can now be translated with its inbuilt gettext support (we keep the name strings.hrc there to keep finding the .hrc file uniform) so magic numbers can go away there * java and starbasic components can be translated via the pre-existing css.resource.StringResourceWithLocation mechanism * en-US res files go away, their strings are now the .hrc keys in the source code * remaining .res files are replaced by .mo files * in .res/.ui-lang-zip files, the old scheme missing translations of strings results in inserting the english original so something can be found, now the standard fallback of using the english original from the source key is used, so partial translations shrink dramatically in size * extract .hrc strings with hrcex which backs onto xgettext -C --add-comments --keyword=NC_:1c,2 --from-code=UTF-8 --no-wrap * extract .ui strings with uiex which backs onto xgettext --add-comments --no-wrap * qtz for gettext translations is generated at runtime as ascii-ified crc32 of content + "|" + msgid * [API CHANGE] remove deprecated binary .res resouce loader related uno apis com::sun::star::resource::OfficeResourceLoader com::sun::star::resource::XResourceBundleLoader com::sun::star::resource::XResourceBundle when translating strings via uno apis com.sun.star.resource.StringResourceWithLocation can continue to be used Change-Id: Ia2594a2672b7301d9c3421fdf31b6cfe7f3f8d0a
2017-07-19CheckWebQuery: Don't use OUString::createFromAscii for user inputMike Kaganski1-1/+1
Change-Id: I26803984c0a9e172aa4ceb7bfc9d26abb14ca207 Reviewed-on: https://gerrit.libreoffice.org/40173 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Jenkins <ci@libreoffice.org>
2017-07-19loplugin:constparams in desktopNoel Grandin17-39/+39
Change-Id: Idba3acbd1e6ad5e1ce1cae9f80f764906ab8b143 Reviewed-on: https://gerrit.libreoffice.org/40157 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-07-18Clean up android specific template functions defined in std namespacebrainbreaker1-19/+1
Change-Id: I2094ee8eec00587f166d96723a02eb5957dbf79b Reviewed-on: https://gerrit.libreoffice.org/39890 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-07-15emfplus: create a wmf/emf/emf+ primitive based importerArmin Le Grand1-1/+1
First steps to organize an importer that can read/interpret wmf/emf/emf+ and deliver a primitive representation for the content by parsing it. Use the same mechanisms as already applied for Svg, so to reuse abilities to keep original binary data to allow save again and embedding in files and have an implemented replacement bitmap based representation. For this, unify the used helper classes to handle more than just Svg. For 1st try, add test code and static bool switches Change-Id: I6e0a82943541d811a8f8d65a84115569fcd8cee7
2017-07-13Move scheduler task into its own headerJan-Marek Glogowski1-0/+1
Change-Id: I54534787b8cfa4c47dc09dde9c38a7893df9d367
2017-07-13use more OUString::operator== in dbaccess..filterNoel Grandin7-17/+17
Change-Id: Ib7b4f2b2403ce766a7db2f6ffc118468e7677776 Reviewed-on: https://gerrit.libreoffice.org/39889 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-07-13loplugin:oncevar: empty strings: desktopStephan Bergmann2-8/+4
Change-Id: I8c88b295d797a98f0374e3ce57b9c875b72c7bd3
2017-07-12tdf#106359: use SvFileStream to read iqy; fixes *nix compatibilityMike Kaganski1-37/+27
Change-Id: I42dc6559a57eaedcc64d2a4e59e16677b9dfeb1c Reviewed-on: https://gerrit.libreoffice.org/39862 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2017-07-12strip some linefeeds from the end of debug outputNoel Grandin1-2/+1
Change-Id: I2821969d86b7f8cee53404e6a0acfbebbe53b3ac Reviewed-on: https://gerrit.libreoffice.org/39824 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-07-10teach unnecessaryparen loplugin about identifiersNoel Grandin1-2/+2
Change-Id: I5710b51e53779c222cec0bf08cd34bda330fec4b Reviewed-on: https://gerrit.libreoffice.org/39737 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-07-06use OString::operator== in preference to ::equalsNoel Grandin1-1/+1
Change-Id: Ib291521963a791a9c6175964571e9d9895072acf Reviewed-on: https://gerrit.libreoffice.org/39646 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-07-05new loplugin unnecessaryparenNoel Grandin3-4/+4
Change-Id: Ic883a07b30069ca6342d7521c8ad890f4326f0ec Reviewed-on: https://gerrit.libreoffice.org/39549 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-07-05loplugin:casttovoid (clang-cl): desktopStephan Bergmann1-6/+0
Change-Id: Id14f6d0f234188b9e4576380f45dd3eec8d857b7
2017-07-05loplugin:unusedfields variousNoel Grandin2-8/+0
Change-Id: Ia7bcf2471381aa6a2768ea795fe6572e38209100