summaryrefslogtreecommitdiffstats
path: root/odk
Commit message (Collapse)AuthorAgeFilesLines
* -Werror,-Wstrict-prototypes (clang-cl)Stephan Bergmann2016-12-161-2/+2
| | | | | | | (sal/inc/rtllifecycle.h only hits on Windows as that is the only platform that happens to actually include it in a C compilation unit, sal/osl/w32/dllentry.c) Change-Id: I2878b52daf713ea45eaa2968cc5d2686b86abfe6
* OSL_TRACE->SAL in avmedia..canvasNoel Grandin2016-12-131-2/+0
| | | | Change-Id: Id9077ea29e7028c12f40abfd4c57756c863e3cd9
* [API CHANGE] Remove salcpprt static libraryStephan Bergmann2016-12-123-20/+0
| | | | | | | | | | | | | | | | | | | | | | | | ...containing replacements for global operator new/delete (that can be linked into executables), but which is no longer used. The mail thread starting at <https://lists.freedesktop.org/archives/libreoffice/2012-March/028690.html> "operator new no longer routes through rtl_AllocMemory in libsalcpprt under gbuild link rules" has the details of how this was used on some platforms (but not on others) before the switch to gbuild, and has been "lost" ever since---but apparently a loss not mourned much over the years. For the SDK, c5f974287fd04bb529de145113133b9e35687702 "INTEGRATION: CWS jsc3: #i62434# copy libsalcpprt.a" added the library (under Linux) and 6db9c5af960f9787e33e4addc56bddbb1695a402 "INTEGRATION: CWS jsc3: #i62434# extend link options for executbales to link libsalcpprt.a, LINUX only" added its use to odk/settings/settings.mk, but fc0ca57f2cd649c6330171445a06b80e2143a0e9 "INTEGRATION: CWS jsc21" removed that use again (for no documented reason). So this is an incompatible change, but unlikely to actually affect any users of the SDK. Change-Id: Ia38b4c439f21fca3f5d9af7d1a34054e992054e9 Reviewed-on: https://gerrit.libreoffice.org/31810 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* Remove bogus comments about ~IPropertyArrayHelper not being virtualStephan Bergmann2016-10-271-3/+0
| | | | | | | ...which isn't true at least ever since b525a3115f54576017a576ff842dede5e2e3545d "initial import", but got copy/pasted all over the place Change-Id: I47d3d8a594aef3ac3736d7176ae964a118821014
* replace <<= with assign for <<= with rhs AnyJochen Nitschke2016-10-171-3/+3
| | | | | | | | | 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>
* clang-cl loplugin: odkStephan Bergmann2016-10-161-47/+43
| | | | | | | Change-Id: I8c524bd6522a04339d5e30d6e315347a48b6473f Reviewed-on: https://gerrit.libreoffice.org/29859 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* Fix typosAndrea Gelmini2016-10-011-1/+1
| | | | | | | Change-Id: Icfc61fcc5ace717bca4bea988243674afe31e6f8 Reviewed-on: https://gerrit.libreoffice.org/29435 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* tdf#95386 Remove remaining mentions of Help AgentGabor Kelemen2016-09-291-6/+6
| | | | | | | | | Replace it with the Help on Help command Change-Id: Ia454a2f6a123b4fb68fda1eae1e07e99ba81487f Reviewed-on: https://gerrit.libreoffice.org/29381 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
* [API CHANGE] Remove HAVE_GCC_VISIBILITY_FEATURE, always trueStephan Bergmann2016-09-201-4/+4
| | | | | | | | | | | | | | | | | * GCC documents -fvisibility at least as far back as the GCC 4.0 online documentation at <https://gcc.gnu.org/onlinedocs/gcc-4.0.4/gcc/Code-Gen-Options.html>. * For external code, odk/settings/settings.mk unconditionally set HAVE_GCC_VISIBILITY_FEATURE for all platforms other than Windows. Make this a fatal configure error for now. The check should be removed completely after LO 5.3 branch-off. Change-Id: I1de415b6ed1591e0a7b6640ece861b6f0ef74112 Reviewed-on: https://gerrit.libreoffice.org/29073 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
* Remove obsolete workaround for SUNPRO 5 compilerStephan Bergmann2016-09-201-11/+13
| | | | | | ...copy/pasted into three more places Change-Id: I6661244d0248af509cd867fc3e8c451551068a78
* tdf#91966: In SDK, set CPPU_ENV=mscx for 64-bit WindowsStephan Bergmann2016-09-121-2/+8
| | | | Change-Id: Ib93b2db40f43f98d8369cb91ca35692cc92f023b
* java extensions makefile - generifyZenaan Harkness2016-08-231-8/+1
| | | | | | | | | | | | | | | | See http://listarchives.libreoffice.org/global/users/msg49357.html odk/settings/std.mk currently adds each .class file separately, therefore having to be updated manually any time one class or anonymous class is added, removed etc.; all the .class files in com/sun/star/lib/loader/ are needed in the jar anyway, so use a generic makefile rule. Change-Id: I3819ab94e2c056220993971de44408e46a4559ed Reviewed-on: https://gerrit.libreoffice.org/28317 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com> Reviewed-by: jan iversen <jani@documentfoundation.org>
* Remove duplicate lineStephan Bergmann2016-08-171-1/+0
| | | | | | | | | ...that was added with both c4c10c17adfb139a208deeb1a47a9fcad924b9c3 "INTEGRATION: CWS sb87: #i88687# let Loader call new unoinfo instead of old juh.jar UnoInfo.getJars" and 9d53b3321881bd54526f08a9219c539c1430f2b5 "INTEGRATION: CWS jsc21" Change-Id: I355cbd933e3cff76416d02af8d6717326e0f3cb7
* Add missing Loader$1.classStephan Bergmann2016-08-171-0/+1
| | | | | | | ...that was introduced with abbf4777f29374025d576ef8daa3f6dcba02ddf5 "cid#1326844: DP: Use doPrivileged" Change-Id: I8cd4d947b258313d4d171c5888490d1a860ebee7
* (initial) sparc64 portJames Clarke2016-08-051-0/+5
| | | | Change-Id: I8ec9bb5415a9e6b9083ba89a7790872d67625de1
* Fix typo: completelly -> completelyTakeshi Abe2016-07-291-1/+1
| | | | Change-Id: I566c5554bf32ea18121c5a186365b97c91667c5d
* Fix typo relase_ChildImpl -> release_ChildImplStephan Bergmann2016-07-123-3/+3
| | | | Change-Id: I68faf8cfb8eb390e7970383b8a6596a9dd3f95f7
* Fix typosAndrea Gelmini2016-07-111-1/+1
| | | | | | | Change-Id: I81671c9a8e7e5b878e605ac0ed6c3d8ef5c5b689 Reviewed-on: https://gerrit.libreoffice.org/27088 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
* Fix some spelling errors in comments and stringsOtto Kekäläinen2016-07-045-5/+5
| | | | | | | Change-Id: Iecd6b5e13d6be14651f77d8e37f01117ba15a11e Reviewed-on: https://gerrit.libreoffice.org/26883 Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
* Mention removed options in javamaker and cppumakerSamuel Mehrbrodt2016-05-231-2/+8
| | | | | | | Change-Id: Ibba65c905a3a42053c4f844439a534b84a23089a Reviewed-on: https://gerrit.libreoffice.org/25150 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* odk: add missing modelinesMiklos Vajna2016-05-17233-3/+643
| | | | | | | Change-Id: I0bd2d761b5a75681c8c3e53664084dd3b8176107 Reviewed-on: https://gerrit.libreoffice.org/25051 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
* Related tdf#99272: Prevent bogus com.sun.star.uno.Type(Short[].class) etc.Stephan Bergmann2016-05-132-2/+2
| | | | | | | | | | | | | ...so that the JNI UNO bridge will not accidentally reinterpret a Short[] as a short[]. <https://wiki.openoffice.org/wiki/Uno/Java/Specifications/Type_Mapping> makes it clear that the former is not a valid Java representation for UNO type "sequence of short". Needed one fix in bogus test code. Also fixed the two bogus places in odk/examples mentioned in f53e427291321eabe8d060a737e750a94739f911 "Resolves: tdf#99272 new Short[] used instead of new short[]". Change-Id: I8321eb1294ec77b3a9bf73cafb6e7fe337157bb7
* Make SDK examples compile againStephan Bergmann2016-04-277-25/+46
| | | | | | | Revert (parts of) various commits that tried to use LIBO_INTERNAL_ONLY features in external odk/examples/ code. Change-Id: I275c3e8979c995430329bca61e51b2841503234f
* Fix typosAndrea Gelmini2016-04-211-2/+2
| | | | | | | | Change-Id: Ic4fbc8e7220eb4641f67ef4f85d4853608a369f4 Reviewed-on: https://gerrit.libreoffice.org/24257 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
* loplugin:salbool: Automatic rewrite of sal_False/TrueStephan Bergmann2016-04-201-1/+1
| | | | Change-Id: I810c4a1fe48f66833ef8f67796d910d59ba994f6
* clean-up: unused using declarations and includesJochen Nitschke2016-04-183-8/+0
| | | | | | | | | | | | | | Searched source for using declarations. Checked if those symbols reappear in the source file, even in comments or dead code but not in #include statements. If they don't reappear, remove the declaration. Remove includes whose symbol got removed. Change-Id: Ibb77163f63c1120070e9518e3dc0a78c6c59fab0 Reviewed-on: https://gerrit.libreoffice.org/24148 Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de> Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* cleanup: remove unused com/sun/star/uno includesJochen Nitschke2016-04-123-9/+0
| | | | | | | | | | | | Sequence.h(xx), Any.h(xx) and Type.h(xx) and remove unused using-declarations from these files. Add a few missing includes provided by them. Change-Id: I6b91b6d1fdf9d0496dd546c0aab9bdcc6831a5d4 Reviewed-on: https://gerrit.libreoffice.org/23805 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* fix setsdkenv_unix.sh to work with *-linux-gnu* (as on e.g. armhf)Rene Engelhard2016-04-041-1/+1
| | | | Change-Id: I74edcd7e54f8edd05a4518d08b1af1e21f3add93
* cleanup: remove unused Reference.h(xx) includesJochen Nitschke2016-04-021-2/+0
| | | | | | | | | and unused using-declarations from Reference.h Change-Id: I297a7ae6044fa329d245ecf08fd5c4cb930f5b19 Reviewed-on: https://gerrit.libreoffice.org/23735 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* odk: remove PREDICTABLE_URLS from doxygen configChris Sherlock2016-03-231-2/+0
| | | | Change-Id: Id3125481c6871176c2fd58dee3696482df88e7d3
* Revert "odk: Doxygen configuration upgraded"Chris Sherlock2016-03-181-315/+46
| | | | This reverts commit 6aa3e71bdd95b26cc807ae77ba6387fe80298001.
* odk: Doxygen configuration upgradedChris Sherlock2016-03-181-46/+315
| | | | Change-Id: I3abc336bad9bd06ed6569ca7a68c032df8e29877
* javadoc is HTML 4, not xhtml or html5, so <br/> is not allowedChristian Lohmaier2016-03-112-2/+2
| | | | Change-Id: I0da91e0f6cb7fca09cb5ae08f6d3ef13829653d9
* tdf#98407 PathSubstitution: Add substitution for $(username)Samuel Mehrbrodt2016-03-081-1/+1
| | | | | | | | | This allows to use the username as a placeholder in the config paths (Autotext, Gallery, etc) Change-Id: I76434e980cd8ec8785a5587d0bc5fdd67dc42de2 Reviewed-on: https://gerrit.libreoffice.org/22901 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
* cid#1326844: DP: Use doPrivilegedStephan Bergmann2016-02-241-2/+9
| | | | Change-Id: Id86b4afc0d00864e02c978e0b8d4aa1fde7263c3
* cid#1326523,1326524: Resource leak on an exceptional pathStephan Bergmann2016-02-241-11/+21
| | | | Change-Id: I34016e7124ff33700bb33801145f478ed34e9262
* coverity#1326434 Dereference null return valueCaolán McNamara2016-02-181-2/+2
| | | | Change-Id: I409a8f43ff2533a676546065405010a7fb877295
* use consistent #define checks for the Windows platformNoel Grandin2016-02-171-4/+4
| | | | | | | | | | | | stage 2 of replacing usage of various checks for the windows platform with the compiler-defined '_WIN32' macro In this stage we focus on replacing usage of the WIN macro Change-Id: Ie8a4a63198a6de96bd158ecd707dadafb9c8ea84 Reviewed-on: https://gerrit.libreoffice.org/22393 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* Remove excess newlinesChris Sherlock2016-02-0912-27/+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>
* Formatting changes across all modulesChris Sherlock2016-02-092-9/+9
| | | | | | | | | | | | | | + Removed comment cruft + Tab formatting in number of files + Some commented out code removed + Tab characters replaced with spaces + Newline cleanup in quite a few files + Tweak header guard #endifs Change-Id: I3208ff2f047da890edcc49b73389aca22442f5fc Reviewed-on: https://gerrit.libreoffice.org/22221 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
* Fix typosAndrea Gelmini2016-02-059-9/+9
| | | | | | | Change-Id: Ice72f8d9971e15dd6ef365e64cd567b8581a92d3 Reviewed-on: https://gerrit.libreoffice.org/21797 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
* [ABI CHANGE] In SDK, replace regcompare with unoidl-checkStephan Bergmann2016-02-042-2/+2
| | | | | | | | | | | | | ...as the latter was the more flexible replacement for the former for LO- internal use already. The only gotcha to watch out for is that unoidl-check cannot be used to check "naked" .urd files, but only ones where the content has been moved to /UCR via regmerge. Leave registry/CustomTarget_regcompare_test.mk around to verify that unoidl-check behaves the same as did regcompare on those old-format .urd/.rdb files. Change-Id: Ic13ede48535bf942126c810d88bac7e4081d984e
* Win build: Set default script engine for cscriptArmin Le Grand2016-01-231-1/+1
| | | | | | | | | | | | | | | | When Windows build is executed, cscript is used to execute JavaScript files. This uses cscript from the system to execute *.js files. cscript is not only capable of executing JavaScript, but also VBScript. Which engine to run is usually determined by the file extension, except when any installed program has added a registered association to the used file type. In that case, the execution of cscript and thus the build fails. This can be prevented by directly defining the script engine when calling cscript, using the /e:javascript parameter for *.js targets. Change-Id: If717b8ae5335acbe4f11c269d3c98a7247a135e6 Reviewed-on: https://gerrit.libreoffice.org/21717 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
* Fix typosAndrea Gelmini2016-01-1022-48/+48
| | | | | | | Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86 Reviewed-on: https://gerrit.libreoffice.org/21209 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
* Bump copyright year to 2016Adolfo Jayme Barrientos2016-01-086-6/+6
| | | | Change-Id: Ifbd88aa55d5aa32a7b8dc11d7ac0310d0ef1e5d1
* -Werror,-Wstring-plus-intStephan Bergmann2015-11-281-2/+2
| | | | Change-Id: Ie16ca73ac3d622d00583ef454780f9a01b32d436
* remove vestigial Adabas D references in tests etc.Michael Stahl2015-11-171-6/+5
| | | | | | Adabas D connector was removed in 8256eb0205fcddb79a67be13d6507b2653ff5e08 Change-Id: Ie142763ac32728c1596c196d919cbe84e6735c96
* use initialiser for Sequence<OUString>Noel Grandin2015-11-152-6/+3
| | | | | | | | | | | | using variations of: git grep -lP 'Sequence.*OUString.*\(\s*1\s*\)' | xargs perl -0777 -pi -e "s/Sequence<OUString> (\w+)\(1\)\; \s*OUString\* pArray.*; .*\[0\]\s*=\s*(\S+)\;/Sequence<OUString> \1 { \2 };/g" Change-Id: I03c64334ff30ee14dce0d17b67f5122a3893bbe3 Reviewed-on: https://gerrit.libreoffice.org/19971 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* use initialiser for Sequence<OUString>Noel Grandin2015-11-151-2/+1
| | | | | | | | | | | | | performed using: git grep -lP 'Sequence.*OUString.*\(1\)' | xargs perl -0777 -pi -e "s/Sequence<OUString> (\w+)\(1\); .*\[0\] = (\S+);/Sequence<OUString> \1 { \2 };/g" Change-Id: I4da56c80fa09bfc1e8f868794001e9921431e09f Reviewed-on: https://gerrit.libreoffice.org/19968 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* use initialiser syntax for Sequence<OUString>Noel Grandin2015-11-153-6/+3
| | | | | | | | | | | | | | replaced using the script: git grep -lP 'Sequence.*OUString.*\(1\)' | xargs perl -0777 -pi -e "s/Sequence< OUString > (\w+)\(1\); .*\[0\] = (\S+);/Sequence< OUString > \1 { \2 };/g" Change-Id: I23688a91562051a8eed11fc2a85599545c285c34 Reviewed-on: https://gerrit.libreoffice.org/19967 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>