summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-07-14tdf#120047 use new opens___.ttf version 102.11Andras Timar
Change-Id: Iad48c663708dc9cda00d2a8534981f34c1c6f9d0 Reviewed-on: https://gerrit.libreoffice.org/75577 Tested-by: Jenkins Reviewed-by: Andras Timar <andras.timar@collabora.com>
2019-07-14Gtk remove the QtEngineStyle workaroundJan-Marek Glogowski
The detection code for KDE is long gone, so this code will never be called. Change-Id: I2ceff5f184ca6149f0625c9588b5dc876d418503 Reviewed-on: https://gerrit.libreoffice.org/75498 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2019-07-14Fix welded general option pageJan-Marek Glogowski
* replace the wrong m_xFileDlgFrame with m_xPrintDlgFrame (some search and replace error, I guess) * set filedlgframe's visibility to True, so hiding actually works Change-Id: I5f77f3930096acd885bf8c2fbbf798d6f1b110db Reviewed-on: https://gerrit.libreoffice.org/75574 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2019-07-14Qt5 also has native file selectionJan-Marek Glogowski
Change-Id: Ia47ab46f27e07b396aa324dd01af9d152b65de98 Reviewed-on: https://gerrit.libreoffice.org/75573 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2019-07-14Disable testDateFormFieldCurrentDateInvalidation() testTamás Zolnai
It hangs on Windows. Change-Id: If1e0054327212e5c2bf691c51f419677a4a15739
2019-07-14FixAndrea Gelmini
Change-Id: Ib3b96872190e87a7d68b5605b81152852b1036f7 Reviewed-on: https://gerrit.libreoffice.org/75569 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2019-07-14Update git submodulesAndras Timar
* Update dictionaries from branch 'master' - tdf#118570 update the da_DK dictionary Change-Id: Ie0a666ee4d78543762163e7290286a817c99104f Reviewed-on: https://gerrit.libreoffice.org/75467 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2019-07-14tdf#126192 Translate automatic axis labelsGabor Kelemen
Change-Id: I7f5e765536198a7ac216e1ff9df55102e23cb1d7 Reviewed-on: https://gerrit.libreoffice.org/75294 Tested-by: Jenkins Reviewed-by: Andras Timar <andras.timar@collabora.com>
2019-07-13Removed duplicated includeAndrea Gelmini
Change-Id: Iec8ba76e2d60baff369f7f09e2253f9e067b9a6f Reviewed-on: https://gerrit.libreoffice.org/75475 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2019-07-13Removed duplicated includeAndrea Gelmini
Change-Id: I42d64ec828e4ae03025f0b65a6b3bebbde267ec6 Reviewed-on: https://gerrit.libreoffice.org/75505 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2019-07-13UI test for #tdf124413Artur Neumann
Test if LibreOffice crashes when text is copied and pasted overwriting the original content and then undoing and redoing the change several times Change-Id: I22d92bde02364675fbbbe8064065ae955bdcae24 Reviewed-on: https://gerrit.libreoffice.org/75485 Tested-by: Jenkins Reviewed-by: Zdenek Crhonek <zcrhonek@gmail.com>
2019-07-13Fix typoAndrea Gelmini
Change-Id: I396ea30487afffbb4944e8bf906806570c4dad60 Reviewed-on: https://gerrit.libreoffice.org/75108 Tested-by: Jenkins Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
2019-07-13tdf#123150: Firebird: set UTF-8 client connectionTamas Bunth
There are two options related to character sets when attaching or creating a database with the C API: - isc_dpb_lc_ctype: Sets the character set of the connection between the Firebird server and the Client (which is the sdbc driver in that case). That is required in order to pass UTF 8 literals correctly. - isc_dpb_set_db_charset: Sets the default character set of the database itself. It has the same effect as the following SQL statement: ALTER DATABASE SET DEFAULT CHARACTER SET <Charset> We need to set both of them to UTF-8. Change-Id: Ia9e5a4b87a3997c084be8abb68c2de813fbd631b Reviewed-on: https://gerrit.libreoffice.org/75557 Reviewed-by: Tamás Bunth <btomi96@gmail.com> Tested-by: Tamás Bunth <btomi96@gmail.com>
2019-07-13tdf#123591: Firebird: Fix setting double valuesTamas Bunth
Handle numerical and decimal values separately. In order to do that we have to indentify the exact type first. That can be achieved using sqltype and sqlsubtype in Firebird API. Change-Id: Ie664dead51bae5522ee53009cda1cddbe0d64b16 Reviewed-on: https://gerrit.libreoffice.org/75525 Reviewed-by: Tamás Bunth <btomi96@gmail.com> Tested-by: Tamás Bunth <btomi96@gmail.com>
2019-07-13Move logic to GetDateOrder()Eike Rathke
Which saves a call to GetDatePatternOrder() in case a pattern was matched (usual case) and allows us to use the same logic in other places if needed. Change-Id: I259c7edf9fa301bf05184d0b25710edf54619a80 Reviewed-on: https://gerrit.libreoffice.org/75518 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2019-07-13Fix typoAndrea Gelmini
Change-Id: Icafb06fbcf0796a2e1598a46b41081be22d4bc54 Reviewed-on: https://gerrit.libreoffice.org/72958 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2019-07-13Access2Base - Set Parent property in all classesJean-Pierre Ledure
To get faster access to parents from controls Top classes (form, dialog and commandbar) should return Parent = Nothing
2019-07-13Add more useful exports to soffice's callgrind modeIlmari Lauhakangas
Moved from TDF wiki to avoid duplication. These three stop us getting poor performance from unusual allocators: unset MALLOC_CHECK_ MALLOC_PERTURB_ G_SLICE If we wedge, at least we don't do it while grabbing the mouse: export SAL_DISABLE_FLOATGRAB=1 Turns off recovery dialog, which can be a pain: export OOO_DISABLE_RECOVERY=1 Turns off GL watchdog. It normally kills the application, if it seems to hang in a GL block: export SAL_DISABLE_GL_WATCHDOG=1 Change-Id: I4ec30d363280b727cd305a6a81ccb85849697159 Reviewed-on: https://gerrit.libreoffice.org/73773 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com> Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
2019-07-13dbaccess: use local variable aBytesXisco Fauli
Change-Id: Idffdb1cf7edf2c6cd39c1c417158069fed5445fa Reviewed-on: https://gerrit.libreoffice.org/75528 Tested-by: Jenkins Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
2019-07-13Update git submodulesLibreOfficiant
* Update helpcontent2 from branch 'master' - Let's cope with help index idiosyncrasies Change-Id: I2cd538428cf91dc0c0802389b4db26e07ab33073 Reviewed-on: https://gerrit.libreoffice.org/75501 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-07-13Update git submodulesMike Kaganski
* Update helpcontent2 from branch 'master' - Add missing Calc error codes See include/formula/errorcodes.hxx; added those that return true from isPublishedFormulaError. Change-Id: I64595a9dd2c7770ba48f4e4a514f07179a8125fe Reviewed-on: https://gerrit.libreoffice.org/73744 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2019-07-13tdf#126004: test EditShell is ok before calling ValidateAllParagraphSignaturesJulien Nabet
See https://bugs.documentfoundation.org/attachment.cgi?id=152295 Change-Id: I6a098a18ef8b119b7cdea7cbabd6d3021bf1fb6f Reviewed-on: https://gerrit.libreoffice.org/74714 Tested-by: Jenkins Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2019-07-12make tools::Rectangle::Bottom return Top when emptyNoel Grandin
Change-Id: Ia424b91149245907b045b43aa31a622e34e6e5bc Reviewed-on: https://gerrit.libreoffice.org/75504 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2019-07-12tdf#126268: Add support for negative decimalXisco Fauli
basically reintroduce the code deleted in 2e26ef34bf1a2e5d1293e45cf3b1415d9514b056 and check at the right place the sign values Change-Id: Idf613a3a087b428d1f85abe9b43342fb67538a63 Reviewed-on: https://gerrit.libreoffice.org/75488 Tested-by: Jenkins Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
2019-07-12make tools::Rectangle::Right return Left when emptyNoel Grandin
I tried making this assert, but there are just too many places where we pass around empty rectangles, so rather just return the value of nLeft, in a similar fashion to methods like Rectangle::TopLeft Change-Id: I3377071ecae26f13e895ae411cd269f0bdbe0ef6 Reviewed-on: https://gerrit.libreoffice.org/75486 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2019-07-12NSS fix lcc support patchJan-Marek Glogowski
This hangs the build process with current MSVC cl.exe. It even hangs when just calling "cl -? >/dev/null". Probably a cl.exe bug to detect redirection properly? This adds stdin redirection to /dev/null, like in configure.ac checks. Change-Id: Ie03c3103ac68cd131dc280755621a8ce0417314f Reviewed-on: https://gerrit.libreoffice.org/75495 Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de> Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2019-07-12MSForms: Test date fieldmark's content and current date related methodsTamás Zolnai
These methods are used by the field's properties dialog, it's drop-down button and DOCX export. Change-Id: I2b75e69b452a736cc72785d251516f3b3bf1d1f1 Reviewed-on: https://gerrit.libreoffice.org/75463 Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2019-07-12MSForms: date field: handle replacing empty contentTamás Zolnai
It occurs when the date field is empty and the user trying to set a date with the date picker. Change-Id: I182930258b05071d861c2b326c139c73e2339af9 Reviewed-on: https://gerrit.libreoffice.org/75461 Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2019-07-12Resolves: tdf#126342 obtain date particle order from pattern matchEike Rathke
... if there was any. In the NF_EVALDATEFORMAT_FORMAT_INTL case the input may match a current locale's pattern instead of a format's locale's pattern and patterns' (format locale + current locale) date orders may be different from the format's date order. Change-Id: I3aeaa6c361f98fe80f69c4f5d975fca892dac6ea Reviewed-on: https://gerrit.libreoffice.org/75481 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
2019-07-12tdf#126245 DOCX export: fix losing of tracked numbering changesLászló Németh
of paragraphs. Change-Id: I97519630c0f7437c8fdda67c2d94a02c19fc427e Reviewed-on: https://gerrit.libreoffice.org/75470 Tested-by: Jenkins Reviewed-by: László Németh <nemeth@numbertext.org>
2019-07-12tdf#126245 DOCX: reject tracked paragraph numbering changesLászló Németh
during editing. Fix also import of change tracking data with unknown or read-only properties (use correct name-value pairs). Change-Id: I7c31393673ade5458d437268aab9200e8b2fdbdb Reviewed-on: https://gerrit.libreoffice.org/75354 Tested-by: Jenkins Reviewed-by: László Németh <nemeth@numbertext.org>
2019-07-12Move remove url code to editengSamuel Mehrbrodt
so that the code can be reused by sc and sw Change-Id: I0d3c778c7bb7847fcf690d0e76994afdd0645285 Reviewed-on: https://gerrit.libreoffice.org/75477 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2019-07-12tdf#126241: make sure to fill input stream before LockOrigFileOnDemandMike Kaganski
Otherwise, the function returns early, without providing lock file information to the caller. Change-Id: I1740ff0f5a982f7b22f9e3dcdf97631ab6ea6fe0 Reviewed-on: https://gerrit.libreoffice.org/75465 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2019-07-12MSForms: UITest for date form field's properties dialogTamás Zolnai
Change-Id: I2fd0661ad41fbc6feb420af5ab2d05d41c6d0838 Reviewed-on: https://gerrit.libreoffice.org/75462 Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2019-07-12MSForms: Test import / export of character formatting for date fieldTamás Zolnai
* With the rework, now the character formatting is fully supported. * Remove the other related test, which tested only a interop grabbag implementation. Change-Id: I598a21691c08a161933a5fef659e7ca21092dd0c Reviewed-on: https://gerrit.libreoffice.org/75460 Tested-by: Jenkins Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2019-07-12MSForms: Rework text-based date form field's representationTamás Zolnai
* Better to represent it similar to text form field with two marking characters selecting a text range * So the text between the two marks can be anything (not only a well formatted date) and also have any character formatting. * With this we handle the case when the user needs a placeholder text in the date field or when the user needs time values (hour, minute, sec) next to the date. Change-Id: Id60a50a2028058f8a6a080e265c0730d88b98543 Reviewed-on: https://gerrit.libreoffice.org/75459 Tested-by: Jenkins Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2019-07-12Qt5 drop special QPushButton handlingJan-Marek Glogowski
Basically reverts commit 3f0dbdd61df ("Draw button focus so that it doesn't obscure the actual button") and declares qt5 doesn't support an extra native focus for a button. LO's own "ant" focus is prevented by Qt5Data::Qt5Data(): pSVData->maNWFData.mbNoFocusRects = true; pSVData->maNWFData.mbNoFocusRectsForFlatButtons = true; Change-Id: Ifdce615cac92f69b008780cf986cdfd0915ccd14 Reviewed-on: https://gerrit.libreoffice.org/75415 Tested-by: Jenkins Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2019-07-12Fix typosAndrea Gelmini
Change-Id: I20fe5f960c1df94c0b53e7edf33194e60f69bc74 Reviewed-on: https://gerrit.libreoffice.org/75472 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2019-07-12Add test_edit_target to AutoRedactDialog UITestMuhammet Kara
Change-Id: I105ce2e5f4d72369b05f776624979c3e82950757 Reviewed-on: https://gerrit.libreoffice.org/75469 Tested-by: Jenkins Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
2019-07-12Add UITest for AutoRedactDialogMuhammet Kara
Includes: * test_open_AutoRedactDialog_writer() * test_add_target() Change-Id: Ia70f4cdf01f8a69aa42d0514eecc20d2a2ada530 Reviewed-on: https://gerrit.libreoffice.org/75429 Tested-by: Jenkins Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
2019-07-12tdf#121014 Display tooltip for URLs in Writer textboxes/shapesSamuel Mehrbrodt
Change-Id: I7be36f804079bf415b1b548c997c97513f34730d Reviewed-on: https://gerrit.libreoffice.org/75423 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2019-07-12Natvis: improve ErrCode visualizerMike Kaganski
Change-Id: I5046a2642e2167495ea7efa0fd1b04f5e2163657 Reviewed-on: https://gerrit.libreoffice.org/75464 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
2019-07-12MSForms: DOCX filter: handle export of empty date from controlTamás Zolnai
* It's converted to date content control which is imported as text-based date control. * By now, we don't need to set a dummy text for empty date. Change-Id: I29b2a72e3ae2722c1d765c4fcb9bd13052619372 Reviewed-on: https://gerrit.libreoffice.org/75458 Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2019-07-12MSForms: DOCX filter: The new text-based date field is allowed in the header.Tamás Zolnai
Change-Id: I71d61c702ccd0470c4c3df09531704783c1b3e01 Reviewed-on: https://gerrit.libreoffice.org/75457 Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2019-07-12MSForms: DOCX filter: update testN820509() testTamás Zolnai
* Now we import date field as date form field and not as date form control. * Design mode has no interaction with this kind of field, so we don't need check the design mode status. Change-Id: I5dc2abc33f307d934771e4f6608d1c3a9ed71b0b Reviewed-on: https://gerrit.libreoffice.org/75456 Tested-by: Jenkins Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2019-07-12MSForms: DOCX filter: reenable passing testTamás Zolnai
Change-Id: I566a65fa4ece6500128ceeb497c01f1c6e38470c Reviewed-on: https://gerrit.libreoffice.org/75455 Tested-by: Jenkins Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2019-07-12MSForms: DOCX filter: handle date formats with quotation marks.Tamás Zolnai
Change-Id: I61cc6d47200acdd55f147b4f1829330dec8562a0 Reviewed-on: https://gerrit.libreoffice.org/75454 Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2019-07-12MSForms: date format: better searching of date format entriesTamás Zolnai
* GetEntryKey and PutEntry methods are not consistent. * It can happen that GetEntryKey does not found the format we are searching for, however the PutEntry() method finds it among the entries and so returns with failure. * Let's check the nFormat instead, PutEntry returns the found entry key if the entry exists. Change-Id: Ia7e8702b03999950adfa649d1adc3a839dc5a178 Reviewed-on: https://gerrit.libreoffice.org/75453 Tested-by: Jenkins Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2019-07-12MSForms: DOCX filter: import manually set date field as plain textTamás Zolnai
In MSO the user can add any text in the date field without having it in the specified date format. We import this kind of date as plain text. Change-Id: Ied4bf03a3ac4c9b6f1cfc78d91e6a52ad3d6e179 Reviewed-on: https://gerrit.libreoffice.org/75452 Tested-by: Jenkins Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2019-07-12MSForms: DOCX filter: add a test case about invalid date form fieldsTamás Zolnai
Change-Id: I2048198d81ea4abf58b2b499b89495cd51b5c7ff Reviewed-on: https://gerrit.libreoffice.org/75451 Tested-by: Jenkins Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>