Commit Graph

3465 Commits

Author SHA1 Message Date
809438ad92 Remove unused code 2012-01-07 17:47:06 -05:00
e0cf30f54a Remove unused code 2012-01-07 17:47:05 -05:00
5845c5b6ec Removed unnecessary tools/link.hxx includes. 2012-01-06 23:55:50 +01:00
2d3203b2db make ReadUniOrByteString return a string 2012-01-06 09:52:42 +00:00
25e84ee959 fdo#44172: Basic function VAL produces bad result 2012-01-05 14:46:09 -05:00
53d27eb207 Removed unnecessary tools includes. 2012-01-05 15:38:51 +01:00
571ad11bc0 Removed unnecessary tools includes. 2012-01-05 15:36:41 +01:00
79646372a0 Removed unnecessary tools includes.
Hello lo-devs,

this patch series removes a lot of unnecessary includes for the various
tools header. The patches without suffix should be applied to the core
repository, the .binfilter.patch suffix should be applied to the
binfilter repository. I've tested the build with the configuration
--enable-binfilter --enable-dbgutil --enable-debug, is this sufficient
or did I miss another important configuration, that enables some
conditional compiled code? I've only build this on linux-x86_64, but the
patch also touches some of the mac specific code like
fpicker/source/aqua/SalAquaFilePicker.mm so it would be maybe a good
idea to test this patch.

regards Marcel Metz
2012-01-05 15:31:29 +01:00
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
1702bab54f add mode-lines to some new files 2012-01-05 09:18:16 +00:00
c1d49234e5 tweak for pre language-defect #77 2011-12-21 13:44:52 +00:00
5c24789ca3 disentangle Read/WriteByteString OUString variants
The ones which use a definite 8-bit encoding read/write pascal-style
strings with a 16bit length prefix.

The ones which use a definite 16-bit encoding read/write pascal-style
UTF-16 strings with a 32bit length prefix, i.e. not ByteStrings at all

The "I dunno" ones might be UTF-16 strings or 8-bit strings, depending
on the charset. Rename to ReadUniOrByteString like the other
similar horrors to flag this misery
2011-12-21 13:44:52 +00:00
c4f0efc237 convert ReadByteString/WriteByteString from ByteString to OString
Nobody ever used the return values anyway, so for reading just
return the string and for writing the number of bytes written

Doesn't need to be members, make standalone functions

Rename  to
read_lenPrefixed_uInt8s_ToO[U]String and
write_lenPrefixed_uInt8s_FromO[U]String, lengthy,
but much less unambiguous, seeing as a lot of users of it don't
seem to be aware that they read/write pascal-style length
prefixed strings, which isn't surprising given the
apparent simplicity of their original name.

added a unit test
2011-12-21 13:44:52 +00:00
6708977331 needs more work first
This reverts commit 92f396733ebc518bcb7a9eae2dd3169d333b82b9.
2011-12-21 10:30:10 +00:00
fffae28952 bah, need to tweak for pre c++0x
This reverts commit d00fc0e293852cfc019ffaffa65bee327397677b.
2011-12-21 10:29:33 +00:00
d00fc0e293 disentangle Read/WriteByteString OUString variants
The ones which use a definite 8-bit encoding read/write pascal-style
strings with a 16bit length prefix.

The ones which use a definite 16-bit encoding read/write pascal-style
UTF-16 strings with a 32bit length prefix, i.e. not ByteStrings at all

The "I dunno" ones might be UTF-16 strings or 8-bit strings, depending
on the charset. Rename to ReadUniOrByteString like the other
similar horrors to flag this misery
2011-12-21 10:10:58 +00:00
92f396733e convert ReadByteString/WriteByteString from ByteString to OString
Nobody ever used the return values anyway, so for reading just
return the string and for writing the number of bytes written

Doesn't need to be members, make standalone functions

Rename  to
read_lenPrefixed_uInt8s_ToO[U]String and
write_lenPrefixed_uInt8s_FromO[U]String, lengthy,
but much less unambiguous, seeing as a lot of users of it don't
seem to be aware that they read/write pascal-style length
prefixed strings, which isn't surprising given the
apparent simplicity of their original name.

added a unit test
2011-12-21 10:10:58 +00:00
815b7b39f2 EXTENDED_BINARY_MODULES is always defined 2011-12-19 20:34:53 +00:00
220b97fd14 SbTextPortions, etc can completely go 2011-12-13 10:11:45 +00:00
0d486af418 _BASIC_TEXTPORTIONS always defined 2011-12-13 10:11:44 +00:00
a15cdba6ef disassembler unused 2011-12-13 10:11:44 +00:00
90ca7d9e24 callcatcher: remove newly unused code 2011-12-13 10:11:44 +00:00
5258afdc70 bUsedForHilite always false 2011-12-13 10:11:43 +00:00
e008580f65 SbiTokenizer::Hilite unused 2011-12-13 10:11:43 +00:00
583582c5bf German translations
By Mike Whiteley/Noel Grandin, some smaller changes by myself; changes to binfilter removed from patch
2011-12-12 22:35:05 +01:00
9201704ede Fix for fdo43460 Part IV getLength to isEmpty
Part IV
Module
basic (small fix per demand from Ivan Timofeev)
binaryurp
bridges
2011-12-13 00:11:25 +04:00
c64efb1dd5 Remove unused code 2011-12-10 19:18:51 -05:00
1274558acc Remove unused header 2011-12-10 18:51:59 -05:00
91d4fe75ee Fix for fdo43460 Part III getLength to isEmpty
Part III
Module
basic
2011-12-10 21:13:58 +04:00
87ec1f8857 callcatcher: remove unused code post automation removal 2011-12-09 13:57:16 +00:00
5a61ac273b Remove old testtool icons 2011-12-09 00:04:33 -05:00
99ec322768 Remove archaic tests 2011-12-08 23:59:57 -05:00
cfcbcc8939 Removed basic/svtmsg.hrc 2011-12-08 13:59:58 -05:00
9b8e3d285b Removed basic/dispdefs.hxx 2011-12-08 13:57:47 -05:00
da35c131fe Removed basic/process.hxx 2011-12-08 13:56:03 -05:00
dcfd4beb21 childs -> children 2011-12-08 11:32:41 +02:00
003dbb7492 Remove basic/mybasic.hxx 2011-12-08 01:29:19 -05:00
f5ba057f24 Remove basic/basicrt.hxx 2011-12-08 01:26:09 -05:00
2acd8fbac9 in modules, when we have a env we are in stage gbuild 2011-12-07 15:53:06 +01:00
a2eb0cf44b Remove testtool 2011-12-07 00:56:22 -05:00
df46bad0d1 Added some tests for basic/scanner 2011-12-05 19:00:42 -05:00
971bf1aa4c Use sal_Int32 in all these places 2011-12-05 17:42:26 -05:00
f58ae13e8a Prevent the testtool from building 2011-12-05 17:16:45 -05:00
40be618fb3 Refactor scanAlphanumeric 2011-12-04 22:13:24 -05:00
0bcc6c93b8 Use appropriate datatypes here too 2011-12-04 18:09:07 -05:00
cc744ef568 Use sal_uInt16 here 2011-12-04 17:29:16 -05:00
9f8d1f6b46 translated some comments from German to English 2011-12-04 07:56:51 +01:00
86adb5cacb get rid of class Date and Time default ctor with system time penalty 2011-12-01 21:04:29 +01:00
d73e574d8a move reconfigure into gbuild 2011-11-29 17:25:14 +01:00
625f1cd72e callcatcher: some unused methods 2011-11-29 10:35:13 +00:00