summaryrefslogtreecommitdiff
path: root/idlc/source
AgeCommit message (Collapse)AuthorFilesLines
2012-12-02unlink() doesn't work that well with URLsLuboš Luňák1-1/+1
Change-Id: I1d0cbd8b8cbbd3ea5c73d0cea6d9e354b1740c7c
2012-11-30[oneway] removal cleanupStephan Bergmann1-6/+0
Change-Id: I1d60bb4042753bd18475166054ad57dceb2fc97d
2012-11-30API CHANGE remove [oneway] method attributesThorsten Behrens5-54/+14
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 Bergmann2-6/+13
...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 Engelhard1-1/+4
Change-Id: Ic322d1be23033049fa3b5cd60c00479bb6cae3ca
2012-09-26Fix bool -> byte coercion logicStephan Bergmann1-1/+1
Change-Id: Iab6dba9484fb5ddb8a8d4efcd46d7b9c8d1acca8
2012-09-26sal_Bool -> boolNoel Grandin2-13/+13
Change-Id: I4fd6d247fdc0333ccdace4ebfa947c8d02e559bc
2012-09-05idlc: clear include file set in Idlc::reset():Michael Stahl1-0/+2
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 JAILLET1-1/+1
a literal within a OUString. Change-Id: Icc8e22c43f6ddca25cb284a3d45ab39680ad6d1f
2012-07-20idlc: do not use -I., deps need absolute pathsMichael Stahl1-1/+0
(regression from 63c508e3e86a140e35161c45d2be97779746f6cb) Change-Id: I03ae2cf6fdb229e26d33ef4611a1495590f90df7
2012-07-18re-base on ALv2 code. Includes:Michael Meeks25-4463/+281
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 Meeks2-5/+1
2012-06-21re-base on ALv2 code.Michael Meeks8-193/+121
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-05-23removed unused temporary rtl::OUStringTakeshi Abe2-2/+0
Change-Id: I9d118a5fbe2306465d8bcdb9ddd0596588137e5e
2012-05-06WaE: avoid build break on Mac PPC/XCode 2.5Christian Lohmaier1-0/+2
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 Ostrovsky1-0/+2
Change-Id: Ib0c1ec649b4e391359ef41cebad501b297579557
2012-05-04gbuild conversion l10ntools moduleDavid Ostrovsky1-0/+1
Change-Id: I Iea9a77f19856dd870eb72fa57249f959cdd7000c
2012-05-01build: cleaning up previously converted idlc moduleDavid Ostrovsky3-71/+1
Change-Id: Ic90495f677dc42c0430492548deaa9f9b10e4d44
2012-04-23WaE: Clang empty forloop bodyCatalin Iacob1-1/+2
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 Lillqvist1-0/+6
2012-04-14idlc: make dependencies: handle removed include files:Michael Stahl1-0/+18
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 McNamara1-3/+1
2012-04-13WaE: -Werror=parenthesesCaolán McNamara1-1/+2
2012-04-13WaE: declaration of 'rand' shadows a global declarationDavid Ostrovsky1-12/+12
2012-04-13gbuild conversion: idlc moduleDavid Ostrovsky2-201/+0
2012-01-14idlc: do not use -I., deps need absolute pathsMichael Stahl1-1/+1
2012-01-14idlc: new parameter -M: write GNU make dependenciesMichael Stahl5-18/+148
2012-01-14idlc: document all parametersMichael Stahl1-0/+2
2011-12-30Fix for fdo43460 Part XXI getLength() to isEmpty()Olivier Hallot5-11/+11
Part XXI Modules i18npool, idl, idlc, io, javaunohelper, jvmaccess
2011-12-15catch exception by constant referenceTakeshi Abe1-1/+1
2011-11-27remove include of pch header from idlcNorbert Thiebaud23-46/+0
2011-10-07delete commented code from idlc/..astinterface.cxxPierre-André Jacquod1-21/+18
2011-10-07remove dead code in astdump.cxx (in idlc dir).Pierre-André Jacquod1-45/+26
2011-10-03WaE: Ignore also C4702: unreachable codeTor Lillqvist1-1/+1
2011-09-27WaE: comparison between signed and unsigned integer expressionsTor Lillqvist1-6/+5
2011-09-27Removed uses of rtl::O[U]String[Buffer]::operator sal_{char|Unicode} const *().Stephan Bergmann2-6/+5
2011-09-27Let's rely on memmove() being sane on all our platformsTor Lillqvist1-36/+0
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 McNamara1-0/+4
2011-09-06[cppchecker] deletion of unread / unneeded variablePierre-André Jacquod1-2/+1
2011-06-18Link correctly with the gnu_getopt library in the MinGW caseTor Lillqvist1-1/+3
2011-06-16We do need to build this when cross-compiling to DESKTOP platformsTor Lillqvist2-11/+0
2011-06-04Rehash cross-compilation ideasTor Lillqvist2-2/+10
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 Lillqvist2-0/+2
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 Tardon1-5/+6
2011-04-18Remove OS/2 support.Francois Tigeot5-32/+5
2011-03-23Merge commit 'ooo/DEV300_m103'Jan Holesovsky6-289/+321
Conflicts: codemaker/source/bonobowrappermaker/corbaoptions.cxx codemaker/source/cppumaker/cppuoptions.cxx codemaker/source/cunomaker/cunooptions.cxx codemaker/source/idlmaker/idloptions.cxx codemaker/source/javamaker/javaoptions.cxx cppu/source/typelib/typelib.cxx idlc/source/options.cxx offapi/com/sun/star/util/PathSubstitution.idl offapi/drafts/com/sun/star/form/ListEntryEvent.idl offapi/drafts/com/sun/star/form/XBindableValue.idl offapi/drafts/com/sun/star/form/XListEntryListener.idl offapi/drafts/com/sun/star/form/XListEntrySink.idl offapi/drafts/com/sun/star/form/XListEntrySource.idl offapi/drafts/com/sun/star/form/XValueBinding.idl registry/tools/checksingleton.cxx registry/tools/options.hxx registry/tools/regcompare.cxx registry/tools/regmerge.cxx sal/cppunittester/cppunittester.cxx sal/osl/unx/socket.c sal/osl/w32/diagnose.c sal/prj/d.lst sal/rtl/source/alloc_fini.cxx sal/rtl/source/alloc_global.c sal/rtl/source/makefile.mk
2011-03-07CWS-TOOLING: integrate CWS jsc340Ivo Hinkelmann1-3/+9
Notes: split repo tag: ure_ooo/DEV300_m102
2011-03-02Remove "using namespace ::rtl"Julien Nabet2-3/+6
2011-02-24Remove MSDOS supportThomas Arnhold4-4/+4
2011-02-24jsc340: i114847: fix nameJuergen Schmidt1-2/+10