Commit Graph

399050 Commits

Author SHA1 Message Date
Andrea Gelmini
525311b0d6 Fix typos
Change-Id: Ib7b17f85c7b6a1937c3f6e1617ceec58074643b4
Reviewed-on: https://gerrit.libreoffice.org/30040
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
Tested-by: jan iversen <jani@documentfoundation.org>
2016-10-23 17:17:01 +00:00
Jochen Nitschke
40d39343cc fix short type for .uno: and slot: URLs
introduced in initial commit:
00885a1af8
  INTEGRATION: CWS layoutmanager (1.27.18); FILE MERGED

Change-Id: I7d59316dcaaca2986927bcaebe8029cf82e9eceb
Reviewed-on: https://gerrit.libreoffice.org/30178
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-10-23 17:13:47 +00:00
Caolán McNamara
770535d0aa at which point SfxBindings is no longer needed as an argument
Change-Id: I49b7418918c3159cf6cabaea2044ce9b2430d0a5
2016-10-23 17:36:27 +01:00
Caolán McNamara
a73b4cfcc3 why listen to bindings to then ignore notifications
Change-Id: I92e0253b08e64ed03946456e4dff24213e3bbe70
2016-10-23 17:33:52 +01:00
Caolán McNamara
fddaf8a27d pAllFuncList is always aFuncList
Change-Id: Iadd673f1bf1a56568fb59203726b0df9a9f83644
2016-10-23 17:24:18 +01:00
Caolán McNamara
c99227e30b DDLB_FUNC listbox never used
Change-Id: I8f377182f655cc9e1bfe672727890db5e5492e5d
2016-10-23 17:22:57 +01:00
Caolán McNamara
4a3333b161 Updated core
Project: help  30255d8b05e07fd611338af7b05e22cd2092e6b5

sc_ListBox_FID_FUNCTION_BOX_DDLB_FUNC goes nowhere

Change-Id: I214fead9feb3a1a248b037b220e6c62a8ac26e05
2016-10-23 16:22:28 +00:00
Julien Nabet
f736c71dde Blind fix to TBs
Change-Id: I74165378255e3c844ee7f91a5d4eb09a573784bd
Reviewed-on: https://gerrit.libreoffice.org/30179
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2016-10-23 15:20:37 +00:00
Henry Castro
8dc495c932 sc lok: fix cell cursor when hide column/row
Change-Id: Icfa7debe06f6dfae3efcbd9d878d3b2d5aecf92f
Reviewed-on: https://gerrit.libreoffice.org/30169
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2016-10-23 13:31:40 +00:00
Noel Grandin
e4cb0742c8 loplugin:expandablemethodds in include/connectivity..drawinglayer
Change-Id: Ic58f86422ef8f1e2bb655157850e214fc3a1a9b4
Reviewed-on: https://gerrit.libreoffice.org/30136
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-10-23 12:09:33 +00:00
Julien Nabet
ef66301043 Related tdf#103421: disposeAndClear m_aColorSet (reportdesign)
m_aColorSet has been declared as VclPtr<ValueSet>
then initialized with VclPtr<ValueSet>::Create(this, WinBits( WB_ITEMBORDER | WB_NAMEFIELD | WB_3DLOOK | WB_NO_DIRECTSELECT))
Following vcl/README.lifecycle, we're on the case 2 of "Who owns & disposes what ?"
so we should use disposeAndClear

Change-Id: I5809b54b8a15c365362c05c35a7499d8f4f69ed2
Reviewed-on: https://gerrit.libreoffice.org/30176
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-10-23 12:06:15 +00:00
Andras Timar
e518124cd6 Rovas is not a language, it's a script
Change-Id: I55f3076926891b48321c943bd0090b9b747f663d
Reviewed-on: https://gerrit.libreoffice.org/30174
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2016-10-23 09:57:50 +00:00
David Tardon
dc522a114d upload poppler 0.48.0
Change-Id: I18c49505f71ab609e5cc0e4db759152c3c1d5825
2016-10-23 09:57:43 +02:00
Maxim Monastirsky
928776b734 Enable save as when editing view too
Not sure why it was disabled, works very well for me.

Change-Id: I76648d06aa20162defd96fb22e3eb8fd04db28d0
2016-10-23 01:38:32 +03:00
Maxim Monastirsky
d5eabed46e tdf#103178 Final SID can differ from the original one
e.g. if the same one is passed twice to deactivate the
current function. So the assumption of commit
11d605cc5a that if
we don't use enum slots then we always use the original
one is wrong.

Change-Id: Ib22fa88c958e5af85333cb8fa287f65f92b30e08
2016-10-23 01:31:58 +03:00
Caolán McNamara
955b1abb77 crashtesting: assert on converting ooo66538-1.ppt to pdf
Change-Id: I6bdb31715a4cb9e895fc169679a7465a8f18fc37
2016-10-22 21:28:57 +01:00
Caolán McNamara
4f07175cd0 implement CryptoAPI RC4+SHA1 encryption scheme for doc import
there might be other variants out there in practice, but this
works for default encrypted doc of word 2013

Change-Id: I995a0437d4001d63e1c3a821e00c05a2af429356
2016-10-22 21:09:59 +01:00
Caolán McNamara
4cf1fcec63 fix 32bit builds
where for amusing windows historical reasons sal_Int32 is long and not int

Change-Id: Icb73408b6c8ef245bc809aebc8ffc9f28e57a1e5
2016-10-22 20:45:00 +01:00
Caolán McNamara
6ac3fb5844 rework things in light of now available documentation
Change-Id: I68c1d9489292e63f709bfbc990ffa5ad7d0f827a
2016-10-22 20:41:20 +01:00
Jochen Nitschke
57c50b73a1 fix for windows builds
MSVC does not know and keyword
> InternalDataProvider.cxx(552) : error C2065: ´and´ : undeclared identifier

Change-Id: I7cac0719561b75e37e20534edd2efa5bf3a97fa8
Reviewed-on: https://gerrit.libreoffice.org/30164
Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Tested-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
2016-10-22 18:50:11 +00:00
Julien Nabet
6af27d245a Typos in comments
Change-Id: I6450d3862a67c2a9275a569a8ee3c29262124409
Reviewed-on: https://gerrit.libreoffice.org/30162
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2016-10-22 18:03:52 +00:00
Jean-Tiare Le Bigot
27a4fb657f chart2: fix unserialization of empty cells
Change-Id: Ib7e5c8c4db6cac7ef1255246eea13325cf7cca69
Reviewed-on: https://gerrit.libreoffice.org/30030
Reviewed-by: jan iversen <jani@documentfoundation.org>
Tested-by: jan iversen <jani@documentfoundation.org>
2016-10-22 17:34:28 +00:00
Adolfo Jayme Barrientos
010ffbf7dd Updated core
Project: help  257dbf7ccc275a517f1987a3abd5b6eb14752c04

tdf#103398 Missing space after word and upper case to begin a sentence

Change-Id: I4152eddf04392bb54135e6314884464385c8d6c8
2016-10-22 16:59:26 +00:00
Khaled Hosny
2148c853b0 Simplify CommonSalLayout constructor on Windows
We can use GDI to load the font tables after all, no need for all the
complications to use DirectWrite to load them. Should also make it work on
Windows XP (untested).

Change-Id: Id49fc524e6da983d76669a078f8b7d624f955703
Reviewed-on: https://gerrit.libreoffice.org/30156
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
2016-10-22 11:16:12 +00:00
Fabio Bioccetti
fdd96da125 Updated core
Project: help  f6f7781565812712d41180f312289ad65c46ff78

tdf#97745 Help pages in browser (WIP)

Work in progress:
Search index
Javascript xhp server

patch2: rename jj.js to help.js
updated index.html accordingly

Change-Id: Idece5ea25b0906b3fbdfd1f401e8dcfdfa4bd947
Reviewed-on: https://gerrit.libreoffice.org/30143
Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br>
Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2016-10-21 20:26:15 +00:00
Samuel Mehrbrodt
3169401417 Fix grammar
Change-Id: Ib13522ece9ce8fe42d1c966975674abb3e6921d4
Reviewed-on: https://gerrit.libreoffice.org/30155
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-10-21 20:08:12 +00:00
giacco
184e0d1090 tdf#95387 UI: "Custom Animation" probably should be called just "Animation"
modified some .ui

Change-Id: I95657829251b91ff07a750945eddf213bc82e3c5
Reviewed-on: https://gerrit.libreoffice.org/30150
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-10-21 20:04:19 +00:00
Caolán McNamara
e1dea8100b Resolves: tdf#103359 undo of insert of multi column frame crashes
this pattern has been seen before in #i32968#, so fix the same way

Change-Id: I72ac628ee507abf23c38defede33058b34e17857
2016-10-21 20:30:42 +01:00
Marco A.G.Pinto
0e93a80534 Added 38 words to autocorrect pt_PT.
Change-Id: I501c9a08cabfa0075fc472b5141052379e634e86
Reviewed-on: https://gerrit.libreoffice.org/30152
Reviewed-by: jan iversen <jani@documentfoundation.org>
Tested-by: jan iversen <jani@documentfoundation.org>
2016-10-21 18:50:16 +00:00
Khaled Hosny
36bafd3d4a tdf#103365: Try to fix Windows OpenGL rendering
Essentially an adapted copy of WinLayout::DrawText(). Avoiding code
duplication would have been nicer, but it is going to be too complicated
and the other copy is going away soonish anyway.

Change-Id: I7db4008a0db3d01d71d106e06fe413658f9bf42d
Reviewed-on: https://gerrit.libreoffice.org/30123
Reviewed-by: akash <akash96j@gmail.com>
Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
Tested-by: Khaled Hosny <khaledhosny@eglug.org>
2016-10-21 18:48:18 +00:00
Giuseppe Castagno
59d6d55795 tdf#102499 (9): Fix eXo Platform WebDAV on 'Save Remote File'
Change-Id: I2d2aceed3804f653b79d48eeb02468fc77374eb7
Reviewed-on: https://gerrit.libreoffice.org/29884
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Giuseppe Castagno <giuseppe.castagno@acca-esse.eu>
2016-10-21 17:52:42 +00:00
Giuseppe Castagno
bb27b2ff87 tdf#102499 (8): Return empty property when not present.
Change-Id: If5afa4f33ac5b5dfec123960c2e9660183576256
Reviewed-on: https://gerrit.libreoffice.org/30142
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Giuseppe Castagno <giuseppe.castagno@acca-esse.eu>
2016-10-21 17:49:03 +00:00
Armin Le Grand
8dcad50137 profilesafe: Make sure no recursive saving happens
Change-Id: Idd57a948fcaaf23614ca1a92051a50b86e4bb0c5
Reviewed-on: https://gerrit.libreoffice.org/30145
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Armin Le Grand <Armin.Le.Grand@cib.de>
2016-10-21 17:39:23 +00:00
Miklos Vajna
5819448023 xmlsecurity: implement removal of a signature in pdfverify
It's not exactly clear how one should guess what was file end before
signing, for now assume the followings:

- the file ended with a %%EOF, an optional \r, and a \n
- the number of incremental updates is the same as the number of
  signatures

When the later is not the case, don't attempt to remove the signature.

Change-Id: I203a7b0605fc061ec6aacfde3a8eedc4736379f2
Reviewed-on: https://gerrit.libreoffice.org/30140
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-10-21 16:19:49 +00:00
Stephan Bergmann
98d9bb5eb2 Adapt Windows-only code to deletion of the "Any-to-Any" specializatios
...upcoming with <https://gerrit.libreoffice.org/#/c/30022/> "Delete the 'Any-
to-Any' template specializations for LIBO_INTERNAL_ONLY"

Change-Id: If070825d88ffa7bb49e645b3bfeae9dfa387f000
2016-10-21 18:14:18 +02:00
Stephan Bergmann
429e4dc671 Avoid further crash with empty Chart document
following up on 8b5f8c26f0 "Avoid crash with empty
Chart document", when you then close the Writer doc (discarding the changes), it
crashes in a chart::sidebar::ChartSidebarModifyListener::disposing call whose
mpParent (that was a ChartElementsPanel) is already destroyed.  The problem is
that the ChartElementsPanel ctor creates an mxListener pointing to this, then
calls Initialize, which calls xBroadcaster->addModifyListener(mxListener) and
then, during updateData, throws a RuntimeException when xDiagram is null in
getChartType, causing the ChartElementsPanel object to immediately be destroyed,
but the listener still registered.  This apparently needs fixing independently
of the immediate problem.  (The immediate problem is a regression introduced
with d7748842e9 "hide grid and axes options in
chart elements if not supported, tdf#94297".)

Change-Id: I2fe4f2a59600664f6210456c65e033f9453f4cc9
2016-10-21 18:00:03 +02:00
Caolán McNamara
e2fa592c77 clang plugin for push_back after using sized constructor
the warning is bogus for this ctor, but the clang plugin
is still active in gerrit at the moment.

Change-Id: Ia55260491988a12a48e49dc4962733261d13e2a1
2016-10-21 16:53:37 +01:00
Caolán McNamara
7f6f551907 Resolves: tdf#103320 pressed buttons appear as hover buttons in toolbar
since...

commit 3498ed3752
Author: Caolán McNamara <caolanm@redhat.com>
Date:   Tue Oct 18 13:08:47 2016 +0100

    Resolves: tdf#100251 gtk3 toolbar separators are white in Adwaita

so remove setting the parent of the toolbar again, colors remain good
cause we ended up using gtk_render_background+gtk_render_frame for
the new-style code path anyway

Change-Id: Idd01537acbd92d6b41e0ff7fa2306b8c49f23ad3
2016-10-21 16:31:12 +01:00
Caolán McNamara
28fe78604c catch and rethrow later uno exceptions within glib signals
after g_main_context_iteration when its safe to do so again

otherwise if something happens inside the glib signal
callback and the exception skips the code waiting
for the callback to return, subsequent attempts to
show the native gtk3 error dialog will fail

Change-Id: I271c09f8f1f00c0eca76191fcb63ddf56c10060f
2016-10-21 16:22:05 +01:00
Stephan Bergmann
3a0c25d65f Only call getChartType when the return value is actually used
Change-Id: I687ef0ce7013bce08caa25e1e6035507b814e20a
2016-10-21 17:10:25 +02:00
Armin Le Grand
d1b3a33d99 profilesafe: Added more specific options
For Extensions there is the possibility to not only
decide enable/disable state for User ones, but also
to deinstall user or all extensions, added these
options to the dialog and the functionality.
Also unified customization name schema to have just
one source of strings to avoid errors in the future.
Small fix in tryPop_extensionInfo

Change-Id: I39acbe9a052ffd4cb78b496f24e5b583136c565a
Reviewed-on: https://gerrit.libreoffice.org/30100
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Armin Le Grand <Armin.Le.Grand@cib.de>
2016-10-21 13:31:29 +00:00
Stephan Bergmann
c5feb9ad79 Minor improvement of previous commit
Change-Id: I1ab0d8756be5f8bf60c6bac3e9217db71e8e05a3
2016-10-21 15:31:05 +02:00
Miklos Vajna
834abca71b xmlsecurity PDF export: fix missing /Prev key in the trailer dictionary
"In addition, the added trailer dictionary shall contain a Prev entry
giving the location of the previous cross-reference section."
(ISO-32000-1, section 7.5.6). Add it, even if it seems Adobe Acrobat can
live with not writing it.

Change-Id: I1f53e75ebe7dba4b45b3cf1908b2d3b031ef6b02
Reviewed-on: https://gerrit.libreoffice.org/30133
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-10-21 13:18:00 +00:00
Stephan Bergmann
8b5f8c26f0 Avoid crash with empty Chart document
In a fresh Writer document, "Insert - Object - OLE Object... - Create new -
LibreOffice 5.3 Chart - OK", then left-clicking into the empty Chart are, caused
an unhandled (or rather, handled by desktop's FatalError) RuntimeException since
749a084550 "don't show area and line panel in pie
chart Chart selection, tdf#94320".

Change-Id: I7ff53a84e4b06b20409d09e6010bac80e5a7c4b2
2016-10-21 15:02:59 +02:00
Noel Grandin
861a322c66 loplugin:expandablemethodds in include/editeng
Change-Id: Iaf56cb9c16a4cbfb9ab1636228c77d1033a334f5
Reviewed-on: https://gerrit.libreoffice.org/30132
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-10-21 13:00:01 +00:00
Andras Timar
965a008d66 Updated core
Project: translations  bf84e0b330fa1c21e1abd44968a3ea652e64bb36

Updated Slovenian translation

Change-Id: I7574326882c6173a18e2067b2f908998a59f71e2
2016-10-21 12:51:51 +00:00
Miklos Vajna
8aab6cbba0 xmlsecurity: add PDF sign unit-test
If the NSS binary files ever need re-generating, it's just a copy from a
fresh Firefox user profile, after importing
'example-xmlsecurity-Alice.cert.p12', as produced by
'./create-certs.sh'.

Change-Id: Iabe15a816cb674d1691e3ff3e10aa2bd851f8e0d
Reviewed-on: https://gerrit.libreoffice.org/30126
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-10-21 12:05:05 +00:00
Noel Grandin
7999da76a6 loplugin:expandablemethodds in include/filter
Change-Id: I92f0e19845e921701eb139e19493effa47908b39
2016-10-21 13:23:02 +02:00
Noel Grandin
cd0e227a32 rename RECALCMODE_EMASK to ScRecalcMode::EMask
much neater this way

Change-Id: I0af38f8bc0d7be4f2f1be9899dd8739493cf66d5
2016-10-21 13:23:02 +02:00
Noel Grandin
f3fab399da loplugin:expandablemethodds in include/oox
Change-Id: I06b82e8b927d24204e5a952474a2dfd780b3cae6
2016-10-21 13:23:02 +02:00