Commit Graph
55 Commits
Author SHA1 Message Date
Michael Stahl 656c8754ab sal,external: remove checks for obsolete VCVER=120
Change-Id: I4d32b7c4b2e545a8d979bc516f64cfcbf66ecd07
2017-05-30 20:19:22 +02:00
David Ostrovsky de030cd7a2 gbuild: Remove MSVC 2013 legacy code
Uwinapi is discontinued.

Change-Id: I063b4d0d8fab2d60de168e960a63b8181158ac01
Reviewed-on: https://gerrit.libreoffice.org/23198
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
Tested-by: David Ostrovsky <david@ostrovsky.org>
2017-04-21 18:18:44 +02:00
Matúš Kukan 597d178c2b tdf#97283: Merge sal rtl tests to one makefile
Change-Id: I1b78276e08feef9b6f49e5abe002391c50a8d2cc
Reviewed-on: https://gerrit.libreoffice.org/32143
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Matúš Kukan <matus@libreoffice.org>
2016-12-23 11:18:41 +00:00
Matúš Kukan 8e743e4678 tdf#97283: Merge sal osl tests to one makefile
Leave sal_osl_security alone because
it does not use CPPUNIT_PLUGIN_IMPLEMENT.

Change-Id: Iced8bb80c3ae661d371c087d7178a373ffd802e0
Reviewed-on: https://gerrit.libreoffice.org/32142
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Matúš Kukan <matus@libreoffice.org>
2016-12-23 10:19:18 +00:00
Caolán McNamara 5c5a6c3668 bootstrap building with --disable-dynloading on standard linux
Change-Id: I5baf70f0053612cba8b74f54aff11ce25cdeb95a
Reviewed-on: https://gerrit.libreoffice.org/32202
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-12-20 09:31:43 +00:00
Caolán McNamara 002a83fca9 this textenc hack is for android and disable-dynamic-loading
Change-Id: If2191161e82fc1e05b1442ae4b3b729cc1b8994d
Reviewed-on: https://gerrit.libreoffice.org/32038
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-12-19 12:35:41 +00:00
Stephan Bergmann cfd2691e5b [API CHANGE] Remove salcpprt static library
...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, c5f974287f "INTEGRATION: CWS jsc3:
#i62434# copy libsalcpprt.a" added the library (under Linux) and
6db9c5af96 "INTEGRATION: CWS jsc3: #i62434# extend
link options for executbales to link libsalcpprt.a, LINUX only" added its use to
odk/settings/settings.mk, but fc0ca57f2c
"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>
2016-12-12 09:16:34 +00:00
Christoph Brill 68df4d20d1 Add existing CppUnit test for sal/rtl/random
The tests itself already existed, we were just missing the .mk file

Change-Id: I662eba5d955aa5cbd774dbb3b4c9f9010dc1d7d6
Reviewed-on: https://gerrit.libreoffice.org/22249
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-02-10 07:04:59 +00:00
Daniel Robertson f15d11a9f8 rtl::Reference Add move construction/assignment
Add move constructor and appropriately overloaded assignment operator to
rtl::Reference, and add basic unit tests for the reference counting of
rtl::Reference.

Change-Id: Ia7ff5d786bdf3b17709cec06608c91e22379746c
Reviewed-on: https://gerrit.libreoffice.org/19762
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2015-11-06 15:19:29 +00:00
Stephan Bergmann a66c83d90c Resurrect CppunitTest_sal_osl_getsystempathfromfileurl
Change-Id: I41007c46e945f4fe19a6dd197fded9fa503bf8c4
Reviewed-on: https://gerrit.libreoffice.org/19771
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2015-11-04 10:38:51 +00:00
Stephan Bergmann f3881ab8b0 Combine individual gb_Module_add_check_targets, and sort
Change-Id: Ia625a33371d2278bd89274ed5ee18acb773810cf
2015-10-30 14:18:28 +01:00
Stephan Bergmann 930bcdccc5 CppunitTest_sal_osl_pipe can be added to gb_Module_add_check_targets now
Change-Id: I13522370b2bd0ea1907660a55a74e830335ca4a4
Reviewed-on: https://gerrit.libreoffice.org/19686
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2015-10-30 12:28:46 +00:00
Michael Stahl 26ebcb023e sal: don't build cppunittester if cross-compiling
Change-Id: I4e2d884b2f87572dc22fece897e384bdaa7506cc
2015-05-11 17:45:01 +02:00
Tor Lillqvist b139eefeef Bypass CppunitTest_sal_osl_security with VS2013 for now, hangs
Change-Id: I8500b0cc4e541c96124425b713ba96226ff4715d
2014-07-08 11:38:54 +03:00
Takeshi Abe 541761d7b8 prefer makefile-gmake-mode
Change-Id: I9cc9bfbddd3a90e00eee3e674994e5d6207f9034
2014-04-28 23:35:42 +09:00
Tor Lillqvist 25d88d2b8e More hacking on --with-locales
Propagate the restriction of locales into <config_locales.h>. Note that in the
normal case, with no locale restrictions, all the WITH_LOCALE_xx macros are
zero anyway, but WITH_LOCALE_ALL is one.

Restrict which character encodings are handled in
sal/textencsal/textenc/tables.cxx based on the WITH_LOCALE_ macros. (Don't
simply always do it for iOS.)

Massage the affected unit tests to not crash when only partial character
encoding information is present.

Change-Id: Ie2c882c262ebd0d2b37dde66b8fe3c3e2570da14
2014-04-24 19:44:10 +03:00
Tomaž Vajngerl 7d3e8c5217 sal: Rewrite digest tests to be simpler, enable them in check
Change-Id: I610e615be498237e5cd9dd963bca60c7f8f62aac
2014-03-23 13:11:59 +01:00
Jelle van der Waa 550b275e63 fdo#39625 Make existing cppunittests work
Change-Id: Ia3a59456fe82926141ccb2921aa47df4183ead86
Reviewed-on: https://gerrit.libreoffice.org/5905
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-11 15:50:41 +00:00
Jelle van der Waa 6e066e4abe sal: fdo#39625 Make existing cppunittests work
Change-Id: I6bd34f0deaf246bc5898532377d996fcefc88cbc
Reviewed-on: https://gerrit.libreoffice.org/5906
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-11 11:41:02 +00:00
David Tardon 25ea7f0b5e move sal_inc headers to include/
Change-Id: I840c681b7c500640d3983e05e9895f3fa8bb1313
Reviewed-on: https://gerrit.libreoffice.org/3501
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-04-24 05:17:49 +00:00
David Tardon 6c7659b584 move URE headers to include/
Change-Id: Ib48a12e902f2311c295b2007f08f44dee28f431d
Reviewed-on: https://gerrit.libreoffice.org/3499
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-04-24 05:17:10 +00:00
Michael Meeks 62badf3828 Move to MPLv2 license headers, with ESC decision and author's permission. 2013-04-22 09:37:38 +01:00
David Tardon d3e93f256e install SDK headers from filelists
... which allows us to drop gb_ZipPackage.

Change-Id: Ib19f774c63d9b83ec07e99f963533eee431cc53a
2013-04-13 09:26:18 +02:00
Michael Stahl 960e2ee691 sal: get rid of CustomTarget_generated.mk
Change-Id: I2347f60ef922d32201beda47e59e0b345d07a3b1
2013-02-27 17:09:46 +01:00
Michael Stahl 308cac3f23 sal: new ZipPackage_sal_odk_headers for public ODK headers
Change-Id: I76cb00121d7b4c21137be70ab7a5bd5389037302
2013-02-27 01:33:18 +01:00
Tor Lillqvist fd56eb98e6 Not using NativeActivity means no lo_main() stuff used either
Hopefully also fixes build for iOS by re-introducing checks for DESKTOP.

Also this commit partially reverts 52a8744afe.

Change-Id: Ie94c771b72ba138bb0481b054285916618baf6eb
2013-02-22 23:21:22 +02:00
Michael Meeks 52a8744afe Revert "Clean up remains of NativeActivity-based Android app support"
This reverts commit cecc926070.

Conflicts:
	sal/android/lo-bootstrap.c
	sal/inc/osl/detail/android-bootstrap.h
2013-02-21 22:54:36 +02:00
Caolán McNamara 65f82ca629 get textencoding tests working again
Change-Id: Ia3e0b7be14800e1d50c3e785153b45d2b4a7dd6d
2012-11-26 16:03:33 +00:00
Tor Lillqvist cecc926070 Clean up remains of NativeActivity-based Android app support
We haven't been able to build NativeActivity-based apps (like the
android/qa/sc and anroid/qa/desktop thingies) since we switched to
DISABLE_DYNLOADING and a single DSO liblo-native-code.so anyway.

No lo_main() any more. <sal/main.h> should not be included ever when
compiling for Android of iOS now.

Lots of stuff binned from vcl's androidinst.cxx, in the (vain?) hope
that it will reduce the amount of never invoked GUI code that gets
linked in.

Change-Id: I25f584864c40110774c728a23151e089620442d9
2012-11-21 23:03:57 +02:00
Rene Engelhard b31416123b move CppunitTest_sal_osl_process to gb_Module_add_check_targets call
Change-Id: I602e1d42fde19b9557e1a21ba4d3fe704dd3f834
2012-11-07 00:47:40 +01:00
Stephan Bergmann 4de42d02f8 Add some rtl::Bootstrap unit test
...there is still additional old cruft in sal/qa/rtl/bootstrap/, some of it
might be worthwhile to resurrect.

Change-Id: Ie334431abc8de839fa2e655cbd3dc4d014c38f15
2012-11-06 16:20:55 +01:00
Tor Lillqvist 1691752dd2 When DISABLE_DYNLOADING don't even provide any module loading/unloading API
Will then cause compilation errors where they are used, which will be
noticed and taken care of.  (The code chanaged to either use direct
linking instead, when it makes sense, or to just bypass the
functionality that requires dynamic loading.)

Much better than waiting until run-time to notice where dynamic
loading is attempted.

Change-Id: Ib0cb5a2524b5c63f8e27670e7d72e37ce2a8e6e9
2012-10-07 07:59:14 +03:00
Radu Ioan 48c3b4e835 fdo#39625 Make existing cppunittests work
Make sal_rtl_uri cppunittest work
- removed call to simpleheader.hxx
- added call in Module_sal.mk for sal_rtl_uri
- created mk for cppunittest for sal_rtl_uri
- removed duplicate include
- change from t_print to printf

Change-Id: I928ade62eb51ba1cb0a74e347411b344d57e97d0
Reviewed-on: https://gerrit.libreoffice.org/590
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Tested-by: Luboš Luňák <l.lunak@suse.cz>
2012-09-11 12:47:46 +00:00
Caolán McNamara f50ea409e4 what gets tested here turns out to be out of date now
Change-Id: I61b96b8d0e9c821f0e6228430eece1617871a916
2012-09-10 21:27:17 +01:00
Radu Ioan 6ffa064e7d fdo#39625 Make existing cppunittests work
Make sal testHelperFunctions cppunit work
- removed call to simpleheader.hxx
- added call in Module_sal.mk for sal_testHelperFunctions
- created mk for cppunittest for sal_testHelperFunctions
- removed unused and unusefull function

Patch#2
- remove some unusefull include
- add bug number to commit message

Change-Id: I2f4e831cea0213a07f440bb00e0302eb1c4d7dc1
Reviewed-on: https://gerrit.libreoffice.org/588
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2012-09-10 20:25:30 +00:00
Radu Ioan ffc05d9abf fdo#39625 Make existing cppunittests work
Make rtl uuid cppunit work
- removed call to simpleheader.hxx
- added call in Module_sal.mk for rtl_uuid
- created mk for cppunittest for sal_rtl_uuid
Second patch:
- removed makefile.mk as Stephan suggested
- modified CppunitTest_sal_rtl_uuid.mk header

Change-Id: If090843203e38d3eced14941b58e6122d27bdb09
Reviewed-on: https://gerrit.libreoffice.org/422
Reviewed-by: Kohei Yoshida <kohei.yoshida@gmail.com>
Tested-by: Kohei Yoshida <kohei.yoshida@gmail.com>
2012-08-25 01:19:37 +00:00
Tor Lillqvist 30e1b61157 No point with these executables for non-desktop OSes
Change-Id: If2e086cf2783c187f2cdb479608aa91561e0d674
2012-08-07 08:55:24 +03:00
Luboš Luňák 6080259862 allow using rtl::OUString etc. simply as OUString, without rtl::
http://lists.freedesktop.org/archives/libreoffice/2012-April/029940.html

The RTL_USING #define (set by gbuild for anything that's not public
API) allows to use such classes simply by their name, without having
to use the namespace or do explicit using rtl::OUString (which half
of the sources do anyway).

Change-Id: I7edaf12cd278489cdc1d5ff782f0a86361c13c0a
2012-07-16 16:03:03 +02:00
Matúš Kukan afd5eb1f04 sal: use CustomTarget makefile 2012-03-31 22:49:29 +02:00
Tor Lillqvist 1ea166153b No CppunitTest_sal_osl_process for iOS either 2012-03-29 09:49:46 +03:00
Tor Lillqvist 5241f06f93 Do build cppunittester and don't build osl_process_child for iOS 2012-02-22 22:35:53 +02:00
Tor Lillqvist 42422f2599 Merge sal_textenc into sal just on Android 2012-02-15 16:40:00 +02:00
Tor Lillqvist 5f2a2e2149 Don't bother with a separate libsal_textenc when merging libs 2012-02-15 16:19:58 +02:00
Tor Lillqvist 4603028bc4 CppunitTest_sal_osl_file fails on Windows 2012-01-27 15:52:25 +02:00
Matúš Kukan 67cf29bb36 sal: make more tests running 2012-01-21 19:33:13 +01:00
Matúš Kukan 68dad6ff9d sal: split unit-tests to one test per makefile 2012-01-21 19:28:05 +01:00
Michael Meeks 22815db58f sal: only allowed one unit-test per gnumakefile, so separate these 2012-01-21 17:01:15 +00:00
Tor Lillqvist 90b50bc148 Actually we should not build a normal cppunittester executable for iOS at all 2012-01-03 11:38:21 +02:00
Matúš Kukan cdd2792816 sal: disable subsequentcheck which has circular dependency
make 3.82 continues without error but apparently older version not
2011-12-20 14:50:47 +01:00
Tor Lillqvist 74b9ddd6ab Always use the autoconfed sizes and alignments, not only when cross-compiling 2011-12-20 01:12:21 +02:00