Commit graph

685 commits

Author SHA1 Message Date
Michael Meeks
678d1f12ad targetted improvement of UNO API includes / usage 2012-07-02 16:52:50 +01:00
Michael Meeks
1e0986beee re-base on ALv2 code. 2012-06-25 16:45:10 +01:00
Takeshi Abe
27b88d815d removed unused forward declarations of class
Change-Id: I814f8bdf4e4015f8e4eea34533db4ed8d6a7496e
2012-06-25 10:13:44 +09:00
Michael Meeks
b9042fad7c re-base on ALv2 code.
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21 15:00:05 +01:00
Caolán McNamara
bd4f553ef0 remove some UniString ctors
Change-Id: Ic2e712f4447b733b79d980e178d9d6d9d8bf0e40
2012-06-19 09:13:23 +01:00
Takeshi Abe
eb0497307b nuke dead code
Change-Id: Id9920ea7b82ea178e904f78bbd41ffc434813e0b
2012-06-07 23:03:11 +09:00
Caolán McNamara
cf9b0830c5 WaE: return value of fwrite unchecked
Change-Id: Ib3713290a7dcd4bbbb58232d144e35694653a4a5
2012-05-25 09:26:14 +01:00
Caolán McNamara
c77110b486 WaE: ignoring return value of fwrite
Change-Id: I289564b8f41bbae976853aa3994751d3092ff44d
2012-05-03 21:11:42 +01: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
Matúš Kukan
b560776417 YaccTarget and headers cleaning 2012-04-16 13:56:29 +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
Caolán McNamara
791f276833 Resolves: fdo#48129 maLangStr can have trailing nulls 2012-04-02 14:53:50 +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
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