summaryrefslogtreecommitdiff
path: root/odk/Library_unowinreg.mk
blob: d2a20f88a64fef088ca4b3e42e854c15a612e23b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#

$(eval $(call gb_Library_Library,unowinreg))

ifeq ($(COM),GCC)
$(eval $(call gb_Library_add_libs,unowinreg,\
	-lstdc++ \
	-lgcc_eh \
	-lgcc \
	-lmingw32 \
	-lmoldname \
	-lmsvcrt \
))
else
$(eval $(call gb_Library_add_ldflags,unowinreg,\
	/DEF:$(SRCDIR)/odk/source/unowinreg/win/unowinreg.def \
	/MANIFEST:NO \
))
endif

$(eval $(call gb_Library_add_exception_objects,unowinreg,\
   odk/source/unowinreg/win/unowinreg \
))

$(eval $(call gb_Library_use_system_win32_libs,unowinreg,\
	kernel32 \
	advapi32 \
))

# vim: set noet sw=4 ts=4:
) so, add an additional flag to indicate existence of use of macros in a document c) for odf import, set it when a script:event-listener tag is encountered d) for html import when registerScriptEvents or SwFormatINetFormat::SetMacroTable is called e) for doc import when Read_F_Macro or StoreMacroCmds is called as well for good measure f) for xls import when registerScriptEvent or ScMacroInfo::SetMacro is called g) for oox import when VbaProject::attachMacros is called Change-Id: Ic1203d8ec7dfc217aa217135033ae9db2888e19b Reviewed-on: https://gerrit.libreoffice.org/77131 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> 2018-12-05use unique_ptr in SfxObjectShell_ImplNoel Grandin Change-Id: I3f3b0514bdb87f59d9c5f34d2d36dc63e8b1e33d Reviewed-on: https://gerrit.libreoffice.org/64527 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> 2018-12-04remove unused enum SfxObjectShellFlagsNoel Grandin Change-Id: I594e7beb3fb320b70ffe4dd98fee46c833f443dc Reviewed-on: https://gerrit.libreoffice.org/64453 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> 2018-10-09loplugin:constfields in sfx2Noel Grandin and we find that bSplitable in SfxDockingWindow is always true, ever since commit 4bd28a2fee0d36c67911019eeb7d934838e27cad Date: Tue Jan 29 15:27:40 2008 +0000 INTEGRATION: CWS fwk82_SRC680 (1.45.138); FILE MERGED so we can remove all of the non-splittable code there. ` Change-Id: Ia7fe607ed02d1a7c69a92bab57e220b19f0e6e87 Reviewed-on: https://gerrit.libreoffice.org/61550 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> 2018-05-18Refactor SfxObjectShell sign methodsSamuel Mehrbrodt for signature line signing Change-Id: Iac4f3a248af53bdbf159e6e8d656e1dcbc3aacbf Reviewed-on: https://gerrit.libreoffice.org/54473 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> 2017-10-23loplugin:includeform: sfx2Stephan Bergmann Change-Id: I5e9a7a2580a710880023288f5ed3584708c4769d 2017-07-21loplugin:unusedfields in sfx2Noel Grandin Change-Id: Id6666065bf3b27388d87aa2605229e83f1aed79a Reviewed-on: https://gerrit.libreoffice.org/40255 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> 2017-06-21loplugin:unusedfields in sfx2 part2Noel Grandin Change-Id: I227b643641250d47ac6b2218f57ddb231765960e Reviewed-on: https://gerrit.libreoffice.org/39038 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> 2017-06-21convert ErrCode to strong typedefNoel Grandin would have preferred to re-use o3tl::strong_int, of which this is a modified copy, but there are lots of convenience accessors which are nice to define on the class. Change-Id: I301b807aaf02fbced3bf75de1e1692cde6c0340a Reviewed-on: https://gerrit.libreoffice.org/38497 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> 2017-06-12cleanup unused css/frame/* includesJochen Nitschke Change-Id: I173a29fd1ee889127369d2bc2fce8e010b89ca65 Reviewed-on: https://gerrit.libreoffice.org/38633 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> 2017-04-12drop document_io_logring.txt and use global loggingCaolán McNamara Change-Id: Ibda0ce925bc76355e636022c955077ac89e66cce Reviewed-on: https://gerrit.libreoffice.org/36434 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> 2017-03-31tdf#82580 tools: rename Rectangle to tools::RectangleMiklos Vajna Mostly generated using make check COMPILER_EXTERNAL_TOOL=1 CCACHE_PREFIX=clang-rename-wrapper RENAME_ARGS="-qualified-name=Rectangle -new-name=tools::Rectangle" Except some modules have their own foo::tools namespace, so there have to use ::tools::Rectangle. This commit just moves the class from the global namespace, it does not update pre/postwin.h yet. Change-Id: I42b2de3c6f769fcf28cfe086f98eb31e42a305f2 Reviewed-on: https://gerrit.libreoffice.org/35923 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org> 2017-03-29loplugin:singlevalfieldsNoel Grandin Change-Id: I7f05903aaab9b0b274358243d680d0c30694ae61 Reviewed-on: https://gerrit.libreoffice.org/35804 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> 2017-01-31tdf#105566 Show InfoBar when signature is invalidSamuel Mehrbrodt gpg4libre Change-Id: I272ac155889e25b9af91ff723a014588a65b045a Reviewed-on: https://gerrit.libreoffice.org/33737 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> 2017-01-31sfx2: fix comment copypastaMichael Stahl Change-Id: Iebb5f51afe6f32883a535656d8b9e1f0ec678050 2016-12-20convert SFX_EVENT constants to scoped enumNoel Grandin SFX_EVENT_CLOSEAPP and SFX_EVENT_TOGGLEFULLSCREENMODE are never generated, so remove them and delete the code that receives them Change-Id: I2d003ba73fff0b02120ba29ff58e1d2399dedf00 Reviewed-on: https://gerrit.libreoffice.org/32168 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk> 2016-09-20loplugin:unusedfieldsNoel Grandin Change-Id: I852e98b16fdcb88b04e39d11e3101d502c918c24 Reviewed-on: https://gerrit.libreoffice.org/29078 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk> 2016-09-15loplugin:singlevalfields in sc..vclNoel Grandin Change-Id: I68752a3daf5ddd8581c07759b8be2c1dabbb9258 2016-06-24loplugin:singlevalfields in sfx2Noel Grandin Change-Id: Ice6d47ccbc3ebf8971887b8b64c0d6860c76eec8 Reviewed-on: https://gerrit.libreoffice.org/26602 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com> 2016-02-04sfx2: fix locking after signing OOXML documentsMiklos Vajna File -> digital signatures looks like a way to view and modify digital signatures, internally it's a sign action, that at the end may not modify signatures after all. For this to work, SfxObjectShell::ImplSign() calls GetMedium()->CloseAndRelease() to release the document's lock file, invokes the signing dialog, then DoSaveCompleted() creates the lockfile again. When signing OOXML documents, the lock file is not re-created, as DoSaveCompleted() only creates the lockfile in case IsPackageStorageFormat_Impl() (== own format) is true. Fix this by adding a mode that creates the lock file, even in case of a foreign format. With this, closing the digital signatures dialog for OOXML documents no longer results in a confusing "Document in Use" dialog after closing the signatures dialog. Change-Id: Ie9e56b88768825e61765669b27a89082cdc1981f 2016-01-13loplugin:unusedmethods unused return value in include/sfx2Noel Grandin Change-Id: Id4017bdfe18f8224d28a9f787865c7a880aeeed8 2015-11-26vcl: reduce pointless timer / scheduler / idle includes.Michael Meeks Change-Id: I8bf7f8d6ba1a54f2969e055956fadc52ff6c8673 2015-11-25loplugin:unusedfields variousNoel Grandin Change-Id: I59d9f7f73677358b4ae57efda965d43718bdf0d5 2015-11-23loplugin:unusedfields in sfx2/Noel Grandin Change-Id: Id0d81901501683001107677c5573450c857ad094 2015-11-10tdf#87995 - settings : missing a checkbox in order to avoid thumbnail savingbureken Change-Id: I9822c930bb7e133306a3e90fd80f29648877d5f9 Reviewed-on: https://gerrit.libreoffice.org/19596 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> 2015-10-29com::sun::star->css in sfx2Noel Grandin Change-Id: I20d9b45e4b28c2a4a511774d3154aceb0471d197 Reviewed-on: https://gerrit.libreoffice.org/19643 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com> 2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274 2015-07-16loplugin:unusedmethods sfx2Noel Grandin Change-Id: I98c455d89f76fbcacf74929a4e8775b4da697f62 Reviewed-on: https://gerrit.libreoffice.org/17069 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com> 2015-04-15convert SIGNATURESTATE_ constants to scoped enumNoel Grandin Change-Id: I715e39599464a199a8b78ec274bfe47b90fc4bb7 Reviewed-on: https://gerrit.libreoffice.org/15301 Tested-by: Noel Grandin <noelgrandin@gmail.com> Reviewed-by: Noel Grandin <noelgrandin@gmail.com> 2015-04-13convert SFX_LOADED_ to scoped enumNoel Grandin Change-Id: I065a07e1bb5f5a7f85429c919830b6b9605206ea 2014-08-22No need to own SfxBasicManagerHolder by pointer in SfxObjectShell_ImplStephan Bergmann Change-Id: I55da464ef1d3381fb51949a349f844dbd7da49eb 2014-07-14inline tools::SvRefBaseRef typedefNoel Grandin ..it is only used in two places Change-Id: If333936b26592ed44d3525f2eb3c21aafde7dddc 2014-04-07sfx2: sal_Bool->boolNoel Grandin Change-Id: I48ae51781f64e60deb0c03352087100729c8c3cd 2014-03-28Remove remaining DBG_NAME* usesStephan Bergmann ...that had been used for DBG_CTOR, DBG_PROF, etc. Change-Id: I8eac38e24b7110511feb7813aaf5a20ab82bdbe0 2014-03-27Second batch of adding SAL_OVERRIDE to overriding function declarationsStephan Bergmann ...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: Ie656f9d653fc716f72ac175925272696d509038f 2014-03-14sfx2: sal_Bool->boolNoel Grandin Change-Id: I56a50ee4a169c8f82c830ebf498f7ead1335f0b5 2014-02-26Remove visual noise from sfx2Alexander Wilms Change-Id: I0f556a386ce64d154b695c2a35f808c94b9f0b7a Reviewed-on: https://gerrit.libreoffice.org/8310 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> 2013-11-11sfx2: include <> for external includesNorbert Thiebaud Change-Id: I63de4bc034020d19abd20f301194482da9a604f4 2013-10-28fixincludeguards.sh: sfx2Thomas Arnhold Change-Id: I135d03fa8926e0fdba977005e97452045861b2a4 2013-10-22Remove unused SfxObjectShell_Impl::bIsTmpStephan Bergmann Change-Id: I4040d4758a3753c2177aa2a7d3dba6c85b089b25 2013-08-29convert sfx2/source/inc/objshimp.hxx from String to OUStringNoel Grandin Change-Id: I9f83effda2be8e7edbdd7fbb32245ecaf90cd1d2 2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09