summaryrefslogtreecommitdiff
path: root/sfx2
AgeCommit message (Collapse)Author
2016-10-19tdf#103274 (10): Add default XCommandEnvironment referenceGiuseppe Castagno
Change-Id: Ic91553a513656b412bccd73a483ca7d7f131b657 Reviewed-on: https://gerrit.libreoffice.org/30047 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Giuseppe Castagno <giuseppe.castagno@acca-esse.eu>
2016-10-19Revert "CppunitTest_desktop_lib: add ModifiedStatus callback testcase"Miklos Vajna
This reverts commit cdf08b3aa74bb32ea18b583a9c0c41b91d7819ac. It breaks 'make -sr CppunitTest_desktop_lib CPPUNIT_TEST_NAME="DesktopLOKTest::testPaintPartTile DesktopLOKTest::testWriterCommentInsertCursor" VALGRIND=memcheck' (it is terminated by SIGSEGV), and also it's the reason why sometimes the lo_ubsan buildbot fails, see e.g. <http://ci.libreoffice.org/job/lo_ubsan/329/console>. This has to be re-introduced once I find a way to process all binding updates at once without side-effects. Conflicts: desktop/qa/desktop_lib/test_desktop_lib.cxx sfx2/source/control/bindings.cxx Change-Id: Id6c49b9b31095ef1a1a8c1cd92cbae5deb316500
2016-10-19tdf#96015 (part) link to Doc'tation in Help menuOlivier Hallot
Add the entry "Documentation" to the modules Help menu. on click, the system browser opens http://hub.libreoffice.org/documentation/?&LOlang=<locale> <locale> is obtained from .getLocale() Patch2: create a member with try/catch for external URLs Patch3 Use sfx2::openUriExternally Revert to User Guides.. in UI. Change-Id: I8332253c31bd3be330cdd794f9e056b632b38037 Patch4: remove 1st '&' in URLs Reviewed-on: https://gerrit.libreoffice.org/28817 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-10-18tdf#103274 (8): Add default XCommandEnvironment referenceGiuseppe Castagno
Change-Id: I583ed0714c0bf543c44c098613e1aab9d3b31452 Reviewed-on: https://gerrit.libreoffice.org/30007 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Giuseppe Castagno <giuseppe.castagno@acca-esse.eu>
2016-10-18tdf#103274 (7): Add default XCommandEnvironment referenceGiuseppe Castagno
Change-Id: I734f673c54956daf7070bf3e8faeac5102bac01f Reviewed-on: https://gerrit.libreoffice.org/29992 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Giuseppe Castagno <giuseppe.castagno@acca-esse.eu>
2016-10-18tdf#103274 (6): Add default XCommandEnvironment referenceGiuseppe Castagno
Change-Id: I71d83f1094800c3156f9159b6628e4d53d723b95 Reviewed-on: https://gerrit.libreoffice.org/29991 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Giuseppe Castagno <giuseppe.castagno@acca-esse.eu>
2016-10-18tdf#89307: Removed T* SvRef::opeartor &()Jacek Fraczek
Usage has been replaced with SvRef::get() or removed where applicable. Change-Id: I49f108910b668466134c40940b53fc3ab2acd816 Reviewed-on: https://gerrit.libreoffice.org/29780 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-10-18Lock SolarMutex in SfxAppDispatchProvider::queryDispatchStephan Bergmann
...which can be called remotely via UNO, as happens during JunitTest_sfx2_unoapi Change-Id: I9dbf83f9985124ccb84f33cdd30ec1225a4f183d
2016-10-18Resolves: tdf#101590 cannot interact with filepicker from import categoryCaolán McNamara
the post-execute category dialog is picked as the toplevel parent, and gtk3 vclplug will grab events to that hierarchy, but can't interact with them in this state. Just dispose the category dialog so its not a candidate for the file dialog parent. Change-Id: I063fc6d687d556db229e2e200bb280a6cd3425f5
2016-10-18tdf#102239 START CENTER: Cant activate template categories from split buttonAkshay Deep
Change-Id: I6a426c3449dac1d36aa63c22108ac6105fafea12 Reviewed-on: https://gerrit.libreoffice.org/29294 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-10-18tdf#103274 (5): Add default XCommandEnvironment referenceGiuseppe Castagno
Change-Id: I77e89d1250499687c6fadc4408c1bed409f8b167 Reviewed-on: https://gerrit.libreoffice.org/29982 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Giuseppe Castagno <giuseppe.castagno@acca-esse.eu>
2016-10-18tdf#103274 (4): Add default XCommandEnvironment referenceGiuseppe Castagno
Change-Id: I67ab0f37df9e8d239374d9a759f7c082b824c722 Reviewed-on: https://gerrit.libreoffice.org/29981 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Giuseppe Castagno <giuseppe.castagno@acca-esse.eu>
2016-10-18loplugin:unusedmethodsNoel Grandin
Change-Id: Icf773925c37dde8b7404edac9864e7b10fe113b4 Reviewed-on: https://gerrit.libreoffice.org/29968 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-10-17let LanguageTag::convertToLocale() decide when to create a temporaryEike Rathke
Change-Id: Id4e718eb23d4acf2ee7bddc4da1cd4e8e811be78
2016-10-17replace <<= with assign for <<= with rhs AnyJochen Nitschke
makeAny and Any ctor return an Any Change-Id: Iaa361bc315d785f80153acf1009bf47d109728ec Reviewed-on: https://gerrit.libreoffice.org/29914 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
2016-10-17tdf#103274: Add helper for a default XCommandEnvironment reference.Giuseppe Castagno
This helper should be used where the empty XCommandEnvironment e.g. something like: css::uno::Reference< css::ucb::XCommandEnvironment >() is currently used. See comment in the committed code (include/unotools/ucbhelper.hxx) for details. A case use is presented in this commit, please see: sfx2/source/doc/docfile.cxx for details. Change-Id: Ieb97c0ed61f31ef8df532c8be0e7ff1035327915 Reviewed-on: https://gerrit.libreoffice.org/29927 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Giuseppe Castagno <giuseppe.castagno@acca-esse.eu>
2016-10-17Don't swallow exceptions in DBG_UTIL modeStephan Bergmann
Besides, the original "on Windows..." comment from 600163882703c64103784ff66c4bedfbe83809eb "INTEGRATION: CWS fwkfinal1: #i43920#: catch hidden exceptions" looks bogus, anyway. Change-Id: I1a31b63ca5aa818db3730b2006d2381b749e4dd3
2016-10-17I made a grammar error hereAdolfo Jayme Barrientos
Change-Id: I202ed2cf4b60c8534098143bbbe26670760d7e5f
2016-10-17tdf#100352 Provide French classification fileLaurent Balland-Poirier
Change-Id: I1dea9c22054dde4a52241d544fb02c0ad84b0872 Reviewed-on: https://gerrit.libreoffice.org/29915 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2016-10-16clang-cl loplugin: sfx2Stephan Bergmann
Change-Id: Ided50d3573a40d50bb980ccba78de7129c42cffd Reviewed-on: https://gerrit.libreoffice.org/29852 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-10-14tdf#92817: re-implement empty lockfile fixMike Kaganski
As stated in original commit 8d411a4a1ef6844c00bc714f8b144d3729e4f4e8, An empty lock file doesn't have OOOUSERNAME and SYSUSERNAME. Change-Id: I17fc6d3375f411749fcbbe80535beb8ba53a0e71 Reviewed-on: https://gerrit.libreoffice.org/29834 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2016-10-14loplugin:mergeclasses merge SfxWorkWindow with SfxFrameWorkWin_ImplNoel Grandin
Change-Id: If6cab49904fdb044d85a4fd29f79faa7b52c9959
2016-10-14convert LOCK_UI constants to scoped enumNoel Grandin
Change-Id: Ie8a8702124ba86feda17c4371e66c3997ba3557c
2016-10-13sfx2: initial PDF document signatures dialogMiklos Vajna
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-13xmlsecurity: add initial PDFSignatureHelperMiklos Vajna
This splits most of the PDF signature code out of the pdfverify executable, and puts it into the xmlsecurity library instead. The PDFSignatureHelper now attempts to verify PDF signatures, and code in sdext / sfx2 also calls it (even if PDF is not a ZIP-based format). Change-Id: I7b8b3ac9c976e4ea4f3796b1cda07c8a2c97bd02 Reviewed-on: https://gerrit.libreoffice.org/29751 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-10-13drop unused SID_UNKNOWN resourceCaolán McNamara
Change-Id: Ib12078ec72a61b44339799053cc43a53ba82bba3
2016-10-13loplugin:unreffunStephan Bergmann
Change-Id: I5f19ba3aa94bbe6b69026273208d6b53dd846211
2016-10-13move this monstrosity to the last place its usedCaolán McNamara
Change-Id: I4691f20143406249afc8da1a6dfa901224f4a62d
2016-10-13Use FeatureStateEvent directly for status updatesMaxim Monastirsky
... for SfxPopupWindow and SvxColorToolBoxControl (the latter shares BorderColorStatus with SvxColorWindow_Impl, so it was easier to convert it too). Change-Id: Ifcb23fe5809e467322d1cf4d790420886ac79b47
2016-10-12turn this into a more natural StringArrayCaolán McNamara
Change-Id: Iaf3773608c30dc291cf65a4bc8c282b9f15ee04b
2016-10-12de-src CustomPropertiesTypeBox widgetryCaolán McNamara
Change-Id: If98c76ec38708b73158456f4a2c93b5afbe825cd
2016-10-12reuse CustomPropertiesTypeBox for SFX_LB_PROPERTY_TYPECaolán McNamara
Change-Id: I83195b6927bf11c6695b965b72347f7d51b844a1
2016-10-12rearrange CustomPropertiesTypeBoxCaolán McNamara
Change-Id: Ib30389f7ddf0a85d03b519b586bacf45b3c8adc7
2016-10-12Fix writing the flag fileSamuel Mehrbrodt
Change-Id: Id2eef64b52ac0f7c48dc090ed3ce41f5cde6b775
2016-10-12safemode: Add flag to indicate safemodeSamuel Mehrbrodt
Change-Id: Ifdbb291715b033eaace159297eac5348530e9f36
2016-10-12sfx2: clean up redundant virtual keywords in classificationhelperMiklos Vajna
Change-Id: If6da4e79c17dc27a13e043a3f23cdbac0ae7f7d0
2016-10-11tdf#100352 Provide Catalan classification fileAdolfo Jayme Barrientos
Change-Id: If0bccf16fb83deaf5b13ab5f45d1aaec9ed48bda
2016-10-11loplugin:unnecessaryoverride in sfx2Noel Grandin
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-11loplugin:constantfunctionNoel Grandin
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-10safemode: Add uno command and menu entrySamuel Mehrbrodt
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-10de-src another standalone PushButtonCaolán McNamara
Change-Id: I5e38e8877d70efd3b6413a14c0c121a8babb44f8
2016-10-10de-src standalong PushButtonCaolán McNamara
Change-Id: I6f062e04377fc74ec2fea3ea4390943b715e06d1
2016-10-10tdf#89307: Removed SvRef::operator T*()Jacek Fraczek
Conditional statements are using SvRef::Is() method. Changed static_cast<T*>(svRef<T>) occurances to svRef.get(). Added operator == and != to SvRef. SbxObject::Execute is using SbxVariableRef internally. SbxObject::FindQualified is using SbxVariableRef internally. Change-Id: I45b553e35d8fca9bf71163e6eefc60802a066395 Reviewed-on: https://gerrit.libreoffice.org/29621 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-10-09de-src solo ComboBoxCaolán McNamara
Change-Id: Ie3f687f203c66f93114f5b2421af924ae4c2f76a
2016-10-08stray unused pushbutton and fixedtext resourcesCaolán McNamara
Change-Id: Ia610c28e93e853f17e80ffb5203928474113c300
2016-10-08de-src last two RadioButtonsCaolán McNamara
Change-Id: I8e6f7ec86a17b2ee87a62a5fbe235047413ec403
2016-10-07de-src RID_HELP_ONSTARTUP_BOX checkboxCaolán McNamara
Change-Id: I30ff54c55078333526ad34256f1c81c62fca920c
2016-10-07HID_HELP_ONSTARTUP_BOX goes nowhere in helpCaolán McNamara
Change-Id: I9a8556fcda0bd39107491dd178b816e4421f160c
2016-10-07tdf#102776 : switching the menubar in all windowsSzymon Kłos
Change-Id: I74804605ec9dd15d1e4dbea15f09709dbf9c8770 Reviewed-on: https://gerrit.libreoffice.org/29580 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Szymon Kłos <eszkadev@gmail.com>
2016-10-07SfxViewFrame::GetParentViewFrame_Impl always returns nullptrStephan Bergmann
...ever since 4d61332a3cb172cdfe29f64efb325f6ef20c573c "[CWS autorecovery] removed (now) unused methods in Sfx(Top)Frame" Change-Id: I3a1bc00d8a11337211cdf7265ad8e5e7d5363600