summaryrefslogtreecommitdiff
path: root/unoidl
AgeCommit message (Collapse)AuthorFilesLines
2013-07-09fdo#65589: Treat legacy types.rdb w/o /UCR key as emptyStephan Bergmann1-12/+20
...as they are encountered in the wild. Change-Id: Iae46d3b4b4aca18a09680caabc0e343f8a534989 (cherry picked from commit 87bad231d6f81c611ba145aea483a568623ca42e)
2013-05-16Support for annotations in the new UNOIDL formatStephan Bergmann4-263/+651
...used for now to transport @deprecated information. Also, improve Idx-String (formerly Idx-Name, but also used for UTF-8 annotations now) format, using the 0x80000000 for the indirection rather than the base case. (And the README erroneously used "Offset of" Idx-String all over the place.) Change-Id: I7003b1558ab536a11a9af308f9b16a7ef8840792
2013-05-08Minor improvements to UNOIDL binary formatStephan Bergmann3-4/+19
Change-Id: Ia215b34842ce85bfbd1ad90a286abcbae0884bd5
2013-05-08unoidl/README improvementsStephan Bergmann1-8/+39
Change-Id: I5123d984f8f9bf49f5d1ad8e8decebfaaa6e7769
2013-05-08unoidl/READMEStephan Bergmann2-173/+192
Change-Id: Ied31816571842118eb00de96df82ecb06465a65d
2013-04-24Copy/paste errorStephan Bergmann1-4/+4
Change-Id: I0c6e0ecc5c9e6289a2afe733d4752351416900a8
2013-04-24gbuild: drop uses of removed packagesDavid Tardon1-2/+0
Change-Id: I400fad08c0ae7b6b34bad63693f54856867e4dac Reviewed-on: https://gerrit.libreoffice.org/3502 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-23execute move of global headersBjoern Michaelsen7-820/+0
see https://gerrit.libreoffice.org/#/c/3367/ and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a
2013-04-22Revert "Revert "WIP: Experimental new binary type.rdb format""Stephan Bergmann2-1/+6
This reverts commit 67e69a55820f50973ca0de75ccab2bb07d0bada8, applying a band- aid fix to cli_ure/source/climaker for now. Conflicts: stoc/inc/bootstrapservices.hxx stoc/source/tdmanager/lrucache.hxx stoc/source/tdmanager/tdmgr.cxx stoc/source/tdmanager/tdmgr_common.hxx stoc/source/tdmanager/tdmgr_tdenumeration.cxx stoc/source/tdmanager/tdmgr_tdenumeration.hxx Change-Id: Iae669985d0194f06fa349a4a39f0ebd230bc5d28
2013-04-09[API CHANGE] WIP: Experimental new binary type.rdb formatStephan Bergmann2-91/+158
Make cppumaker work on top of unoidl/ instead of registry/, as a first step to change all the various codemakers. * API CHANGE: cppumaker no longer supports the -B switch, as that is meaningless with the new format. When reading from an old-format .rdb file, /UCR is hard-coded as the prefix now. * TODO: The new format does not yet support deprecation annotations, so the generated .hdl/.hpp files lack any SAL_DEPRECATED_INTERNALs for now. * codemaker/typemanager.hxx is extended with access to unoidl/ functionality, so the various codemakers can use registry/ and unoidl/ in parallel for now. The access to registry/ functionality will be removed. (Added small throwaway helper functions u2b/b2u to easily map between OString and OUString at the remaining seams for now.) * Includes a selective revert of ba044b1e9613ed30906a9a540b7da8392923e4e3 "remove needless forward rtl::OUString declarations" in those parts of codemaker, unodevtools, unoidl that were covered by this local work-in-progress patch; I would otherwise have hard a hard time re-applying it. * The generated .hdl/.hpp files are mostly unchanged, except for a few minor things: ** Any SAL_DEPRECATED_INTERNALs are missing (see above). ** In comprehensive getCppuType definitions, some members were erroneously classified as TypeCalss_UNKNOWN. ** In comprehensive getCppuType definitions, some unnecessary calls like ::cppu::UnoType< ::sal_Int32 >::get(); can be removed. ** For typedef sequence<X>, the .hdl file need not include X.hdl, but only needs to forward-declare it. ** Unnecessary includes for optional bases of interfaces can be removed. ** Some numbering of local variable names (sMethodName1, ...) has changed. Change-Id: Icad98f248ac15177337f1b4ab709a755a8af6238
2013-04-07remove needless forward rtl::OUString declarationsLuboš Luňák2-2/+0
Change-Id: I97d91a758dd82d64768d75c1d2ddd279de5f6034
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák5-97/+97
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-02Off-by-one errorStephan Bergmann1-1/+1
Change-Id: I2abd81782baf421ff4e70b158709dbe6da5e14e3
2013-04-02types.rdb format flags default service ctors as RT_MODE_TWOWAYStephan Bergmann1-1/+1
Change-Id: I94bc12af1dde2139b86c8d6522b61d874933ed6d
2013-03-14remove legacy build.pl prj/build.lst files.Michael Meeks1-2/+0
2013-03-13more subtle dependencies for cross-compilationMatúš Kukan1-3/+1
Now we build only what we really need for 'build' platform - there is new build-tools make target. The list of tools is in solenv/gbuild/extensions/pre_BuildTools.mk. Also similar is done to some extent for 'host' platform using gb_Module_add_targets_for_build which is ignored for 'host'. Change-Id: I6acd1762b16aca366aac1a0688500f27869cfca2
2013-03-09Revert "WIP: Experimental new binary type.rdb format"Stephan Bergmann2-6/+1
This reverts commit 892ef8b0565c7f5f343d71e3b61c41655f80267b, Windows-only cli_ure needs to be adapted first.
2013-03-09WIP: Experimental new binary type.rdb formatStephan Bergmann2-1/+6
Implement theTypeDescriptionManager directly on top of unoidl::Manager and unoidl::Provider in cppuhelper instead of on top of css.reflection UNO interfaces in stoc. Adapt desktop/source/deployment/ accordingly. There is no longer a com.sun.star.reflection.TypeDescriptionManager service implementation now, only a com.sun.star.reflection.theTypeDescriptionManager singleton one, which appears to not cause problems in practice. Change-Id: I179501272f0712353b7d50d3eba2ec2bb79db373
2013-03-09coverity#989730 and coverity#989729: Uninitialized scalar fieldMarc-André Laverdière1-2/+2
Change-Id: Iaecfa720b898746d457de731734b332226d3e9c2 Reviewed-on: https://gerrit.libreoffice.org/2607 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2013-03-05My check-deps script expects a space there...Kohei Yoshida1-1/+1
Change-Id: Ia591bc9422112d62756c7c80b3d11f5a9af42037
2013-03-04reg2unoidl is a build-time tool (for now, at least)Stephan Bergmann1-3/+6
Change-Id: I6078ee0e7371fc0c5db058fd43f608bc40ca3eb1
2013-03-02reg2unoidl not needed for non-desktop OSesTor Lillqvist1-1/+3
Also, trying to build executables using our <sal/main.h> stuff for Android fails (intentionally). Change-Id: Ic3ff1a46dc95dd87fb33ec38883ce87b4937f05d
2013-03-02Avoid C++11 scoped enumsTor Lillqvist1-6/+3
Change-Id: I6f7db048e1f9dfcd47acbfe432c3abeb350979de
2013-03-02Fix shadowed declaration of "e"Julien Nabet1-2/+2
Change-Id: I42740c0b01d33c90e6ad9f86a658ef27c2673fd3
2013-03-02Don't use local types as template arguments (C++11 only feature)Stephan Bergmann1-17/+20
Change-Id: I19b7105b62464234cb72de701b07176f951a7951
2013-03-01WIP: Experimental new binary type.rdb formatStephan Bergmann12-4/+1705
Add LegacyProvider to read the old format (requires a provider Manager, to resolve singletons' bases, to decide whether they are interface- or service- based). Replace registry-based reg2bin with provider-based reg2unoidl. Change-Id: I5865e62308cc2d9c5439211ac803d84e93aab656
2013-02-28remove all d.lstMichael Stahl1-0/+0
Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
2013-02-25WIP: Experimental new binary type.rdb formatStephan Bergmann12-0/+2181
Move unoidl functionality into a module of its own, as a prerequisite to use it in codemaker etc. (This is intended to ultimately remove modules store and registry, modulo backwards compatibility constraints.) Change-Id: If5274cbd3a595951e6cf7a9664bc542f01833f38