summaryrefslogtreecommitdiff
path: root/stoc
AgeCommit message (Collapse)AuthorFilesLines
2013-04-16rhbz#867808 Do not throw RuntimeException by pointerStephan Bergmann2-3/+3
(cherry picked from commit e46564a0a6a74da90785a1b910d33e2b5bfdcfd9, plus 63b4633cf7b0da9eba63e752cec72cb10ed9d93e "Related: rhbz#867808 if one person threw by pointer..." and 336353a87e6003e685aab87ea74a158546e1f297 "Related rhbz#867808: More apparently bogus 'throw new ...' in C++ code") Conflicts: bridges/test/java_uno/nativethreadpool/testnativethreadpoolclient.cxx bridges/test/java_uno/nativethreadpool/testnativethreadpoolserver.cxx sdext/source/presenter/PresenterController.cxx stoc/source/registry_tdprovider/functiondescription.cxx stoc/source/registry_tdprovider/methoddescription.cxx toolkit/source/awt/vclxwindow1.cxx Change-Id: I22b7d3d642e7ee0488d6b726a331d328065bbee7 Reviewed-on: https://gerrit.libreoffice.org/3418 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2012-12-18Let JavaVirtualMachine::getJavaVm start the VM it already foundStephan Bergmann1-3/+25
Since b69951996967a1c79e3a55dd13dd5609b19db6a1 "Drop support for /etc/opt/ure and ~/.ure from LibreOffice 4" there is no place any more where a plain URE will store information about a selected JVM, so JavaVirtualMachine::getJavaVM will go into an endless loop of jfw_startVM -> JFW_E_NO_SELECT -> jfw_findAndSelectJRE -> jfw_startVM -> ... The solution is to pass the JavaInfo determined by jfw_findAndSelectJRE into the second invocation of jfw_startVM (for which the parameter list of the latter needed to be changed), instead of relying on jfw_findAndSelectJRE and jfw_startVM implicitly communicating that information via user configuration files. Change-Id: I5799f04c457e8a849c67ed827dc5e134c6563362 (cherry picked from commit e5546342cb4e4f106257a7f7594d4356e6adbff3)
2012-12-03fixes for where fast string operator+ is not perfectly source compatibleLuboš Luňák1-1/+1
Change-Id: I80af0399037e4f68113338139e7f2ad2400e65ab
2012-11-30c++ API: use css alias in generated headers, adds global css declThorsten Behrens18-34/+0
This changes all generated API headers (.hpp and .hdl) to use a namespace alias 'css' instead of the pointlessly long com::sun::star Makes the change in cppumaker & associated tools, adds a global namespace alias definition in sal/types.h, and removes a kiloton of local, now pointless-to-harmful versions of that alias from all over the code. Change-Id: Ice5a644a6b971a981f01dc0589d48f5add31cc0f
2012-11-30API CHANGE remove [oneway] method attributesThorsten Behrens4-5/+5
Remove non-functional and broken [oneway] attributes from all idl files. Change idl compiler to no longer digest such idl. Change-Id: Ie14c5012beccb6242d7cd592d434a88091b695d1
2012-11-20fdo#51304: Remove @author annotationJosé Guilherme Vanz1-9/+0
This commit removes some @author annotations and some cleanup. Change-Id: Iaf2c4465825dc73af6c1d7377ae847262721c22b Signed-off-by: José Guilherme Vanz <guilherme.sft@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/1122 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-10-23fdo#46808, use service constructor for beans::IntrospectionNoel Grandin1-6/+2
Change-Id: Ieb49277020d31779979d8eb508391d6f8b97bf94
2012-10-22drop rdbmaker completelyMatúš Kukan1-1/+1
Change-Id: I313afb391562adae4f91c55480a036c228e0b540
2012-10-05directly use udkapiDavid Tardon3-101/+1
Change-Id: I44c3b830a61ef1f65833732b5bc66c061ed27c21
2012-10-03Replace set_xml with set_types, to get rid of xml2cmpStephan Bergmann2-376/+68
Change-Id: I9ba3739f1693f5427c9ea49f2b6016f364f444ff
2012-10-03Dead xml2cmp-related test codeStephan Bergmann10-921/+0
Change-Id: I44b7f56aa1b4b9bc290c9c15281b64947a694e5c
2012-10-02stoc: prefix more libs; only bootstrap is remainingMatúš Kukan4-4/+4
Change-Id: Ie9032c6faa493da47e76bc9ff467c4de4b318ca9
2012-09-28gbuild: invert handling of standard system libraries:Michael Stahl10-20/+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 Stahl10-10/+20
... new gb_LinkTarget_add_standard_system_libs Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
2012-09-28gbuild: split uwinapi out of gb_STDLIBSMichael Stahl10-0/+10
Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
2012-09-26stoc: add more component prefixesMatúš Kukan10-14/+10
Except bootstrap, javaloader and javavm. They are special. Change-Id: I28e28d07b4b1daf45f7416151a94ac376fc01db7
2012-09-25replace remaining InterlockedCount() with inlined versionNorbert Thiebaud4-8/+8
Change-Id: Ifcfa48fc87f905a91470a5b0fd597b02f220784c Reviewed-on: https://gerrit.libreoffice.org/671 Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-20No point with component_canUnload when DISABLE_DYNLOADINGTor Lillqvist1-0/+5
Change-Id: I85016d1e70dbb5e499aefad568179800b5d00ab7
2012-09-05Java cleanup, fix a couple of compile errorsNoel Grandin1-3/+0
Change-Id: I83a51dc7a68413d9fea16c8cafdb82e665940775
2012-09-01add more component prefixesMatúš Kukan4-12/+4
Change-Id: I3afe59a6326b9e5cb26c39a82d7aabdb05cc2b7e
2012-08-22Replace use_internal_api with use_udk_api etc. where appropriateStephan Bergmann28-1003/+9
Change-Id: I5e216ca01830a6568159ee8e9265938667f201a1
2012-08-14-Werror,-Wunused-private-field (Clang towards 3.2)Stephan Bergmann1-1/+0
Change-Id: I28dba7f4c7310da931831319aa33a3a67c845381
2012-08-08Better error reportingStephan Bergmann1-0/+3
Change-Id: I36c6dc025d0094c0b1666e13b25d78931392f768
2012-08-08reduce ascii noise and useless commentsThomas Arnhold1-4/+1
Change-Id: I317058e3b25cebb7c1d89361636261c5f16a84d4
2012-08-07Remove non-existing forward declarationsThomas Arnhold1-3/+0
Those classes don't exist. So remove friend class operators too. Change-Id: I8e3b32db933dea7cbab86015f0c926df967511f6
2012-07-30udkapi, offapi: do not use #include "foo":Michael Stahl1-4/+4
Evidently on Windows, the newfangled ucpp handles #include "foo" differently from #include <foo> and treats it as a relative path, while the angle brackets always result in absolute paths. Since relative paths result in infinite rebuilds if make is invoked in a different directory, don't use #include "foo" in IDL files. Change-Id: Iedcda3a4be5542389a0be086f14541cda8dc5323
2012-07-23Assertion clean-upStephan Bergmann1-5/+4
Change-Id: I234c615d9d3386da2b244709add5c029b76d346c
2012-07-23WaE: unused variableTor Lillqvist1-0/+2
Change-Id: Ie355701716c7106ef2afd76ae8b6544a00ac474c
2012-07-14simplify include guardsThomas Arnhold2-2/+2
Change-Id: Id4210229b20a1d54b680ff1a2ccbcdd3684ecf5f
2012-07-06re-base on ALv2 code.Michael Meeks1-20/+14
2012-06-29re-base on ALv2 code.Michael Meeks96-2256/+1716
2012-06-27targetted re-work of cppunit pieces.Michael Meeks1-3/+1
2012-06-27Remove unused include filesThomas Arnhold1-56/+0
Those never get included at any point in the code. Change-Id: I17736e005635b9e57759cfc95176a99e7c5e8988
2012-06-25reduce static_initialization_and_destruction chainCaolán McNamara1-2/+1
Change-Id: I0c1b2f2d908c31d1510662880c13504d81445a6a
2012-06-21re-base on ALv2 code.Michael Meeks36-863/+539
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21re-base on ALv2 code.Michael Meeks20-399/+327
Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
2012-06-10nuke dead codeTakeshi Abe1-5/+0
Change-Id: I666791b2a2bb817d59625868d5e2df1a9341b2ff
2012-06-09Remove superfluous empty lines on topThomas Arnhold1-2/+0
More than two lines are removed for readability. Change-Id: Ibff6cf68d7c512e240a54065b54a225bb23a782b
2012-06-02targeted string re-workNorbert Thiebaud8-356/+227
Change-Id: I145731d9f28faf0065f5960f2c5a32f27d8c8620
2012-06-02targeted string re-workNorbert Thiebaud7-245/+231
Change-Id: Ia4cf1dcae7d40eca29f84fa7277681d1c1fb61bd
2012-05-31Bin MSVC unknown option '-0b0'Tor Lillqvist10-96/+0
It was a typo, supposed to be -Ob0, but as stoc built fine anyway without that, presumably not needed. Change-Id: I866bd47c3d53bdf48581a3632d56fb3ac8b2ed5f
2012-05-29deliver component desc. xml, if usedDavid Tardon2-44/+0
Change-Id: I2908d5851ae33d70a49a032130fdc1a406310c7d
2012-05-25Use simple createOneInstanceComponentFactoryStephan Bergmann1-14/+2
...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 Abe1-2/+0
Change-Id: I2aeba0342e46c3a4bd50f49b8a43ebb125269dfa
2012-05-16reduce static_initialization_and_destruction chainCaolán McNamara1-5/+4
Change-Id: I962aeac0c7feeabb7963016d5afcfeca5a48ccfe
2012-05-07fdo#48391: Remove TEST_ENSHUREGábor Stefanik7-260/+215
Change-Id: Id9fc99aab1515a710374b3364f6136587f95f582
2012-05-04fdo#48253 Expand SAL_STATIC_CAST and SAL_CONST_CASTThomas Arnhold4-20/+18
Change-Id: I50f0887ceb4517d7ef234f970ca2ba679d533382
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-20New cppu::defaultBootstrap_InitialComponentContext implementationStephan Bergmann3-92/+16
...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 Bergmann1-115/+40
...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.