Commit graph

391130 commits

Author SHA1 Message Date
Stephan Bergmann
2b68383e44 Kill comphelper::MakeSet
Change-Id: I2e5f8c2cd67406d9d275960a37c4aa45e283eec3
Reviewed-on: https://gerrit.libreoffice.org/24343
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
2016-04-25 06:11:10 +00:00
Noel Grandin
d848960a3e rename Errhdl_Impl to ErrorHandler_Impl
Change-Id: I2405c74487a869def2436f19917937f69ab32916
Reviewed-on: https://gerrit.libreoffice.org/24310
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-04-25 06:02:27 +00:00
Noel Grandin
f4b8b9ad11 rename EDcr_Impl to DynamicErrorInfo_Impl
Change-Id: Id184df4e4466930ba75e47e257ceb75be2fab34b
Reviewed-on: https://gerrit.libreoffice.org/24309
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-04-25 06:01:56 +00:00
Caolán McNamara
924126df79 Pasting -- from a pdf from a fallback font doesn't give -- as output
Type -- into a writer document, on a machine without Courier installed
set that text to Courier. Export to pdf, select inside e.g. evince and
paste to a terminal. You don't get --

0x2D is mapped from unicode 0x2D and unicode 0xAD in the adobe
encoding. So the latter trumps the earlier one and <ADAD> is pasted
instead of <2D2D>.

Reverse the order that the encoding is mapped from unicode so lower
more "ascii" options are preferred over the higher more "unlikely"
unicode options

Change-Id: I8f251253fca468d269493801e668617a935ee15d
2016-04-24 23:46:11 +01:00
Andrea Gelmini
4721c734c1 Translate debug message (no automatic tools)
Change-Id: Ice7515b1c83c6ed7472e744badd400c46e804e26
Reviewed-on: https://gerrit.libreoffice.org/24318
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-04-24 21:31:35 +00:00
Akash Jain
975c833943 upgrade harfbuzz version from 0.9.40 to 1.2.6
Change-Id: Iebaece9f41c92b4455b8857d1720edbcff799191
Reviewed-on: https://gerrit.libreoffice.org/24282
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
2016-04-24 21:29:58 +00:00
Jochen Nitschke
59dc694c9f C++11: disable ctors instead of not implementing them (chart2)
replace the old declare and don't implement pattern
with C++11 delete keyword

Change-Id: I10b14cece4ecaddc5f96ee098b5fa36a8782a0fc
Reviewed-on: https://gerrit.libreoffice.org/24340
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-04-24 21:27:04 +00:00
Jochen Nitschke
3a6e3d7811 remove comment about old compiler issue
left change in place as it improves readability
original commit was 59433cfbff
move scope of variable

Change-Id: I86f7a7c741556d75079bd4cb3cfecafcdd229d24
Reviewed-on: https://gerrit.libreoffice.org/24325
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-04-24 21:25:01 +00:00
Jochen Nitschke
b42842c42c delete unused headers
leftover after 7f2bd81581
and follow-ups

Change-Id: I2e6e200cb085e8ecad1ee1aafc64bbd15558c68b
Reviewed-on: https://gerrit.libreoffice.org/24332
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-04-24 21:21:35 +00:00
Arnaud Versini
6bcb322264 Don't use SolarMutexGuard for returning a constant
Change-Id: Ia6e31d7fe9d90f8094e2043de29a896c9e840c53
Reviewed-on: https://gerrit.libreoffice.org/24347
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-04-24 21:20:36 +00:00
Stephan Bergmann
68d88e2bda Remove unused comphelper::MakeSequence
Change-Id: I0f34fddbfd709455f1aa2f1bfaa70d72a2752f74
Reviewed-on: https://gerrit.libreoffice.org/24342
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-04-24 19:37:29 +00:00
Stephan Bergmann
b477a9e0b6 Kill comphelper::MakeVector
Change-Id: I6525f9189b25f007d3ffd190b37c73552a900de2
Reviewed-on: https://gerrit.libreoffice.org/24341
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-04-24 19:06:02 +00:00
Adolfo Jayme Barrientos
86d32551c2 Updated core
Project: help  aefc01b1da7c55698de8bbcb483c0e8f07738984

This advice is outdated since 2011 and LO 3.5

Change-Id: Ib6a9c59b05b74b47801bf620eacb46b125e4e64a
2016-04-24 17:32:14 +00:00
Eike Rathke
5291e4826a unit test for tdf#99468
Change-Id: I833ad2779d0eda6f5183b2dd062dffaa410a7937
2016-04-24 16:42:39 +02:00
Eike Rathke
ffbe1b43bf Resolves: tdf#99468 do greedy '*' match if substring match is not allowed
Change-Id: I89ac29b7e8c2e8c567e85a5025dbc1f50050465d
2016-04-24 16:42:39 +02:00
Julien Nabet
618e7622d0 tdf#99450/tdf#99462: fix insert twice the same object in Photo album
For tdf#99450, see https://bugs.documentfoundation.org/show_bug.cgi?id=99450#c6 for full details

tdf#99462 is also a consequence of this double insert.
See https://bugs.documentfoundation.org/show_bug.cgi?id=99462#c2

Change-Id: I474495457088b93e0e86ea2e504f61c383ba059d
Reviewed-on: https://gerrit.libreoffice.org/24327
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2016-04-24 07:13:55 +00:00
Adolfo Jayme Barrientos
cf9d9a3348 tdf#93060 Start Center: Update this string to dodge problematic term
I’ve never liked the chosen wording of this string; it has been merely
a decorative item, of limited usefulness. So I’ve decided to replace it
with something that describes a somewhat hidden functionality (drag’n’drop)
while avoiding the misuse of the word “sidebar” to refer to the bar
containing the application launcher buttons.

Change-Id: I299e9e1e97a4e7aa176bc7bbc24cf0e9bea5abb5
2016-04-23 18:59:31 -05:00
Eike Rathke
0c5663cfb1 first range can be anywhere before second at RPN end, tdf#96426 follow-up
... not just adjacent to the one at the end. So we actually can handle
INDIRECT("A2:C2") INDIRECT("B1:B3")

Change-Id: Ie8030ebc13bb1ae2246611f5722da97970b8c544
2016-04-24 00:11:08 +02:00
Eike Rathke
f5523a6ef4 FormulaByteToken(ocClose) was always wrong
... should be FormulaToken(svSep,ocClose) instead. Though it didn't hurt
at the end of a formula where this was generated for auto-correction.

Change-Id: I71bd8270ccc268e645eb60298e84acffe39d3a0d
2016-04-23 22:54:39 +02:00
Eike Rathke
0f8a8332a5 more differentiated significant whitespace recognition, tdf#96426 follow-up
Change-Id: I081409a82a9ff64f163115bf4597afbb9b2f5fa6
2016-04-23 22:35:31 +02:00
Eike Rathke
e0875f8e34 narrow down where a space could be an intersection, tdf#96426 follow-up
Change-Id: Ic53a4a0d19a11298895efb28e2786e48a071e72b
2016-04-23 20:42:18 +02:00
Eike Rathke
b0992e1190 fully check for adjacent RPN end, tdf#96426 follow-up
Change-Id: I886e559c6f6041bf4889fdd6d89c12a10be70e5f
2016-04-23 20:24:46 +02:00
Eike Rathke
9a0735bcf9 SC_OPCODE_STOP_... values are exclusive
... didn't harm here though as there are gaps between sections.

Change-Id: If3f4e9e5c41233dc47fde18219c8eb5bc5796d9e
2016-04-23 19:31:15 +02:00
Eike Rathke
4f8d72d068 use FormulaToken::DeleteIfZeroRef() instead of Delete() at some places
The array overflow detecting places that unconditionally deleted the
token in case of overflow should do so only if no reference is held,
i.e. the token was allocated with new and passed immediately without
being assigned to a FormulaTokenRef. Just to be on the safe side.

Change-Id: If2ccabec3725ac73fe82c23f51a291246847cfdb
2016-04-23 17:28:27 +02:00
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