Commit graph

391256 commits

Author SHA1 Message Date
Eike Rathke
26adceb098 Resolves: tdf#96426 significant whitespace as intersection in Excel syntax
Also when reading/writing OOXML, so change SC_OPCODE_INTERSECT of
RID_STRLIST_FUNCTION_NAMES_ENGLISH_OOXML accordingly to " ", where
previously "!" was expected and written, which was plain wrong.

Change-Id: Ic0cfd7afc657f07bfd8e37de61b3621cc68685ff
2016-04-23 15:52:35 +02:00
Eike Rathke
f41257dc99 simplify the ReplaceToken() offset logic to absolute offsets
Change-Id: I8d02fb63bc0c5cb48aabaf7a8800f5f9ac95cbf5
2016-04-23 15:52:35 +02:00
Eike Rathke
9185f889ed newline shortage
Change-Id: Id2487480270bb2be765495bb6d5982c85ae2117f
2016-04-23 15:52:34 +02:00
Eike Rathke
7756822206 alignment
Change-Id: If7dbdcd93a43d4e14f853b7d3436fa31c0091403
2016-04-23 15:52:33 +02:00
Eike Rathke
737040e5db change multiple ifs to switch case
... obtaining mpToken->GetOpCode() only once.

Change-Id: I909fef97540998a7f09115738fb76a1e963480bf
2016-04-23 15:52:32 +02:00
Eike Rathke
4c5932cf06 join two lines that cause an annoying debugger step over experience
Change-Id: I50bf6710f7319f5c2ea18d8a3aa02f5c613de063
2016-04-23 15:52:31 +02:00
Norbert Thiebaud
5892c6b226 gengal is not s script anymore so it is already signed on mac
69858a99c9 removed the script layer
around a gengal.bin
so there is no gengal 'script' anymore and gengal is a binary
that was signed at link already.

remove the exception that force a sign of gengal as a 'script'
which caused an error due to re-signing.

Change-Id: Ie22efceb8e5ab20018be784968487917c6f0a95e
Reviewed-on: https://gerrit.libreoffice.org/24306
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2016-04-22 18:02:08 +00:00
Tor Lillqvist
d95a98b06c Blind fix for Android build
Change-Id: Ifdcdc50bab452408d1c50530095c6fbf77aa600f
2016-04-22 20:09:39 +03:00
Stephan Bergmann
fdc1bd8955 loplugin:nullptr
Change-Id: I5090b2e55eb618b53748966133fe9166ee736866
2016-04-22 17:46:36 +02:00
Tor Lillqvist
dbced8e858 Don't share the wakeup pipe with child processes
Create a new pipe in the child process.

In a normal desktop LibreOffice each fork() will be followed quickly
by an exec(), so the FD_CLOEXEC would be enough for that. In
LibreOfficeKit-based software that uses the preinit mechanism, though,
the intent is that one can fork child processes without exec().

This solution uses pthread_atfork(). Another way would be to add
suitable public API callable from the LibreOfficeKit client
initialisation code in desktop/source/lib/init.cxx to explicitly close
and reopen the wakeup pipe in the default SvpSalInstance.

Change-Id: I03fad4ce4adf14c16cb0f537b3baab58fba38922
Reviewed-on: https://gerrit.libreoffice.org/24256
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2016-04-22 18:09:02 +03:00
Samuel Mehrbrodt
db18de5868 tdf#89953 Character spacing: Increment by 0.1, not by 1
and adjust the page size to 1 instead of 10

Change-Id: Ia6d964b8bb057ef8161890d36dd059922bbcbe9a
Reviewed-on: https://gerrit.libreoffice.org/24302
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-04-22 14:48:11 +00:00
Samuel Mehrbrodt
9a745d54a5 tdf#89953 Character spacing: Allow to enter negative values
without selecting from a condensed/expanded listbox first.

Change-Id: I1111e6f1d7cdc6c0bc79d542f49c58f1022ad739
Reviewed-on: https://gerrit.libreoffice.org/24301
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-04-22 14:47:54 +00:00
Stephan Bergmann
3ae1e17401 loplugin:reservedid
Change-Id: Ifa75d3f228db87f7a899612964bf08e9573fb5be
2016-04-22 16:36:50 +02:00
Stephan Bergmann
48810db0e6 Avoid reserved identifiers
Change-Id: I544ccc79ac0ddc2e5800bc4bd863ff86b4ec8f6a
2016-04-22 16:35:15 +02:00
Stephan Bergmann
ea4c7f05a5 Avoid reserved identifiers
Change-Id: I0164df28e2d05f4f73bd640d3ca3cc3220b57df6
2016-04-22 16:34:50 +02:00
Stephan Bergmann
235b1f3dfd Avoid reserved identifiers
Change-Id: Id2ef8fb53207be64d0f7342734f0d9fab832b674
2016-04-22 16:34:33 +02:00
Stephan Bergmann
ff5021927d Avoid reserved identifiers
Change-Id: I4654278f9a718042efde46755ee25e62494e3fb6
2016-04-22 16:34:08 +02:00
David Tardon
36ef03797a pass original flags
Change-Id: Ice0d7744f51a1170bf1ed246d5b31db05a9a9bca
2016-04-22 15:58:24 +02:00
Oliver Specht
8d41866f76 tdf#81833: form protection can be modified as compatibility option
ProtectForm is supported to prevent editing outside of form controls
but could only be imported from doc and stored in odt but not changed.
Now it is part of Writer's compatibility settings dialog.

Change-Id: I7337fb3f0774d3c1d26cd8e1485958399b2a70e2
Reviewed-on: https://gerrit.libreoffice.org/24294
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2016-04-22 13:18:40 +00:00
David Tardon
334599030e pass original CFLAGS
Change-Id: I1a2e9d41226822934b64ad31a61c816b3163a9ed
2016-04-22 14:54:57 +02:00
David Tardon
590d80cea8 pass original CFLAGS
Change-Id: Ia37fa1ad21a9411d78b0c30c769b3934d43d1389
2016-04-22 14:32:07 +02:00
Stephan Bergmann
92f10ad9bc Various loplugin warnings in opencl/
Change-Id: Ia6254777bc7972e2272dba542e315a8d3bd0fdf0
2016-04-22 13:44:38 +02:00
Tomaž Vajngerl
334e2dc9c3 opencl: better logging of devices and device selection
changes:
- Clew misses a lot of things, added defines needed for gathering
  platform and device info.
- Refactored profile saving and loading to use libxml2 instead
  the weird type of saving the profile data.
- Added an additional "log" file which is similar to the OpenGL
  but it writes the OpenCL relevant information like which devices
  and platforms are available (+ all the extra useful version
  information) and which device was selected (if any at all).

Change-Id: I0fe793c756f8f4f1761fe120fc361df36e581903
Reviewed-on: https://gerrit.libreoffice.org/24270
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2016-04-22 11:27:05 +00:00
Tomaž Vajngerl
cb5438a3d1 tdf#97915: add Intel driver 3.0.1.10891 to blacklist
Change-Id: Ie28f48a3aeb5afe7480c42e9267756fc7f70c836
2016-04-22 19:54:32 +09:00
Tomaž Vajngerl
4dd94c6637 tdf#97887: add Intel driver 5.2.0.10049 to blacklist
Change-Id: Ied93077ad22490ff02fe0f1e0e90ff01eb4c7b88
2016-04-22 19:54:32 +09:00
Miklos Vajna
508ca1d753 SfxUndoAction::dumpAsXml: show address of undo items
The order of undo items on the undo stack is: the newest item is the
first. But for grouped items SfxListUndoAction is a list, so newest
elements go to the end of the list. It's easy to get confused without
seeing the exact addresses.

Change-Id: I5c336f2317e4f5869b9fd227c800b2e15d0644ff
Reviewed-on: https://gerrit.libreoffice.org/24295
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-04-22 10:50:17 +00:00
Stephan Bergmann
2c562c6ae0 Is __OPENTRANSPORTPROVIDERS__ (still) needed
...to be set before including Carbon/Carbon.h?  Was originally introduced with
c34f2e30bb "INTEGRATION: CWS pj51: #i61959# patch
applied", but might just be cargo cult these days.

Change-Id: I20cdc938d28e075614f6711a06ab785700833aff
Reviewed-on: https://gerrit.libreoffice.org/24293
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-04-22 10:42:36 +00:00
Stephan Bergmann
715d4d803a Avoid reserved identifiers
Change-Id: Icc658a3adce2e93c3cc4e8a88689f462b1c7c8a1
2016-04-22 10:22:00 +02:00
Stephan Bergmann
0ac89e300f Avoid reserved identifier
Change-Id: I2577b4986f1b033253b368c570507e757893f98c
2016-04-22 10:21:59 +02:00
Stephan Bergmann
9181f09e28 Avoid reserved identifier
Change-Id: Iefea30eb0db96462aee87349968baf4756e1b786
2016-04-22 10:20:32 +02:00
Stephan Bergmann
caf64a8c81 Avoid reserved identifiers
Change-Id: I48654972e66b9a298940d800b2e04018cfd5bef8
2016-04-22 10:19:42 +02:00
Stephan Bergmann
64d4e2a4c9 Avoid reserved identifiers
Change-Id: I5a68cac4f923218a000c79a01c436bf1dc897971
2016-04-22 10:18:32 +02:00
Stephan Bergmann
aaa1265fb3 Avoid reserved identifier
Change-Id: Ifad7619d1d5ed101cf098787461bca31b02fc81e
2016-04-22 10:17:45 +02:00
Stephan Bergmann
fa72b7fd71 Avoid reserved identifiers
Change-Id: Ie1830e7645b8bb8b8020fdb384471801a1aaca31
2016-04-22 10:17:04 +02:00
Stephan Bergmann
eda2f38dd5 Avoid reserved identifiers
Change-Id: I56a0bbecf64b6f9a268a8c4b93aeab0acf54931f
2016-04-22 10:14:36 +02:00
Stephan Bergmann
a57049915d Avoid reserved identifiers
Change-Id: I263603fb81d368ebc8450b2d8cc01752fcd3f29d
2016-04-22 10:13:56 +02:00
Stephan Bergmann
7e7bef2748 Avoid reserved identifier
Change-Id: I3dde927ee22032e0f516df16a7f9921ccb3cca7f
2016-04-22 10:12:02 +02:00
Stephan Bergmann
ff1356ab02 Avoid reserved identifiers
Change-Id: Ie1664e06dc02f7070e4ef77155e6541c70b2f8e8
2016-04-22 10:11:13 +02:00
Stephan Bergmann
85825e0fd5 Avoid reserved identifiers
Change-Id: I27ff0f4f0eb395d7e0a60dd604758c220a3134c4
2016-04-22 10:08:07 +02:00
Stephan Bergmann
fc233b52ce Avoid reserved identifiers
Change-Id: I3542622f6b3752f7254abd07d9f3a8141f10c3dc
2016-04-22 09:53:59 +02:00
Stephan Bergmann
046dc22ce1 Avoid reserved identifiers
Change-Id: I782784f34975d708fdf179d098ce6654aad7a976
2016-04-22 09:44:01 +02:00
Miklos Vajna
ec533b46ef SfxClassificationHelper: avoid implicit cast in loop
const std::pair<OUString, OUString>&

vs

const std::pair<const OUString, OUString>&

Avoid copying by just using 'const auto&'.

Change-Id: I711edc13d20194ee4901d1afe1f48d1f49657a53
Reviewed-on: https://gerrit.libreoffice.org/24291
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-04-22 07:43:16 +00:00
Stephan Bergmann
fd2ba0d7cd Avoid reserved identifiers
Change-Id: Ifccf58c748ca8189949efeecc1ac7329a07be1f7
2016-04-22 09:37:31 +02:00
Stephan Bergmann
1862152330 Remove unused PID__START/END
Change-Id: I577f35e46d99de539368e428ac33ac4362a4a56e
2016-04-22 09:33:53 +02:00
Stephan Bergmann
be48e04b5b Elide const vars
Change-Id: I1b2a7b071f9740e8c848f543e32fd47f054c8318
2016-04-22 09:32:55 +02:00
Stephan Bergmann
29840e6769 loplugin:salbool
Change-Id: I186376ceeb53126bc31d63d00a988be6cb7a5637
2016-04-22 09:31:15 +02:00
Stephan Bergmann
988e5c7b48 loplugin:passstuffbyref
Change-Id: I45cc7c949dd8288bcc39f23c224370764c5cf0ec
2016-04-22 09:31:06 +02:00
Stephan Bergmann
db496668e0 loplugin:salbool
Change-Id: Ibcae25d2476de37842e4a0e670b5951f431195a2
2016-04-22 09:30:55 +02:00
Stephan Bergmann
178622f47c loplugin:salbool
Change-Id: I14a902c644c467d8e02474e5d0ba8d3dced2860f
2016-04-22 09:30:37 +02:00
Stephan Bergmann
78526aebc8 loplugin:salbool
Change-Id: I4298f1da63d29133412962a9e4552a7ed473ad28
2016-04-22 09:30:25 +02:00