summaryrefslogtreecommitdiff
path: root/idlc/source
AgeCommit message (Collapse)Author
2013-02-21Fix type unkown -> unknownJulien Nabet
Change-Id: I8d55d5ae5ae38ae2b252859b5400e36301f19ef0
2013-02-13Some cppcheck cleaningJulien Nabet
Change-Id: I099171d85a51095f0ff6d592c1260d931f9769b2
2013-02-12Some cppcheck cleaningJulien Nabet
Change-Id: I8609949377181f8edb30ac07b2791cfcd079fc7d
2013-01-30UNO constants cannot be of CHAR typeStephan Bergmann
Change-Id: I13f2f1d38b99a5eb1d10f40c524894e37a47f7e2
2013-01-26Remove redundant braces around for loopsStephan Bergmann
...that had once been workarounds for compilers that did not yet support the C++98 scoping rules for declarations in for-init-statements. Change-Id: I51dc42982b30bf3adea6de1a10a91c0b4b4acfbe
2013-01-22API CHANGE: Remove support for individual constants from UNOIDLStephan Bergmann
...i.e., "const X = N;" declarations outside of constant groups. This appears to be unused in practice, and removing it will allow to simplify future code related to UNO type information. This removes the definition of "constant-decl", and the branch mentioning "constant-decl" from the definition of "declaration" at <http://wiki.openoffice.org/w/index.php?title=Documentation/DevGuide/AppendixD/UNOIDL_Syntax_Specification&oldid=137490>. Change-Id: I218626f02ebd46ee438bf5453ca1510c9ed8e5f0
2012-12-02unlink() doesn't work that well with URLsLuboš Luňák
Change-Id: I1d0cbd8b8cbbd3ea5c73d0cea6d9e354b1740c7c
2012-11-30[oneway] removal cleanupStephan Bergmann
Change-Id: I1d60bb4042753bd18475166054ad57dceb2fc97d
2012-11-30API CHANGE remove [oneway] method attributesThorsten Behrens
Remove non-functional and broken [oneway] attributes from all idl files. Change idl compiler to no longer digest such idl. Change-Id: Ie14c5012beccb6242d7cd592d434a88091b695d1
2012-11-23Adding SAL_DEPRECATED_INTERNAL to an implementation function is pointlessStephan Bergmann
...as there are typically no direct calls to it anyway. What is apparently needed is to decorate the cppumaker-generated headers instead: * cppumaker obtains deprecation-information from the documentation strings in .rdb files. As these are normally generated by idlc without documentation included (no -C), idlc got changed to nevertheless contain documentation consisting of just "@deprecated" in this case, to allow to easily tunnel this information to cppumaker always. * The mechanism of parsing for "@deprecated" in documentation strings is somewhat crude, of course. * For now, cppumaker only decorates C++ functions that correspond to UNOIDL interface attributes and methods. More should be possible (but, e.g., being able to decorate a complete C++ class corresponding to a deprecated UNOIDL interface type depends on whether all platforms would accept SAL_DEPRECATED_INTERNAL at the same position in a C++ class declaration. * This could also be extended to other languages than C++/cppumaker. * Always using SAL_DEPRECATED_INERNAL instead of SAL_DEPRECATED for decoration is to keep things simple and our codebase working. Improvements are possible here, too, of course. Change-Id: Ia2917892f780d477652e4cd9f286588a6898c3f5
2012-09-27add --with-system-ucppRene Engelhard
Change-Id: Ic322d1be23033049fa3b5cd60c00479bb6cae3ca
2012-09-26Fix bool -> byte coercion logicStephan Bergmann
Change-Id: Iab6dba9484fb5ddb8a8d4efcd46d7b9c8d1acca8
2012-09-26sal_Bool -> boolNoel Grandin
Change-Id: I4fd6d247fdc0333ccdace4ebfa947c8d02e559bc
2012-09-05idlc: clear include file set in Idlc::reset():Michael Stahl
Resetting the set between files reduces the size of the generated offapi.d from 41M to 4.5M. Change-Id: I221e6dfb75cbadb5d970f18eccfc85ffdb83ce6c
2012-08-06There is not need to allocate memory just for getting the 'indexOf'Christophe JAILLET
a literal within a OUString. Change-Id: Icc8e22c43f6ddca25cb284a3d45ab39680ad6d1f
2012-07-20idlc: do not use -I., deps need absolute pathsMichael Stahl
(regression from 63c508e3e86a140e35161c45d2be97779746f6cb) Change-Id: I03ae2cf6fdb229e26d33ef4611a1495590f90df7
2012-07-18re-base on ALv2 code. Includes:Michael Meeks
118568: switch to using ucpp Patch contributed by Juergen Schmidt http://svn.apache.org/viewvc?view=revision&revision=1209396
2012-06-28remove malingering legacy RCS tags.Michael Meeks
2012-06-21re-base on ALv2 code.Michael Meeks
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-05-23removed unused temporary rtl::OUStringTakeshi Abe
Change-Id: I9d118a5fbe2306465d8bcdb9ddd0596588137e5e
2012-05-06WaE: avoid build break on Mac PPC/XCode 2.5Christian Lohmaier
otherwise breaks with /usr/share/bison.simple: In function ´int yyparse()´: /usr/share/bison.simple:614: warning: comparison between signed and unsigned integer expressions /usr/share/bison.simple:626: warning: comparison between signed and unsigned integer expressions
2012-05-04disable GCC diagnostic #pragma on older GCC versionsDavid Ostrovsky
Change-Id: Ib0c1ec649b4e391359ef41cebad501b297579557
2012-05-04gbuild conversion l10ntools moduleDavid Ostrovsky
Change-Id: I Iea9a77f19856dd870eb72fa57249f959cdd7000c
2012-05-01build: cleaning up previously converted idlc moduleDavid Ostrovsky
Change-Id: Ic90495f677dc42c0430492548deaa9f9b10e4d44
2012-04-23WaE: Clang empty forloop bodyCatalin Iacob
Clang says: stripped_scanner.ll:198:46: error: for loop has empty body [-Werror,-Wempty-body] stripped_scanner.ll:198:46: note: put the semicolon on a separate line to silence this warning [-Wempty-body]
2012-04-22WaE: comparison of integers of different signs and unused functionsTor Lillqvist
2012-04-14idlc: make dependencies: handle removed include files:Michael Stahl
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.
2012-04-13WaE: don't seem to need this pragmaCaolán McNamara
2012-04-13WaE: -Werror=parenthesesCaolán McNamara
2012-04-13WaE: declaration of 'rand' shadows a global declarationDavid Ostrovsky
2012-04-13gbuild conversion: idlc moduleDavid Ostrovsky
2012-01-14idlc: do not use -I., deps need absolute pathsMichael Stahl
2012-01-14idlc: new parameter -M: write GNU make dependenciesMichael Stahl
2012-01-14idlc: document all parametersMichael Stahl
2011-12-30Fix for fdo43460 Part XXI getLength() to isEmpty()Olivier Hallot
Part XXI Modules i18npool, idl, idlc, io, javaunohelper, jvmaccess
2011-12-15catch exception by constant referenceTakeshi Abe
2011-11-27remove include of pch header from idlcNorbert Thiebaud
2011-10-07delete commented code from idlc/..astinterface.cxxPierre-André Jacquod
2011-10-07remove dead code in astdump.cxx (in idlc dir).Pierre-André Jacquod
2011-10-03WaE: Ignore also C4702: unreachable codeTor Lillqvist
2011-09-27WaE: comparison between signed and unsigned integer expressionsTor Lillqvist
2011-09-27Removed uses of rtl::O[U]String[Buffer]::operator sal_{char|Unicode} const *().Stephan Bergmann
2011-09-27Let's rely on memmove() being sane on all our platformsTor Lillqvist
Defining an own memmove() here is silly. It breaks compilation against MacOSX 10.6 SDK where memmove is a macro. If we really wanted to avoid the system memmove() here, surely we should then use rtl_moveMemory(). But since when is idlcpp performance critical?
2011-09-22just silence the auto_ptr deprecations in isolationCaolán McNamara
2011-09-06[cppchecker] deletion of unread / unneeded variablePierre-André Jacquod
2011-06-18Link correctly with the gnu_getopt library in the MinGW caseTor Lillqvist
2011-06-16We do need to build this when cross-compiling to DESKTOP platformsTor Lillqvist
2011-06-04Rehash cross-compilation ideasTor Lillqvist
Drop the TARGETPLATFORM=BUILD indication of stuff that is to be built for the build platform. I will handle the split of stuff built for the build or host platforms differently. Add explicit rules to do nothing for the cross-compilation case, but likely even that will be unnecessary in the case of complete modules like xml2cmp. I will just mark modules that are for the build platform only with an own flag in BUILD_TYPE.
2011-06-02Set TARGETPLATFORM=BUILD, idlc is for the build platformTor Lillqvist
It doesn't build yet when cross-compiling, though. It needs REGLIB, SALLIB and SALHELPERLIB, and so far these get built only for the host platform when cross-compiling. Need to fix that. Can't have this ad-hoc mixing of build platform tools and host platform libs in the same OUTDIR any more. When cross-compiling we should do a full separation of binaries for build and host. Libraries like SALLIB are needed for both.
2011-05-17do not leak memoryDavid Tardon