Commit graph

307 commits

Author SHA1 Message Date
Tor Lillqvist
2a1171929e chmod -x 2012-03-21 13:00:45 +02:00
Noel Grandin
e516f134fa Convert tools/table.hxx usage to std::map in IDL module
Along the way, convert the table parameter passing to using references since we are never passing
a null pointer.
2012-03-20 14:23:46 +00:00
Luboš Luňák
a9435ab4d7 remove usage of RTL_CONSTASCII_STRINGPARAM 2012-03-12 13:35:56 +01:00
Matúš Kukan
84b3f7b345 gbuild: get rid of realpath in gb_Foo_set_include 2012-03-10 21:23:20 +01:00
Noel Grandin
e36a9a64f1 Convert tools/table.hxx to std::map
Convert usage of tools/table.hxx to std::map in aPTable field of
SvPersistStream class.
2012-03-08 13:54:39 +02:00
Matúš Kukan
4b30ec9def fdo#39491 -I$(OUTDIR)/inc is set in SOLARINC 2012-02-10 21:41:45 +01:00
Josh Heidenreich
64e1ae0f55 Added READMEs for modules which used to be in libs-core 2012-02-08 06:37:16 +01:00
Norbert Thiebaud
c857dff7fc switch to include-based build rather than sourced-based build 2012-02-05 19:34:05 -06:00
Tor Lillqvist
ed639fbb39 No thanks for non-desktop OSes 2012-01-27 22:44:05 +02:00
Caolán McNamara
5a0fd87d15 remove WriteSrc, WriteCxx and WriteHxx
I can't see that WriteSrc, WriteCxx WriteHxx are anything other than unused
archaic remnants of the past.
2012-01-27 12:59:47 +00:00
Caolán McNamara
58d4275efa make idl ByteString free 2012-01-27 12:59:47 +00:00
Caolán McNamara
04a32c98be use assert to demo equivalence 2012-01-27 12:59:46 +00:00
Caolán McNamara
f75694e5b1 ByteString->rtl::OString 2012-01-27 12:59:46 +00:00
Caolán McNamara
098d259123 useless unused aPStr object 2012-01-26 22:35:41 +00:00
Caolán McNamara
6d4b5da90f AppendParserString never defined 2012-01-26 22:35:41 +00:00
Caolán McNamara
12088021a0 ByteString->rtl::OString 2012-01-26 11:10:41 +00:00
Caolán McNamara
fba010a777 make sot ByteString free 2012-01-23 11:37:04 +00:00
August Sodora
bcb9ddaa7e Remove _SVSTDARR_STRINGSISORTDTOR 2012-01-10 23:18:14 -05:00
Marcel Metz
d59211357a Removed unnecessary tools/debug.hxx includes. 2012-01-06 23:55:51 +01:00
Caolán McNamara
2d3203b2db make ReadUniOrByteString return a string 2012-01-06 09:52:42 +00:00
Marcel Metz
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
Caolán McNamara
164b4ba0c7 ByteString->rtl::OString[Buffer] 2012-01-05 09:18:18 +00:00
Caolán McNamara
b7859cdc9b don't inherit from ByteString 2012-01-05 09:18:16 +00:00
Olivier Hallot
a17fb88256 Fix for fdo43460 Part XXI getLength() to isEmpty()
Part XXI
Modules
i18npool, idl, idlc, io, javaunohelper, jvmaccess
2011-12-30 11:52:45 +01:00
Caolán McNamara
1c1961786a inheriting from ByteString is kind of weird 2011-12-22 09:07:47 +00:00
Caolán McNamara
c1d49234e5 tweak for pre language-defect #77 2011-12-21 13:44:52 +00:00
Caolán McNamara
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
Caolán McNamara
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
Caolán McNamara
6708977331 needs more work first
This reverts commit 92f396733e.
2011-12-21 10:30:10 +00:00
Caolán McNamara
fffae28952 bah, need to tweak for pre c++0x
This reverts commit d00fc0e293.
2011-12-21 10:29:33 +00:00
Caolán McNamara
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
Caolán McNamara
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
Caolán McNamara
6ade792d3e IDL_COMPILER is always defined 2011-12-19 21:11:58 +00:00
Caolán McNamara
8cbfe4e211 ByteString->rtl::OString[Buffer] 2011-12-14 09:52:49 +00:00
Caolán McNamara
2338a8c9c5 convert GetMangleName 2011-12-13 10:11:43 +00:00
Bjoern Michaelsen
2acd8fbac9 in modules, when we have a env we are in stage gbuild 2011-12-07 15:53:06 +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
bdaadf8fdd is there any point to aSrcLine and "rsc" directive in idl? 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
49a9e8a08c remove include of pch header from idl 2011-11-27 13:12:41 -06:00
Bjoern Michaelsen
f2f0dbd273 make gbuild makefiles run independant of pwd again 2011-11-25 12:04:40 +01:00
Caolán McNamara
2bad94e6b5 ByteString->rtl::OString 2011-11-19 21:11:03 +00:00
Michael Stahl
a042c2a6ab svidl: write dependencies with cygwin paths 2011-11-18 22:24:11 +01:00
Caolán McNamara
abf7cdac13 UniqueIdContainer is only needed by binfilter 2011-11-16 13:24:05 +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
Caolán McNamara
74500c21a4 ByteString->rtl::OString 2011-11-14 07:36:02 +00:00
Michael Stahl
6adb9ad157 svidl: new parameter -fM: write GNU make dependencies 2011-11-08 19:10:01 +01:00