Commit Graph

399050 Commits

Author SHA1 Message Date
David Tardon
d8ffe6c4d6 merge duplicate source file lists
Change-Id: I55c746c92a6803a67e7129c43d2acd94aa7cbf8e
2016-10-25 16:11:12 +02:00
Fabio Biocchetti
e11e715628 Updated core
Project: help  3e47e586ddf507ff5f987fc0ef10e95e90b625f5

Mozilla Public License added in edited files

Mozilla Public License added in headers

Change-Id: I803d84fbff43913198929a56b57c668d14b6a9eb
Reviewed-on: https://gerrit.libreoffice.org/30269
Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br>
Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2016-10-25 14:05:37 +00:00
Muhammet Kara
cd7b306e61 tdf#103160 Add 'Add Submenu' button in Customize dialog
And remove the 'Add Submenu' entry from Modify split button
in Customize dialog

Change-Id: I6ac940f5f1f41ac1f962f66f458c7e14d702b2be
Reviewed-on: https://gerrit.libreoffice.org/30230
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
Tested-by: Yousuf Philips <philipz85@hotmail.com>
Reviewed-by: Muhammet Kara <muhammet.kara@pardus.org.tr>
2016-10-25 13:15:16 +00:00
Caolán McNamara
578e890e89 m_pStyleFamiliesId is now unused
Change-Id: Ibfd9810e8cfde596aee3189a3498d628d73fdc8b
2016-10-25 14:08:30 +01:00
Caolán McNamara
e83d0d9b3b we don't need to update the style icons anymore
once this was a dialog but now its a panel and the case of a the document under
the dialog changing type isn't an issue anymore

Change-Id: I4680cf238675161c533852d843508a19c74a9073
2016-10-25 14:06:12 +01:00
Caolán McNamara
f144d592fb separate two different uses of DLG_STYLE_DESIGNER
Change-Id: I1edbbb4e2f1326b189a80815b1c80bd0f9b52258
2016-10-25 13:57:41 +01:00
Miklos Vajna
d34a8993e3 xmlsecurity PDF sign: append reference to the Page's Annots key
Previously we assumed that the Page object's dictionary has no Annots
key. Now detect if that's not true, and in that case don't just copy of
the whole dictionary (as part of the incremental update), instead copy
it in two steps, so we can insert our reference in the middle.

This is needed (but not enough alone) to be able to sign a PDF document
multiple times.

Change-Id: Ia5bf993320428eef80551e7e9cc7bfb2b858db7f
Reviewed-on: https://gerrit.libreoffice.org/30257
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-10-25 12:03:58 +00:00
Eike Rathke
9b09a217c7 Resolves: #i86470# Wrong Java locale when using "nl" and "fr"
Languages don't always have a country; if there is no "-" separating
language and country in the ooLocale registry value, use the entire
value as the language.

Initial finding by Damjan Jovanovic.
However, LibreOffice knows BCP47 language tags so that needs a different
approach.

(cherry picked from commit d61ab2b5a0e35d55cb001e139be791420245bf35)

Change-Id: I69331951372bda1c1cec80cfd10d5839d8f4b823
Reviewed-on: https://gerrit.libreoffice.org/30154
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-10-25 11:30:12 +00:00
Julien Nabet
88fb9d8f0a tdf#99723: target ratio must be reached
to be sure we can avoid decompressing/recompressing

Regression from https://cgit.freedesktop.org/libreoffice/core/commit/?id=76ec54e8c9f3580450bca85236a4f5af0c328588

Change-Id: Iacd7b2419ea85756f936b17f04c4e495d15e5b81
Reviewed-on: https://gerrit.libreoffice.org/30163
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2016-10-25 11:29:12 +00:00
Takeshi Abe
799a3a7915 tdf#103209 Apply application color settings to Basic IDE
This makes the text and background colors in the editor window
follow the custom colors "Font color" and "Document background"
respectively in Options > LibreOffice > Applications Colors.

... for those who think BASIC looks cooler when written in green
text on black background.

Change-Id: I82647865f7c2915341249c2fd5ebc9bd8d617bd1
Reviewed-on: https://gerrit.libreoffice.org/29815
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
Tested-by: jan iversen <jani@documentfoundation.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-10-25 11:27:03 +00:00
Noel Grandin
c5498c310f loplugin:expandablemethods in UnoControls..vbahelper
Change-Id: I7e607df2a1f6d4eb207ee0d3eb30f41fac44a0c6
Reviewed-on: https://gerrit.libreoffice.org/30262
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-10-25 11:16:02 +00:00
Henry Castro
97f0fbe583 tdf#103409: No selection outline displayed when SUM button is clicked
Change-Id: I8a1bb22bd0be9717a56a90732b17c4ed8f230bf3
Reviewed-on: https://gerrit.libreoffice.org/30254
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2016-10-25 11:07:33 +00:00
Caolán McNamara
8a063e2f2a drop some unused declarations
Change-Id: I88a160767c22ed234777b69c9003cc3b1a065b94
2016-10-25 11:41:23 +01:00
Caolán McNamara
cdd3963a3a no RSWND anymore
Change-Id: I5547a0d19ae60ea06dd666c77deaf0de910975d0
2016-10-25 11:41:23 +01:00
Caolán McNamara
00c4595646 no WindowResHeader, no RscWindowFlags
Change-Id: Id41e9414237c849c211785151e9170c71a449238
2016-10-25 11:41:23 +01:00
Caolán McNamara
2b6abbaa24 can drop RSC_WINDOW now
Change-Id: Ic60b35eb78ebd3e934cbf45c2184edf59c971a53
2016-10-25 11:41:23 +01:00
Caolán McNamara
f615d6195a can drop RSC_CONTROL now
Change-Id: I651b9d2ead019507b8e48c4e19797bf8f8b9a438
2016-10-25 11:41:23 +01:00
Caolán McNamara
d1bea6be4f no Control loaded from .src now
Change-Id: I25af1187f7888ad3f8d7078e3b59d3e4a09b8ab5
2016-10-25 11:41:23 +01:00
Caolán McNamara
3c0bfd4271 drop HID_CTRL_CUSTOMPROPS_YES_NO that does nowhere
Change-Id: Ibf64359936ea224dc7342585b99691f88630c6ca
2016-10-25 11:41:23 +01:00
Caolán McNamara
d2b4a0d5ff drop HID_CTRL_CUSTOMPROPS_YES_NO that does nowhere
Change-Id: I1a82e91539947939667e0c458f964e7e13c50514
2016-10-25 11:41:23 +01:00
Caolán McNamara
1c2dd78730 no users of RscClassArray left
Change-Id: I1eeeca93ef6e57bddde54dc0abf5c1984da962cc
2016-10-25 11:41:23 +01:00
Caolán McNamara
da05f90f9b no evidence that LangKeyCode is needed for anything
Change-Id: I01cf8019fb6bba15c6ed48564ad2e65bf3fbd187
2016-10-25 11:41:23 +01:00
Caolán McNamara
c445e1d678 no need for ResId here now
Change-Id: I2b9ec5e587724550ea8b78f023f18b6ec65d7f75
2016-10-25 11:41:23 +01:00
Caolán McNamara
56c71eb5bc remove now unused ImplLoadRes methods
Change-Id: I8ff86fa847a74d48ccd06e8945beac9cf5653ab9
2016-10-25 11:41:23 +01:00
Caolán McNamara
c1448b4286 no raw Window is loaded from .src anymore
Change-Id: I81e4bb23f4a819f59115cdf58afe19097b4ce68f
2016-10-25 11:41:23 +01:00
Caolán McNamara
141a7aa1b3 SvTreeListBox cannot be loaded from .src now
Change-Id: I80090f4daf9b7f224392a76449a87ab6aa6b7d05
2016-10-25 11:41:23 +01:00
Caolán McNamara
3c4f6b7804 no FixedText loaded from .src now
Change-Id: Ic377c5238e1763a2defdce72bbe893e826aae5ac
2016-10-25 11:41:23 +01:00
Caolán McNamara
dcd099d335 nothing uses RSC_BUTTON anymore now
Change-Id: I016d1507fcadf5da1207241c6feec1a03188eef7
2016-10-25 11:41:23 +01:00
Caolán McNamara
cd6e8837c1 no PushButton loaded from .src now
Change-Id: Ib866107995ab0496cf4f37a5e780458031d2fc25
2016-10-25 11:41:23 +01:00
Caolán McNamara
f23297e111 no Edit controls loaded from .src now
Change-Id: I42c7377c101c642ea39028e05e4ffd58fc7435d7
2016-10-25 11:41:23 +01:00
Caolán McNamara
30a458d7e1 no ListBox loaded from .src now
Change-Id: I7d30c38777f6a36c991271a3617d3f75c83cd490
2016-10-25 11:41:23 +01:00
Caolán McNamara
7549878fd6 convert conditional format src fragment to .ui and layout
this is a difficult widget

Change-Id: If4ea45230679c46f7ad763f07c876dd74d4478d0
2016-10-25 11:41:23 +01:00
Miklos Vajna
b45fe99f16 xmlsecurity: add PDF signature removal testcase
This one needs no access to private test keys, so no workaround is
needed for older NSS.

Change-Id: Ia233901658832cf55157511b4c5b5c2ccb243425
2016-10-25 11:32:47 +02:00
Miklos Vajna
c761df1e42 tdf#84678 DOCX import: fix handling of textbox margins
Regression from commit d379d18666 (oox:
import WPS shape with text as shape with textbox, 2014-06-18), the
problem for a long time was that in Writer text frames without borders
couldn't have text margins, either.

Recently a compat setting was added in the WW8 filter for this
situation, so use that in the DOCX import as well, and improve
SwTextBoxHelper to handle the margin properties.

Change-Id: I472bbc414f21f2ec7334482c460a5c3be3e95e94
Reviewed-on: https://gerrit.libreoffice.org/30255
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-10-25 09:32:01 +00:00
Katarina Behrens
fab262f115 screenshot annotation: More readable markup
this should placate clang too

Change-Id: Ida2cceebd5870b5896fb125e51e4cb67ad253d92
2016-10-25 11:26:49 +02:00
Katarina Behrens
ae3fb69ebc screenshot annotation: put back removed fields
I hate you loplugin !!!

Change-Id: I01067b04005a59b7ecb10a5a72ab6090b7f040a8
2016-10-25 11:26:49 +02:00
Katarina Behrens
dbecfbdde5 screenshot annotation: Make this a default button
Change-Id: I1a1db338696cf56062306a54a43c746a21a3431d
2016-10-25 11:26:48 +02:00
Katarina Behrens
dcbfb99fc5 screenshot annotation: insert markup for annotated widgets
Change-Id: I82b8c541239271e3acfa6d8ad45b752fa1554931
2016-10-25 11:26:48 +02:00
Katarina Behrens
3298e8b8ec screenshot annotation: Display markup for embedding the image
Change-Id: I06fd744fabd66ee02123790718a899d9e0dcb6b7
2016-10-25 11:26:48 +02:00
Katarina Behrens
b43888e73c screenshot annotation: tweak dialog a bit
Add some descriptive labels
Remove OK button (redundant in this context, Save Screenshot... does
the job)

Change-Id: I36e32986f777675f297390b691f2cd1681a0eaa2
2016-10-25 11:26:47 +02:00
jan iversen
9183e2cec0 Revert "tdf#96505 Get rid of cargo cult "long" integer literals"
This partly reverts commit 8ae33b1652.

Added a comment why 1L is needed in this file.

Change-Id: I92349b42decb964a45d4dc9c50b89cd22766acb9
Reviewed-on: https://gerrit.libreoffice.org/30259
Reviewed-by: jan iversen <jani@documentfoundation.org>
Tested-by: jan iversen <jani@documentfoundation.org>
2016-10-25 09:21:55 +00:00
Caolán McNamara
13d7023486 Updated core
Project: help  136c9a855fb9267a840030a289d80c9d7a18d82a

drop HID_CTRL_CUSTOMPROPS_YES_NO that does nowhere

Change-Id: Ief870688649828c459db277eba15ead976eac68a
2016-10-25 09:17:59 +00:00
Caolán McNamara
461e9cc64b Resolves: tdf#103472 gtk3 dnd must clear listener after dragDropEnd dispatch
like the generic dnd impl does

Change-Id: Ie860c43329ee2f9332d12a53cd691ac7fcbb5eac
2016-10-25 09:39:28 +01:00
Abhilash
250252d02b tdf#44282 fix missing space for numbered lists in TOC
Change-Id: I885ec27b46f2c0966e8ed38e5ca8eb03822190c7
Reviewed-on: https://gerrit.libreoffice.org/29913
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-10-25 07:20:41 +00:00
Rosen
8ae33b1652 tdf#96505 Get rid of cargo cult "long" integer literals
fixed all long integer literals in file

Change-Id: Ib557d88d4e4f17d5c334c92d611d002fe163f2f6
Reviewed-on: https://gerrit.libreoffice.org/29235
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-10-25 07:14:26 +00:00
Stephan Bergmann
0560f6cc3c loplugin:staticmethods
Change-Id: Id1a6184c3d3efab2d0ad921ee44b9b96ddddf74e
2016-10-25 09:11:16 +02:00
Stephan Bergmann
7768ad6082 -Werror,-Wunused-variable
Change-Id: I55a0388838a7b9aebc6fd07c92e4d1a8081a4fb6
2016-10-25 09:10:59 +02:00
David Tardon
681a1ca27f improve debug output
Change-Id: I7c5b8e67ee19e6a7d7909acb03d2d695cdc17a24
2016-10-25 09:02:55 +02:00
David Tardon
b1686f6cf1 tdf#103448 remove WPS Office exts. from MIME types
Change-Id: I99e199ba0dd703703f0feafeb1a9b6970507050d
2016-10-25 09:02:54 +02:00
Miklos Vajna
c758ad4a8b CppunitTest_xmlsecurity_pdfsigning: fix this on RHEL6
The pdfdocument problem is present only on 32bit.

The pdfsigning problem is present on RHEL6, but not on RHEL7, for some
reason NSS fails to parse the provided profile (generated by a bit newer
NSS). Just return early in that case, we want to test the PDF code
there, not NSS.

Change-Id: I1123865d4b2176676a8fdaf648222fda8ca0b923
Reviewed-on: https://gerrit.libreoffice.org/30229
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-10-25 07:02:29 +00:00