summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-10-11profilesafe: Add values for SecureUserConfigfeature/profilesafemodeArmin Le Grand5-21/+38
Added default values for SecureUserConfig values to soffice.ini/rc which enable the mechanism, enable by default and set a maximum of three backups file in packed form. Added more handy flag for easy decision to add compressed/uncompressed. Change-Id: I5a624c09fec4e4278314e13fc5f693ac085d5e61
2016-10-11profilesafe: Added zip deflate/inflateArmin Le Grand2-77/+337
Stack of files can now deflate/inflate using zip library, unfortunately have to use direct due to Deflater/Inflater not being available, had to add linking against zip.lib. Checked compressed and uncompressed creation/usage of backup stack. Also warnings and clang errors corrected. Change-Id: Ieb059baeea323bb48ec5b1cf6b8df09da97cfb93
2016-10-11profilesafe: Collect copies in single *.pack fileArmin Le Grand5-170/+670
Enhanced helper classes for BackupFileHelper to allow writing a stack of rescued last valid configuration files to a single file package. Added configuration values for enabling this and defining the number of entries, added max entry limitation. Using FileSize and CRC32 now to dectect if config file did change. To make this work I added sorting to writing the configuration so that with no change the same configuration file is written. Use std::vector for better mem performance for sorting, defined static const for buffer size of manipulation, prepare inflate/deflate usages. Fixes to setPos, warnings Change-Id: Ib286e2a3f25b0085a1e3ae4f50c9ff1ff3a5dcf5
2016-10-11profilesafe: Enhancements to BackupFileHelperArmin Le Grand5-16/+188
Added helper class to allow easy creation/deployment of backups of a file. It works like a 'stack' of backups, supports easy add/remove/delete of last entry (LIFO). Added some work top allow opening dialogs in DeInit under linux. Change-Id: Idacec97ec2f097af9bd22a8a67b410c7677d17f1
2016-10-11profilesafe: Initial creation of BackupFileHelperArmin Le Grand4-0/+363
Added helper class to allow easy creation/deployment of backups of a file (here: registrymodifications). It works like a 'stack' of backups, supports easy push/pop of backed-up versions. Change-Id: Ie19e1209534f23a3dbd6106a5ca13b24b8fefe4d
2016-10-11vcl: put in anonymous namespaceTomaž Vajngerl1-1/+6
Change-Id: Ib24a8dd044003f8d667d97e989fbbf640d4eacdf
2016-10-11Updated coreCaolán McNamara1-0/+0
Project: help b223bd2e0ccf3c09d69b0cbf4da063f15ca453ef update helpids for writer navigator .ui conversion Change-Id: Ib25355ffe0d58a50eaad7e5aaeb1d10efc101404
2016-10-11tdf#103001 DOCX export: fix RelId cache when switching streamsMiklos Vajna5-16/+44
RelIds are used to refer to external streams, e.g. images. A RelId cache tries to avoid storing the same image more than once in the export result. RelIds are relative to an XML stream, so caching them across stream switches is problematic. There was code already to notify the cache after a header or footer was written, but: 1) It was only done after a switch, not before and 2) It cleared the whole cache, instead of stashing it away, and restoring it when the write of the special stream is done. Regression from commit b484e9814c66d8d51cea974390963a6944bc9d73 (tdf#83227 oox: reuse RelId in DML/VML export for the same graphic, 2015-09-07), this existing problem became more visible when caching started to include draw images, not just writer ones. Fix both problems by turning the cache into a stack that is pushed/popped around stream changes. Change-Id: If9ec168823eea5e272197e28f6125ba626605550 Reviewed-on: https://gerrit.libreoffice.org/29684 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-10-11Updated coreCaolán McNamara1-0/+0
Project: help b5b5879c9ed7b8c120c21f9b700247a1442d2a47 drop unused HID_NAVIGATION_PI Change-Id: I453cd425ee8b79ad9caf47a791ac8ef4a3676bf4
2016-10-11cppcheck: uninitMemberVarJochen Nitschke1-4/+4
Change-Id: I4ff6d15941bf561ed67d84e4bda532131c8c7a43 Reviewed-on: https://gerrit.libreoffice.org/29622 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-10-11parent will definitely exist at ctor timeCaolán McNamara1-7/+5
Change-Id: I3d30b17e4105a98ad6ab378cee7128cac23f1dc0
2016-10-11Resolves: tdf#103032 a11y crash on listbox dispose in toolbar dropdownCaolán McNamara4-52/+50
Change-Id: I70bce310ba9b46efdbdfdec8d2c6689d0ba2e655
2016-10-11remove some conversion operator methodsNoel Grandin13-41/+35
which, in these cases, only serve to make the code harder to read Change-Id: Ic9bcf42545b4fcfd60a535fb63956092d392f469 Reviewed-on: https://gerrit.libreoffice.org/29685 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-10-11loplugin:unnecessaryoverride in sfx2Noel Grandin7-26/+0
Change-Id: I9097a5cfb861e6659a5d9ae10f9c45f2edcae2ec Reviewed-on: https://gerrit.libreoffice.org/29686 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-10-11repurpose count dialogsCaolán McNamara2-41/+11
Change-Id: Id19d514f7ccbc69bf5ad0ca63181e2815f067178
2016-10-11external/nss: Adapt ASan/UBSan-specific patches to nss 3.27Stephan Bergmann2-23/+23
Change-Id: Ic96a57a1f43f7aae4e0733d2e65edd843b827a54
2016-10-11Fix language on Abstract* templatesFrancisco Adrián Sánchez3-0/+0
Changed the default language from German to English (US) Corrected also the area and line style of background objects Change-Id: I632b922c0e48ea578a5290015ddc499ba2af0781
2016-10-11Allow entering safemode after crashSamuel Mehrbrodt3-0/+31
Change-Id: Id12d3c10714b7ce5722c2270e9e897db63bedcf2
2016-10-11Demonstrate that SvRef ==/!= are acceptable as member functionsStephan Bergmann1-1/+1
Change-Id: I30771393bc16f2320cd89f018ff93c756913b70d
2016-10-11loplugin:constantfunctionNoel Grandin41-197/+68
update the plugin similarly to commit 3ee3b36ae0c064fb5c81268d8d63444309d1b970 Author: Stephan Bergmann <sbergman@redhat.com> Date: Fri Oct 7 12:05:49 2016 +0200 loplugin:staticmethods: Don't be fooled by decls starting with macros Change-Id: I98ac3216d5acf89a49a26feb089ae2fd34e6e510 Reviewed-on: https://gerrit.libreoffice.org/29665 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-10-11loplugin:unnnecessaryoverride in xmloffNoel Grandin6-52/+0
Change-Id: Iad519bd61ce1d1bf4ef4e12543b0d485249db36b Reviewed-on: https://gerrit.libreoffice.org/29672 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-10-11loplugin:unnnecessaryoverride in svtoolsNoel Grandin12-63/+2
Change-Id: I49773d9054205c223744495768e1cb05dd7b087d Reviewed-on: https://gerrit.libreoffice.org/29671 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-10-11tdf#102499 (5): Deal with HTTP unofficial response status codesGiuseppe Castagno4-58/+237
A reference can be found here: <https://en.wikipedia.org/wiki/List_of_HTTP_status_codes> (retrieved 2016-09-13). Changes done: Add set of 'HEAD method not available' before using fall back GET method. Add new method in OPTIONS cache. Add response status code if fall-back GET didn't succeeded. Add copy-assignement operator to DAVOptions. Fix behaviour of GET fall back when HEAD missing. Change-Id: I6aad0e22bb444abf37b90186588f64f79b03cc3d Reviewed-on: https://gerrit.libreoffice.org/29680 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Giuseppe Castagno <giuseppe.castagno@acca-esse.eu>
2016-10-11move round-tripables to ooxmlexportJustin Luth167-2028/+2254
This serves two purposes. It helps to prevent regressions and it allows focus on features that still don't export properly. The standard .mk file had trouble on the Mac, so I ended up copying ooxmlimport.mk instead of trying to tweak the export template. The huge section of tests excluded from Win32 testing is still excluded here. The ole-anchor test works as export in the import code, but didn't work from the ooxmlexport directory, so left that one as import only. Change-Id: I9d72202c577940ba94855096c5a11d4dec4790a5 Reviewed-on: https://gerrit.libreoffice.org/29588 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Justin Luth <justin_luth@sil.org>
2016-10-10check-elf whitelist libxml2 not libxmlNorbert Thiebaud1-1/+1
Change-Id: If0179726861c867f9c25c13f9eb0b61faaee9524
2016-10-10Support parallelism for check-elf-dynamic-objectsNorbert Thiebaud1-5/+70
using that and restricting the tests to the content of instdir/program bring the runtime on out slave builder from 4 minutes+ to just above one second added -d <path> to override INSTDIR added -p to indicate parallelism (no limit for now, so be cautious with the -d you point too Change-Id: I14c140f54bea329b82960843a6db44bfaf6c7108
2016-10-11make it easier to read the logsMarkus Mohrhard1-1/+1
Not yet perfect but already better. Change-Id: I5309947333aa2cce6526335b603ef316226e490c
2016-10-11avoid infinite loop if the instance stopped alreadyMarkus Mohrhard1-0/+3
Change-Id: I03f78e592f3f182f34ea05829131357cabcc4c7b
2016-10-11pathlib is only in python 3.4+Markus Mohrhard3-13/+36
We still use 3.3 on windows. Change-Id: I32adabe1eb12d8803d61458fcb1a228b3ff045e0
2016-10-11catch the exception to prevent broken charts, tdf#98690Markus Mohrhard1-2/+9
Change-Id: I5958c87ca793c19d5c78dc829eb0ff0a1e04dffa
2016-10-11avoid crashes on broken charts, related tdf#98690Markus Mohrhard1-2/+2
Change-Id: If81f963babc15fc549d9daa904fd9836ea02ecef
2016-10-10tdf#101390 Add "Dimesion Line" command to the writer arrowsbox.Gulsah Kose12-28/+52
Change-Id: I238bc37871c029d547b21ce7c8ef3cb0c0ff95b8 Signed-off-by: Gulsah Kose <gulsah.1004@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/29669 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2016-10-10tdf#36038 Import extended LCID from ExcelLaurent Balland-Poirier1-30/+277
Extended LCID were only supported for Thai. This commit import also for some other numerals and calendars. Change-Id: Id92a0ee2a32c5722e9674fe0ac5ff7028c84bca6 Reviewed-on: https://gerrit.libreoffice.org/28809 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2016-10-10tdf#36038 Export to Excel extended LCIDLaurent Balland-Poirier1-35/+158
Number format: extend export to Excel of long LCID for other languages and calendars than only Thai and Buddhist Change-Id: I826347302d14caa5b4463d28cd25f2c36ebfef5d Reviewed-on: https://gerrit.libreoffice.org/28666 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
2016-10-11Height and Width seem to be swapped hereMaxim Monastirsky2-8/+4
when height takes left-right borders, and width top-bottom. And also - Why do we calculate the borders twice - as the call to CalcWindowSize does this again? Change-Id: I63a66939bd526a225ccac9bdd6262feba48da5c2
2016-10-11Merge SystemWindow and FloatingWindow setPosSizeOnContainee methodsMaxim Monastirsky4-14/+2
This reverts commit 95942b16f44bc6eac57ad7b579b4158565446884 ("Resolves: tdf#90481 fix cropped buttons"), and changes the code in a way that seems to not crop buttons anymore. Tested under gtk3 with File > Digital Signatures... and the toolbar underline dropdown. Change-Id: Idcb680c82f594f630b1dd7c76c42912e6b5a093a
2016-10-11The key event is not needed for the non-ToolBox caseMaxim Monastirsky1-3/+5
Change-Id: I8d593665f1c2bcafa583eca311cd86ab618dec3d
2016-10-10Search for old style dictionaries in DICPATHJookia1-54/+105
When searching in system directories for old style dictionaries, also look in the DICPATH environment variable much like the Hunspell application does. This gives a lot more flexibility for users and packagers in finding dictionaries at runtime. The patch is simple, it just moves a block of code from GetOldStyleDics that handles searching a directory to a new function, GetOldStyleDicsInDir. Then if DICPATH is set, its directories are passed to the new function. Original system directories are also passed so dictionaries in system-wide directories are found. Change-Id: I56ac66539495f03f41376b533ca19c6c8d615ec3 Reviewed-on: https://gerrit.libreoffice.org/29543 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-10-10try enabling password tests on mac and windowsCaolán McNamara1-8/+0
Change-Id: I4054a3c285828f8c5a7d2c4b6e2716fd79c5fdf7 Reviewed-on: https://gerrit.libreoffice.org/29666 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-10-10safemode: Add uno command and menu entrySamuel Mehrbrodt28-1/+191
Change-Id: I1843767160b79041c42e506eff0cf39399c74f26 Reviewed-on: https://gerrit.libreoffice.org/29668 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-10-10check-elf-dynamic-objects: file is far too slowMichael Stahl1-43/+53
... so use readelf itself to check if it's an ELF file. Also just skip the SDK documentation which is 2/3 of all files. Change-Id: Icfd3023dd5b2ccc4f4e94fbb05cdd4eb05051f86
2016-10-10these navigator menu items should be radio checksCaolán McNamara1-7/+7
Change-Id: Id8fe9cecb5d49728ab8b3b86589204a1ca4a8ecb
2016-10-10these navigator menu items should be radio checksCaolán McNamara1-5/+5
Change-Id: Ib785ce929ea33250b275969187d63c528fbafe6f
2016-10-10configure: avoid linking against libgcrypt for libexsltMichael Stahl1-1/+1
There are at least 2 different versions libgcrypt.so.20 and libgcrypt.so.11 in use, and it's a private dependency of libexslt anyway, so filter this out of LIBEXSLTLIBS. Change-Id: Iafc33ef5ead2a86bedb4d5e485f6a16eb0544686
2016-10-10SwHelpToolBox doesn't do anything nowCaolán McNamara5-78/+8
Change-Id: I5b8865218d3cd8492d148af8d69389c256bbb27f
2016-10-10dropping document into these toolbars does nothing alreadyCaolán McNamara2-17/+2
so might as well drop that support here. Dropping into the main panel works (for master documents its quite sensible) Change-Id: Ic7a088d7ff7054430d55032158a186d610f10da1
2016-10-10check-elf-dynamic-objects: add libxml/libxslt to global whitelistMichael Stahl1-1/+1
Change-Id: Ida6495171f900edf4abe5f6ceba3a6dc2de7c2de
2016-10-10de-src another standalone PushButtonCaolán McNamara3-7/+7
Change-Id: I5e38e8877d70efd3b6413a14c0c121a8babb44f8
2016-10-10de-src standalong PushButtonCaolán McNamara3-7/+8
Change-Id: I6f062e04377fc74ec2fea3ea4390943b715e06d1
2016-10-10no numericfield, spinfield or spinbutton loaded from .src nowCaolán McNamara7-185/+0
Change-Id: I90e4390d1fadcbb18036861dc9b9d39fa8a73551