summaryrefslogtreecommitdiffstats
path: root/desktop
Commit message (Collapse)AuthorAgeFilesLines
* lok: Fix crash in paintPartTile() when the current view was destroyed.Jan Holesovsky2017-03-211-4/+20
| | | | | | | Change-Id: I59b71ee6815cbcfa4c8b5f68ae6dc9299856d49e Reviewed-on: https://gerrit.libreoffice.org/35494 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan Holesovsky <kendy@collabora.com>
* desktop: fix Android -Werror=unused-functionMiklos Vajna2017-03-201-0/+2
| | | | Change-Id: Ic10dbd44e13df8e79d6b64c14291a40238c14a4e
* don't check safe mode on AndroidTomaž Vajngerl2017-03-201-1/+2
| | | | Change-Id: I2ebd3ad3783cd0bb0236574edb1cb428c522aed3
* Fix typos + some German translationsAndrea Gelmini2017-03-191-1/+1
| | | | | | | Change-Id: I1c5bb725ffdf72363279436ad9bbb88064228253 Reviewed-on: https://gerrit.libreoffice.org/35406 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
* fix typo/grammar: "the the" --> thedennisroczek2017-03-191-4/+2
| | | | | | | | | | * also removing pointless ASCII art (tdf#62475) * truncate ending whitespace in Doxyfile Change-Id: I59b012f41ac0d170216229da85a49aa41689dee5 Reviewed-on: https://gerrit.libreoffice.org/35151 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* lok: It's not that important to skip some of the messages.Jan Holesovsky2017-03-171-6/+6
| | | | | | More important is always to perform the paint. Change-Id: I392dd6cea4a5f43a646fca04d284b365b5fb5b78
* remove unused defines from HRC files in desktopNoel Grandin2017-03-172-54/+0
| | | | | | | Change-Id: Iae907966ef5bcde6b51aee8a987213c6c831bdc1 Reviewed-on: https://gerrit.libreoffice.org/35274 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* remove unused RID constantsNoel Grandin2017-03-142-6/+0
| | | | | | | | | found with the attached bin/find-unused-rid.py script Change-Id: I1cf79caa6cafedb8bc642f394dc7e7da889d6fdf Reviewed-on: https://gerrit.libreoffice.org/35136 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* tdf#106359: Open Web Query (.iqy) filesMike Kaganski2017-03-092-1/+90
| | | | | | | | | | | | | | As per http://support.microsoft.com/kb/157482, the files are plain-text files with an URL and optional GET and POST parameters (static and dynamic). This commit introduces basic support to open these files (without support for POST and dynamic parameters). Change-Id: Ic122efdcfacb8b5de3ef68be1cf0e8a480710eca Reviewed-on: https://gerrit.libreoffice.org/34928 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
* WaE: include needed headerDavid Tardon2017-03-081-0/+1
| | | | | | | | | | | "error: In the GNU C Library, "major" is defined by <sys/sysmacros.h>. For historical compatibility, it is currently defined by <sys/types.h> as well, but we plan to remove this soon. To use "major", include <sys/sysmacros.h> directly. If you did not intend to use a system-defined macro "major", you should undefine it after including <sys/types.h>." Change-Id: I7f5741d4c2eae277e316c5fc97aa73b9430fbdc1
* make SfxGetpApp just get and move GetOrCreate to the peripheryCaolán McNamara2017-03-081-0/+1
| | | | | | | | Change-Id: If3b22635e46dbccf0fad101f51bb653cbbcd3a32 Reviewed-on: https://gerrit.libreoffice.org/34957 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* lok: Do not use UNO for fetching tracked changesPranav Kant2017-03-081-1/+4
| | | | | | | | | | | | See inline comment for reasons. Also, move the SwRedlineTypeToOUString function as inline to same header file containing redline types. Change-Id: I9b4be4f104c095b2ccd8287d935347c81fd25974 Reviewed-on: https://gerrit.libreoffice.org/34950 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: pranavk <pranavk@collabora.co.uk>
* tdf#91222 VclBuilder constructor cleanupJulien Nabet2017-03-081-8/+1
| | | | | | | Change-Id: I951bfda566e0aae3b0a82f30be28e66601797cc8 Reviewed-on: https://gerrit.libreoffice.org/34958 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* Propagate failure of reading from stdinStephan Bergmann2017-03-071-1/+1
| | | | Change-Id: I8dbd27035db890813a871b4a4ef44d458e28fc61
* desktop: unbreak soffice --valgrindMichael Stahl2017-03-071-2/+2
| | | | | | (regression from e6a9dc22a4e58b565894f8cdb6a19755af7b14de) Change-Id: Ib394a64fb70a3b578d462c351eb9d68e9ac55d62
* bLicenseException is always falseStephan Bergmann2017-03-071-4/+1
| | | | | | | | ...ever since 3c289e248a4f7c6940bb7429ee70d17a6196016c "jl152 import 263446 from native0jl:#i77196# supporting licenses, suppress license switch, subsequent accepting of licenses for bundled/shared extensions" Change-Id: I138016f6c83de8a7e085d4191ee06e0a1232203c
* Simplify SAL_INFO message compositionStephan Bergmann2017-03-061-1/+1
| | | | Change-Id: I665c77f984cebba8803ff81a78dd31578bdeef51
* Remove redundant 'inline' keywordStephan Bergmann2017-03-038-14/+14
| | | | | | | | | | ...from function definitions occurring within class definitions. Done with a rewriting Clang plugin (to be pushed later). Change-Id: I9c6f2818a57ccdb361548895a7743107cbacdff8 Reviewed-on: https://gerrit.libreoffice.org/34874 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* LOKit runMacro: show also the error codeKatarina Behrens2017-03-031-2/+6
| | | | | | | Change-Id: I6ac2b274e25046f90910e3fb03b10e1052187e2f Reviewed-on: https://gerrit.libreoffice.org/34815 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
* lok: Listen to change tracking related commandsPranav Kant2017-03-031-1/+3
| | | | Change-Id: Ieafd31342b356d7e95e4321cc49580b57f32e5be
* Fix typosAndrea Gelmini2017-03-036-11/+11
| | | | | | | Change-Id: I6b547a864e7a8c8eeedcd7f7c56796e2b3a606d1 Reviewed-on: https://gerrit.libreoffice.org/34807 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
* No need for the program -> MacOS symlinkTor Lillqvist2017-03-012-18/+0
| | | | | | | | Or could it be that some external scripts insist on running LibreOffice.app/Contents/program/soffice? Or some instructions talk about that pathname? Change-Id: I99e2b2636971c7ee8de09a9e42df9f965eeec5fb
* Use $(LIBO_SHARE_FOLDER) instead of hard-coded "share"Tor Lillqvist2017-03-011-1/+1
| | | | | | | Avoids creating a pointless and empty "share" tree in the Mac app bundle. Change-Id: I4edbc91c7bd82d777566a1a21e0e33248a8f9651
* new loplugin unoanyNoel Grandin2017-02-285-13/+13
| | | | | | | Change-Id: I5d6c4a67cb2a09e7cd5bd620c6b262d188701b89 Reviewed-on: https://gerrit.libreoffice.org/34714 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* Keep the order that is in the header.Jan Holesovsky2017-02-281-2/+2
| | | | Change-Id: I6171668b91e13cbcddf223645333e435cf08cb2a
* Run macro:// via LOKitKatarina Behrens2017-02-282-0/+103
| | | | | | | Change-Id: I54d3c734d86d4b44e1dfe1ad7728e2f51cd26d53 Reviewed-on: https://gerrit.libreoffice.org/34538 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
* loplugin:unusedmethodsNoel Grandin2017-02-212-9/+0
| | | | | | | Change-Id: I52a9f16f3ed543a3c83ca111df70e3f7ae1ef33c Reviewed-on: https://gerrit.libreoffice.org/34508 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
* Revert "sw lok: Move this test to sw/"Pranav Kant2017-02-211-0/+99
| | | | | | | | | | | | | | | This reverts commit b7640cbb4b34df2cb05c6fbe60346bca96846924. Not much idea yet but moving it to sw/ for some reason makes callback pertaining to last 'InsertAnnotation' uno command not firing and on ubsan tinderbox even the first 'InsertAnnotation' command is a noOp failing the tests there. Lets keep it in desktop/ for now where it was earlier. Conflicts: desktop/qa/desktop_lib/test_desktop_lib.cxx Change-Id: I67f5bdeffa218ae2a7afe0896f7cdde5324a5f09
* loplugin:subtlezeroinit: desktopStephan Bergmann2017-02-211-1/+1
| | | | Change-Id: I23ffaa7e5f138f877832ad3afe591980aada6578
* desktop: unit test to for sd ViewAnnotations commandPranav Kant2017-02-202-0/+60
| | | | Change-Id: Ib830ff786f12d9edc791623dead74b3eeeabad71
* lok: listen for DeleteAnnotation state changesPranav Kant2017-02-201-0/+1
| | | | Change-Id: I2ea0d237cbbfd912b012ed400a328bfb6546cdfb
* tdf#100826 related: initialize stdout/stdin/strerr properlyMike Kaganski2017-02-181-25/+9
| | | | | | | | | The previous code doesn't work with VS2015. Change-Id: Ide75b2f978dda871874572a093039b5772a2b537 Reviewed-on: https://gerrit.libreoffice.org/34409 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
* Drop :: prefix from std in [de]*/Tor Lillqvist2017-02-1742-153/+153
| | | | | | | Change-Id: I3247894fe022dce7f0aa351bd85fefcd7c545dd4 Reviewed-on: https://gerrit.libreoffice.org/34377 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
* sc lok: Unit tests for Comments APIPranav Kant2017-02-172-1/+56
| | | | | | | Change-Id: I896c8b25cab6d80d374d273eb3945716bc0694d6 Reviewed-on: https://gerrit.libreoffice.org/34365 Reviewed-by: pranavk <pranavk@collabora.co.uk> Tested-by: pranavk <pranavk@collabora.co.uk>
* sw lok: Move this test to sw/Pranav Kant2017-02-171-102/+3
| | | | | | | Change-Id: I9bf901a4c8ffbdd54a98ff043ea1e658aeb62839 Reviewed-on: https://gerrit.libreoffice.org/34364 Reviewed-by: pranavk <pranavk@collabora.co.uk> Tested-by: pranavk <pranavk@collabora.co.uk>
* drop BitmapMode enumNoel Grandin2017-02-161-27/+0
| | | | | | since we only use the BM_DEFAULTMODE enumerator Change-Id: I425a2ca09d4a15d755010e8f963387071c0138ae
* convert HelpProcessingErrorClass to scoped enumNoel Grandin2017-02-161-3/+2
| | | | | | and drop unused HELPPROCESSING_INTERNAL_ERROR enumerator Change-Id: I0f2cf063a3f1472e1d52bab5039b1c3158d4865e
* SvxPostItIdItem is now string typePranav Kant2017-02-161-4/+4
| | | | Change-Id: Id44bf5dd623749b6e9a46f121f035aa5ce617557
* LOK - Calc: Increase the row limit to 10.000 rows.Marco Cecchetti2017-02-131-19/+57
| | | | | | | Change-Id: Ie91e4caf33d3b31df4c3de8dc6e78e223dc1e4b3 Reviewed-on: https://gerrit.libreoffice.org/34216 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Marco Cecchetti <mrcekets@gmail.com>
* Upon failure, 'cd' itself already prints a message to stderrStephan Bergmann2017-02-112-20/+6
| | | | Change-Id: Iabe3a6bb14ca3e83a0792d7fc131ae0ac74e578c
* Remove MinGW supportStephan Bergmann2017-02-105-36/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | In OOo times, there'd originally been efforts to allow building on Windows with MinGW. Later, in LO times, this has been shifted to an attempt of cross- compiling for Windows on Linux. That attempt can be considered abandoned, and the relevant code rotting. Due to this heritage, there are now three kinds of MinGW-specific code in LO: * Code from the original OOo native Windows effort that is no longer relevant for the LO cross-compilation effort, but has never been removed properly. * Code from the original OOo native Windows effort that is re-purposed for the LO cross-compilation effort. * Code that has been added specifially for the LO cross-compilation effort. All three kinds of code are removed. (An unrelated, remaining use of MinGW is for --enable-build-unowinreg, utilizing --with-mingw-cross-compiler, MINGWCXX, and MINGWSTRIP.) Change-Id: I49daad8669b4cbe49fa923050c4a4a6ff7dda568 Reviewed-on: https://gerrit.libreoffice.org/34127 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* convert InsertOperation to scoped enumNoel Grandin2017-02-105-8/+8
| | | | | | and drop unused LINK enumerator Change-Id: I6c42424ae5a7503b3e14e5f04fcf7a49b595b416
* convert SearchParam::SearchType to scoped enumNoel Grandin2017-02-102-3/+3
| | | | | | | | | and drop unused SRCH_LEVDIST enumerator Change-Id: Ic5118757060656562e04dd7da24a3f143abec3fb Reviewed-on: https://gerrit.libreoffice.org/34065 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* coverity#1242486 Out-of-bounds accessCaolán McNamara2017-02-081-1/+1
| | | | Change-Id: I24d73edd90a7fbfe63dd70a1784fb2276ceb079b
* Add missing #includesStephan Bergmann2017-02-0629-3/+52
| | | | | | | | | ...and remove some unncessary using directives/declarations, in preparation of removing now-unnecessary #includes from cppumaker-generated files, post e57ca02849c3d87142ff5ff9099a212e72b8139c "Remove dynamic exception specifications". Change-Id: Iaf1f268871e2ee1d1c76cf90f03557527ebc9067
* Revert "fix desktop scripts"Stephan Bergmann2017-02-062-2/+2
| | | | | | | | | | | | This reverts commit f52eb759f61e1806014972cb736e07479f157aa6. I assume this was intented to be a fix for e6a9dc22a4e58b565894f8cdb6a19755af7b14de "tdf#105204 fix shellcheck warnings in desktop/scripts" (later addressed with 7ba0b28cc3ac82f5c5c6d7e2536cb89771041893 "Unbreak soffice.sh"). But I think these quotations are actually useful parts of that original commit. I fail to see how pathname expansion (aka globbing; nor field splitting, if that is what was actually meant in "we want globbing here") should be a useful feature here. Change-Id: I5c33c40cfe2a817f628442fed70a07f06dd275cc
* Unbreak soffice.shStephan Bergmann2017-02-041-2/+2
| | | | Change-Id: I8c827db4c16a4a169dd710787bf9beb123ddc7b6
* fix desktop scriptsJochen Nitschke2017-02-042-2/+2
| | | | | | | | | | reverts parts of e6a9dc22a4e58b565894f8cdb6a19755af7b14de we want globbing here Change-Id: Ibe4672f41b0fe6a75d1aca898cc55414e138f6ef Reviewed-on: https://gerrit.libreoffice.org/33913 Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de> Tested-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
* tdf#105204 fix shellcheck warnings in desktop/scriptsqarkai2017-02-0410-45/+67
| | | | | | | | | | | | Use $(..) instead of `..`, use && and || instead of -a and -o, double quote to prevent word splitting, handle cd failure. Change-Id: I860891323a81ac4a46c868ab028df1e1f837c115 Reviewed-on: https://gerrit.libreoffice.org/33897 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
* sc rowlimit: Make the cursor better fit the rendering.Marco Cecchetti2017-02-041-1/+1
| | | | Change-Id: If4d02161bd8a37100d7403c05ea0840a3d2d0cf8