summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* SafeModeDialog: Group optionsSamuel Mehrbrodt2017-01-193-91/+262
| | | | | | | Change-Id: Ife0903c90f17efb2a1c6681ece8dd9af257873cd Reviewed-on: https://gerrit.libreoffice.org/30453 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
* SafeModeDialog: Add link to user profileSamuel Mehrbrodt2017-01-195-3/+43
| | | | | | | Change-Id: I0096b3d7db51e28eb58c7209109c30b73b382478 Reviewed-on: https://gerrit.libreoffice.org/30448 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
* safemode: Add option to disable H/W accelerationSamuel Mehrbrodt2017-01-196-63/+172
| | | | | | | Change-Id: Ic6751717c14d317b5a4bc64c4fd1cf2b2f5efabf Reviewed-on: https://gerrit.libreoffice.org/30112 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
* profilesafe: Make sure no recursive saving happensArmin Le Grand2017-01-191-0/+4
| | | | | | | 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>
* profilesafe: Added more specific optionsArmin Le Grand2017-01-195-104/+267
| | | | | | | | | | | | | | | 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>
* Check for enable safe mode earlierSamuel Mehrbrodt2017-01-192-3/+5
| | | | Change-Id: I50e48472bb840c70e9a7c11dd84f33c64d6e1422
* Use Application::IsSafeModeEnabled()Samuel Mehrbrodt2017-01-191-5/+2
| | | | | | | Change-Id: I8ca8ceae76b6479a848a618ed141ce29a9c2d84e Reviewed-on: https://gerrit.libreoffice.org/30077 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
* profilesafe: added xml read/modify to restoreArmin Le Grand2017-01-191-191/+363
| | | | | | | | | | | | To be able to restore the last saved state of enabled/disabled extensions it is necessary in SafeMode to get and set that states without XExtensionManager, so the configuration xml files have to be accessed. Added this change Change-Id: I00fe5795598427e7c08be0d3dd54bef68d038e24 Reviewed-on: https://gerrit.libreoffice.org/30062 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Armin Le Grand <Armin.Le.Grand@cib.de>
* profilesafe: Deeper integration with SafeModeArmin Le Grand2017-01-194-108/+377
| | | | | | | | | | | | | | Added deeper integration by saving at SaveMode content of user dir completely to a user/SafeMode dir, including the whole stack of pack files. Repair happens in that safe directory, so that the user dir is resetted to default when re-started in SafeMode. All changes (including complete deletion) are played back to the user config at first restart with disabled SafeMode Change-Id: I5114c7d5d04582be62090707bc9b97afa55fc1f1 Reviewed-on: https://gerrit.libreoffice.org/30003 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Armin Le Grand <Armin.Le.Grand@cib.de>
* Fix: Quit in SafeModeDialog didn't work properlySamuel Mehrbrodt2017-01-192-11/+2
| | | | | | | Change-Id: I4c093ff02457040ee3752ef6ae4b63cbe5bb3863 Reviewed-on: https://gerrit.libreoffice.org/30006 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
* safemode: Add hints how to get help/report a bugSamuel Mehrbrodt2017-01-193-47/+156
| | | | | | | Change-Id: Ie65e9706017f5f56fa4c453aa3fdb117b201096e Reviewed-on: https://gerrit.libreoffice.org/29961 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
* Force disable OpenGL in Safe ModeSamuel Mehrbrodt2017-01-195-2/+28
| | | | | | | Change-Id: I3f19231d9a9168499d9f9ed970d4da1a69cca36a Reviewed-on: https://gerrit.libreoffice.org/29959 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
* profilesafe: Adapted to UIArmin Le Grand2017-01-198-190/+470
| | | | | | | | | | | | | Adaptions to UI, added more modes what the user can do in SafeMode. Adapted locations to write pack information and added places where to enter SafeMode. Implemented basically all five possible user choices Change-Id: Ic5324a8f77ab434309e840949c3803e65a75c538 Reviewed-on: https://gerrit.libreoffice.org/29785 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Armin Le Grand <Armin.Le.Grand@cib.de>
* profilesafe: extended to three modesArmin Le Grand2017-01-194-215/+626
| | | | | | | | | | | | | | | 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>
* Add windows start menu entry for Safe ModeSamuel Mehrbrodt2017-01-191-0/+23
| | | | | | | 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>
* SafeModeDialog: Remove flag also when exitingSamuel Mehrbrodt2017-01-191-0/+3
| | | | Change-Id: I5d1bf17ace062f07287d3b3427eaab144ea7c0f8
* profilesafe: Multiple adaptionsArmin Le Grand2017-01-194-193/+755
| | | | | | | | | | | | | | Added own directory in User config to where the saved content is written and taken from, adapted to also handle ExtensionConfiguration, changed point for creating backups of configuration to doShutdown, create no configuration when a restart is triggered (untested configuration) Change-Id: Id7a96195b765842c31cacf81cc08d2965a205281 Reviewed-on: https://gerrit.libreoffice.org/29729 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Armin Le Grand <Armin.Le.Grand@cib.de>
* CrashReportDialog: Enter safemode only after sending crash reportSamuel Mehrbrodt2017-01-192-9/+15
| | | | Change-Id: I2c78431f839050ca74b082f7c790d0c59fba6513
* SafeModeDialog: Enable restart button only for active selectionsSamuel Mehrbrodt2017-01-192-0/+16
| | | | Change-Id: Ic5c9d1a0001e8324aa007c3f7bc0e58e13afbbbf
* SafeModeDialog: Handle restart button eventSamuel Mehrbrodt2017-01-192-0/+13
| | | | Change-Id: I6b55f79ea153aaeb8b67879bdafb6774fd91455c
* SafeModeDialog: Handle quit button eventSamuel Mehrbrodt2017-01-192-1/+15
| | | | Change-Id: Id24e9cb526bc0143a663e8d39a5dda59f929f8bf
* Delete the safemode flag when closing the dialogSamuel Mehrbrodt2017-01-192-1/+10
| | | | Change-Id: I7131849cc417155b55425eba1494992f7d07fa0b
* Safemode: Add doxygen documentationSamuel Mehrbrodt2017-01-191-0/+20
| | | | Change-Id: Ic5a7f5dfcefe66c961c9b71e9dbdfefeb9f06825
* safemode: Add flag to indicate safemodeSamuel Mehrbrodt2017-01-197-3/+99
| | | | Change-Id: Ifdbb291715b033eaace159297eac5348530e9f36
* Remove double 'Safe Mode' menu entry from WriterSamuel Mehrbrodt2017-01-191-2/+0
| | | | | | | Change-Id: Ic3743ef2d4a9ed2a1e2032f989e0a065006616dd Reviewed-on: https://gerrit.libreoffice.org/29723 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
* profilesafe: Add values for SecureUserConfigArmin Le Grand2017-01-195-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
* profilesafe: Added zip deflate/inflateArmin Le Grand2017-01-192-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
* profilesafe: Collect copies in single *.pack fileArmin Le Grand2017-01-195-170/+668
| | | | | | | | | | | | | | | | | 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
* Simplify hasModifications checkStephan Bergmann2017-01-193-9/+3
| | | | Change-Id: Idcbd9a20ab13d0717f8728673e2c55e87aa92be4
* Backport relevant parts of 12f92e6d9ea8bf05bda6d3Katarina Behrens2017-01-192-17/+42
| | | | | | only ModificationTarget enum so far, let's where does it get us Change-Id: I8be4773de69490263949d92757747bc7568cfaea
* profilesafe: Enhancements to BackupFileHelperArmin Le Grand2017-01-195-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
* profilesafe: Initial creation of BackupFileHelperArmin Le Grand2017-01-194-0/+364
| | | | | | | | | 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
* Allow entering safemode after crashSamuel Mehrbrodt2017-01-193-0/+33
| | | | Change-Id: Id12d3c10714b7ce5722c2270e9e897db63bedcf2
* safemode: Add uno command and menu entrySamuel Mehrbrodt2017-01-1928-1/+193
| | | | | | | 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>
* Show dialog when starting in safe modeSamuel Mehrbrodt2017-01-188-0/+384
| | | | Change-Id: Ie4b5f5b7309735dfa844bbaba9cb2763a3de3dc1
* safemode: Add command line optionSamuel Mehrbrodt2017-01-183-0/+9
| | | | Change-Id: I081cc6b4d61be4541a3bdcf475385b5ce0f59cda
* tdf#100807 upload expat 2.2.0David Tardon2017-01-184-796/+2
| | | | | | | | | | | | Reviewed-on: https://gerrit.libreoffice.org/27037 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com> (cherry picked from commit 4c28c8051ac99bd2a39ad06af35d87c2ddf2677e) Reviewed-on: https://gerrit.libreoffice.org/27107 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> Change-Id: Ic059d9cc94d4a5cf016dcf63cf5a8bf9c05d8c8a
* curl: upgrade to version 7.51.0Michael Stahl2017-01-186-14/+23
| | | | | | | | | | | | | | | - fixes about a dozen CVEs - tweak curl-7.26.0_win-proxy.patch: there is a "checksrc" thing now in curl that fails the build with: warning: use of strtok is banned (BANNEDFUNC) so use strtok_s instead (which is MSVC's name for standard strtok_r) - use Makefile.vc12 instead of Makefile.vc10 - remove strequal.obj from Makefile.vc12, it does not actually exist Change-Id: Ie2da64980d88c72b0c902376ffc01abf97a7bc91 Reviewed-on: https://gerrit.libreoffice.org/30484 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
* curl 7.50.0 has CURL as typedef struct Curl_easyCaolán McNamara2017-01-181-1/+1
| | | | Change-Id: I22e5e2cdf78c38087579071c1b1570a8adc7d3c4
* bump curl to 7.50.0Caolán McNamara2017-01-185-52/+19
| | | | | | | | Change-Id: I368a18f70dfac51770afeb1f9e84ff83c19f0989 Reviewed-on: https://gerrit.libreoffice.org/27671 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Fix crash when logging.ini does not existSamuel Mehrbrodt2017-01-181-1/+4
| | | | Change-Id: I1ed82fdcce1eb15548e699ffbf93ae39664612b3
* This code wouldn't otherwise build on 5.0.7@LinuxKatarina Behrens2017-01-181-4/+5
| | | | Change-Id: I106c1a286ff5ad710a54cabc873cc5356f0a3123
* Optionally include timestamp in the logSamuel Mehrbrodt2017-01-181-2/+83
| | | | Change-Id: Ia9f162b704b6e16c84f259e9548e91b7bcd6a378
* sal: log windows trace output to debugger consoleThorsten Behrens2017-01-181-0/+7
| | | | Change-Id: Ic8fea70fd3b0b2d4881cd30e3616f5bbf7c0c533
* sal: don't reopen logfile on every log lineThorsten Behrens2017-01-181-5/+10
| | | | Change-Id: Iac34fc87a99e98ca5e41eb621d55bf356c371e97
* gbuild: populate local symstore on WindowsThorsten Behrens2017-01-182-0/+82
| | | | | | | | | | Script based on Lubos' tb master script from http://nabble.documentfoundation.org/Daily-Win32-debug-builds-td4067279.html Change-Id: I7f3247367a63078881f3cf51cf3e2cad59ad67b5 Reviewed-on: https://gerrit.libreoffice.org/33088 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
* fixup: bring window to top and restore window when minimizedThorsten Behrens2017-01-181-1/+1
| | | | | | We're before the enum class cleanups... Change-Id: Idcabdfb9d03258a3c4562c1e085929d4a853e411
* bridges: Log function names, not string pointersSamuel Mehrbrodt2017-01-182-4/+4
| | | | Change-Id: I5177dd4fbc8f1b638ceff14c5d88d19fff8076a3
* tdf#96011 Document is not focused when opening a second windowSamuel Mehrbrodt2017-01-181-1/+1
| | | | This reverts commit fa52e16b3fb1b8b051f8f64a52c126ba3cbf4d54.
* tdf#48300 bring window to top and restore window when minimized.Mark Hung2017-01-181-1/+1
| | | | | | | | | | | | | | While XWindow->ToTop() in Linux do the both for default ( None ), ToTopFlags::RestoreWhenMin has to be specified in Windows in order to restore the window, and ToTopFlags::ForegroundTask is necessary when ToTopFlags::RestoreWhenMin is specified in order to bring non-minimized window to the front. Change-Id: Ief4a825a18d874a0c35211c9022a4261da6bcf8f Reviewed-on: https://gerrit.libreoffice.org/23938 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>