summaryrefslogtreecommitdiffstats
path: root/cpputools
Commit message (Collapse)AuthorAgeFilesLines
* remove OUString wrap for string literalsThomas Arnhold2013-06-291-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For some functions and all kinds of Exceptions. CannotConvertException CloseVetoException DisposedException EmptyUndoStackException ErrorCodeIOException Exception GridInvalidDataException GridInvalidModelException IOException IllegalAccessException IllegalArgumentException IllegalTypeException IndexOutOfBoundsException NoMasterException NoSuchElementException NoSupportException PropertyVetoException RuntimeException SAXException ScannerException StorageWrappedTargetException UnsupportedFlavorException VetoException WrappedTargetException ZipIOException throwGenericSQLException throwIllegallArgumentException createInstance createInstanceWithContext forName getByName getPackageManager getPropertyValue getUnpackedValueOrDefault getValueByName hasPropertyByName openKey setName setPropertyValue supportsService bash command: for i in `cat list`; do git grep "$i\s*(\s*OUString(\s*\"" -- '*.[hc]xx' | cut -d ':' -f1 | sort -u | xargs sed -i -e "s/\(\<$i\s*(\)\s*OUString(\s*\(\"[^\")\\]*\"\)\s*)\s*/\1\2/g" -e "s/\($i.*\)\"+ /\1\" + /g"; done Change-Id: Iaf8e641b0abf28c082906014f87a183517630535 Reviewed-on: https://gerrit.libreoffice.org/4624 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* gbuild: allow to use RepositoryFixes also for executablesMatúš Kukan2013-06-152-21/+0
| | | | | | | Helps to kill package in cpputools. And autoinstall uno executable. Change-Id: Ib1d546371ec8d2b06381d88eff98dbc5b70da400
* fdo#46808, Use service constructor for connection::AcceptorNoel Grandin2013-06-101-5/+2
| | | | Change-Id: I0e69e43b5e6c6907447d6a8c23c0579b88ceb9a3
* fdo#62475 - remove ASCII artPhilipp Riemer2013-05-061-36/+9
|
* cleanup whitespaces due to RTL_CONSTASCII_USTRINGPARAM removalPhilipp Riemer2013-05-061-5/+2
| | | | | In e2e2cc61144cb22227eebfadff0ea24b51ccfbd0 the method was removed automatically leaving several line breaks etc. as visual noise.
* remove usage of RTL_CONSTASCII_USTRINGPARAMLuboš Luňák2013-05-061-4/+4
| | | | | | | 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-303-63/+12
|
* Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks2013-04-221-22/+4
|
* mass removal of rtl:: prefixes for O(U)String*Luboš Luňák2013-04-071-4/+0
| | | | | | | | 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
* removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarationsThomas Arnhold2013-03-191-3/+3
| | | | | | | | | 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-191-10/+10
| | | | | | | | | | | 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>
* reduce whitespaces between include and filenameThomas Arnhold2013-03-191-1/+1
| | | | Change-Id: I15f6ad0a760a28cbac53f99ba4d14ff5c24ce005
* remove legacy build.pl prj/build.lst files.Michael Meeks2013-03-141-2/+0
|
* remove all d.lstMichael Stahl2013-02-281-0/+0
| | | | Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
* Don't print an annoying newline every time even if otherwise silentTor Lillqvist2013-02-011-2/+2
| | | | Change-Id: If819c60a4d1fb3af2f4f87e0e4acfd00ecad95d3
* gbuild: fix silly "expandtabs" in makefile VIM modelinesMichael Stahl2013-01-263-3/+3
| | | | Change-Id: I54d8923ad315e8041fd3904da3a29f1a7a8c8b16
* API CHANGE: Remove support for uno executable's -ro/-rw argumentsStephan Bergmann2012-12-191-189/+11
| | | | | | | | | | ...and instead require users to specify URE_MORE_SERVICES/TYPES (resp. UNO_SERVICES/TYPES for invocations from within the build) bootstrap variables. This removes usage of deprecated bootstrap_InitialComponentContext from the uno executable's code. Change-Id: I9af626f47a94c3bea1fb0d3c3efbab54f8db9e40
* Fix for making absolute the registry arguments of the uno executableStephan Bergmann2012-12-191-12/+5
| | | | | | | | | | | | | | | | | a25bec0cb20671a8a8e2eacd61138773f4275875 "Properly absolutize all registry arguments of uno executable" at least broke testtools/CustomTarget_uno_test.mk on Windows, where some -ro argument system path starting with a drive letter ("C:/...") is passed in, which rtl::Uri::convertRelToAbs mis-interprets as a URI with scheme "c". Switching to osl::FileBase::getAbsoluteFileURL started to break Linux, where osl_getAbsoluteFileURL for whatever reason calls osl::FileBase::getSystemPathFromFileURL, which in turn for whetever reason rejects relative input that starts with "/". The easiest fix that appears not to break anything else appears to be the workaround now added to osl_getAbsoluteFileURL. Change-Id: If03e7136ecc2c26a8f31e591257b1886f3ab129b
* Missing "_" in prefixesStephan Bergmann2012-12-191-3/+3
| | | | | | | ...likely gone unnoticed until now as that nested if is not normally taken, the createInstanceWithContext call at the top shall normally succeed. Change-Id: Iabc917473cf6902cb2afc21b735411d8136278fb
* Remove obsolete regsingletonStephan Bergmann2012-12-193-221/+0
| | | | Change-Id: Ia8b83e69401dccd37c3350e381093af1dd5b17af
* API CHANGE: Remove obsolete regcomp from UREStephan Bergmann2012-12-184-887/+0
| | | | Change-Id: Iaec5e0fd53d340f028e271f28e99a73dedc636f7
* Properly absolutize all registry arguments of uno executableStephan Bergmann2012-12-181-37/+15
| | | | | | | | | | What was found to not work is something like "-ro services.rdb" referencing an XML-format services.rdb that itself contains relative uri attributes. The uno executable would not make an absolute file URL from "services.rdb" due to no leading ".", so trying to absolutize any relative uri attributes against the relative .rdb URL lead to MalformedUriExceptions. Change-Id: Ib41fc8e42b9848f5e77f44c86e1857a3d287d634
* Improve error reportingStephan Bergmann2012-12-181-7/+9
| | | | Change-Id: I430344cfe70134fb18bd884056261b11924c71d0
* None of this for non-desktop OSes I thinkTor Lillqvist2012-11-212-46/+2
| | | | Change-Id: I8c4a6d8e5ee7cddf069c7d1b3ab43efd8e359b3f
* stoc: prefix more libs; only bootstrap is remainingMatúš Kukan2012-10-021-2/+4
| | | | Change-Id: Ie9032c6faa493da47e76bc9ff467c4de4b318ca9
* these libs are now prefixedMatúš Kukan2012-10-021-16/+12
| | | | Change-Id: Ida3cc87ef2ef6fdb40b03d0401fbefa5e7cd7c92
* gbuild: invert handling of standard system libraries:Michael Stahl2012-09-283-6/+0
| | | | | | | Always link in gb_STDLIBS, except when the library explicitly opts out with gb_LinkTarget_disable_standard_system_libs. Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
* gbuild: replace direct gb_STDLIBS use with ...Michael Stahl2012-09-283-3/+6
| | | | | | ... new gb_LinkTarget_add_standard_system_libs Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
* gbuild: split uwinapi out of gb_STDLIBSMichael Stahl2012-09-283-0/+3
| | | | Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
* android: don't try to package binaries we havn't builtMichael Meeks2012-08-091-1/+3
|
* No point with these executables for non-desktop OSesTor Lillqvist2012-08-071-0/+2
| | | | Change-Id: If2e086cf2783c187f2cdb479608aa91561e0d674
* There is not need to allocate memory just for getting the 'indexOf'Christophe JAILLET2012-07-162-2/+2
| | | | | | a literal within a OUString. Change-Id: I01ca30c68228f81b3d313dfca5b975448f3c4fc7
* re-base on ALv2 code.Michael Meeks2012-06-145-95/+57
|
* Better fix for ThreadPool/ORequestThread life cycleStephan Bergmann2012-05-231-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a follow up to d015384e1d98fe77fd59339044f58efb1ab9fb25 "Fixed ThreadPool (and dependent ORequestThread) life cycle" that still had some problems: * First, if Bridge::terminate was first entered from the reader or writer thread, it would not join on that thread, so that thread could still be running during exit. That has been addressed by giving Bridge::dispose new semantics: It waits until both Bridge::terminate has completed (even if that was called from a different thread) and all spawned threads (reader, writer, ORequestThread workers) have been joined. (This implies that Bridge::dispose must not be called from such a thread, to avoid deadlock.) * Second, if Bridge::terminate was first entered from an ORequestThread, the call to uno_threadpool_dispose(0) to join on all such worker threads could deadlock. That has been addressed by making the last call to uno_threadpool_destroy wait to join on all worker threads, and by calling uno_threadpool_destroy only from the final Bridge::terminate (from Bridge::dispose), to avoid deadlock. (The special semantics of uno_threadpool_dispose(0) are no longer needed and have been removed, as they conflicted with the fix for the third problem below.) * Third, once uno_threadpool_destroy had called uno_threadpool_dispose(0), the ThreadAdmin singleton had been disposed, so no new remote bridges could successfully be created afterwards. That has been addressed by making ThreadAdmin a member of ThreadPool, and making (only) those uno_ThreadPool handles with overlapping life spans share one ThreadPool instance (which thus is no longer a singleton, either). Additionally, ORequestThread has been made more robust (in the style of salhelper::Thread) to avoid races. Change-Id: I2cbd1b3f9aecc1bf4649e482d2c22b33b471788f
* make gbuild the default assumption of build.plBjoern Michaelsen2012-04-291-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
* Link the executables with gb_STDLIBSTor Lillqvist2012-04-113-0/+3
|
* also deliver .bin variants of the toolsDavid Tardon2012-04-112-0/+40
|
* gbuild conversion: cpputools moduleDavid Ostrovsky2012-04-1114-337/+278
| | | | dmake stuff removed
* Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi2012-04-061-3/+1
|
* chmod -xTor Lillqvist2012-03-211-0/+0
|
* Build unoexe as a (static) library for iOSTor Lillqvist2012-02-161-3/+8
|
* Reduce verbiage slightlyTor Lillqvist2012-02-162-2/+6
|
* Added READMEs for modules related to URE, with content from the wikiJosh Heidenreich2012-02-061-0/+1
|
* Code cleanup: ( () ) replaced by (())Alexander Bergmann2012-01-261-1/+1
|
* Code clean up.Stephan Bergmann2012-01-201-8/+8
|
* Fix for fdo43460 Part X getLength() to isEmpty()Olivier Hallot2011-12-173-18/+18
| | | | | | | | Part X Module cppu cppuhelper cpputools
* Compile as Objective-C++ for iOS thanks to current sal/main.h ideaTor Lillqvist2011-11-261-0/+4
|
* No sense building these for iOSTor Lillqvist2011-11-262-0/+10
|
* Revert "Trying to chop out the uwinapi library"Fridrich Štrba2011-09-161-1/+1
| | | | This reverts commit 2dea0dab4fafda3c10a5bd03ad15ed39a4658b51.
* Trying to chop out the uwinapi libraryFridrich Štrba2011-09-161-1/+1
|