summaryrefslogtreecommitdiff
path: root/idl/source
AgeCommit message (Collapse)AuthorFilesLines
2013-08-21finish deprecation of O(U)String::valueOf()Luboš Luňák5-20/+15
Compiler plugin to replace with matching number(), boolean() or OUString ctor, ran it, few manual tweaks, mark as really deprecated. Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
2013-07-08-Werror,-Wlogical-not-parentheses (Clang trunk towards 3.4)Stephan Bergmann1-1/+1
...the apparently mistyped condition happened to work as intended, given that TYPE_METHOD is zero. Change-Id: I468013ab61caff45c174da752ffb1c9ca9d373bd
2013-06-18fdo#43460 connectivity,extensions,filter,idl,idlc: use isEmpty()Jelle van der Waa2-2/+2
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-04-24svidl: make dependencies: handle removed include files:Michael Stahl1-0/+15
Write dummy targets for included files, so the incremental build does not break with "No rule to make target" if the included file is removed. Change-Id: I23c4406c4d1db9a8a4a7f0ecfec1cfc9ad05028a
2013-04-24Revert "svidl: write dependencies with cygwin paths"Michael Stahl1-45/+2
This reverts commit a042c2a6ab29011800de55fa382740be56c2d928. A GNU make that understands native Win32 paths is required now anyway, so revert this. Conflicts: idl/source/prj/database.cxx Change-Id: I6eb77d4b02728269f8dc484444df0cabc8c29b3e
2013-04-15fdo#60724 correct spellingThomas Arnhold1-1/+1
Change-Id: I7318a9f4f3410edf4dbe67bf08f31682fcb4edc7
2013-04-10svidl: more helpful error message for missing slot / types.Michael Meeks3-2/+9
Change-Id: I89537f526e465137f5e8c17b4d7fd134ba59af4a
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák12-204/+204
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-03-25fdo#39445 writing out tools/fsys.hxx (idl)Krisztian Pinter4-143/+128
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-21add sw swd msfilter vbahelper to Library_mergedPeter Foley1-1/+1
Change-Id: If7fc0b480c58599e86bf3b75080b8b18d5d79488
2013-03-06fdo#60148 Clean up warnings from the Clang compiler pluginnccuong1-100/+102
Change-Id: I08d755677c46c476710ecbd067ed9f7e2f54a671 loplugin: clean warnings: unused variables, incorrect indentation and log area. Reviewed-on: https://gerrit.libreoffice.org/2544 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-02-24loplugin: unused variablesThomas Arnhold1-1/+0
Change-Id: I7fc203900256839e679bf73b717d121fedc42087
2013-02-12Simplify thisJulien Nabet1-2/+1
Change-Id: I341f4a74062e78f6a4d23ca24d635c6a95fb90cb
2013-01-21Replaced O[U]String::valueOf( static_cast<> ) with O[U]String::number()Jean-Noël Rouvignac5-10/+10
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>
2012-11-26Use the weak attribute for iOS, tooTor Lillqvist1-1/+1
Change-Id: I090da1c6c9e48ef12f2a168eddb1a2cb91a8f533
2012-09-20Avoid duplicate symbols when DISABLE_DYNLOADING for AndroidTor Lillqvist1-0/+3
Change-Id: Iecd0ed802f6cc715ac77256bb4b49082b5976b4f
2012-08-15-Werror,-Wunused-private-field (Clang towards 3.2)Stephan Bergmann1-1/+0
Change-Id: I6fc91959f024b9a1f9e8633af8e16048752f6bdc
2012-08-08STL'ify SV_DECL_IMPL_PERSIST_LISTNoel Grandin5-149/+159
Converts it to a template based on std::vector Change-Id: Id7f89f494164c61a3a573cff443ac0e0488e93f1
2012-07-30Typo ressource -> resourceStephan Bergmann1-1/+1
Change-Id: Id13e7acfbe34eca5e124c9032d36d6f158bfb831
2012-07-13re-base on ALv2 code. Includes:Michael Meeks12-276/+168
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-03ditch String::CreateFromAsciiCaolán McNamara4-10/+10
Change-Id: I2b482bd323ac510629c5ee31868010b7cd6ce691
2012-06-09Remove superfluous empty lines on topThomas Arnhold1-2/+0
More than two lines are removed for readability. Change-Id: Ibff6cf68d7c512e240a54065b54a225bb23a782b
2012-04-29make gbuild the default assumption of build.plBjoern Michaelsen1-1/+0
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-03-21chmod -xTor Lillqvist1-0/+0
2012-03-20Convert tools/table.hxx usage to std::map in IDL moduleNoel Grandin5-13/+13
Along the way, convert the table parameter passing to using references since we are never passing a null pointer.
2012-03-12remove usage of RTL_CONSTASCII_STRINGPARAMLuboš Luňák2-18/+18
2012-01-27remove WriteSrc, WriteCxx and WriteHxxCaolán McNamara5-207/+0
I can't see that WriteSrc, WriteCxx WriteHxx are anything other than unused archaic remnants of the past.
2012-01-27make idl ByteString freeCaolán McNamara1-5/+3
2012-01-27use assert to demo equivalenceCaolán McNamara1-0/+18
2012-01-27ByteString->rtl::OStringCaolán McNamara8-175/+176
2012-01-26useless unused aPStr objectCaolán McNamara1-1/+0
2012-01-26ByteString->rtl::OStringCaolán McNamara8-199/+197
2012-01-23make sot ByteString freeCaolán McNamara2-10/+10
2012-01-06Removed unnecessary tools/debug.hxx includes.Marcel Metz2-4/+0
2012-01-06make ReadUniOrByteString return a stringCaolán McNamara1-1/+1
2012-01-05Removed unnecessary tools includes.Marcel Metz1-1/+0
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-05ByteString->rtl::OString[Buffer]Caolán McNamara3-36/+34
2012-01-05don't inherit from ByteStringCaolán McNamara7-185/+185
2011-12-30Fix for fdo43460 Part XXI getLength() to isEmpty()Olivier Hallot2-4/+4
Part XXI Modules i18npool, idl, idlc, io, javaunohelper, jvmaccess
2011-12-22inheriting from ByteString is kind of weirdCaolán McNamara5-70/+71
2011-12-21tweak for pre language-defect #77Caolán McNamara4-16/+16
2011-12-21disentangle Read/WriteByteString OUString variantsCaolán McNamara1-4/+4
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-21convert ReadByteString/WriteByteString from ByteString to OStringCaolán McNamara4-16/+16
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-21needs more work firstCaolán McNamara4-16/+16
This reverts commit 92f396733ebc518bcb7a9eae2dd3169d333b82b9.
2011-12-21bah, need to tweak for pre c++0xCaolán McNamara1-4/+4
This reverts commit d00fc0e293852cfc019ffaffa65bee327397677b.
2011-12-21disentangle Read/WriteByteString OUString variantsCaolán McNamara1-4/+4
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-21convert ReadByteString/WriteByteString from ByteString to OStringCaolán McNamara4-16/+16
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-19IDL_COMPILER is always definedCaolán McNamara7-50/+0
2011-12-14ByteString->rtl::OString[Buffer]Caolán McNamara5-23/+24
2011-12-13convert GetMangleNameCaolán McNamara2-12/+12