Commit graph

398082 commits

Author SHA1 Message Date
Kohei Yoshida
d800825f0d Annotate the code a bit around EditGrowX/Y.
Change-Id: Ib7ee2e4aa393b7d842aeaf0569f104eee17ea4ad
2016-10-13 20:46:27 -04:00
Bjoern Michaelsen
45a7137c67 tearDown/clean up solenv test tempdir
Change-Id: I2fc5497b0aeadbc43e967f338a3b8718995f2a5c
2016-10-14 01:07:51 +02:00
Bjoern Michaelsen
bc6c26d3c1 fix license, this is entirely new content
Change-Id: Icf1818fb894d039eeb4e7f1306a53ac4322fa075
2016-10-14 01:07:50 +02:00
Bjoern Michaelsen
5cfcd6809f add gbuildtoide support for exes
Change-Id: I320ee341651dd0c92de5176c10aa5290afea1d38
2016-10-14 01:07:48 +02:00
Michael Stahl
4ea6f3c38f Don't hard-code Library directory because of ExtensionLibrary
Change-Id: I71a2e87279611a1a8f65ec86c47d26bbd5bd5f3b
Reviewed-on: https://gerrit.libreoffice.org/29800
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2016-10-13 22:12:03 +00:00
Bjoern Michaelsen
fcb7ee7aad use tempdir for test
Change-Id: Ie218f87dc2f1c1b6031cc08f2027cfcf392c6c21
2016-10-13 23:25:40 +02:00
Bjoern Michaelsen
2eb6605c1d gbuildtoide does not need deps
Change-Id: I806b8f445fad02e7dceff6263828fe9d8667341e
2016-10-13 23:25:40 +02:00
Bjoern Michaelsen
6f345e1e6e remove needless cascaded defines
Change-Id: Ie76dd70a6a0960ee49df6e31a171761fdaf88f53
2016-10-13 23:25:40 +02:00
Maxim Monastirsky
55d0284885 -Werror=reorder
Change-Id: I827911df1bc379a0f0e303a15d44b30309a8bc04
2016-10-13 23:28:09 +03:00
Samuel Mehrbrodt
fed75d1009 Make the Emoji control experimental
Change-Id: Iedc9bae0649fe316f3d958abd78bf0dc4e9190d1
2016-10-13 22:14:52 +02:00
Samuel Mehrbrodt
dad3e93a78 Improve formatting
Change-Id: I088997f51b6ed5131dec706f52b568671605d6e5
2016-10-13 21:53:06 +02:00
Samuel Mehrbrodt
ac20f98e49 Don't add experimental commands to the Menu
Change-Id: I76b1c745d4c4d99f3a0a8d7573f1beae99503ef9
2016-10-13 21:53:06 +02:00
Samuel Mehrbrodt
1a848fb9b5 Don't add experimental commands to the Toolbar
Change-Id: I1c1eb33f938bf8d6acac13dfe0a2119a4967e2a1
2016-10-13 21:53:06 +02:00
Samuel Mehrbrodt
0cd2250b7c Add IsExperimental method to CommandInfoProvider
Change-Id: I827ae6db25a1df9f25b58ca122e39dc9cb4b0652
2016-10-13 21:53:06 +02:00
Samuel Mehrbrodt
08d7ffcd44 Mark Notebookbar and ToolbarMode as experimental
Change-Id: I5c1e440e754419bbebcd594b1d9fcfcf7712860e
2016-10-13 21:53:06 +02:00
Samuel Mehrbrodt
d9f8ea556c Add experimental flag for Commands
Such marked commands should only be available when experimental features are active

Change-Id: I4ef922f0261adc193d46ba287073d67910222f51
2016-10-13 21:53:06 +02:00
Samuel Mehrbrodt
8ce70a7e26 Remove unused toolbar:text define
Should not be used anyway since it's not translated

Change-Id: I1b571be013208e2fae679fc7c4978084067f9519
2016-10-13 21:53:06 +02:00
Winfried Donkers
d8257535e3 tdf#102742 fix wrong results for MOD function
ScInterpreter::ScMod has been largely rewritten and
a constraint check has been added (numerator != 0).
It appears that integer values of arguments cannot accurately
determined nor converterd accurately to int values, so no simpler
(faster) treatment for integer values.
Updated test document.

Change-Id: I3af60d93019b212ce7c03eea48b509bfbc713cf7
Reviewed-on: https://gerrit.libreoffice.org/29365
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2016-10-13 19:46:43 +00:00
Caolán McNamara
1c9096dad7 Resolves: tdf#103051 pdf export assumed 1bit bitmaps were N1BitMsbPal
Change-Id: I2268d8b74f187d07f161f42cc9530be3ebbc86d0
2016-10-13 20:42:10 +01:00
Winfried Donkers
fb790880eb tdf#94635 follow up; handle linear data properly when samples in period
are to be calculated by function.

Applies to all FORECAST.ETS functions with argument period_length having
value 1.

Change-Id: Icb5a0288670321caf0dd5b70bee4b8811b9ba4a9
Reviewed-on: https://gerrit.libreoffice.org/28923
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2016-10-13 19:04:48 +00:00
Bartosz Kosiorek
7d5d5e6e9b tdf#103143 Fix importing number of characters from docx files
Change-Id: I45429626f7299f84fda2969dd6000c8aa8d23982
Reviewed-on: https://gerrit.libreoffice.org/29721
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-10-13 19:03:33 +00:00
Winfried Donkers
ad707a3daf tdf#94635 follow up; correct handling of double x-values in case of
month intervals.

Change-Id: I310d8d127d6b9ca571200ba8974a980430d69eb7
Reviewed-on: https://gerrit.libreoffice.org/29076
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
2016-10-13 18:55:08 +00:00
Matúš Kukan
22b0c09f84 tdf#74608: Ctor function for css.comp.uui.UUIInteractionRequestStringResolver
Change-Id: I42c0c2cc8797647aa9dd676034137a1430e42fee
2016-10-13 20:26:24 +02:00
Miklos Vajna
3b6f7f3810 xmlsecuity: show PDF signature in the doc signatures dialog
It doesn't actually show any details yet, but it shows a selectable
empty line, to be filled in with details.

Change-Id: Ib35f13e5c779fe1a28933c1a0761682e9f5de62d
Reviewed-on: https://gerrit.libreoffice.org/29775
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-10-13 18:18:16 +00:00
Winfried Donkers
52c79bbd1b tdf#102328 Add constraint for argument X in Calc function GAMMA.DIST.
Change-Id: I5702cabac8f1e331072acfe25581569f3b7f64cc
Reviewed-on: https://gerrit.libreoffice.org/29148
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
2016-10-13 18:17:09 +00:00
Marco Cecchetti
8974b0fafb LOK: Calc: in the numeric content case, the used alignment can be wrong
-description: in the numeric content case, the used horizontal
alignment can be wrong when input content goes further than the cell
border;

- reason: (very odd) bMoveArea and nEditAdjust are global variables in
viewdata.cxx instead of being data members of ScViewdata;

- solution: now bMoveArea and nEditAdjust are data members of
ScViewdata.

Change-Id: I58a4ec26ca290fd328ef28a92c3c590462c7231a
Reviewed-on: https://gerrit.libreoffice.org/29628
Reviewed-by: Marco Cecchetti <mrcekets@gmail.com>
Tested-by: Marco Cecchetti <mrcekets@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/29661
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2016-10-13 17:48:09 +00:00
Yousuf Philips
5a5b83b102 tdf#103170 Remove button labels/tooltips and enable font controls
Change-Id: If4720ef1bc934bdfda20ebe7a5d612eca0b2d9e5
Reviewed-on: https://gerrit.libreoffice.org/29747
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
2016-10-13 17:47:18 +00:00
Christian Lohmaier
92bdea7719 delete emoji autocorrect entries that conflict with entering time
entering 9:10:23 would trigger unwanted replacement of the :10: in the
middle by a clockface..

fixes the partial (and accidental) revert of
681d5fd37e done by the last update of the
emojis in b36479dab0

Change-Id: Icb70f2df90e573043fb60f5c4c7cd5f74f61b71b
2016-10-13 19:42:22 +02:00
Gulsah Kose
19dc5d7257 tdf#101390 Add "Diagonal Line" command to the calc arrowsbar.
Change-Id: I1e29cd9a63424771576d1a5a47558d30faf53dda
Signed-off-by: Gulsah Kose <gulsah.1004@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/29769
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Tested-by: Maxim Monastirsky <momonasmon@gmail.com>
2016-10-13 17:36:06 +00:00
Gulsah Kose
c3f95221b8 tdf#101390 Add "Diagonal Line" command to the writer arrowsbar.
Change-Id: If21ea239289b985e6a7cea717b41e073bc591c62
Signed-off-by: Gulsah Kose <gulsah.1004@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/29768
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Tested-by: Maxim Monastirsky <momonasmon@gmail.com>
2016-10-13 17:29:36 +00:00
Eike Rathke
ab32758ea8 upgrade to liblangtag-0.6.2
Change-Id: I315d9bcea575920b718da46007bd7500d6cca9c2
Reviewed-on: https://gerrit.libreoffice.org/29777
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2016-10-13 16:43:13 +00:00
Miklos Vajna
4eed1d8533 sfx2: initial PDF document signatures dialog
This just allows the menu entry in Draw to reach
SfxMedium::SignContents_Impl(), and then call signDocumentContent(),
which shows the dialog (where the signature itself isn't visible yet).

Do this by not assuming a ZIP-based storage at various places when we're
not working with an "own" format.

Change-Id: I030d0f636d1aab98369024f3f10a975ea2786d59
Reviewed-on: https://gerrit.libreoffice.org/29774
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-10-13 16:04:01 +00:00
Giuseppe Castagno
f8857f30cb Related: tdf#90700, fix the link validity check in ww8 sw filter
As written, it would never have worked with http links.
This function seems only used in DOC import documents.

Change-Id: Ibc02f41245ea4c9e9155fc838e67404b34c5fa8f
Reviewed-on: https://gerrit.libreoffice.org/29772
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Giuseppe Castagno <giuseppe.castagno@acca-esse.eu>
2016-10-13 15:03:50 +00:00
Jean-Pierre Ledure
3cac16941b Access2Base - CopyObject applied on tables belonging to different databases
So far, only tables belonging to the SAME database could be copied.
Copying tables between databases from different sources (HSQLDB 1.8/2.3, MySQL, PostGres, Sqlite)
is admitted.
Field type conversions are in this case based on empiric rules.
A case study based on getMetadatInfo() is available on request.

Change-Id: Iae4ea7c4df4799cde3c8f973746513bad56246d8
2016-10-13 17:00:10 +02:00
Armin Le Grand
5f55b7d00a profilesafe: extended to three modes
Saving configuration is now extended to three
basic modes, from just saving registrymodifiications
to adding user-defined config stuff to saving all
information in the user profile, additionally
configuration information for Extensions is saved.
Added configuration entries for this and tested
saving/restoring.

Change-Id: I79b09c37617803bf656826f76a7e3db79cda49ac
Reviewed-on: https://gerrit.libreoffice.org/29770
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Armin Le Grand <Armin.Le.Grand@cib.de>
2016-10-13 14:43:37 +00:00
Asela Dasanayaka
83cc9a3fae tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor
Fix a bug on connectivity/source/drivers/ado/AResultSet.cxx

Change-Id: I164732100ff3bdc4e73f80e2495610cb53581b0d
Reviewed-on: https://gerrit.libreoffice.org/29758
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-10-13 14:34:31 +00:00
Miklos Vajna
e78b5e9861 CppunitTest_xmlsecurity_signing: add PDF tests
3 cases: a good and a bad signature, also a document without a
signature. Disable on Windows for now, as the non-NSS part in
PDFDocument is not implemented yet.

Fails without e.g. the previous commit, due to not initializing NSS
properly.

Change-Id: I3f100bd035ac899db22001b2744d1cb3abe5beaf
Reviewed-on: https://gerrit.libreoffice.org/29764
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-10-13 14:07:27 +00:00
Hieronymous
6956e3379b Improve UNO error reporting. Make exceptions more descriptive.
Change-Id: I7f7462d2fe2fa29361fd51871bf43bcc5e817944
Reviewed-on: https://gerrit.libreoffice.org/29771
Tested-by: jan iversen <jani@documentfoundation.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-10-13 14:01:40 +00:00
Caolán McNamara
c12e14d19f Resolves: tdf#102999 get_selected_printer is transfer none
gtk_print_unix_dialog_get_settings returns a new GObject we
have to unref, but gtk_print_unix_dialog_get_selected_printer doesn't
add a ref so dies along with its parent dialog.

Change-Id: Ie5f8ecd83f5cc2c13e4a8c3ba292ffa381f9bdf5
2016-10-13 14:32:50 +01:00
Eike Rathke
b086fd9923 approxEqual: check isFinite()
Necessary as all comparisons involving a Nan evaluate to false and the
assert() in isRepresentableInteger() was hit by crash test documents
where approxEqual() was called with a least one Nan.

Change-Id: I9e8f41c36c0cf14cabf47c3df773c601d32682d6
2016-10-13 15:13:53 +02:00
Gulsah Kose
042a7fc229 tdf#101390 Add "Dimesion Line" command to the calc arrowsbox.
Change-Id: I00a324dd0a27dbcf598e83d2a6cc857ab7b7d6aa
Signed-off-by: Gulsah Kose <gulsah.1004@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/29716
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Tested-by: Maxim Monastirsky <momonasmon@gmail.com>
2016-10-13 13:09:59 +00:00
Samuel Mehrbrodt
1ffc0ddfef Add windows start menu entry for Safe Mode
Change-Id: I66ad4c5e5a8f338d741e1f21cb927b00038e3f28
Reviewed-on: https://gerrit.libreoffice.org/29755
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-10-13 12:52:07 +00:00
Miklos Vajna
9fe910e486 xmlsecurity: use common NSS init in PDFDocument
The custom code took care of NSS only, the shared code will handle
mscrypto as well.

Change-Id: I73b904d2e0750d2d847eaaf1ac2b02d41b37d357
Reviewed-on: https://gerrit.libreoffice.org/29763
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-10-13 12:44:38 +00:00
Takeshi Abe
7da303f371 sw: Remove inheritance from std::vector
Change-Id: I1b0e42149a91d9e92d227659147584beb27a5704
Reviewed-on: https://gerrit.libreoffice.org/29753
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
2016-10-13 12:32:00 +00:00
Giuseppe Castagno
97cc70d728 tdf#102499 (7): Caching connect timeout or cannot connect.
An unofficial HTTP response status code is defined and used
internally in LibreOffice WebDAV ucp provider in order to
catch either the DAVException::DAV_HTTP_TIMEOUT state or the
DAVException::DAV_HTTP_CONNECT state.

Change-Id: Iec4927d18ace5384fed16a7ec2a2620dc8305c5b
Reviewed-on: https://gerrit.libreoffice.org/29757
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Giuseppe Castagno <giuseppe.castagno@acca-esse.eu>
2016-10-13 12:26:43 +00:00
Gabor Kelemen
162569e8c2 Updated core
Project: help  0f18a22ab657aa080900ecb6d851da0e27bd6ca3

find-invalid-help-embeds: Fix link to toolbar icon

Change-Id: I1eeacd63cac6820a3ee118bbdecf9dc02393917b
Reviewed-on: https://gerrit.libreoffice.org/29766
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2016-10-13 11:48:29 +00:00
Noel Grandin
a7e395f397 loplugin:mergeclasses ImplEESdrWriter with ImplEscherExSdr
Change-Id: Iea2241d9fc44b92e18101b3f367a643f03729183
2016-10-13 13:31:28 +02:00
Gabor Kelemen
7bc5d17be6 Updated core
Project: help  c75a1cde49dde5d78b2e640b382fbd3c1d103be6

find-invalid-help-embeds: Fix embed section names

These were changed related to tdf#92825
in I707e1daa263acb5a09a6a90e745a619f9dd67388

Change-Id: Ia8bbb07103a6ca947eeda69d1acf83d117b99284
Reviewed-on: https://gerrit.libreoffice.org/29765
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2016-10-13 11:19:29 +00:00
Noel Grandin
17ec3b96de pass params to Outliner LINK callbacks on stack
instead of yuck..cough... on itself, which is horribly vulnerable to re-
entrancy

Change-Id: I8f3d6d39ee50fd36b56b431978cf6c2499c375a6
Reviewed-on: https://gerrit.libreoffice.org/29756
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-10-13 11:16:13 +00:00
Gabor Kelemen
703f697b22 Updated core
Project: help  a2e692fc4eeeb04fb0664bcac58f3e5dba9164cd

find-invalid-help-embeds: Remove links to deleted file

Not like these files don't need a complete rewrite anyways,
but even until then get rid of the annoying D'oh! errors
people filed in tdf#71039, tdf#91295, tdf#94133, tdf#98910

Change-Id: I0c536462a6a57ec35a68b47645ea76f9b17917ea
Reviewed-on: https://gerrit.libreoffice.org/29762
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2016-10-13 11:12:05 +00:00