Michael Meeks
328e2263fb
targetted re-work of cppunit pieces.
2012-06-27 19:13:11 +01:00
Caolán McNamara
2c757293b8
reduce static_initialization_and_destruction chain
...
Change-Id: I0c1b2f2d908c31d1510662880c13504d81445a6a
2012-06-25 14:19:03 +01:00
Julien Nabet
e45bb323ee
Fix prefix ++/-- operators for non-primitive types
...
Change-Id: Ibb55fcedecaf66f0817d24d8f408ef69d273ffa2
2012-06-23 23:06:48 +02:00
Michael Meeks
ecf943247f
re-base on ALv2 code.
...
Change-Id: I8018d9b5fa01d1720c0392dc5fdc4a0656f25a35
2012-06-22 09:51:05 +01:00
Michael Meeks
b9042fad7c
re-base on ALv2 code.
...
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21 15:00:05 +01:00
Michael Meeks
b6db3e3acc
re-base on ALv2 code.
...
Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
2012-06-21 13:11:06 +01:00
Caolán McNamara
8e01e88145
add a route to compare a O[U]String to one code unit
...
Seems very awkward to create an entire temporary O[U]String just to compare it
to another when we want to know if that other contains just one char of a given
value
Change-Id: Iacd4e0d87dc5c5211fa06c61c55e1ed85b1e91f3
2012-06-18 15:13:51 +01:00
Caolán McNamara
9bf2d51927
callcatcher: chainsaw out some unnecessary code
...
Change-Id: I88de7a942fbc9e0c51a3261236f5203f037d2392
2012-06-15 15:41:13 +01:00
Caolán McNamara
df4c929bc3
don't need to realloc string
...
Change-Id: I17ec5a54b0088b56bd8c8431eb255626dbb1fac8
2012-06-12 13:35:49 +01:00
Caolán McNamara
38fea22431
removeTrailingChars is the same as stripEnd
...
Change-Id: I3fc618f886082e08e9baae3ae09017f653e729bd
2012-06-11 14:46:44 +01:00
Thomas Arnhold
3770bbbdba
Remove superfluous empty lines on top
...
More than two lines are removed for readability.
Change-Id: Ibff6cf68d7c512e240a54065b54a225bb23a782b
2012-06-09 04:57:58 +02:00
Thomas Arnhold
13887f4848
Remove superfluous include comments
...
Change-Id: Icd57ca7fd89e30c190c1b06dbe67c30bea8d1b59
2012-06-09 04:51:38 +02:00
Caolán McNamara
e2cd6a77ea
drop String::Reverse
...
Change-Id: Ie06635dc1f242241d48f9d6de4f592898e605bf2
2012-06-06 14:38:42 +01:00
Michael Meeks
93b415a68f
targetted prefer prefix operators reversion
...
Change-Id: I7e1ae9622bc89b584ddbb307dac15b0ed56ae563
2012-05-31 14:58:05 +01:00
Caolán McNamara
5dcf536b69
merge the 5 ConstAsciiString duplicate classes together
...
a) merge them together and move it into comphelper
b) turn it into a POD rather than having vast amounts
of destructors registered into the cxa_atexit chain
Change-Id: I04d3b9d7804f8e233013c916df9d617a0f84f96a
2012-05-17 14:03:26 +01:00
Caolán McNamara
0e9c60d596
reduce static_initialization_and_destruction chain
...
Change-Id: Ib2642e19d9148acca27227b0d91de4e8855178aa
2012-05-17 14:03:25 +01:00
Michael Stahl
326d255eaa
rename Library_comphelp.mk to Library_comphelper.mk...
...
... so the silly broken gb_Symbols_get_all enables debug for it.
2012-05-04 00:25:37 +02:00
Bjoern Michaelsen
b1c3e8ae28
make gbuild the default assumption of build.pl
...
this removes dmake completely out of the build for migrated modules
build.pl now assumes modules to be gbuild, unless there is a
prj/dmake file
Change-Id: I674a036b182ee13c5ec093e83cb3d38133112d3b
2012-04-29 03:50:46 +02:00
Tor Lillqvist
1ab7d31a68
Add comment describing the meanings of the filter flag bits
2012-04-18 23:40:20 +03:00
Caolán McNamara
abda377619
callcatcher: update list
2012-04-18 13:03:22 +01:00
Szabolcs Dezsi
e4fb171d3a
Replaced a few equal calls with ==
2012-04-08 19:24:00 +02:00
Michael Stahl
4c50f23f87
LinkTarget.mk: remove gb_LinkTarget_add_package_headers
2012-04-08 01:05:53 +02:00
Michael Stahl
c923f7d2c2
gbuild: "use" vs. "add":
...
Naming convention for gbuild methods:
- "add" is used for stuff that is logically a part of the target
(i.e. not registered at the Module, but defined in the target's makefile)
- "use" is used for stuff that is logically a different target
(i.e. it is registered at the Module, has it's own makefile, may be
in a different module than the target)
2012-04-08 01:05:52 +02:00
Szabolcs Dezsi
8a01ee6243
Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
...
Pattern used:
find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\) ) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-04-06 14:30:05 +02:00
Caolán McNamara
b26df89e6c
callcatcher: remove some unused code
2012-04-02 14:53:47 +01:00
Julien Nabet
e511a7d639
Fixes a bunch of "Prefer prefix ++/-- operators for non-primitive types"
2012-03-29 23:56:31 +02:00
Caolán McNamara
9ce98add53
remove static OUStrings from static_initialization_and_destruction chain
2012-03-29 12:44:23 +01:00
Takeshi Abe
16244e7f24
removed duplicate includes in avmedia / basic / canvas / chart2 / comphelper
2012-03-28 00:30:29 +09:00
Takeshi Abe
6749dcc154
removed duplicate includes in basic / canvas / chart2 / comphelper
2012-03-26 22:39:42 +09:00
Caolán McNamara
88cf101f18
move GetFilterFlags inside ifdef WNT
2012-03-20 12:57:32 +00:00
Thorsten Behrens
80fe015a86
Add COMPHELPER_SERVICEDECL_EXPORTS* back in, after libmerge changes
...
Did I mention I hate boilerplate copied all over the place? ;)
2012-03-16 17:02:23 +01:00
Stephan Bergmann
6e67c03dc0
Enable -Wnon-virtual-dtor for GCC 4.6
...
...which has the necessary features to support it.
Change a lot of classes to either contain a protected non-virtual dtor
(which is backwards compatible, so even works for cppumaker-generated
UNO headers) or a public virtual one.
cppuhelper/propertysetmixin.hxx still needs to disable the warning, as
the relevant class has a non-virtual dtor but friends, which would still
cause GCC to warn.
Includes a patch for libcmis, intended to be upstreamed.
2012-03-14 13:32:02 +01:00
Stefan Knorr (astron)
5bec57a0b7
Correct some mistranslated comments
2012-03-10 22:00:56 +01:00
Matúš Kukan
84b3f7b345
gbuild: get rid of realpath in gb_Foo_set_include
2012-03-10 21:23:20 +01:00
Tom Thorogood
8907a41bf8
Translate german comments in core/comphelper
2012-03-05 18:52:34 +02:00
Marc-André Laverdière-Papineau
1d6cadf516
Removed dead code
2012-03-04 21:26:14 -05:00
Marc-André Laverdière-Papineau
0586306a54
Removed dead code
2012-03-04 21:26:13 -05:00
Caolán McNamara
53294e814b
move template out of header
2012-02-29 10:09:44 +00:00
Matúš Kukan
2126166320
add AddFilterNameCheckOwnFile back for WNT
2012-02-26 00:03:21 +01:00
Elton Chung
ba8919e812
Remove unused code
2012-02-25 20:33:57 +00:00
Elton Chung
0333d2101a
Remove unused code in basegfx, comphelper
2012-02-25 20:33:57 +00:00
Cédric Bosdonnat
e3e7623bf6
fdo#45560: Fixed docx textbox borders style and width import
2012-02-23 13:56:24 +01:00
Stephan Bergmann
2eaa1422a0
Adapted AsyncEventNotifier to safer-to-use salhelper::Thread
2012-02-23 10:47:37 +01:00
Stephan Bergmann
fe981519f5
gb_JunitTest_JunitTest takes only one argument
2012-02-20 16:39:59 +01:00
Elton Chung
d30b4e9fb6
Get rid of size() == 0
2012-02-19 17:07:46 +04:00
Takeshi Abe
03591233c1
Prefer equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("..."))
...
to equalsIgnoreAsciiCaseAscii("...")
2012-02-18 23:19:41 +09:00
Stephan Bergmann
4a98b359d8
Clean up AsyncEventNotifier interface
2012-02-16 19:01:27 +01:00
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
Lionel Elie Mamane
034b130b90
comphelper: add getINT64
2012-02-14 19:55:22 +01:00
Stephan Bergmann
765c6d9916
Make simplified configuration API available down in comphelper
2012-02-13 22:15:33 +01:00