Stephan Bergmann
9ab0b38e95
Various string function clean up
...
Added:
* rtl::OString::matchL
* rtl::OString::endsWith
* rtl::OString::endsWithL
* rtl::OString::indexOfL
* rtl::OString::replaceFirst
* rtl::OString::replaceAll
* rtl::OString::getToken
* rtl::OUString::endsWith
* rtl::OUString::replaceFirst
* rtl::OUString::replaceFirstAsciiL
* rtl::OUString::replaceFirstAsciiLAsciiL
* rtl::OUString::replaceAll
* rtl::OUString::replaceAllAsciiL
* rtl::OUString::replaceAllAsciiLAsciiL
* rtl::OUString::getToken
plus underlying C functions where necessary
Deprecated:
* comphelper::string::remove
* comphelper::string::getToken
Removed:
* comphelper::string::searchAndReplaceAsciiL
* comphelper::string::searchAndReplaceAllAsciiWithAscii
* comphelper::string::searchAndReplaceAsciiI
* comphelper::string::replace
* comphelper::string::matchL
* comphelper::string::matchIgnoreAsciiCaseL
* comphelper::string::indexOfL
Also fixed some apparent misuses of RTL_CONSTASCII_USTRINGPARAM ->
RTL_CONSTASCII_STRINGPARAM.
2012-02-15 15:41:09 +01:00
Michael Meeks
1f63bd653c
Add and expand more readme files for module documentation
2012-02-08 11:18:15 +00:00
Josh Heidenreich
8b9615be88
Added (and improved) READMEs for modules which used to be in libs-gui
2012-02-08 07:46:57 +01:00
Norbert Thiebaud
c857dff7fc
switch to include-based build rather than sourced-based build
2012-02-05 19:34:05 -06:00
Jesús Corrius
7be0cc289d
A few safe replacements of pathes->paths
2012-02-01 14:43:37 +01:00
Noel Grandin
61451fec9b
fdo#44981 - remove obsolete SWAPLONG macros
2012-01-30 13:18:38 +00:00
Caolán McNamara
b1f74de031
ByteString->rtl::OString
2012-01-23 11:37:06 +00:00
Stephan Bergmann
7c704c78d3
Removed some unused parameters; added SAL_UNUSED_PARAMETER.
...
SAL_UNUSED_PARAMETER (expanding to __attribute__ ((unused)) for GCC)
is used to annotate legitimately unused parameters, so that static
analysis tools can tell legitimately unused parameters from truly
unnecessary ones. To that end, some patches for external modules
are also added, that are only applied when compiling with GCC and
add necessary __attribute__ ((unused)) in headers.
2012-01-21 15:21:16 +01:00
Marcel Metz
53d27eb207
Removed unnecessary tools includes.
2012-01-05 15:38:51 +01:00
Caolán McNamara
bacfd2dc4c
add a comphelper::string::getTokenCount
...
suitable for conversion from [Byte]String::GetTokenCount
converted low-hanging variants to rtl::O[UString]::getToken loops
added unit test
2012-01-05 09:18:19 +00:00
Caolán McNamara
697415eb4e
WaE and build errors with OSL_DEBUG_LEVEL == 2
2012-01-05 09:18:15 +00:00
Marcel Metz
89a8d75c12
Remove unused tools function.
...
this patch removes the unused (according to OpenGrok) GetIsoFallback
function from the tools module.
2012-01-03 16:40:24 +01:00
Olivier Hallot
85d1ce27ad
Fix for fdo43460 Part XXVII getLength() to isEmpty()
...
Please find attached a partial fix for Easy Hack FDO43460
Part XXVII
Modules
padmin, pyuno, rdbmaker, regexp, registry, rsc, sal
2012-01-02 19:17:17 +01:00
Caolán McNamara
b103bb2ab3
ditch some ByteStrings
2011-12-12 14:11:24 +00:00
Caolán McNamara
1b1f0bbb28
ByteString->rtl::OString
2011-12-12 09:39:00 +00:00
Caolán McNamara
54747f3087
aPathName unused
2011-12-12 09:38:59 +00:00
Caolán McNamara
9e4028b4fc
aString unused
2011-12-12 09:38:59 +00:00
Caolán McNamara
8a418586ea
ByteString->rtl::OString
2011-12-12 09:38:59 +00:00
Michael T. Whiteley
dcfd4beb21
childs -> children
2011-12-08 11:32:41 +02:00
Bjoern Michaelsen
2acd8fbac9
in modules, when we have a env we are in stage gbuild
2011-12-07 15:53:06 +01:00
Marcel Metz
4c2dcaf130
Removed unnessecary tools/table.hxx includes
2011-12-06 17:16:57 +01:00
Caolán McNamara
cd676159ca
ByteString->rtl::OString[Buffer]
2011-12-06 10:33:04 +00:00
Bjoern Michaelsen
d73e574d8a
move reconfigure into gbuild
2011-11-29 17:25:14 +01:00
Caolán McNamara
829ebac9b4
no need for OrderCtrl anymore
2011-11-29 10:35:13 +00:00
Caolán McNamara
963fd1696c
callcatcher: remove unused methods
2011-11-28 09:55:03 +00:00
Caolán McNamara
3fd28200f1
ByteString->rtl::OString[Buffer]
2011-11-28 09:55:02 +00:00
Norbert Thiebaud
c0bed9c72e
remove precompiled_xxx.hxx/cxx
2011-11-27 18:07:55 -06:00
Norbert Thiebaud
3f2ff54778
remove pch from the include list
2011-11-27 15:24:45 -06:00
Norbert Thiebaud
c43122a9b2
remove include of pch header from rsc
2011-11-27 13:17:36 -06:00
Norbert Thiebaud
992757cc5e
remove pre-compiled header support in gbuild and gbuildified module
2011-11-27 11:49:38 -06:00
August Sodora
a6cc570e5c
Remove unnecessary tools/stack.hxx include
2011-11-26 23:03:36 -05:00
François Tigeot
a5cabdbc74
BIG_ENDIAN was never set
...
Remove its conditional code
2011-11-25 14:42:10 +01:00
Bjoern Michaelsen
f2f0dbd273
make gbuild makefiles run independant of pwd again
2011-11-25 12:04:40 +01:00
Caolán McNamara
20153742d2
add a stripStart, can replace EraseLeadingChars
2011-11-23 10:10:08 +00:00
Caolán McNamara
ca02d72808
remove [Byte]String::EraseAllChars
2011-11-19 21:11:02 +00:00
Norbert Thiebaud
0ea8c014ef
tweak gbuild standart Makefile to allow partial build in unsourced env
...
This allow to run make in a module wihtout the need to source
Env.Host.sh.
2011-11-16 06:18:54 -06:00
Tor Lillqvist
5f950b5d79
Make the use of gb_LinkTarget_EXCEPTIONFLAGS for the yacc source more reliable
2011-10-24 10:04:07 +03:00
Bjoern Michaelsen
7bf06ba95d
rename YaccObject to YaccTarget
...
the object is a GenCxxObject just like those from CustomTargets, we only need to get the generation right
2011-10-21 21:28:51 +02:00
Bjoern Michaelsen
5dc33abf60
cleanup YaccObject
2011-10-21 21:28:50 +02:00
Stephan Bergmann
bf1f0183d5
Some fixes for "clang version 3.1 (trunk 142234)" (with --enable-werror, on Linux x86_64).
2011-10-18 23:10:56 +02:00
Tor Lillqvist
88b265f102
Revert "cppcheck reduce scope of var in rsc/...cpp3.c/cpp4.c/cpp6.c"
...
As long as we want to be buildable with MSVC 2008, we can't use C99
features in our C source files. (Yeah, horrible, M$ suxors, etc,
complain to your mother.) Please relax the cppcheck enthusiasm, or at
least, tune cppcheck to follow C89 for C files.
This reverts commit 0921457488
.
2011-10-08 16:43:23 +03:00
Pierre-André Jacquod
0921457488
cppcheck reduce scope of var in rsc/...cpp3.c/cpp4.c/cpp6.c
2011-10-07 15:57:47 +02:00
Pierre-André Jacquod
fb2fe60773
cppcheck reduce scope of var in rsc/...rscclass.cxx
2011-10-07 15:57:47 +02:00
Bjoern Michaelsen
e94a19f3e0
simplfy dmake to gbuild bridgefile
2011-10-05 00:31:50 +02:00
Tor Lillqvist
9b45575e89
WaE: C++ exception handler used, but unwind semantics are not enabled
...
So override the T_CXXFLAGS for the yacc-generated source file to use
gb_LinkTarget_EXCEPTIONFLAGS. Seems to work.
2011-10-04 11:05:14 +03:00
Tor Lillqvist
d455410a3d
Look at GCC version, not whether MacOSX or not
2011-09-28 13:21:36 +03:00
Stephan Bergmann
6671fa81db
Removed uses of rtl::O[U]String[Buffer]::operator sal_{char|Unicode} const *().
2011-09-27 20:22:03 +02:00
Pierre-André Jacquod
1f1607a5e6
cppcheck: reduce scope of var in rsc rscflag.cxx
2011-09-26 22:02:43 +02:00
Stephan Bergmann
9da0b9d70d
Fix broken implicit string conversion
2011-09-23 12:19:50 +03:00
Andras Timar
687240f4b5
GetBuffer() -> getStr()
2011-09-22 07:51:12 +02:00