summaryrefslogtreecommitdiffstats
path: root/cppu
Commit message (Collapse)AuthorAgeFilesLines
* Bin comments that claim to say why some header is includedTor Lillqvist2013-10-221-1/+1
| | | | | | They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
* fdo#68849 add some header guardsThomas Arnhold2013-10-211-0/+5
| | | | | | | Change-Id: I9d25a58f22095689eccc0ac444c163d1e9bee69f Reviewed-on: https://gerrit.libreoffice.org/6364 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* gbuild: make the versioned library the linktarget on UnixesMichael Stahl2013-09-222-2/+2
| | | | | | | | | | | | | | | | | If there is a SOVERSION then the versioned library is a real file and the unversioned one just a symlink; better to have the real file be the target. - add gb_Library_UDK_MAJORVER variable for SOVERSION - remove version parameter of gb_Library_set_soversion_script; instead hardcode the SOVERSION since it must be included in the file name in gb_Library_FILENAMES anyway - store the unversioned symlink in the ILIBTARGET variable - via new gb_Library_get_workdir_target_versionlink function - removed gb_Helper_install call that resulted in both versioned and unversioned libs in instdir Change-Id: I2c6f1698f0e39fdb2c07964d43ed9485cbca0b30
* cppu: rename purpose environment librariesMichael Stahl2013-09-224-16/+16
| | | | | | | | It would not be necessary to mangle the affine_uno_uno/log_uno_uno/unsafe_uno_uno library names in RepositoryFixes.mk if they were simply named right in the first place. Change-Id: I0fce919549764d2335c5501c1110878b8709fa09
* Directly build UNOIDL .rdb files from .idl filesStephan Bergmann2013-09-192-20/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...via unoidl-write and the new source-format registry provicers, instead of using idlc to produce .urd files, regmerge to merge them into legacy .rdb files, and unoidl-write to translate those to new UNOIDL .rdb files. gb_UnoApi and gb_InternalUnoApi ctors take an additional argument now that is the path (below $(SRCDIR)) of the source-format registry from which to obtain UNOIDL entity definitions. It can either be an .idl file (in which case no *_add_idlfiles calls should be used and the resulting .rdb will contain all the entities from that one .idl file; used in some tests to conveniently define all test-specific entities in a single file) or a directory denoting the root of an .idl file tree (in which case *_add_idlfiles calls specify the entites to include in the resulting .idl file). (In the first case, the generated .rdb file needs to depend on that single .idl file, so the gb_UnoApiTarget ctor contains a dependency on that additional argument, which happens, as a side effect, to trigger rebuilds in the second, tree-based case when addition/removal of .idl files in the tree causes updates of directory time-stamps.) UnoApiPartTarget and all the dependency-tracking logic based on .urd files in solenv/gbuild/UnoApiTarget.mk is gone. Generation of an .rdb file now depends on its source registry (see previous paragraph) and all the .idl files specified with *_add_idlfiles (in the second, tree-based case above). A consequence of that is that gb_UnoApi_add_idlfile, -_nohdl, and -_noheader all do the same now. I left them in for now anyway, maybe they become relevant again when the use of cppumaker is changed to read directly from a source-format registry instead of going via a .rdb registry. The legacy tools idlc, regcompare, regmerge, and regview are still contained in the URE or SDK for now. cb344cd59e1ddb7c6db66dbd9263b4755969d4ba "Revert 'Looks like idlc resolved typedefs inside sequence<...>'" is re-reverted as now "the current offapi.rdb is generated via unoidl-write instead of idlc." Change-Id: I3d9d92f17326bc9f49dd934c85aab6a17951d06d
* Unlike idlc, unoidl doesn't support out-of-range byte constsStephan Bergmann2013-09-192-4/+0
| | | | Change-Id: Ib1c98ea10a2d05e74a3aae9b2868a69c66efa543
* There are two distinct InternalUnoApis in cppu/qaStephan Bergmann2013-09-188-14/+35
| | | | Change-Id: I59ab1a6086b1b70c52687c819cd53497fbd09675
* s/wiki.services.openoffice.org/wiki.openoffice.org/gAndras Timar2013-09-071-1/+1
| | | | Change-Id: I059fbee385a109069c70f3869021c8e2ee48fee1
* UNO interface UIKs are unused for a very long timeStephan Bergmann2013-09-043-12/+15
| | | | | | ...so mark them as @deprecated more thoroughly and always force them to zero. Change-Id: I5db2dab924fc5a4145a0e5dd055b654985ce2ef9
* Better assertionsStephan Bergmann2013-08-221-1/+4
| | | | Change-Id: I4ba11570328e17abdf063049065b4fc6dcc65a9d
* finish deprecation of O(U)String::valueOf()Luboš Luňák2013-08-211-2/+2
| | | | | | | Compiler plugin to replace with matching number(), boolean() or OUString ctor, ran it, few manual tweaks, mark as really deprecated. Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
* osl_getThreadIdentifier(0) -> osl::Thread::getCurrentIdentifier()Stephan Bergmann2013-08-215-18/+21
| | | | Change-Id: Ida9785c4b9fda0459769957734952e69d7a9de44
* Rename SOLAR_JAVA to ENABLE_JAVA and HAVE_FEATURE_JAVATor Lillqvist2013-08-192-2/+4
| | | | Change-Id: Ib451bdb3c1c2ca42347abfde44651d5cf5eef4f3
* error: dereferencing type-punned pointer will break strict-aliasing rulesStephan Bergmann2013-08-121-1/+1
| | | | | | gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-3) Change-Id: I0b5809ec1dd3fb616bb7698972205a2810ed1aa5
* Mark as constTakeshi Abe2013-08-021-1/+1
| | | | Change-Id: I7ad2a1bd29afbf4813b1ad984081935ca84ec98a
* fdo#63690 - replace RTL_CONTEXT_ macros with SAL_INFORadu Ioan2013-07-031-27/+25
| | | | | | | | | | - replaced RTL_CONTEXT_ with SAL_INFO - replace OSL_* with SAL_* Change-Id: I26761cf1d4c1cfe21dec7d8ede6df6f177bf2c3e Reviewed-on: https://gerrit.libreoffice.org/4620 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
* protect UNO EnvStack's s_setCurrent() against unknown threadidHerbert Dürr2013-05-091-2/+7
| | | | | | | | | | | | untracked threadIds have been observed and can result in crashes. s_getCurrent() already checks them and s_setCurrent() does it now. (cherry picked from commit bf8e3135ac906ce0ab7d6d9ccbd434f1597f2ff4) Conflicts: cppu/source/uno/EnvStack.cxx Change-Id: If35237179c1ee3b854e6183294ed72a6d0b105a8
* Avoid warnings about unused test functionsStephan Bergmann2013-05-071-43/+49
| | | | Change-Id: I6b2a40c4b95555c4d8bf0d8674fce46accd49965
* Up-cast conversion constructor for css::uno::ReferenceStephan Bergmann2013-05-071-0/+43
| | | | | | | | | | | | | Based on a previous patch by Noel Grandin, <https://gerrit.libreoffice.org/#/c/3613/>, and borrowing from boost::is_base_and_derived (see comment in include/com/sun/star/uno/Reference.h) to avoid including Boost headers in URE headers. Change-Id: Iade5af144dd73ef03bd7d96000134c7a66a5e591 Reviewed-on: https://gerrit.libreoffice.org/3699 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
* remove usage of RTL_CONSTASCII_USTRINGPARAMLuboš Luňák2013-05-064-6/+5
| | | | | | | Mechanical removal of usage together with OUString ctor, done by compiler plugin. Change-Id: I554227f76df0dac620b1b46fca32516f78b462c5
* Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks2013-04-3011-231/+44
|
* move URE headers to include/David Tardon2013-04-2443-8730/+0
| | | | | | | Change-Id: Ib48a12e902f2311c295b2007f08f44dee28f431d Reviewed-on: https://gerrit.libreoffice.org/3499 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks2013-04-221-22/+4
|
* WaE: variable 'hMod' set but not usedTor Lillqvist2013-04-161-4/+0
| | | | Change-Id: Iae64943671a576159be0fa311bc503aa96b2b5df
* do not use deprecated rtl_registerModuleForUnloadingMatúš Kukan2013-04-162-5/+0
| | | | | Change-Id: I59014906c8409fc7ac0f155c9562613c309b8b06 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
* fdo#60724 correct spellingThomas Arnhold2013-04-151-1/+1
| | | | Change-Id: I7318a9f4f3410edf4dbe67bf08f31682fcb4edc7
* simplify makefilesDavid Tardon2013-04-131-6/+4
| | | | Change-Id: I11ea8814d36cdc6d6838ec80b0bbb272d3116b2d
* simplify generation of *_allheaders.hxxDavid Tardon2013-04-132-18/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | There are some differences in the generated headers: cppu_allheaders.hxx now explicitly includes #include <com/sun/star/uno/Any.h> #include <com/sun/star/uno/Any.hxx> #include <com/sun/star/uno/genfunc.h> #include <com/sun/star/uno/genfunc.hxx> #include <com/sun/star/uno/Reference.h> #include <com/sun/star/uno/Reference.hxx> #include <com/sun/star/uno/Sequence.h> #include <com/sun/star/uno/Sequence.hxx> #include <com/sun/star/uno/Type.h> #include <com/sun/star/uno/Type.hxx> sal_allheaders.hxx now does not (explicitly) include #include <cppunittester/protectorfactory.hxx> #include <internal/rtllifecycle.h> #include <osl/detail/android-bootstrap.h> #include <osl/detail/component-mapping.h> #include <osl/detail/file.h> #include <osl/detail/ios-bootstrap.h> #include <pch/precompiled_sal.hxx> Change-Id: Ide3c708ac66f23b360b8e130790f8fa8f1911082
* drop trailing /David Tardon2013-04-131-1/+1
| | | | Change-Id: I1f699f9e0294209478680ae3e2e12ae9085c91fc
* install SDK headers from filelistsDavid Tardon2013-04-133-8/+10
| | | | | | ... which allows us to drop gb_ZipPackage. Change-Id: Ib19f774c63d9b83ec07e99f963533eee431cc53a
* Forbid old-style services/singletons inheriting new-style servicesStephan Bergmann2013-04-031-1/+1
| | | | | | | ...does not make sense. Adapted some old-style services accordingly, where the inherited service had been changed to new-style after the fact. Change-Id: I5f3e4ddf99160778a319062a6c84f83529ff177b
* removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarationsThomas Arnhold2013-03-194-50/+48
| | | | | | | | | s/(OUString\s+[a-zA-Z_][A-Za-z0-9_]*\s*)\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/$1\($2\)/gms Change-Id: Iad20f242c80c4bdc69df17e2d7a69d58ea53654b Reviewed-on: https://gerrit.libreoffice.org/2835 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold2013-03-198-73/+64
| | | | | | | | | | | Done with a perl regex: s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec Reviewed-on: https://gerrit.libreoffice.org/2832 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* cleanup doxygen warningsPeter Foley2013-03-184-7/+9
| | | | Change-Id: I9181cad5bfa93f9e8b3d944b2b50a3ccc0b42595
* coverity#705137 Missing break in switchJulien Nabet2013-03-181-0/+1
| | | | | | | Change-Id: Ie54c888e15e9564c7e1d0efb54f587a586a53631 Reviewed-on: https://gerrit.libreoffice.org/2780 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
* remove legacy build.pl prj/build.lst files.Michael Meeks2013-03-141-2/+0
|
* gbuild: stop using $(OUTDIR)/idlMichael Stahl2013-03-131-1/+1
| | | | | | Instead, include directly from $(SRCDIR) Change-Id: I09df3da82eead897eb194ae55d1a092452f3cdb9
* *ppRet cannot become non-null there out of thin airStephan Bergmann2013-03-051-5/+3
| | | | Change-Id: Idd08a89dd0dcf05caeacc9e14a0a6ea10b433588
* sal_Bool to boolTakeshi Abe2013-03-041-1/+1
| | | | Change-Id: I8c554fb3faead41c974af9c2a89728bd0bdf5eb6
* doubled includesThomas Arnhold2013-03-041-1/+0
| | | | Change-Id: I70ec796188e2388e1e4d699126f7ae817f5ff86e
* Related to fdo#60724: correct spellingThomas Arnhold2013-03-031-1/+1
| | | | | | | | Using the autocorrect list of LibreOffice extras/source/autotext/lang/en-US/acor/DocumentList.xml Change-Id: I8b93969bc0742c2e95b8b7db3c4c37691e8d3657 Script: http://pastebin.ca/2327716
* remove all d.lstMichael Stahl2013-02-281-0/+0
| | | | Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
* cppu: new ZipPackage_cppu_odk_headersMichael Stahl2013-02-275-74/+91
| | | | Change-Id: I4ceee0ed3438a18e13c186ebd8d390604d26ec28
* cppu does not depend on any offapi .idl filesStephan Bergmann2013-02-255-5/+5
| | | | Change-Id: I22150c0247ec98bd0e764a439a15ceaa7f42b029
* Fix typo betwen/betweenJulien Nabet2013-02-231-1/+1
| | | | Change-Id: I2194bf9caefe4b9d28c939af6665d62c7e83d403
* osl_atomic_increment/decrement are macrosStephan Bergmann2013-02-211-2/+2
| | | | Change-Id: Ib2d61e436d625ac89defe718d4cc1d866d538397
* gbuild: fix silly "expandtabs" in makefile VIM modelinesMichael Stahl2013-01-261-1/+1
| | | | Change-Id: I54d8923ad315e8041fd3904da3a29f1a7a8c8b16
* gbuild: do not copy boost headers aroundMichael Stahl2013-01-264-0/+8
| | | | | | | | | - do not use gb_UnpackedTarball_copy_header_files for boost - adapt the optimization in concat-deps.c for new path - use boost_headers in all LinkTargets that require it - add explicit include paths to mysqlc, mysqlcppconn, libvisio, liborcus Change-Id: I0c43e73ed43cc9d2e6bce8faf55e992d655a0bb9
* Remove redundant braces around for loopsStephan Bergmann2013-01-261-9/+9
| | | | | | | ...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
* Include <cassert>Stephan Bergmann2013-01-152-8/+10
| | | | | | | | | Also, move assert into uno_type_sequence_construct so that all its callers benefit. Also, change some OSL_ENSURE to assert. Change-Id: Idd0a03c4aa6eed1db453db84602c01ff16f0d72c