summaryrefslogtreecommitdiff
path: root/cpputools
AgeCommit message (Collapse)AuthorFilesLines
2013-02-01Don't print an annoying newline every time even if otherwise silentTor Lillqvist1-2/+2
Change-Id: If819c60a4d1fb3af2f4f87e0e4acfd00ecad95d3
2013-01-26gbuild: fix silly "expandtabs" in makefile VIM modelinesMichael Stahl3-3/+3
Change-Id: I54d8923ad315e8041fd3904da3a29f1a7a8c8b16
2012-12-19API CHANGE: Remove support for uno executable's -ro/-rw argumentsStephan Bergmann1-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
2012-12-19Fix for making absolute the registry arguments of the uno executableStephan Bergmann1-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
2012-12-19Missing "_" in prefixesStephan Bergmann1-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
2012-12-19Remove obsolete regsingletonStephan Bergmann3-221/+0
Change-Id: Ia8b83e69401dccd37c3350e381093af1dd5b17af
2012-12-18API CHANGE: Remove obsolete regcomp from UREStephan Bergmann4-887/+0
Change-Id: Iaec5e0fd53d340f028e271f28e99a73dedc636f7
2012-12-18Properly absolutize all registry arguments of uno executableStephan Bergmann1-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
2012-12-18Improve error reportingStephan Bergmann1-7/+9
Change-Id: I430344cfe70134fb18bd884056261b11924c71d0
2012-11-21None of this for non-desktop OSes I thinkTor Lillqvist2-46/+2
Change-Id: I8c4a6d8e5ee7cddf069c7d1b3ab43efd8e359b3f
2012-10-02stoc: prefix more libs; only bootstrap is remainingMatúš Kukan1-2/+4
Change-Id: Ie9032c6faa493da47e76bc9ff467c4de4b318ca9
2012-10-02these libs are now prefixedMatúš Kukan1-16/+12
Change-Id: Ida3cc87ef2ef6fdb40b03d0401fbefa5e7cd7c92
2012-09-28gbuild: invert handling of standard system libraries:Michael Stahl3-6/+0
Always link in gb_STDLIBS, except when the library explicitly opts out with gb_LinkTarget_disable_standard_system_libs. Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
2012-09-28gbuild: replace direct gb_STDLIBS use with ...Michael Stahl3-3/+6
... new gb_LinkTarget_add_standard_system_libs Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
2012-09-28gbuild: split uwinapi out of gb_STDLIBSMichael Stahl3-0/+3
Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
2012-08-09android: don't try to package binaries we havn't builtMichael Meeks1-1/+3
2012-08-07No point with these executables for non-desktop OSesTor Lillqvist1-0/+2
Change-Id: If2e086cf2783c187f2cdb479608aa91561e0d674
2012-07-16There is not need to allocate memory just for getting the 'indexOf'Christophe JAILLET2-2/+2
a literal within a OUString. Change-Id: I01ca30c68228f81b3d313dfca5b975448f3c4fc7
2012-06-14re-base on ALv2 code.Michael Meeks5-95/+57
2012-05-23Better fix for ThreadPool/ORequestThread life cycleStephan Bergmann1-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
2012-04-29make gbuild the default assumption of build.plBjoern Michaelsen1-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
2012-04-11Link the executables with gb_STDLIBSTor Lillqvist3-0/+3
2012-04-11also deliver .bin variants of the toolsDavid Tardon2-0/+40
2012-04-11gbuild conversion: cpputools moduleDavid Ostrovsky14-337/+278
dmake stuff removed
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi1-3/+1
2012-03-21chmod -xTor Lillqvist1-0/+0
2012-02-16Build unoexe as a (static) library for iOSTor Lillqvist1-3/+8
2012-02-16Reduce verbiage slightlyTor Lillqvist2-2/+6
2012-02-06Added READMEs for modules related to URE, with content from the wikiJosh Heidenreich1-0/+1
2012-01-26Code cleanup: ( () ) replaced by (())Alexander Bergmann1-1/+1
2012-01-20Code clean up.Stephan Bergmann1-8/+8
2011-12-17Fix for fdo43460 Part X getLength() to isEmpty()Olivier Hallot3-18/+18
Part X Module cppu cppuhelper cpputools
2011-11-26Compile as Objective-C++ for iOS thanks to current sal/main.h ideaTor Lillqvist1-0/+4
2011-11-26No sense building these for iOSTor Lillqvist2-0/+10
2011-09-16Revert "Trying to chop out the uwinapi library"Fridrich Štrba1-1/+1
This reverts commit 2dea0dab4fafda3c10a5bd03ad15ed39a4658b51.
2011-09-16Trying to chop out the uwinapi libraryFridrich Štrba1-1/+1
2011-06-18ause130: #i117218# change .idl handling to gnu makeHans-Joachim Lankenau1-1/+1
2011-06-03Drop %_EXT% which was always emptyTor Lillqvist1-10/+10
2011-05-17Some cppcheck cleaningJulien Nabet1-1/+1
2011-03-08Merge commit 'ooo/DEV300_m101' into integration/dev300_m101Norbert Thiebaud5-355/+4
* commit 'ooo/DEV300_m101': (185 commits) chart52: cleanup unused legend entry stuff in preparation of issue #i82802# masterfix: #i10000# add missing dependency in offapi sb138: #i115619# fix for MinGW sb138: #i115619#, #i116038# use osl_setThreadName in binaryurp sb138: #i115619# osl_setThreadName gridsort: i116682: update UnoControlDialog to reflect XDialog gridsort: minor changes to the new API: - renamed XMutableGridDataModel::setRowHeading to updateRowHeading for consistency reasons - renamed XSortableGridDataModel to XSortableGridData - actually, this is not a full-fledged model in itself. gridsort: grid control related unit tests (first set, more to come) sb138: #i116038# fresh implementation of binary URP bridge chart52: #28670# make the legend within charts resizeable - part 2 gridsort: re-did the column resizing - introduced XGridColumn.Flexibility, determining to which degree the column is resized during auto-column-resizing - removed XGridColumn.PreferredWidth - there really is no need for this anymore now - documented the relationship between XGridColumn.Flexibility and XGridColumn.Resizeable - re-implemented TableControl_Impl::impl_ni_updateColumnWidths, with (hopefully) less magic sb139: #i116530# improve Java URP bridge error notification by utilizing the java.lang.Throwable cause facility gridsort: document the relationship between soorting the data and notifying XGridDataListeners gridsort: introduce XGridColumn::DataModelIndex. this allows for column removal/insertion at the GridColumnModel, without the need to touch the GridDataModel locales34: #i112431# adapt documentation to reality gridsort: introduce XSortableGridDataModel::removeColumnSort gridsort: #163172# added UNO API support for sorting grid data. Implementation still unfinished. Things missing in the SortableGridData implementation - add as listener to the delegator, so we're notified of changes - translate and multiplex those changes - do own notifications (XGridDataListener.dataChanged) when the sort order changed - (possibly) update the sort order when the data in the current sort-column changed gridsort: made the row title a row heading, being an Any instead of a string gridsort: XMutableGridData: renamed updateRow to updateRowData for consistency; introduced updateRowToolTip as shortcut for multiple updateCellToolTip calls gridsort: updateCell->updateCellData, setCellToolTip->updateCellToolTip; in both methods, have (Col,Row) params instead of (Row,Col), for consistency reasons ... Conflicts: bridges/inc/bridges/remote/bridgeimpl.hxx bridges/inc/bridges/remote/connection.h bridges/inc/bridges/remote/context.h bridges/inc/bridges/remote/helper.hxx bridges/inc/bridges/remote/mapping.hxx bridges/inc/bridges/remote/proxy.hxx bridges/inc/bridges/remote/remote.h bridges/inc/bridges/remote/remote.hxx bridges/inc/bridges/remote/stub.hxx bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx bridges/source/remote/context/context.cxx bridges/source/remote/static/helper.cxx bridges/source/remote/static/mapping.cxx bridges/source/remote/static/proxy.cxx bridges/source/remote/static/remote.cxx bridges/source/remote/static/remote_types.cxx bridges/source/remote/static/remote_types.hxx bridges/source/remote/static/stub.cxx bridges/source/remote/urp/urp_bridgeimpl.cxx bridges/source/remote/urp/urp_bridgeimpl.hxx bridges/source/remote/urp/urp_cache.h bridges/source/remote/urp/urp_cache.hxx bridges/source/remote/urp/urp_dispatch.cxx bridges/source/remote/urp/urp_dispatch.hxx bridges/source/remote/urp/urp_environment.cxx bridges/source/remote/urp/urp_job.cxx bridges/source/remote/urp/urp_job.hxx bridges/source/remote/urp/urp_log.cxx bridges/source/remote/urp/urp_log.hxx bridges/source/remote/urp/urp_marshal.cxx bridges/source/remote/urp/urp_marshal.hxx bridges/source/remote/urp/urp_marshal_decl.hxx bridges/source/remote/urp/urp_property.hxx bridges/source/remote/urp/urp_propertyobject.cxx bridges/source/remote/urp/urp_propertyobject.hxx bridges/source/remote/urp/urp_reader.cxx bridges/source/remote/urp/urp_reader.hxx bridges/source/remote/urp/urp_replycontainer.hxx bridges/source/remote/urp/urp_threadid.cxx bridges/source/remote/urp/urp_threadid.hxx bridges/source/remote/urp/urp_unmarshal.cxx bridges/source/remote/urp/urp_unmarshal.hxx bridges/source/remote/urp/urp_writer.cxx bridges/source/remote/urp/urp_writer.hxx cppu/source/threadpool/threadpool.cxx cppu/util/target.pmk cppuhelper/qa/propertysetmixin/comp_propertysetmixin.cxx cppuhelper/source/interfacecontainer.cxx cpputools/source/regcomplazy/regcomplazy.cxx jurt/prj/d.lst jvmfwk/source/elements.cxx offapi/com/sun/star/awt/grid/GridDataEvent.idl offapi/com/sun/star/awt/grid/XGridColumn.idl offapi/com/sun/star/awt/tab/makefile.mk offapi/com/sun/star/chart2/ExplicitIncrementData.idl offapi/com/sun/star/chart2/XPlotter.idl offapi/com/sun/star/chart2/XUndoHelper.idl offapi/com/sun/star/document/MediaDescriptor.idl offapi/com/sun/star/document/makefile.mk offapi/com/sun/star/linguistic2/XLanguageGuessing.idl offapi/com/sun/star/script/ModuleInfo.idl offapi/com/sun/star/script/ModuleType.idl offapi/com/sun/star/text/TextMarkupType.idl offapi/com/sun/star/util/XTextSearch.idl offapi/com/sun/star/xml/sax/XFastAttributeList.idl pyuno/source/loader/makefile.mk remotebridges/source/bridge/bridge_connection.cxx remotebridges/source/bridge/bridge_connection.hxx remotebridges/source/bridge/bridge_provider.cxx remotebridges/source/bridge/remote_bridge.cxx remotebridges/source/bridge/remote_bridge.hxx remotebridges/source/dynamicloader/dynamicloader.cxx remotebridges/source/factory/bridgefactory.cxx remotebridges/source/factory/bridgeimpl.cxx remotebridges/source/factory/bridgeimpl.hxx remotebridges/source/factory/makefile.mk sal/cppunittester/cppunittester.cxx sal/inc/osl/diagnose.h sal/osl/os2/system.h sal/osl/unx/diagnose.c sal/osl/unx/file_misc.cxx sal/osl/unx/process_impl.cxx sal/osl/w32/diagnose.c sal/osl/w32/process.cxx sal/prj/build.lst sal/qa/rtl/math/makefile.mk sal/qa/rtl/math/rtl_math.cxx sal/qa/rtl/math/rtl_old_testint64.cxx sal/qa/rtl/math/test_rtl_math.cxx sal/systools/win32/kill/kill.cxx sal/textenc/tencinfo.c sal/util/sal.map stoc/source/inspect/introspection.cxx stoc/source/security/file_policy.cxx stoc/source/simpleregistry/simpleregistry.cxx
2011-03-02Remove "using namespace ::rtl"Julien Nabet2-5/+5
2011-01-26sb138: #i116038# fresh implementation of binary URP bridgesb1-13/+4
2010-12-09Remove references to unicows.dllJesús Corrius1-3/+0
2010-11-03ure: fix fprintf compile warnings in unoexe.cxxNigel Hawkins1-2/+2
2010-10-25micro optimizationsCaolán McNamara3-15/+14
2010-10-18#i112656# add osl_setEnvironment and osl_clearEnvironmentCaolán McNamara1-12/+3
2010-10-14Add vim/emacs modelines to all source filesSebastian Spaeth5-0/+12
Fixes #fdo30794 Based on bin/add-modelines script (originally posted in mail 1286706307.1871.1399280959@webmail.messagingengine.com) Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2010-10-11#i113935# missing deleteDavid Tardon1-0/+1
2010-10-05remove include guards using fixguard.pyPetr Mladek1-0/+0
2010-09-15regcomp-fix-spelling.diff: succesful -> successful, i#113958Rene Engelhard1-2/+2