Commit graph

450 commits

Author SHA1 Message Date
Norbert Thiebaud
8fc6fc97d5 remove include of pch header from sal 2011-11-27 13:18:15 -06:00
Norbert Thiebaud
e4610ffd2d remove PCH support in dmake-module 2011-11-27 12:26:12 -06:00
Caolán McNamara
89f057a09d ditch dbg_dump 2011-11-24 15:29:52 +00:00
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
Stephan Bergmann
171855c21e rtlbootstrap.mk.cxx needs to be a C++ file (including C++ macros.hxx). 2011-11-22 11:01:06 +01:00
Stephan Bergmann
70a6b9ffbd New sal/log.h obsoletes osl/diagnose.h and tools/debug.hxx.
* New SAL_INFO..., SAL_WARN... macros.
* New SAL_STREAM supersedes OSL_FORMAT.
* oustringostreaminserter.hxx moved from unotest to rtl (and always UTF-8 now).
* TODO to enable GCC __attribute__((format)) in sal/log.h (requires call-site
  cleanup).
* Further functionality in tools/debug.hxx (DBG_MEMTEST, DBG_CTOR, etc.) not yet
  addressed.
* Some replacements tools String -> rtl::OUString.
2011-11-22 09:41:47 +01:00
Stephan Bergmann
54760dfdc2 Moved sal/rtl/source string files from C to C++, for easier maintenance. 2011-11-01 17:10:15 +01:00
Stephan Bergmann
e2c6064910 Moved sal/rtl/source/alloc_* files from C to C++, for easier maintenance. 2011-11-01 17:10:14 +01:00
Stephan Bergmann
2a6aeea94d Removed some obsolete register annotations. 2011-11-01 17:10:14 +01:00
Stephan Bergmann
76af7256e0 Moved various sal/rtl/source files from C to C++, for easier maintenance. 2011-11-01 17:10:14 +01:00
Stephan Bergmann
f67c6fa040 Removed obsolete rtl/tres stuff. 2011-11-01 17:10:13 +01:00
Stephan Bergmann
451c945da2 Fixed rtl_getGlobalProcessId implementation (moved from C to C++). 2011-11-01 17:10:13 +01:00
Stephan Bergmann
0a6132d7de Fix previous commit for non-Valgrind builds. 2011-10-25 00:01:01 +02:00
Stephan Bergmann
041b54fef2 Avoid Clang -Wunused-value with trunk rev. 12226 Valgrind. 2011-10-24 23:42:35 +02:00
Stephan Bergmann
bbb5da1578 Clang does not understand #pragma GCC diagnostic warning "-Wunused-but-set-variable".
See <https://bugs.kde.org/show_bug.cgi?id=284384> "clang 3.1 -Wunused-value
warnings in valgrind.h, memcheck.h" for a way to silence these warnings when
building with clang.
2011-10-18 23:10:56 +02:00
Michael Stahl
e2934c4310 sal: workaround warnings in valgrind macros 2011-10-18 17:39:09 +02:00
Stephan Bergmann
b7998b6f66 No need to bark about G_SLICE on stderr. 2011-09-14 17:33:11 +02:00
Tor Lillqvist
962dc00065 Accept also a soffice.bin renamed to soffice.bin.exe 2011-09-12 10:33:15 +03:00
Tor Lillqvist
4081612561 Fix copy/paste error 2011-09-12 10:32:15 +03:00
Stephan Bergmann
2d5dd9a960 sb140: sb140: #i116981# clean up memory upon exit 2011-09-09 17:46:36 +02:00
Caolán McNamara
0a90cb6510 micro-opt, just use memset 2011-09-01 09:53:37 +01:00
Caolán McNamara
0c88ebd66b build error 2011-08-09 09:32:40 +01:00
Caolán McNamara
ce906b8096 skip tricky allocators on G_SLICE=always-malloc 2011-08-08 13:04:49 +01:00
Luboš Luňák
3563ee5852 change O[U]StringBuffer::remove() to take start+len
In order to be consistent with other usage in LO and C++ libs,
instead of being consistent with Java.
2011-07-04 11:30:37 +02:00
Caolán McNamara
1a2912eed9 add StringBuffers ::remove 2011-06-30 11:35:56 +01:00
Caolán McNamara
f85076ca48 catch by const reference 2011-06-14 09:57:33 +01:00
Tor Lillqvist
0574ad9d8b First attempt at Android support 2011-06-09 21:42:25 +03:00
Tor Lillqvist
5c7e0a0c9c Get rid of gen_makefile, always use the clever way to generate rtlbootstrap.mk 2011-05-22 01:52:06 +03:00
Tor Lillqvist
1252dc2cea Drop the doublequotes 2011-05-22 01:24:48 +03:00
Tor Lillqvist
838d6d86c8 Generate rtlbootstrap.mk in a more clever fashion when cross-compiling 2011-05-22 01:13:50 +03:00
Tor Lillqvist
63404bcf55 Add defines for iOS 2011-05-14 03:08:26 +03:00
Christina Rossmanith
c776e24f16 remove FileStatusMask_XXX in favour of osl_FileStatus_Mask_XXX (ure) 2011-04-19 20:40:32 +02:00
Francois Tigeot
35e1b53c7e Remove OS/2 support. 2011-04-18 16:59:48 +02:00
Caolán McNamara
d49ffe4e5a put the deprecated rtl_Locale stuff in here too 2011-04-05 15:31:23 +01:00
Caolán McNamara
bc5f8e725a helgrind: Related: rhbz#655686 get order of shutdown correct 2011-04-05 11:25:26 +01:00
Caolán McNamara
c0e0ae545b use rtl::Static where double-locked pattern used 2011-04-03 21:43:48 +01:00
Caolán McNamara
ab5d819e7e WaE: unused variable in non-debug mode 2011-03-23 17:12:29 +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
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
Julien Nabet
e01b7bf23a Remove "using namespace ::rtl" 2011-03-02 22:24:11 +01:00
Matthias Huetsch [mhu]
519409e7c9 #i115784# sal/rtl/alloc: fix makefile define to match source. 2011-03-02 10:33:15 +01:00
Matthias Huetsch [mhu]
842242febd #i115784# configure: fix valgrind header check, use VALGRIND_CFLAGS. 2011-03-01 15:43:07 +01:00
Matthias Huetsch [mhu]
93fd2e29e8 #i115784# configure: Add check for valgrind/memcheck.h, defining HAVE_VALGRIND_MEMCHECK_H. 2011-02-22 19:26:59 +01:00
Francois Tigeot
f091f5b395 dragonfly stuff 2011-02-15 15:55:19 +00:00
Caolán McNamara
2334bdc0e6 move this into comphelper 2011-02-14 11:21:21 +00:00
Sébastien Le Ray
5765d0c90b Add compareToNumeric to OUString & Co 2011-02-10 16:54:04 +01:00
Thomas Arnhold
83734eea36 Clean up makefiles 2011-02-04 12:45:54 +01:00
Fridrich Strba
f8e27a7c46 some std::hash_map/set -> boost::unordered_map/set changes 2011-02-03 22:32:23 +01:00
Fridrich Strba
f3b5287172 Use rtl::Allocator in MSVC hash containers 2011-02-03 10:59:33 +01:00
Fridrich Strba
1c17bf61a5 include MSVC STL code path 2011-02-03 10:33:49 +01:00