summaryrefslogtreecommitdiff
path: root/sfx2
AgeCommit message (Collapse)Author
2016-10-27make the AbstractDialog stuff extend from VclReferenceBaseNoel Grandin
Because some stuff wants to multiple-inherit from VclAbstractDialog and OutputDevice-subclasses, and we'd prefer to keep all the lifetime management through a single smart pointer class (VclPtr) The change in msgbox.cxx and window.cxx is to workaround a bug in VS2013 to do with virtual inheritance and delegating constructors. Change-Id: I178e8983b7d20a7d2790aa283be838dca5d14773 Reviewed-on: https://gerrit.libreoffice.org/29140 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-10-26normalize existing emacs/vim mode-lines in python filesMichael Stahl
Bunch of these were setting C++ or Make modes and icky tabs... Also, reportedly Emacs can figure out to enable python-mode automatically. Change-Id: I50072488fb92cb4d27aa3f74f717a28ae3967543
2016-10-26assemble SfxStyleFamilies from more generic resource componentsCaolán McNamara
Change-Id: I25aa0d8bca1f16f5fc27d3b299709479a1635ea3
2016-10-25split the creation of SfxStyleFamilies into a methodCaolán McNamara
Change-Id: I2590180fc30d75c89e758c72246a8294b5c4b9a2
2016-10-25m_pStyleFamiliesId is now unusedCaolán McNamara
Change-Id: Ibfd9810e8cfde596aee3189a3498d628d73fdc8b
2016-10-25we don't need to update the style icons anymoreCaolán McNamara
once this was a dialog but now its a panel and the case of a the document under the dialog changing type isn't an issue anymore Change-Id: I4680cf238675161c533852d843508a19c74a9073
2016-10-25separate two different uses of DLG_STYLE_DESIGNERCaolán McNamara
Change-Id: I1edbbb4e2f1326b189a80815b1c80bd0f9b52258
2016-10-25drop HID_CTRL_CUSTOMPROPS_YES_NO that does nowhereCaolán McNamara
Change-Id: Ibf64359936ea224dc7342585b99691f88630c6ca
2016-10-25drop HID_CTRL_CUSTOMPROPS_YES_NO that does nowhereCaolán McNamara
Change-Id: I1a82e91539947939667e0c458f964e7e13c50514
2016-10-24tdf#75280 Clean up usage of sal_uIntPtr.Hieronymous
doctempl.hxx doesn't contain any sal_uIntPtr instances. GetCount and GetRegionCount functions return sal_uInt16 hence sal_uIntPtr instances have been converted to sal_uInt16. Change-Id: Ifb48bf861c8ab5f262a535a7d34794eafd75fd6d Reviewed-on: https://gerrit.libreoffice.org/29904 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-10-24loplugin:countusersofdefaultparams in sd..slideshowNoel Grandin
Change-Id: Iaf10935d8f231676333018a5954d97defe35acf6
2016-10-23fix short type for .uno: and slot: URLsJochen Nitschke
introduced in initial commit: 00885a1af84ae2f6697000702b439ca789f79627 INTEGRATION: CWS layoutmanager (1.27.18); FILE MERGED Change-Id: I7d59316dcaaca2986927bcaebe8029cf82e9eceb Reviewed-on: https://gerrit.libreoffice.org/30178 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-10-21loplugin:expandablemethodds in include/sfx2Noel Grandin
Change-Id: I1ec3ae33a71d154276e213a68c735476daa606b9
2016-10-20xmlsecurity: add initial PDF sign UIMiklos Vajna
An unsigned PDF can be signed now, but the stream still gets truncated on closing the dialog. Change-Id: I12dd50bf577cd23b3355f6c6d03e71a9c0dbcfab
2016-10-20loplugin:expandablemethodds in sfx2..starmathNoel Grandin
Change-Id: Ia4c411f5a9a68c2f344188ce6b6bc1815c89f993 Reviewed-on: https://gerrit.libreoffice.org/30055 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
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