Commit graph

109 commits

Author SHA1 Message Date
Stephan Bergmann
0c7bff0271 Changed sal/log.h -> sal/log.hxx, drop _S from C++ streaming log macros.
A compile time check ensures the common case of streaming just a plain
C-style string literal still produces reasonably compact call-site code.
The format-string variants are still available in sal/detail/log.h, but
only to be used in obsolete osl/diagnose.h etc., and going to be removed
again eventually.
2011-11-23 15:50:58 +01:00
Tor Lillqvist
ccdd1b9a25 Deliver the Android libuno_sal.so 2011-11-10 01:23:47 +02:00
Stephan Bergmann
9ffee68dc0 Cleaned up sal_textenc, making it work on Mac OS X. 2011-09-21 18:16:43 +02:00
Fridrich Štrba
bb5bdbbdca Revert "Trying to chop out the uwinapi library"
This reverts commit 2dea0dab4f.
2011-09-16 16:26:03 +02:00
Fridrich Štrba
2dea0dab4f Trying to chop out the uwinapi library 2011-09-16 15:52:40 +02:00
Stephan Bergmann
d996328cd5 sb140: #i113503# mixing system CppUnit and OOo STLport does not work, backed out a6913c9677c2
For LibO, that just means replacing sal/cppunit.h with sal/precppunit.hxx.
2011-09-12 22:47:50 +02:00
Tor Lillqvist
f2079a12ce Drop OS/2 lines 2011-08-22 21:43:48 +03:00
Tor Lillqvist
5568dfaacf Add dependencies for sal_qa_static 2011-08-08 21:20:49 +03:00
Tor Lillqvist
cc21659f0e No point building xml2cmp when cross-compiling 2011-07-14 12:25:37 +03:00
Tor Lillqvist
dfdf2ee12e Add a statically linked unit tester for iOS 2011-07-10 14:34:48 +03:00
Tor Lillqvist
7862e397af Drop %_EXT% which was always empty 2011-06-03 13:28:35 +03:00
Tor Lillqvist
71e24025df Do build typesconfig also for Windows, but don't do anything there when using MSVC 2011-05-22 01:10:24 +03:00
sb
8c015fbb85 #i116915# rewrote unx osl_getSystemPathFromFileURL to avoid mem leaks 2011-05-20 10:32:03 +01:00
Caolán McNamara
4574a6b9d6 sync names with scp2, and fix macosx copy/link 2011-03-31 14:27:03 +01:00
Bjoern Michaelsen
ac4c98e868 migrate sal subsequenttests to gbuild 2011-03-28 02:23:53 +02:00
Thorsten Behrens
13a5548d3a Deliver new sal_textenc lib for Mac, too
Fixes 497f6489ed496ccd53df7a470aad3e9d4f7ff1f8, which was delivering
only the *nix version of this lib.
2011-03-25 12:49:33 +01:00
Michael Meeks
e167ad8cbb merge size-sal-textenc i#70166 2011-03-24 19:59:43 +00:00
Jan Holesovsky
4be7cca60b Merge commit 'ooo/DEV300_m103'
Conflicts:
	codemaker/source/bonobowrappermaker/corbaoptions.cxx
	codemaker/source/cppumaker/cppuoptions.cxx
	codemaker/source/cunomaker/cunooptions.cxx
	codemaker/source/idlmaker/idloptions.cxx
	codemaker/source/javamaker/javaoptions.cxx
	cppu/source/typelib/typelib.cxx
	idlc/source/options.cxx
	offapi/com/sun/star/util/PathSubstitution.idl
	offapi/drafts/com/sun/star/form/ListEntryEvent.idl
	offapi/drafts/com/sun/star/form/XBindableValue.idl
	offapi/drafts/com/sun/star/form/XListEntryListener.idl
	offapi/drafts/com/sun/star/form/XListEntrySink.idl
	offapi/drafts/com/sun/star/form/XListEntrySource.idl
	offapi/drafts/com/sun/star/form/XValueBinding.idl
	registry/tools/checksingleton.cxx
	registry/tools/options.hxx
	registry/tools/regcompare.cxx
	registry/tools/regmerge.cxx
	sal/cppunittester/cppunittester.cxx
	sal/osl/unx/socket.c
	sal/osl/w32/diagnose.c
	sal/prj/d.lst
	sal/rtl/source/alloc_fini.cxx
	sal/rtl/source/alloc_global.c
	sal/rtl/source/makefile.mk
2011-03-23 16:59:59 +01:00
Michael Meeks
79a6c0f8a2 install unit tester in sub-directory to help windows. 2011-03-21 21:19:17 +00:00
Caolán McNamara
27cec02380 Some of these still don't fly, e.g. parallel build
And hard-coded ports, e.g. two builds at the same time and so forth :-(
2011-03-21 15:39:29 +00:00
Wilhelm Pflueger
c97a89f8be Reanimated tests in ure/sal/qa/osl/socket
I had to deactivate the tests in osl_SocketAddr.cxx
and osl_Socket2.cxx in makefile.mk. These tests failed:
osl_SocketAddr.cxx (SHL5TARGET) caused Segmentation fault.
osl_Socket2.cxx (SHL6TARGET) just failed with error 1.

I added the option SILENT_TEST in osl_Socket.cxx and in
sockethelper.hxx to allow tests without output
(t_print disabled).
2011-03-21 14:13:51 +00:00
Tor Lillqvist
f86c6a06c2 Deliver the .exe first to avoid an extension-less duplicate file 2011-03-18 17:35:31 +01:00
Jan Holesovsky
88d7b9b03f Merge branch 'master' of git://anongit.freedesktop.org/libreoffice/ure
Conflicts:
	sal/qa/rtl/math/rtl_math.cxx
	sal/qa/rtl/math/test_rtl_math.cxx
2011-03-18 16:13:58 +01:00
Jan Holesovsky
a3a19632f4 Merge remote-tracking branch 'origin/integration/dev300_m101'
Conflicts:
	bridges/source/remote/urp/urp_environment.cxx
	bridges/source/remote/urp/urp_propertyobject.cxx
	bridges/source/remote/urp/urp_reader.cxx
	remotebridges/source/factory/bridgefactory.cxx
	stoc/source/corereflection/crefl.cxx
	stoc/source/javavm/javavm.cxx
	stoc/source/simpleregistry/simpleregistry.cxx
2011-03-18 15:58:02 +01:00
Theo van Klaveren
a198775260 Enable newly converted unit tests (that work). 2011-03-18 10:43:25 +01:00
Theo van Klaveren
2c7cebaf83 Make the qa/sal unit test build, and use it. 2011-03-15 08:42:27 +01:00
Norbert Thiebaud
d7fc91fcd1 Merge commit 'ooo/DEV300_m101' into integration/dev300_m101
* commit 'ooo/DEV300_m101': (185 commits)
  chart52: cleanup unused legend entry stuff in preparation of issue #i82802#
  masterfix: #i10000# add missing dependency in offapi
  sb138: #i115619# fix for MinGW
  sb138: #i115619#, #i116038# use osl_setThreadName in binaryurp
  sb138: #i115619# osl_setThreadName
  gridsort: i116682: update UnoControlDialog to reflect XDialog
  gridsort: minor changes to the new API: - renamed XMutableGridDataModel::setRowHeading to updateRowHeading for consistency reasons - renamed XSortableGridDataModel to XSortableGridData - actually, this is not a full-fledged model in itself.
  gridsort: grid control related unit tests (first set, more to come)
  sb138: #i116038# fresh implementation of binary URP bridge
  chart52: #28670# make the legend within charts resizeable - part 2
  gridsort: re-did the column resizing - introduced XGridColumn.Flexibility, determining to which degree the column is resized during auto-column-resizing - removed XGridColumn.PreferredWidth - there really is no need for this anymore now - documented the relationship between XGridColumn.Flexibility and XGridColumn.Resizeable - re-implemented TableControl_Impl::impl_ni_updateColumnWidths, with (hopefully) less magic
  sb139: #i116530# improve Java URP bridge error notification by utilizing the java.lang.Throwable cause facility
  gridsort: document the relationship between soorting the data and notifying XGridDataListeners
  gridsort: introduce XGridColumn::DataModelIndex. this allows for column removal/insertion at the GridColumnModel, without the need to touch the GridDataModel
  locales34: #i112431# adapt documentation to reality
  gridsort: introduce XSortableGridDataModel::removeColumnSort
  gridsort: #163172# added UNO API support for sorting grid data. Implementation still unfinished. Things missing in the SortableGridData implementation - add as listener to the delegator, so we're notified of changes - translate and multiplex those changes - do own notifications (XGridDataListener.dataChanged) when the sort order changed - (possibly) update the sort order when the data in the current sort-column changed
  gridsort: made the row title a row heading, being an Any instead of a string
  gridsort: XMutableGridData: renamed updateRow to updateRowData for consistency; introduced updateRowToolTip as shortcut for multiple updateCellToolTip calls
  gridsort: updateCell->updateCellData, setCellToolTip->updateCellToolTip; in both methods, have (Col,Row) params instead of (Row,Col), for consistency reasons
  ...

Conflicts:
	bridges/inc/bridges/remote/bridgeimpl.hxx
	bridges/inc/bridges/remote/connection.h
	bridges/inc/bridges/remote/context.h
	bridges/inc/bridges/remote/helper.hxx
	bridges/inc/bridges/remote/mapping.hxx
	bridges/inc/bridges/remote/proxy.hxx
	bridges/inc/bridges/remote/remote.h
	bridges/inc/bridges/remote/remote.hxx
	bridges/inc/bridges/remote/stub.hxx
	bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx
	bridges/source/remote/context/context.cxx
	bridges/source/remote/static/helper.cxx
	bridges/source/remote/static/mapping.cxx
	bridges/source/remote/static/proxy.cxx
	bridges/source/remote/static/remote.cxx
	bridges/source/remote/static/remote_types.cxx
	bridges/source/remote/static/remote_types.hxx
	bridges/source/remote/static/stub.cxx
	bridges/source/remote/urp/urp_bridgeimpl.cxx
	bridges/source/remote/urp/urp_bridgeimpl.hxx
	bridges/source/remote/urp/urp_cache.h
	bridges/source/remote/urp/urp_cache.hxx
	bridges/source/remote/urp/urp_dispatch.cxx
	bridges/source/remote/urp/urp_dispatch.hxx
	bridges/source/remote/urp/urp_environment.cxx
	bridges/source/remote/urp/urp_job.cxx
	bridges/source/remote/urp/urp_job.hxx
	bridges/source/remote/urp/urp_log.cxx
	bridges/source/remote/urp/urp_log.hxx
	bridges/source/remote/urp/urp_marshal.cxx
	bridges/source/remote/urp/urp_marshal.hxx
	bridges/source/remote/urp/urp_marshal_decl.hxx
	bridges/source/remote/urp/urp_property.hxx
	bridges/source/remote/urp/urp_propertyobject.cxx
	bridges/source/remote/urp/urp_propertyobject.hxx
	bridges/source/remote/urp/urp_reader.cxx
	bridges/source/remote/urp/urp_reader.hxx
	bridges/source/remote/urp/urp_replycontainer.hxx
	bridges/source/remote/urp/urp_threadid.cxx
	bridges/source/remote/urp/urp_threadid.hxx
	bridges/source/remote/urp/urp_unmarshal.cxx
	bridges/source/remote/urp/urp_unmarshal.hxx
	bridges/source/remote/urp/urp_writer.cxx
	bridges/source/remote/urp/urp_writer.hxx
	cppu/source/threadpool/threadpool.cxx
	cppu/util/target.pmk
	cppuhelper/qa/propertysetmixin/comp_propertysetmixin.cxx
	cppuhelper/source/interfacecontainer.cxx
	cpputools/source/regcomplazy/regcomplazy.cxx
	jurt/prj/d.lst
	jvmfwk/source/elements.cxx
	offapi/com/sun/star/awt/grid/GridDataEvent.idl
	offapi/com/sun/star/awt/grid/XGridColumn.idl
	offapi/com/sun/star/awt/tab/makefile.mk
	offapi/com/sun/star/chart2/ExplicitIncrementData.idl
	offapi/com/sun/star/chart2/XPlotter.idl
	offapi/com/sun/star/chart2/XUndoHelper.idl
	offapi/com/sun/star/document/MediaDescriptor.idl
	offapi/com/sun/star/document/makefile.mk
	offapi/com/sun/star/linguistic2/XLanguageGuessing.idl
	offapi/com/sun/star/script/ModuleInfo.idl
	offapi/com/sun/star/script/ModuleType.idl
	offapi/com/sun/star/text/TextMarkupType.idl
	offapi/com/sun/star/util/XTextSearch.idl
	offapi/com/sun/star/xml/sax/XFastAttributeList.idl
	pyuno/source/loader/makefile.mk
	remotebridges/source/bridge/bridge_connection.cxx
	remotebridges/source/bridge/bridge_connection.hxx
	remotebridges/source/bridge/bridge_provider.cxx
	remotebridges/source/bridge/remote_bridge.cxx
	remotebridges/source/bridge/remote_bridge.hxx
	remotebridges/source/dynamicloader/dynamicloader.cxx
	remotebridges/source/factory/bridgefactory.cxx
	remotebridges/source/factory/bridgeimpl.cxx
	remotebridges/source/factory/bridgeimpl.hxx
	remotebridges/source/factory/makefile.mk
	sal/cppunittester/cppunittester.cxx
	sal/inc/osl/diagnose.h
	sal/osl/os2/system.h
	sal/osl/unx/diagnose.c
	sal/osl/unx/file_misc.cxx
	sal/osl/unx/process_impl.cxx
	sal/osl/w32/diagnose.c
	sal/osl/w32/process.cxx
	sal/prj/build.lst
	sal/qa/rtl/math/makefile.mk
	sal/qa/rtl/math/rtl_math.cxx
	sal/qa/rtl/math/rtl_old_testint64.cxx
	sal/qa/rtl/math/test_rtl_math.cxx
	sal/systools/win32/kill/kill.cxx
	sal/textenc/tencinfo.c
	sal/util/sal.map
	stoc/source/inspect/introspection.cxx
	stoc/source/security/file_policy.cxx
	stoc/source/simpleregistry/simpleregistry.cxx
2011-03-08 22:29:39 -06:00
Caolán McNamara
317fa395ff duplicate mkdir 2011-03-04 11:28:25 +00:00
Michael Meeks
70baa487d9 install unit tester in sub-directory to help windows. 2011-03-03 10:41:17 +00:00
sb
58eb3fb273 debuglevels: #i117073# added cppunittester --protector support; added unoexceptionprotector and use it in installationtest.mk; reverted changes to smoketest.cxx obsoleted by these additions 2011-02-25 11:32:55 +01:00
Wilhelm Pflueger
d9bd461b9a Reanimated test sal/qa/rtl/alloc
This was an easy hack.

Signed-off-by: Wilhelm Pflueger <Wilhelm.Pflueger@web.de>
2011-02-23 12:39:04 +00:00
Wilhelm Pflueger
c6d9c4fe83 EasyHacks: Re-animate tests in sal/qa/osl
Some tests in osl_process are not running:
a) the batch file for the batch test is not copied to the
execution path
b) osl_execProc_exe_name_in_argument_list() throws an assertion.
2011-02-22 12:48:27 +00:00
Caolán McNamara
3bf6132316 deliver cppunittester into a different dir than the stock solver/bin
This means that under windows the dlls found in PATH will be found, in the
order set by PATH, and not any dlls that happen be side-by-side with it,
which compromises the test local .dlls before deliver concept.
2011-02-21 21:09:06 +00:00
Sébastien Le Ray
7dd2d4a0f5 Unit test cleanup for OUStringBuffer.
Moved OUStringBuffer related tests from qa/srt/strings to
qa/rt/oustringbuffer and reactivated it in project build.
It seems that rtl_OUStringBuffer2.cxx was replaced by
test_oustringbuffer_utf32.cxx so the later has been removed.

Added unit tests for toString.
2011-02-14 21:15:40 +00:00
Caolán McNamara
2ed163062e This test sleeps for *20* seconds, disable until/unless that can be elided. 2011-02-10 10:06:15 +00:00
Fridrich Štrba
969bc2e5be Make stlport only optional dependency of postprocess 2011-02-09 19:58:42 +01:00
Fridrich Štrba
921b58eea9 Disable some unit tests that don't even build on windows 2011-02-08 11:28:59 +01:00
Wilhelm Pflueger
45c87b15c9 Reanimated tests in ure/sal
Tests based on deprecated testshl are reanimated for:
osl/condition
osl/file
osl/module
osl/thread
2011-02-08 09:04:06 +01:00
Wilhelm Pflueger
24968350f7 Re-animated tests that were based on testshl.
One test in test_outstring_convert.cxx fails for method
rtl::OUString::convertToString().
2011-02-07 10:05:58 +01:00
sb
6875a4b2aa sb138: #i115619# osl_setThreadName 2011-01-28 11:58:57 +01:00
Jesús Corrius
10031bb5bd Remove obsolete Windows kill utility 2010-12-08 20:29:21 +01:00
sb
a8fcfe71a0 sb132: #i114840# fix inadvertent deviation of stringToDouble from C99 strtod 2010-10-28 15:50:12 +02:00
Michael Meeks
12b2cdc522 Enable valgrind-ability with G_SLICE env. var
Dung out old, awful and pretty pointless valgrind solution involving
unpleasant LD_PRELOAD thing that doesn't ship, and/or work easily.
2010-10-08 16:36:18 +01:00
sb
7ef2d674d1 sb126: #i111184# introduced test::uniquePipeName 2010-07-07 16:25:37 +02:00
sb
9a1b48db5c sb120: #i111184# disabled failing tests for now 2010-04-27 11:55:10 +02:00
Rene Engelhard
d8b32fae7c sb118: add --with-system-cppunit 2010-03-03 21:01:44 +01:00
sb
7969604293 sb118: adapted some more sal unit tests to new CppUnit framework; fixes for unxmacxi 2010-01-13 22:32:57 +01:00
sb
ae12b3fe73 sb118: adpated some sal unit tests to new CppUnit framework 2010-01-13 18:58:37 +01:00
sb
6df4828c32 sb118: missing dependency 2010-01-13 12:57:39 +01:00
sb
0d8e2caa55 sb118: Replace (heavily modified) CppUnit 1.8.0 with (unmodified) latest 1.12.1.
- Old modifications were necessary for testshl2, which has simply been excluded
  from the build for now.
- Tests in basebmp, basegfx, o3tl (that are executed during build) have been
  converted from using modified CppUnit/testshl2 to using unmodified CppUnit.
- CppUnit's DllPlugInTester has problems with OOo tests on Windows, see
  #i107562#, so for now a new cppunittester from sal is used instead.
2009-12-11 14:29:59 +01:00