de030cd7a2
gbuild: Remove MSVC 2013 legacy code
...
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 >
2017-04-21 18:18:44 +02:00
5751291e8c
LOK - Calc: changed the way header is updated on row/col insert/remove
...
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 >
2017-04-21 15:35:22 +02:00
1c5cae479b
loplugin:unusedmethods
...
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 >
2017-04-20 10:07:10 +02:00
447a013299
clang-tidy readability-simplify-boolean-expr in dbaccess..framework
...
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 >
2017-04-19 14:52:50 +02:00
8948d43657
submit crash reports using https
...
Change-Id: I98e0af47f984d5327e23bfee6d4a27052b848699
Reviewed-on: https://gerrit.libreoffice.org/36591
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com >
2017-04-17 03:01:54 +02:00
9f5a275a42
Fix typos
...
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 >
2017-04-15 10:13:34 +02:00
32f34f0d1b
remove the remaining unused mouse cursors
...
which are not used by us directly or aliases of published awt constants
Change-Id: Ic4f009715d71a2f986b8ef8d64b4b2e64986bf3b
2017-04-14 10:27:04 +01:00
b7b159d79c
remove the old collaboration feature based on telepathy
...
Change-Id: I1f08d6ef43b76e7bae41ac33bb954f506ae7c485
Reviewed-on: https://gerrit.libreoffice.org/36542
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com >
2017-04-14 03:32:37 +02:00
6f12914ddf
update cppunit to 1.14.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 >
2017-04-14 01:10:25 +02:00
3c3f7d784e
Removed duplicated includes
...
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 >
2017-04-13 07:46:16 +02:00
9f565f5cb6
can use gb_CppunitTest_use_configuration and still access .ui files
...
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 >
2017-04-12 22:59:42 +02:00
346b5cfd90
Convert some rtl_uString -> OUString in jvmfwk
...
Change-Id: I08de5cab29dabc6fd824d5df8bac12c8520a05ae
2017-04-12 09:36:20 +02:00
f0454e72c1
Use std::unique_ptr<JavaInfo> for lifecycle management in jvmfwk/framework.hxx
...
Change-Id: Ie604c75e92c407ff3118aaa58155648d956c91fb
2017-04-11 18:04:54 +02:00
e4627e83de
Use jfw::JavaInfoGuard
...
Change-Id: I2eb0a82d3e935f183729f76375feed927a34d74f
2017-04-11 15:04:30 +02:00
77a57a5cac
Clean up uses of SAL_U/SAL_W: desktop
...
Change-Id: Ie1f5407a347a19c000793bf83e3545d566937d72
2017-04-10 10:15:10 +02:00
0c54777634
tdf#106359: register .iqy in MSI and treat them as templates
...
Change-Id: I7ae94c7717fbea03d96c539e05eeb565bafefd9f
Reviewed-on: https://gerrit.libreoffice.org/36188
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com >
2017-04-06 11:25:43 +00:00
9ac98e6e34
Finally switch MSVC to sal_Unicode = char16_t, too
...
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 >
2017-04-04 16:12:11 +00:00
5676ced825
make UNO enums scoped for internal LO code
...
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 >
2017-04-04 06:38:03 +00:00
a5a571307f
tdf#82580 tools: rename Rectangle to tools::Rectangle
...
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 >
2017-03-31 06:27:11 +00:00
1503769fe1
tdf#106325 - No way to create a new Document
...
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 >
2017-03-30 19:59:10 +00:00
da56de9ac4
remove type decorations on char literals
...
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 >
2017-03-30 12:21:40 +00:00
834da9c476
Fix typos
...
Change-Id: I379c3f8ca971e6180744fb7270dde9164ebcec1a
Reviewed-on: https://gerrit.libreoffice.org/35814
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Julien Nabet <serval2412@yahoo.fr >
2017-03-29 05:10:01 +00:00
fd34499464
Fix typos
...
Change-Id: Ibef75de246fb31884153437fe8c05e299fe5962f
Reviewed-on: https://gerrit.libreoffice.org/35782
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Michael Stahl <mstahl@redhat.com >
2017-03-28 20:43:04 +00:00
887039a3b7
Extra linking against sofficeapp
...
...already included via gb_CppunitTest_use_library_objects
Change-Id: I4135a48c2ed60a36c15c85bf3720a3080e70837e
Reviewed-on: https://gerrit.libreoffice.org/35716
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Stephan Bergmann <sbergman@redhat.com >
2017-03-26 13:42:03 +00:00
b93201ffc6
Fix typos
...
Change-Id: I4b2eac5c999771b10e65fedebdab1d4ef435b367
Reviewed-on: https://gerrit.libreoffice.org/35626
Reviewed-by: Julien Nabet <serval2412@yahoo.fr >
Tested-by: Julien Nabet <serval2412@yahoo.fr >
Tested-by: Jenkins <ci@libreoffice.org >
2017-03-25 16:52:53 +00:00
5fefac660a
lok: Allow setting of the language during load.
...
Change-Id: I9dbb62950e639376c26122ceb9fcec2982b3ca82
2017-03-24 19:01:53 +01:00
ad5bf6b72c
vcl: clean up ANDROID ifdefs in pdfwriter_impl
...
HAVE_FEATURE_NSS is already 0 on Android, so an "&& !defined(ANDROID)"
is redundant.
Change-Id: I275ed71d9ebdb56878d980a23c4480e41b28bd6b
Reviewed-on: https://gerrit.libreoffice.org/35614
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk >
Tested-by: Jenkins <ci@libreoffice.org >
2017-03-24 08:12:52 +00:00
7916487cf4
convert ViewShellId to o3tl::strong_int
...
Change-Id: I45553d11d56aa8c4432aec126ca51f24bd3ead09
Reviewed-on: https://gerrit.libreoffice.org/35421
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk >
2017-03-24 06:14:17 +00:00
d06dfe25d5
desktop: remove redundant virtual keywords in lokclipboard
...
Change-Id: I0b83a79e143180901ce2ae4ef02ff8b65cfb0694
Reviewed-on: https://gerrit.libreoffice.org/35529
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk >
Tested-by: Jenkins <ci@libreoffice.org >
2017-03-22 11:26:15 +00:00
89f5bb3cbb
lok: Fix crash in paintPartTile() when the current view was destroyed.
...
Change-Id: I59b71ee6815cbcfa4c8b5f68ae6dc9299856d49e
Reviewed-on: https://gerrit.libreoffice.org/35494
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Jan Holesovsky <kendy@collabora.com >
2017-03-21 10:51:58 +00:00
396f251191
desktop: fix Android -Werror=unused-function
...
Change-Id: Ic10dbd44e13df8e79d6b64c14291a40238c14a4e
2017-03-20 19:24:14 +01:00
e503a69e96
don't check safe mode on Android
...
Change-Id: I2ebd3ad3783cd0bb0236574edb1cb428c522aed3
2017-03-20 13:52:40 +01:00
47a9523f3f
Fix typos + some German translations
...
Change-Id: I1c5bb725ffdf72363279436ad9bbb88064228253
Reviewed-on: https://gerrit.libreoffice.org/35406
Reviewed-by: Julien Nabet <serval2412@yahoo.fr >
Tested-by: Julien Nabet <serval2412@yahoo.fr >
2017-03-19 10:05:45 +00:00
7e24cedb9e
fix typo/grammar: "the the" --> the
...
* 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 >
2017-03-19 05:43:51 +00:00
3d67719eda
lok: It's not that important to skip some of the messages.
...
More important is always to perform the paint.
Change-Id: I392dd6cea4a5f43a646fca04d284b365b5fb5b78
2017-03-17 12:34:41 +01:00
807edd77e2
remove unused defines from HRC files in desktop
...
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 >
2017-03-17 07:18:15 +00:00
f645294d39
remove unused RID constants
...
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 >
2017-03-14 08:37:44 +00:00
099f9406b6
tdf#106359: Open Web Query (.iqy) files
...
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 >
2017-03-09 11:21:40 +00:00
01bf741a79
WaE: include needed header
...
"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
2017-03-08 11:57:05 +01:00
3d213b3dc5
make SfxGetpApp just get and move GetOrCreate to the periphery
...
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 >
2017-03-08 09:56:07 +00:00
e6cca48bc9
lok: Do not use UNO for fetching tracked changes
...
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 >
2017-03-08 06:44:57 +00:00
bb4cf1da12
tdf#91222 VclBuilder constructor cleanup
...
Change-Id: I951bfda566e0aae3b0a82f30be28e66601797cc8
Reviewed-on: https://gerrit.libreoffice.org/34958
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Julien Nabet <serval2412@yahoo.fr >
2017-03-08 06:10:23 +00:00
33ef289f70
Propagate failure of reading from stdin
...
Change-Id: I8dbd27035db890813a871b4a4ef44d458e28fc61
2017-03-07 14:31:51 +01:00
4722bb82f8
desktop: unbreak soffice --valgrind
...
(regression from e6a9dc22a4e58b565894f8cdb6a19755af7b14de)
Change-Id: Ib394a64fb70a3b578d462c351eb9d68e9ac55d62
2017-03-07 13:38:11 +01:00
ea6bb12bb1
bLicenseException is always false
...
...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
2017-03-07 13:13:00 +01:00
91745bdbfa
Simplify SAL_INFO message composition
...
Change-Id: I665c77f984cebba8803ff81a78dd31578bdeef51
2017-03-06 14:56:09 +01:00
6cb9e6dad7
Remove redundant 'inline' keyword
...
...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 >
2017-03-03 20:55:50 +00:00
f1ea8c43a8
LOKit runMacro: show also the error code
...
Change-Id: I6ac2b274e25046f90910e3fb03b10e1052187e2f
Reviewed-on: https://gerrit.libreoffice.org/34815
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de >
2017-03-03 11:58:53 +00:00
67dad2676d
lok: Listen to change tracking related commands
...
Change-Id: Ieafd31342b356d7e95e4321cc49580b57f32e5be
2017-03-03 16:45:00 +05:30
2e0db91d90
Fix typos
...
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 >
2017-03-03 07:06:52 +00:00