summaryrefslogtreecommitdiff
path: root/shell/inc
AgeCommit message (Collapse)AuthorFilesLines
2017-04-11tdf#103058: allow optional registration for MS ProgIDsMike Kaganski3-8/+21
To allow in-place replacement of OWSSUPP.dll, we need to be able to handle the same ProgIDs that it handles, namely: SharePoint.OpenDocuments and its versions. This allows to use the SharePoint integration capabilities of LO without the need to reconfigure SharePoint server's DOCICON.xml (the system would start the component with same name as MS Office uses). But this cannot be the default mode, since if MS Office is installed on the same system, we would hijack the registration, that could be undesirable. So, this commit adds an option to use regsvr32 [/u] /i:Substitute_OWSSUPP path o\spsupp.dll to also [un]register SharePoint.OpenDocuments in addition to normal LOSPSupport.OpenDocuments. Reviewed-on: https://gerrit.libreoffice.org/36389 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> (Cherry-picked from commit 88829fd914105a0837ee41d3f00f9178228c19cf) Change-Id: Icc284f9aa8f97ecf04594dd55b99bc1e3d20740d Reviewed-on: https://gerrit.libreoffice.org/36411 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
2017-03-29tdf#103058: Implement OpenDocuments ActiveX controlMike Kaganski5-0/+354
Change-Id: I97489090476cd884a122a4b36d3ac62ca86fd886 Reviewed-on: https://gerrit.libreoffice.org/29608 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tor Lillqvist <tml@collabora.com>
2016-10-15clang-cl loplugin: shellStephan Bergmann9-78/+71
Change-Id: I98d2e5154270b795cdd11653ecfff2abd8dda294 Reviewed-on: https://gerrit.libreoffice.org/29851 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2016-09-09loplugin:constantparam in sfx2Noel Grandin1-1/+1
Change-Id: If5d401001abb7bf3fc642d47f537b57836e6d9c5 Reviewed-on: https://gerrit.libreoffice.org/28772 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-08-25new loplugin: countusersofdefaultparamsNoel Grandin1-1/+1
Change-Id: I79e2c690f3e664c14af12cf763dd5a8ac20d6b04 Reviewed-on: https://gerrit.libreoffice.org/28353 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-06-22Work towards tdf#72606 EasyHack _tstring/TCHAR eliminationskswales2-8/+8
shell module largely already compiled UNICODE: A/W clarity Verified by installing release build and trying property sheets etc. Change-Id: I4965cdadbce635d86da1996c3c1bbd37a981ffde Reviewed-on: https://gerrit.libreoffice.org/26556 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-04-19WIP tdf#89609 Ignore subsecond precision in iso8601Muhammet Kara1-1/+2
Explorer shell extension fails to convert date into locale specific string if it has sub-second precision. Change-Id: I11bd38fc2876aa1f8235dbfb8c7850ff22ac2a8b Reviewed-on: https://gerrit.libreoffice.org/24220 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-04-07Drop pointless "internal" directory level for already internal include filesTor Lillqvist21-15/+15
Change-Id: I1ece44616704483cd4d9d2b6204329414f82a98c
2016-03-31use SAL_N_ELEMENTS more widelyNoel Grandin1-2/+2
found using git grep -n 'sizeof.*/.*sizeof.*[0]' Change-Id: Icd4a6cc1ca8ec8ebd68e1701a02789c74cf0eb2a
2016-02-16use consistent #define checks for the Windows platformNoel Grandin1-4/+0
stage 1 of replacing usage of various checks for the windows platform with the compiler-defined '_WIN32' macro Change-Id: Iece73abdee530937e0737190b1aa97a46cd3075f Reviewed-on: https://gerrit.libreoffice.org/22390 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-02-09Remove excess newlinesChris Sherlock2-2/+0
A ridiculously fast way of doing this is: for i in $(pcregrep -l -M -r --include='.*[hc]xx$' \ --exclude-dir=workdir --exclude-dir=instdir '^ {3,}' .) do perl -0777 -i -pe 's/^ {3,}/ /gm' $i done Change-Id: Iebb93eccbee9e4fc5c4380474ba595858a27ac2c Reviewed-on: https://gerrit.libreoffice.org/22224 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-02-05Fix typosAndrea Gelmini1-1/+1
Change-Id: Ice72f8d9971e15dd6ef365e64cd567b8581a92d3 Reviewed-on: https://gerrit.libreoffice.org/21797 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2015-11-23loplugin:unusedfields in shell/Noel Grandin1-14/+2
Change-Id: I3a3f7144483cebaad6d64588ff0570f29ab24e27
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann1-1/+1
Change-Id: Ied61699170bd5d2c3878135b1a43b4dc1deff4d4
2015-10-12Replace "SAL_DELETED_FUNCTION" with "= delete" in LIBO_INTERNAL_ONLY codeStephan Bergmann1-2/+2
Change-Id: I328ac7a95ccc87732efae48b567a0556865928f3
2015-08-04shell,sfx2,sd: inline some use-once typedefsNoel Grandin1-7/+3
Change-Id: Ifde52b0d92163f99d399b4a9544a196defad1ba4
2015-07-23inline a handful of use-once #definesNoel Grandin1-2/+0
Change-Id: Id2654555c4042f8c0bdbd6bab6507e705f08326b
2015-07-06loplugin:unusedmethods sax,shell,stoc,basegfxNoel Grandin1-7/+0
Change-Id: I8f3871fd4e82b6850718b6f2a8757f3043d00017
2015-07-04Fix typosAndrea Gelmini1-1/+1
Change-Id: Ic6415423f46aaee7ba90239a617c318cf92ae222 Reviewed-on: https://gerrit.libreoffice.org/16711 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2015-07-03Revert "loplugin:unusedmethods sax,shell,stoc,basegfx"Michael Stahl1-0/+7
The basegfx changes appear to break Windows builds. This reverts commit 3b32c5898ff4e744d3f18b00421b433500426d74.
2015-07-03loplugin:unusedmethods sax,shell,stoc,basegfxNoel Grandin1-7/+0
Change-Id: Ia5d63f7153e4b02acc5e206739316264d6d1184e
2015-04-15remove unnecessary use of void in function declarationsNoel Grandin6-14/+14
ie. void f(void); becomes void f(); I used the following command to make the changes: git grep -lP '\(\s*void\s*\)' -- *.cxx \ | xargs perl -pi -w -e 's/(\w+)\s*\(\s*void\s*\)/$1\(\)/g;' and ran it for both .cxx and .hxx files. Change-Id: I314a1b56e9c14d10726e32841736b0ad5eef8ddd
2015-04-01Typo: wheter->whetherJulien Nabet1-1/+1
Change-Id: Iab5e7de499452924b4ac0d34cc604ee38395c813
2015-03-09V801: Decreased performanceCaolán McNamara1-1/+1
Change-Id: Id8cd45d2844c121f63684734ab3546c24a1aab32
2015-03-04V813: Decreased performanceCaolán McNamara2-5/+5
Change-Id: I8a7528366156b288dc422b09cff0d5a32cde3c91
2015-02-07loplugin:deletedspecialStephan Bergmann1-3/+3
Change-Id: I2a3d9deb9c71bb4dfe3ad9076d7202636001e0bb
2015-01-08brute-force find-and-remove of unused #define constants.Noel Grandin2-8/+0
Change-Id: I7223530ae37297a76654cd00cc1fedb56dbe3adb
2014-10-02shell (Windows): std::auto_ptr -> std::unique_ptrStephan Bergmann1-1/+1
Change-Id: I44c843c028c2dfcfcea9f6a2196440ca700fc3a8
2014-08-08match va_start() with va_end()Takeshi Abe1-0/+1
Change-Id: I5c3c2570d6311f49da95bb80c0f9850f89970235
2014-06-09loplugin: inlinesimplememberfunctionsNoel Grandin1-1/+1
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
2014-02-26Remove visual noise from shellAlexander Wilms11-59/+59
Change-Id: I1857fd7a9aeda38cb8ef2a0eda7783203b7658ed Reviewed-on: https://gerrit.libreoffice.org/8311 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-12-20Spelling correction: s/retrive/retrieve/Tor Lillqvist1-2/+2
Change-Id: I96845d358765e2d2507763a9b15a30388b32bc6b
2013-11-06include <stack>Takeshi Abe2-0/+2
Change-Id: Iedaacd9981a6ca186ab5e1f9715ed4fcf4ff0cb7
2013-11-06Drop unnecessary #includesTakeshi Abe1-1/+0
Change-Id: I9659279233067a8946a9e54be2f22439854a961e
2013-11-05fixincludeguards.sh: shellThomas Arnhold21-42/+42
Change-Id: I987c54b15c271fc80b7efd25933e13950f974423
2013-09-26typo fixes in commentsAndras Timar1-1/+1
Change-Id: Iaadec33715f8e0e0c6595c5e684606905274fdab
2013-07-16bnc#829017 fix issue with negative seeks in win32 shell extensionFridrich Štrba2-3/+3
Change-Id: Ia8072f78ad43281e406377922f50f8de53194f1b
2013-05-08zlib: remove ExternalPackage_zlibMichael Stahl1-4/+0
Change-Id: I5bce88b2044279a6563fd68c35f9c1ac824c8850
2013-04-23execute move of global headersBjoern Michaelsen3-305/+0
see https://gerrit.libreoffice.org/#/c/3367/ and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a
2013-03-20use #if instead of #ifdef for testing config_xxx.hxx macrosLuboš Luňák1-1/+1
http://lists.freedesktop.org/archives/libreoffice/2013-March/047769.html Change-Id: I81ed4500878ff3193e028410a1f0205e28d17fc3
2013-02-24Update TDE (Trinity Desktop Environment) integration filesTimothy Pearson2-77/+93
Change-Id: I48a5da0d01ad3532b9a77ff864f8f9e4d14e734c Reviewed-on: https://gerrit.libreoffice.org/2374 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
2013-02-22[Uu]sefull -> [Uu]sefulJulien Nabet1-1/+1
Change-Id: I5dad83789ff9b6815561208679a5e19821041e1f
2012-12-07use config_xxx.h files instead of -DHAVE_XXX on the command lineLuboš Luňák1-0/+2
As the latter does not quite scale, and also source files depending on the setting/feature did not rebuild in case of a change. There are intentionally more config_xxx.h files (so autoheader from autotools is not used), so that a setting change does not force automatically a rebuild of everything. Running configure does not touch those config_xxx.h files that have not changed. There's config/README with a howto. Change-Id: I6d6e82050ff8faf5364ed246848b8401aca3e0e5
2012-11-15Bin use of UTF-16 expat variant in the Windows shell extensionTor Lillqvist2-1/+7
Thus we can drop that variant completely. Change-Id: I11a8e40436921219bd6dd4afad4c7907ccb6b84c
2012-10-03re-base on ALv2 code. Includes:Michael Meeks10-236/+146
tkr41: #117828# office crash fixed . (null pointer) + add unit test Patch contributed by Tobias Krause http://svn.apache.org/viewvc?view=revision&revision=1172105 Do not add targets for junit tests when junit is disabled. Patch contributed by Andre Fischer http://svn.apache.org/viewvc?view=revision&revision=1241508 remove the OutDev::GetKernPair* stubs completely Patch contributed by Herbert Duerr http://svn.apache.org/viewvc?view=revision&revision=1179221 reverting un-necessary OS/2 conditionals.
2012-08-27fdo#53533: don't seek to bogus offsetFridrich Štrba1-1/+0
Change-Id: I27d056bdb8329dce302f2737bad5c5dc55791e74
2012-07-04removed unnecessary forward declarations of classTakeshi Abe1-1/+0
Change-Id: I0d6aad17c471b6edd584c668dc7ff054090c185c
2012-06-22re-base on ALv2 code.Michael Meeks1-23/+14
Change-Id: I8018d9b5fa01d1720c0392dc5fdc4a0656f25a35
2012-06-21re-base on ALv2 code.Michael Meeks11-242/+170
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-05-29WaE: C4099: type name first seen using struct now using classCaolán McNamara1-1/+1
Change-Id: I31772243349f1e3fcbea6b0d0aea9786b19d0fcc