summaryrefslogtreecommitdiff
path: root/desktop
AgeCommit message (Collapse)Author
2015-06-15Remove bash-ism, allow also --bundled option for rootKatarina Behrens
Change-Id: I34511c7947ff78654a34a3d2bd21754b6d004420
2015-06-14Don't let root run unopkg without --shared optionKatarina Behrens
with the exception of -h|--help. It only makes sense to run unopkg with root priviledges if adding, deleting etc. extensions system-wide for all users (i.e with --shared switch ). In all other cases it only messes up access rights to extensions, so prevent that. Furtheron, running LibO from the root account (and installing root-user-local extensions) is not a supported scenario. Change-Id: I2817f62ae0bb400cefed240e792873f563fbe76e Reviewed-on: https://gerrit.libreoffice.org/16250 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-06-14surely we only care if *our* window is shown hereCaolán McNamara
Change-Id: Ia5bca11c0c24ed7ca301dbe15eca3dc684153ea8
2015-06-13Remove comment filenameAndrea Gelmini
This file was rm/mv on commit 47692bfc1275bfa24a7fb2627cc263142549d29d Change-Id: I141794aee5c57e345334af42fcea4eaa71709f1b Reviewed-on: https://gerrit.libreoffice.org/16259 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2015-06-13TyposJulien Nabet
Change-Id: I21c352a63d668c174eef212dbfbe6346c678ce4d
2015-06-11java:regulatize the order of 'final' and public/privateNoel Grandin
Make the order be 'public static' or 'private static' Just makes the code nicer to read. Change-Id: I182424bda45a2d68642e5d04c6091d268ace1fe2 Reviewed-on: https://gerrit.libreoffice.org/16202 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-06-08loplugin:cstylecast: deal with remaining pointer castsStephan Bergmann
Change-Id: I897ebb00ce427a00f1d9b0c199d465bb0ac80309
2015-06-06Apply new VclPtr clang plugin to catch potential problems.Noel Grandin
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-06-04tdf#91529 hopefully fixes the issue by painting immediatelyTomaž Vajngerl
Change-Id: I0c97e489150cd65d1ab1dbff4ee9f1699f89ac2e
2015-06-03Build time option --disable-extension-updateKatarina Behrens
to disable the possibility to update installed extensions Change-Id: Ifdee0f3b13ee3e2bcb288c8ded98cb9805a6e55a
2015-06-02loplugin:cstylecast: deal with those that are (technically) const_castStephan Bergmann
Change-Id: Id57c9599a454e1156a6a248ebb143a88f6d78425
2015-05-29loplugin:loopvartoosmallNoel Grandin
Change-Id: I5518e40a30bdad53470cc52b59eff04ab6d873d4
2015-05-28SvxSearchItem: add m_nStartPoint{X,Y}Miklos Vajna
The idea is that if you have your cursor at the begining of a Writer document, and you scroll down a lot, then search, then it's annoying that search jumps back to the start of the document for the first hit. Add an optional way to provide what is the starting point of such a search, so we can have "when nothing is selected, then search from the top left corner of the visible area". No UI yet to enable this, but available via the UNO API. Change-Id: Ibcf3a5f2eeba1372b1dfe8474081e6591a6e0134
2015-05-28Rewrite all calls like Dialog(params).Execute()Philippe Jung
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-26desktop: simplify code by std::none_ofTakeshi Abe
Change-Id: Ie69927f3a1e0a8049ea7e15f949e17d5b9f15fce
2015-05-25Audit all PostUserEvent calls and instrument for VclPtr.Michael Meeks
Hold a reference on the VclPtr while we're waiting for the UserEvent. Change-Id: I55c2671ca12eb14761c6a7dffd551af71547ecbd
2015-05-25convert TOTOP constants to scoped enumNoel Grandin
Change-Id: I85ba631ba298f1034dc5b6a04a5ff3d509c41bcb
2015-05-23Look for libsofficeapp.dylib in the right place on OS XTor Lillqvist
Change-Id: Icef6b70081b15d4b8d99eb4ba7103f059e8d00e4
2015-05-23Build the LibreOfficeKit bits for OS X, tooTor Lillqvist
Change-Id: I43013ffc27ba21f65fd1372533dd665894e5c008
2015-05-22loplugin:constantfunctionNoel Grandin
Change-Id: I7cb5b0c2cf9ade557173ca596ea5d42d853ff448
2015-05-22convert constants in include/vcl/settings.hxx to scoped enumsNoel Grandin
Change-Id: I2a110c017f13eca6ddbd70ef3ed195d24adef0a3 Reviewed-on: https://gerrit.libreoffice.org/15828 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-05-21Remove more obsolete Android code: The 'AppSupport' stuffTor Lillqvist
2015-05-20desktop: add soffice --record parameter for easy use of rrMichael Stahl
Allow recording all JunitTests with "RR=1 make check". Change-Id: Ie540cb42990d3032d3fa38abedd4e5134f3ded2c
2015-05-20convert TEXT_DRAW constants to scoped enumNoel Grandin
Change-Id: Ic0f7f8fa236bb478b3598ae3fd3c1b30ebbf1a01
2015-05-18Remove include stdio (part2)Julien Nabet
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-16refactor desktop classes to use RenderContextTomaž Vajngerl
Change-Id: I2338733e76968aeb69a57c60edd9d04d29e8321c
2015-05-12Fixup my earlier quoting fix.Thorsten Behrens
Change-Id: I9a7afb28e09f7f8aa577e180f647839d67964bdf
2015-05-12Switch VclBuilder constructors to use VclPtr.Michael Meeks
Change-Id: Id35a86eb52bbde6ca09a5e61a0b1a79b23be8faf
2015-05-11Add some quoting to shell scripts.Thorsten Behrens
I'd be surprised if the places given want globs and word splitting... Change-Id: I0eb9f2d39ac43479ee06a2477ba309a8e1944d20
2015-05-11Revert "Switch VclBuilder constructors to use VclPtr."Michael Meeks
Behaves oddly; not ready yet. This reverts commit 9f016bd69422bdfb4cf7c4f5e57356eb98db2d8c. Change-Id: I30d746eac29d1dbe78d3072b10d2e22c051e3f4e
2015-05-11Improve exception messageStephan Bergmann
Change-Id: Idce206e0ddebbc9398297f15999579a71f9401c9
2015-05-11Switch VclBuilder constructors to use VclPtr.Michael Meeks
Change-Id: Id35a86eb52bbde6ca09a5e61a0b1a79b23be8faf
2015-05-11convert COMMAND_ constants to scoped enumNoel Grandin
Change-Id: I88e67f89dbbab0646e8f106dfeb32c6ee1bb0b95 Reviewed-on: https://gerrit.libreoffice.org/15671 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-05-10NOINSTANCE is implied now in IMPL_STATIC_LINK...Stephan Bergmann
Change-Id: Ifb032457d6c1b279c4183282ef2b271c706dd71a
2015-05-09tdf#91052 - more macros for 'make' constructors.Michael Meeks
Change-Id: Id05266810760f73db2daba10d1efa14aa9f88dd9
2015-05-09coverity#1257113 Uninitialized pointer fieldCaolán McNamara
Change-Id: If1454e643bba38a0bffd0e14a28045dc5e544d11
2015-05-08lopluign:staticmethods: Handle DECL_LINKStephan Bergmann
Change-Id: Ib27854a8470f3ff5b208cb949a7bd02f2a86c969
2015-05-08read_percent returns ProgressStatus, not sal_BoolStephan Bergmann
Change-Id: I6e1c1f88b28db2728b2f29ea47c3e86ef8983697
2015-05-06Nah, the Android NDK we use doesn't have std::to_string()Tor Lillqvist
So do the verbose OUString::number().toUtf8().getStr() dance. Change-Id: Ied5f6c3ec936544f0f36eeafd07f9496e9061373
2015-05-06Include <string>Tor Lillqvist
Hoping to fix the Android compilation. Change-Id: Ibb476edebc6b2da040af8c8db04efa39882c5bf0
2015-05-06Add support for progress bar callbacks to LibreOfficeKitTor Lillqvist
The libsofficeapp and LibreOfficeKit API bits. Change-Id: I4efe9880dfa4e0387f05b50e64b5eaee448e0925
2015-05-06cleanup DIALOG_NO_PARENT, follow on to tdf#91090Noel Grandin
remove the DIALOG_NO_PARENT abomination and replace it with a flags parameter Change-Id: I71b7dc46c619f2db56af6d4dc2c17daf0a2c8534 Reviewed-on: https://gerrit.libreoffice.org/15645 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-05-06tdf#91090 - avoid de-referencing DIALOG_NO_PARENT (-1)Michael Meeks
Change-Id: I1032054765013a43744a7be548e892fc973a40ce
2015-05-05loplugin:staticmethodsNoel Grandin
Change-Id: I4d19f868a618cb135aa7a949222972dc35b47d2a
2015-05-05Use typed Idle::SetIdleHdl LinkStephan Bergmann
Change-Id: I189937950325dc4ef663f7f49cb45f38f8537de9
2015-05-05Use typed Timer::SetTimeoutHdl LinkStephan Bergmann
Change-Id: Iaaf0c93e5b28c0f7dbe4f02eda8beeae30708100
2015-05-04Use gb_Module_add_check_targets to add CppunitTestStephan Bergmann
Change-Id: I6a8689408141035aaf5cc87838c65eb4b9bc71d3
2015-05-04Enable desktop/qa/deployment_misc/test_dp_version.cxxStephan Bergmann
Change-Id: I6d41aecfb1b41bf3d9e8fac6d63ae9874283e3a3
2015-04-30Gradually typed LinkStephan Bergmann
Turn the Link class into a template abstracting over the link's argument and return types, but provide default template arguments that keep the generic, unsafe "void* in, sal_IntPtr out" behvior. That way, individual uses of the Link class can be updated over time. All the related macros are duplicated with ..._TYPED counterparts, that additionally take the RetType (except for LINK_TYPED, which manages to infer the relevant types from the supplied Member). (It would have been attractive to change the "untyped" LinkStubs from taking a void* to a properly typed ArgType parameter, too, but that would cause -fsanitize=function to flag uses of "untyped" Link::Call.) Change-Id: I3b0140378bad99abbf240140ebb4a46a05d2d2f8
2015-04-29desktop: pJSON may be 0 in jsonToPropertyValues()Miklos Vajna
Change-Id: I1ed9a4e1f1ecabf48ed3edb7cf6623261e2f4570