Commit Graph

137 Commits

Author SHA1 Message Date
caab53cf21 fdo#43460 connectivity,extensions,filter,idl,idlc: use isEmpty()
Change-Id: I78ba286be5aa4d731f734e5eb16adb77c686aad9
Reviewed-on: https://gerrit.libreoffice.org/4325
Reviewed-by: Noel Power <noel.power@suse.com>
Tested-by: Noel Power <noel.power@suse.com>
2013-06-18 17:31:20 +00:00
435f5e30c9 fdo#60724 correct spelling
Change-Id: I7318a9f4f3410edf4dbe67bf08f31682fcb4edc7
2013-04-15 05:10:29 +02:00
4e3baf32d9 svidl: more helpful error message for missing slot / types.
Change-Id: I89537f526e465137f5e8c17b4d7fd134ba59af4a
2013-04-10 15:14:28 +01:00
1946794ae0 mass removal of rtl:: prefixes for O(U)String*
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk
have kept them, in order not to break external API (the automatic using declaration
is LO-internal).

Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-07 14:23:11 +02:00
eec2eb05a2 fdo#39445 writing out tools/fsys.hxx (idl)
Removed uses of fsys from database.cxx, command.cxx, module.cxx, svidl.cxx.
Also removed a lot of cruft from svidl.cxx and command.hxx; unused variables
and code relating to them, eg. variables aCxxFile, aHxxFile, aSrcFile, aODLFile.
Changed some Strings to OUStrings in svidl.cxx and command.hxx.

Change-Id: I708284f70435c8f65cdcfc954af43976e28b8c9d
Reviewed-on: https://gerrit.libreoffice.org/2935
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
2013-03-25 13:08:52 +00:00
f294ecbe68 add sw swd msfilter vbahelper to Library_merged
Change-Id: If7fc0b480c58599e86bf3b75080b8b18d5d79488
2013-03-21 17:27:00 -04:00
88be7d32f3 Simplify this
Change-Id: I341f4a74062e78f6a4d23ca24d635c6a95fb90cb
2013-02-12 16:31:28 +01:00
63bcb139b9 Replaced O[U]String::valueOf( static_cast<> ) with O[U]String::number()
Change-Id: I2f11f2f15a652a9edc3c7e5b67c854debeed20de
Reviewed-on: https://gerrit.libreoffice.org/1784
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-01-21 15:04:17 +00:00
db7b486f88 Use the weak attribute for iOS, too
Change-Id: I090da1c6c9e48ef12f2a168eddb1a2cb91a8f533
2012-11-26 21:40:28 +02:00
b869b73947 Avoid duplicate symbols when DISABLE_DYNLOADING for Android
Change-Id: Iecd0ed802f6cc715ac77256bb4b49082b5976b4f
2012-09-20 14:26:31 +03:00
016918cf94 STL'ify SV_DECL_IMPL_PERSIST_LIST
Converts it to a template based on std::vector

Change-Id: Id7f89f494164c61a3a573cff443ac0e0488e93f1
2012-08-08 13:53:07 +03:00
2c47c9989e re-base on ALv2 code. Includes:
cws mba34issues01: #i117709#: make sure that parent of error message box is visible
    Patch contributed by Mathias Bauer
    http://svn.apache.org/viewvc?view=revision&revision=1172346
    i#119036 - improve user experience of certification dialog - only shown once
    Patch contributed by Oliver-Rainer Wittmann
    http://svn.apache.org/viewvc?view=revision&revision=1299727
2012-07-13 21:38:47 +01:00
bccf34c19a ditch String::CreateFromAscii
Change-Id: I2b482bd323ac510629c5ee31868010b7cd6ce691
2012-07-03 21:24:35 +01:00
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
a9435ab4d7 remove usage of RTL_CONSTASCII_STRINGPARAM 2012-03-12 13:35:56 +01:00
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
58d4275efa make idl ByteString free 2012-01-27 12:59:47 +00:00
04a32c98be use assert to demo equivalence 2012-01-27 12:59:46 +00:00
f75694e5b1 ByteString->rtl::OString 2012-01-27 12:59:46 +00:00
098d259123 useless unused aPStr object 2012-01-26 22:35:41 +00:00
12088021a0 ByteString->rtl::OString 2012-01-26 11:10:41 +00:00
fba010a777 make sot ByteString free 2012-01-23 11:37:04 +00:00
d59211357a Removed unnecessary tools/debug.hxx includes. 2012-01-06 23:55:51 +01:00
2d3203b2db make ReadUniOrByteString return a string 2012-01-06 09:52:42 +00:00
164b4ba0c7 ByteString->rtl::OString[Buffer] 2012-01-05 09:18:18 +00:00
b7859cdc9b don't inherit from ByteString 2012-01-05 09:18:16 +00:00
1c1961786a inheriting from ByteString is kind of weird 2011-12-22 09:07:47 +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
6ade792d3e IDL_COMPILER is always defined 2011-12-19 21:11:58 +00:00
8cbfe4e211 ByteString->rtl::OString[Buffer] 2011-12-14 09:52:49 +00:00
2338a8c9c5 convert GetMangleName 2011-12-13 10:11:43 +00:00
cd676159ca ByteString->rtl::OString[Buffer] 2011-12-06 10:33:04 +00:00
3fd28200f1 ByteString->rtl::OString[Buffer] 2011-11-28 09:55:02 +00:00
49a9e8a08c remove include of pch header from idl 2011-11-27 13:12:41 -06:00
2bad94e6b5 ByteString->rtl::OString 2011-11-19 21:11:03 +00:00
6adb9ad157 svidl: new parameter -fM: write GNU make dependencies 2011-11-08 19:10:01 +01:00
2cd8d42be0 ByteString->rtl::OStringBuffer 2011-09-21 09:47:38 +01:00
3eb62d6899 this is never NULL, can be a reference 2011-09-21 09:47:38 +01:00
557ba43663 ByteString->rtl::OString[Buffer] 2011-09-20 10:11:42 +01:00
2d4db01597 ByteString->rtl::OString 2011-09-19 09:59:23 +01:00
200bc6c582 resyncing to master 2011-07-21 18:51:11 +02:00
1e56be5daa ByteString::CreateFromInt32 -> OString::valueOf 2011-07-01 09:08:07 +01:00
97e3d208ba remove deprecated ByteString::CreateFromInt64 2011-06-29 09:04:33 +01:00
841cd41e29 enable exceptions for these 2011-06-20 16:52:33 +01:00