summaryrefslogtreecommitdiff
path: root/stoc/source
AgeCommit message (Collapse)Author
2012-07-23Assertion clean-upStephan Bergmann
Change-Id: I234c615d9d3386da2b244709add5c029b76d346c
2012-07-23WaE: unused variableTor Lillqvist
Change-Id: Ie355701716c7106ef2afd76ae8b6544a00ac474c
2012-07-14simplify include guardsThomas Arnhold
Change-Id: Id4210229b20a1d54b680ff1a2ccbcdd3684ecf5f
2012-07-06re-base on ALv2 code.Michael Meeks
2012-06-29re-base on ALv2 code.Michael Meeks
2012-06-27Remove unused include filesThomas Arnhold
Those never get included at any point in the code. Change-Id: I17736e005635b9e57759cfc95176a99e7c5e8988
2012-06-25reduce static_initialization_and_destruction chainCaolán McNamara
Change-Id: I0c1b2f2d908c31d1510662880c13504d81445a6a
2012-06-21re-base on ALv2 code.Michael Meeks
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-10nuke dead codeTakeshi Abe
Change-Id: I666791b2a2bb817d59625868d5e2df1a9341b2ff
2012-06-09Remove superfluous empty lines on topThomas Arnhold
More than two lines are removed for readability. Change-Id: Ibff6cf68d7c512e240a54065b54a225bb23a782b
2012-06-02targeted string re-workNorbert Thiebaud
Change-Id: I145731d9f28faf0065f5960f2c5a32f27d8c8620
2012-05-25Use simple createOneInstanceComponentFactoryStephan Bergmann
...instead of static WeakReference and getGlobalMutex. The latter allowed for deadlock, when one thread is in __getTypeEntries (cppuhelper/source/implbase_ex.cxx), having locked getImplHelperInitMutex(), and from there calls some cppu_detail_getUnoType (from a cppumaker-generated header) that tries to lock getGloblaMutex, while another thread is in this FactoryImpl_create, having locked getGlobalMutex, and from there calls into __getTypeEntries. Change-Id: Iac68d28c1a5971049447cc79384b6e186f2a6d82
2012-05-21removed unused #definesTakeshi Abe
Change-Id: I2aeba0342e46c3a4bd50f49b8a43ebb125269dfa
2012-05-16reduce static_initialization_and_destruction chainCaolán McNamara
Change-Id: I962aeac0c7feeabb7963016d5afcfeca5a48ccfe
2012-05-04fdo#48253 Expand SAL_STATIC_CAST and SAL_CONST_CASTThomas Arnhold
Change-Id: I50f0887ceb4517d7ef234f970ca2ba679d533382
2012-04-20New cppu::defaultBootstrap_InitialComponentContext implementationStephan Bergmann
...that no longer uses XSimpleRegistry structures for the service data and thus is potentially more performant. * Registry-based functions from cppuhelper/bootstrap are deprecated now, client code should always use defaultBootstrap_InitialComponentContext. * References to the obsolete UNO_WRITERDB have been removed. * Some of the functions in cppuhelper/source that are used from multiple .cxx but had not been properly placed into .hxx have been cleaned up. * css.lang.ServiceManager XSet insert/remove now support special sequence<NamedValue> to improve live deployment/removal of XML-based extension components data. * 09524d410bbaad2a0b9b39811cb5cc16621b1396 "stoc: accelerate opening of multiple XML .rdb files in a directory" and its follow-up cb5c881a7f179391ee853f76e159254c97d776a3 "avoid using the new rdb reading logic for empty/non-existent directories" have been obsoleted by this change and have been reverted again.
2012-04-19Allow OServiceManagerWrapper to wrap all service manager implementationsStephan Bergmann
...not just OServiceManager. (This is a prerequisite to replace the defaultBootstrap_initialComponentContext() implementation with a more performant component context/service manager combo.) The only reason for the restriction to OServiceManager apparently was the additional createContentEnumeration overload with an XComponentContext parameter. It /looks/ to me like this is not really necessary, that it should always be OK to instantiate implementation factories with this service manager and its component context, instead of a component context (and its default service manager) passed into a method call. This would mean that the code could be simplified further, needing a component context passed into a method only to pass along to a new instance created via createInstanceWith[ArgumentsAnd]Context, but then again I'm not 100% sure and better leave it at that... This also means that XUnoTunnel is gone from OServiceManager and XInitialization is gone from OServiceManagerWrapper.
2012-04-17prefix the component_getFactory name for DISABLE_DYNLOADINGTor Lillqvist
2012-04-15Modify for static linking (DISABLE_DYNLOADING, i.e. iOS)Tor Lillqvist
2012-04-14stoc: accelerate opening of multiple XML .rdb files in a directoryMichael Meeks
Instead of nesting these, we aggregate them into a single non-nested registry, which saves lots of CPU at startup, sadly we can only do that for the new-style XML registries, so we have to sniff files, nevertheless this is still far faster. The merged xml files also break the XSimpleRegistry::getURL() method - but it appears not to get called.
2012-04-08Replaced a few equal calls with ==Szabolcs Dezsi
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi
Pattern used: find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\)) *) *) *{$/\1\2 ( \3 == \4 ) {/' \{\} \;
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi
Pattern used: find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\)) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-04-06merge feature/gbuild_componentsDavid Tardon
2012-04-05Resolves: fdo#47068 use of pointer to deleted objectCaolán McNamara
2012-04-01merge origin/masterDavid Tardon
2012-03-29We want just the library basename in the DISABLE_DYNLOADING caseTor Lillqvist
2012-03-21More hacking on static linking (iOS) supportTor Lillqvist
2012-03-18Prefer prefix ++/-- operators for non-primitive typesJulien Nabet
2012-03-12gbuildize stocDavid Tardon
2012-02-28Avoid temporary rtl::OUStringTakeshi Abe
in scripting / sdext / starmath / stoc / svtools / svx
2012-02-26Avoid temporary rtl::OUStringJulien Nabet
2012-02-19Get rid of size() == 0Elton Chung
2012-02-16java: add STOC_FORCE_NO_JRE env. var to enable easy testing of no-JRE case.Michael Meeks
2012-02-01A few safe replacements of pathes->pathsJesús Corrius
2012-01-26Code cleanup: ( () ) replaced by (())Alexander Bergmann
2012-01-21Removed some unused parameters; added SAL_UNUSED_PARAMETER.Stephan Bergmann
SAL_UNUSED_PARAMETER (expanding to __attribute__ ((unused)) for GCC) is used to annotate legitimately unused parameters, so that static analysis tools can tell legitimately unused parameters from truly unnecessary ones. To that end, some patches for external modules are also added, that are only applied when compiling with GCC and add necessary __attribute__ ((unused)) in headers.
2012-01-20Code clean up.Stephan Bergmann
2012-01-15Clang -Wunused-variable.Stephan Bergmann
2012-01-12Fix mistake in type OUStringBufferOlivier Hallot
Fix mistake in method for type OUStringBuffer
2012-01-12Fix for fdo43460 Part XXXV getLength() to isEmpty()Olivier Hallot
Part XXXV Modules stoc
2012-01-02Get rid of manual ref counting.Stephan Bergmann
2012-01-02USE_INTROSPECTION_CACHE is always defined.Stephan Bergmann
2011-12-27function component_canUnload is exportedDavid Tardon
2011-12-27catch exception by constant referenceTakeshi Abe
2011-12-16msvc 2008 express won't link without explicit salhelperCaolán McNamara
post salhelper visibility markup and gbuildification express 2008 doesn't link without salhelper mentioned on link line
2011-12-15Removed extra semicolonsJesse
2011-11-27remove include of pch header from stocNorbert Thiebaud
2011-11-17Enforce a "lib" prefix for UNO components for AndroidTor Lillqvist
This commit for the old build system. (Don't bother for components not relevant for Android.) The Android package installer (as invoked through "adb install", from "ant debug install") silently ignores native libraries in app packages (.apk files) whose names don't start with "lib" and end with ".so". The package builder (as invoked through "ant debug") in the SDK gladly includes also thusly named native libraries in the .apk, though. Yay for consistency.