summaryrefslogtreecommitdiffstats
path: root/desktop
Commit message (Collapse)AuthorAgeFilesLines
* Fix typosAndrea Gelmini2017-05-181-1/+1
| | | | | | | | | Only replaced "iff" with "if" Change-Id: Ib9dfa5c12b05500043147fe3b65f923b1b12a581 Reviewed-on: https://gerrit.libreoffice.org/37782 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
* Remove dead rtl::Static instancesStephan Bergmann2017-05-161-27/+5
| | | | | | | | ...effectively dead ever since c1758889cbd5e8e4afb1044425c908715eb3e1cd "Heavily simplified utl::ConfigManager" changed the references into them (rBrandName etc.) into non-references (for reasons lost). Change-Id: Ib77fb458ade9d9b53ec5c1cc1e38785a47c42c42
* loplugin:checkunusedparams variousNoel Grandin2017-05-166-15/+15
| | | | | | | Change-Id: I5d1cc807134230d86e0226a12fada204004312d3 Reviewed-on: https://gerrit.libreoffice.org/37675 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* lok: sc: misplaced comment mark on inserting/deleting/resizing row/colMarco Cecchetti2017-05-162-2/+18
| | | | | | | | | | A unique id has been introduced, in a similar way of what occurs in Writer. Change-Id: I7b2ef694867fb4184c4cfc616fe1c8f12da3b676 Reviewed-on: https://gerrit.libreoffice.org/36962 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan Holesovsky <kendy@collabora.com>
* remove unused uno::Reference varsNoel Grandin2017-05-124-5/+1
| | | | | | | | | found by temporarily marking Reference as SAL_WARN_UNUSED. Change-Id: I18809b62654467f890016adcc92576980ced393b Reviewed-on: https://gerrit.libreoffice.org/37511 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* lok: sc: notify cell cursor position to address control in clientMarco Cecchetti2017-05-111-0/+3
| | | | | | | | | | A new callback has been introduced for notifying the client: LOK_CALLBACK_CELL_ADDRESS Change-Id: I40b38a3cb8fb658c3f00332d56cfcbaf98e13771 Reviewed-on: https://gerrit.libreoffice.org/37357 Reviewed-by: pranavk <pranavk@collabora.co.uk> Tested-by: pranavk <pranavk@collabora.co.uk>
* remove some unnecessary temporary OUStringsNoel Grandin2017-05-112-2/+2
| | | | | | | | | | found with: git grep -nP 'OUString\(\s*\w+\s*\)' | grep -v new | grep -v return Change-Id: I923109b4339210aed2639e423fbc4d5f19233f02 Reviewed-on: https://gerrit.libreoffice.org/37463 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
* Resolves: rhbz#144437 make gnome-documents not crash the whole timeCaolán McNamara2017-05-104-5/+13
| | | | | | | | | | | | | | | accept that once initted that LibreOffice cannot be deinitted and reinited (without lots of work), but allow the main loop to quit and restart so LOKs thread can run and exit successfully, new LOK connections will restart the main loop. The buckets of global state continues to be valid the whole time this way Change-Id: Ide54c0df2ce4065f7c192ae8c2cedfaaa2b58d72 Reviewed-on: https://gerrit.libreoffice.org/37399 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* tdf#104312: add missing #includeAron Budea2017-05-101-1/+2
| | | | | | | | | | It wasn't needed on master, but libreoffice-5-3 didn't compile with the change, let's have it in both branches. Change-Id: I3875cc71d3fee34504573e7148b91c1bdd4c6764 Reviewed-on: https://gerrit.libreoffice.org/37442 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Aron Budea <aron.budea@collabora.com>
* Remove unnecessary HIDs - the defaults will work just fineGabor Kelemen2017-05-093-9/+0
| | | | | | | | Change-Id: I1c67634c7da32daa48fdc962591f75466d145508 Reviewed-on: https://gerrit.libreoffice.org/37408 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* loplugin:constantparamNoel Grandin2017-05-095-12/+8
| | | | | | | Change-Id: Ia9500b25602c14aadf49fe373682ae9d87a0a1a2 Reviewed-on: https://gerrit.libreoffice.org/37390 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* tdf#104312, tdf#105428: use static vars in ReplaceStringHookProcAron Budea2017-05-081-9/+14
| | | | | | | | | And use call_once to initialize them once. Change-Id: Ic2f97a51ccc6ee400eb1af56da2c8fd88e226a9d Reviewed-on: https://gerrit.libreoffice.org/37318 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
* teach loplugin:constantparam about simple constructor callsNoel Grandin2017-05-081-1/+1
| | | | | | | Change-Id: I7d2a28ab5951fbdb5a427c84e9ac4c1e32ecf9f9 Reviewed-on: https://gerrit.libreoffice.org/37280 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* revert OSL_ASSERT changesChris Sherlock2017-05-0740-159/+159
| | | | Change-Id: I365d140446bd2a62cf8256acbfdd53fe72987380
* tdf#43157: convert desktop module away from OSL_ASSERT to assertChris Sherlock2017-05-0740-159/+159
| | | | Change-Id: I521042a79cf93a51d84b72554d04715b321dd942
* Fix typosAndrea Gelmini2017-05-052-2/+2
| | | | | | | | | | To complete commit 0ef94e2b559547bc4e906e7f24e57ff5d642e108 and f12096272e684ddcd8ffa4e34dcb0a680cc594c2 Change-Id: Ie86bbfbd58dd728a013bef221e4d5c8fbcaf8e03 Reviewed-on: https://gerrit.libreoffice.org/37199 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* remove empty commentsNoel Grandin2017-05-032-4/+0
| | | | | | | | | | | | found with: git ls-files | xargs grep -Pzl '/\*\* (\*|\s| )*\*/' Change-Id: I1f47bcb94d5a7b290a6c622c6941195fbb578597 Reviewed-on: https://gerrit.libreoffice.org/37159 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* loplugin:stringconstantMaxim Monastirsky2017-05-011-1/+1
| | | | Change-Id: I8f7a0d5b4b0534c71a32457d58006af0d6ddf133
* untranslated strings are just stringsCaolán McNamara2017-04-304-8/+20
| | | | Change-Id: Ic7247a6d0e702572ca304bb048bfabfafcbf7505
* Move getProcessWorkingDir from tools to unotoolsChris Sherlock2017-04-293-17/+19
| | | | | | | Change-Id: Ifd86ab3c89c285ad5329fc86cc57967ebd1af91a Reviewed-on: https://gerrit.libreoffice.org/37100 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
* loplugin:salunicodeliteral: desktopStephan Bergmann2017-04-281-1/+1
| | | | Change-Id: Id4594d5e0ff79dbe75c5545c22e5b95745d64061
* tools: move errcode.hxx to the vcl moduleChris Sherlock2017-04-271-1/+1
| | | | | | | Change-Id: I17e5a033de5f0aeb0a726744f7b464cdab6e2ee3 Reviewed-on: https://gerrit.libreoffice.org/36854 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
* vcl: move RegisterDisplay() from ErrorHandler to ErrorRegistryChris Sherlock2017-04-271-1/+1
| | | | | | | | | | | It is the error registry that should register the display, not the error handler. Move this function to the class that is responsible for it. Change-Id: I95ca1662b907a7f38a42a39ec729b35fd530bb79 Reviewed-on: https://gerrit.libreoffice.org/36853 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
* loplugin:useuniqueptr (clang-cl)Stephan Bergmann2017-04-261-4/+7
| | | | Change-Id: I08c2c3557b4cb1804446d5a65e8e0499b27a3329
* remove desktop bitmaps from .src filesCaolán McNamara2017-04-257-60/+28
| | | | | | | Change-Id: I32aefdf3407434564ed7efe2f6785a17c69199f2 Reviewed-on: https://gerrit.libreoffice.org/36956 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* The debugging rectangles are not needed any more.Jan Holesovsky2017-04-251-13/+0
| | | | | | We have the debugging console in the loleafleat instead these days. Change-Id: I316fa6d101a14e1bc7f2a8fab554f516ec55644d
* errinf.hxx moved out of tools and into vcl moduleChris Sherlock2017-04-252-2/+2
| | | | | | | | | | ErrorInfo has a hard depency on VCL, yet is in the tools package. It is more appropriate to have it reside in the VCL module. Change-Id: Ica54a46c3a7f86cf0331ed7245234bea69c05650 Reviewed-on: https://gerrit.libreoffice.org/36839 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
* tools: svstream.hxx needs only errcode.hxx & not errinf.hxxChris Sherlock2017-04-256-0/+6
| | | | | | | Change-Id: Ia28e35ae5af4f601e9a586a3deffbcd61702b0ca Reviewed-on: https://gerrit.libreoffice.org/36896 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
* tdf#95845 Use CommandInfoProviderMaxim Monastirsky2017-04-231-1/+0
| | | | | | And a few unused theUICommandDescription includes. Change-Id: Ic80dbfb91e5e7662723efe0cb4090416994adabd
* gbuild: Remove MSVC 2013 legacy codeDavid Ostrovsky2017-04-2123-50/+0
| | | | | | | | | Uwinapi is discontinued. Change-Id: I063b4d0d8fab2d60de168e960a63b8181158ac01 Reviewed-on: https://gerrit.libreoffice.org/23198 Reviewed-by: David Ostrovsky <david@ostrovsky.org> Tested-by: David Ostrovsky <david@ostrovsky.org>
* LOK - Calc: changed the way header is updated on row/col insert/removeMarco Cecchetti2017-04-211-0/+1
| | | | | | | | | | This patch introduce a new LOK callback for informing the client that the row/col header is no more valid and needs to be updated. Change-Id: I21a3a41d69bd1a3c11c9ffaf1d7d53dbc3b9681d Reviewed-on: https://gerrit.libreoffice.org/36733 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan Holesovsky <kendy@collabora.com>
* loplugin:unusedmethodsNoel Grandin2017-04-201-1/+0
| | | | | | | Change-Id: Ib7a9b1b0802ca751da258065e89b412b090bb672 Reviewed-on: https://gerrit.libreoffice.org/36718 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* clang-tidy readability-simplify-boolean-expr in dbaccess..frameworkNoel Grandin2017-04-196-26/+8
| | | | | | | Change-Id: I96e1bd4000f4ade6ccfac53c57653772b249df99 Reviewed-on: https://gerrit.libreoffice.org/36678 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* submit crash reports using httpsMarkus Mohrhard2017-04-171-1/+1
| | | | | | | Change-Id: I98e0af47f984d5327e23bfee6d4a27052b848699 Reviewed-on: https://gerrit.libreoffice.org/36591 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* Fix typosAndrea Gelmini2017-04-152-2/+2
| | | | | | | Change-Id: I0238202c0dc0380b0e33a9c4567a9513c0afbe91 Reviewed-on: https://gerrit.libreoffice.org/36556 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
* remove the remaining unused mouse cursorsCaolán McNamara2017-04-141-2/+0
| | | | | | which are not used by us directly or aliases of published awt constants Change-Id: Ic4f009715d71a2f986b8ef8d64b4b2e64986bf3b
* remove the old collaboration feature based on telepathyMarkus Mohrhard2017-04-143-19/+0
| | | | | | | Change-Id: I1f08d6ef43b76e7bae41ac33bb954f506ae7c485 Reviewed-on: https://gerrit.libreoffice.org/36542 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* update cppunit to 1.14.0Markus Mohrhard2017-04-141-8/+0
| | | | | | | Change-Id: I95fa42f4ef0580734b605df859c1660b29adb8b2 Reviewed-on: https://gerrit.libreoffice.org/36499 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* Removed duplicated includesAndrea Gelmini2017-04-131-2/+0
| | | | | | | | | No automatic tools. Manual checked and tested. Change-Id: Ife260fa4e1d786cf81f2917a901664cc54943754 Reviewed-on: https://gerrit.libreoffice.org/36371 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* can use gb_CppunitTest_use_configuration and still access .ui filesCaolán McNamara2017-04-121-2/+1
| | | | | | | | | | | | | | | | | after... commit 506cab1a01b0481d0831a7a692a26dc5a5b55e91 Author: Caolán McNamara <caolanm@redhat.com> Date: Wed Apr 12 16:14:10 2017 +0100 take the .ui files from $BRAND_BASE_DIR/$BRAND_SHARE_SUBDIR Change-Id: I9cffdc092206c038da32a32a2cfe629e68b5c258 Change-Id: I906d16037cdf0b9203a4120cb1a5e9846a5c7b7f Reviewed-on: https://gerrit.libreoffice.org/36482 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
* Convert some rtl_uString -> OUString in jvmfwkStephan Bergmann2017-04-121-2/+2
| | | | Change-Id: I08de5cab29dabc6fd824d5df8bac12c8520a05ae
* Use std::unique_ptr<JavaInfo> for lifecycle management in jvmfwk/framework.hxxStephan Bergmann2017-04-111-3/+4
| | | | Change-Id: Ie604c75e92c407ff3118aaa58155648d956c91fb
* Use jfw::JavaInfoGuardStephan Bergmann2017-04-111-24/+3
| | | | Change-Id: I2eb0a82d3e935f183729f76375feed927a34d74f
* Clean up uses of SAL_U/SAL_W: desktopStephan Bergmann2017-04-101-1/+2
| | | | Change-Id: Ie1f5407a347a19c000793bf83e3545d566937d72
* tdf#106359: register .iqy in MSI and treat them as templatesMike Kaganski2017-04-061-0/+1
| | | | | | | Change-Id: I7ae94c7717fbea03d96c539e05eeb565bafefd9f Reviewed-on: https://gerrit.libreoffice.org/36188 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
* Finally switch MSVC to sal_Unicode = char16_t, tooStephan Bergmann2017-04-041-1/+1
| | | | | | | | | | | | | There is lots of (Windows-only) code that relied on sal_Unicode being the same as wchar_t, and the best change may be different in each case (and doing the changes may be somewhat error prone). So for now add SAL_U/SAL_W scaffolding functions to sal/types.h, remove their uses one by one again, and finally drop those functions again. Change-Id: I2cc791bd941d089901abb5f6fc2f05fbc49e65ea Reviewed-on: https://gerrit.libreoffice.org/36077 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* make UNO enums scoped for internal LO codeNoel Grandin2017-04-042-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | this modifies codemaker so that, for an UNO enum, we generate code that effectively looks like: #ifdef LIBO_INTERNAL_ONLY && HAVE_CX11_CONSTEXPR enum class XXX { ONE = 1 }; constexpr auto ONE = XXX_ONE; #else ...the old normal way.. #endif which means that for LO internal code, the enums are scoped. The "constexpr auto" trick acts like an alias so we don't have to use scoped naming everywhere. Change-Id: I3054ecb230e8666ce98b4a9cb87b384df5f64fb4 Reviewed-on: https://gerrit.libreoffice.org/34546 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* tdf#82580 tools: rename Rectangle to tools::RectangleMiklos Vajna2017-03-315-32/+32
| | | | | | | | | | | | | | | Mostly generated using make check COMPILER_EXTERNAL_TOOL=1 CCACHE_PREFIX=clang-rename-wrapper RENAME_ARGS="-qualified-name=Rectangle -new-name=tools::Rectangle" Except some modules have their own foo::tools namespace, so there have to use ::tools::Rectangle. This commit just moves the class from the global namespace, it does not update pre/postwin.h yet. Change-Id: I42b2de3c6f769fcf28cfe086f98eb31e42a305f2 Reviewed-on: https://gerrit.libreoffice.org/35923 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
* tdf#106325 - No way to create a new Documentbrainbreaker2017-03-301-1/+1
| | | | | | | | | | | | | | | | | | This commit will add the ability to create a new document. A FAB is used in home screen which on expansion gives four options namely new writer document, new impress, new Sheet or new Draw. Two new events loadNewDocument and saveDocumentAs have been added. Another major change includes the use of constraint layout in LOUIActivity layout as it decreases nesting of views and improves the app performance. This was needed because of the new FAB layouts being added. Support for vector drawables has been enabled. Change-Id: Ia3ea17f73c0d8514f8ddb7b9a1cbd2ce7de6ac08 Reviewed-on: https://gerrit.libreoffice.org/35183 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
* remove type decorations on char literalsJochen Nitschke2017-03-301-3/+3
| | | | | | | | | | they are only needed where type deduction fails. left them in defines for now. Change-Id: I7f002dd6bc7acc083c73b6c64076de6dd28d0b09 Reviewed-on: https://gerrit.libreoffice.org/35893 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>