summaryrefslogtreecommitdiff
path: root/padmin
AgeCommit message (Collapse)AuthorFilesLines
2012-11-13Avoid global static dataStephan Bergmann1-1/+5
...that (indirectly) allocates memory via rtl/alloc.h, thereby causing the rtl_cache_wsupdate_init thread to be spawned before main, as on Mac OS X that would interfere with the code in sal_detail_initialize to close all file descriptors >= 3 -- on Mac OS X the pthreads implementation makes use of KQUEUE file descriptors. * This commit removes enough global static data to make ui-preview work again on Mac OS X (where it crashed at startup when the main thread closed the KQUEUE fd used by pthreads implementation threads). gengal uses further static data (at least from module sb), so needs further clean-up. * Avoiding global static instances derived from class Application required the introduction of vcl/vclmain.hxx. * That the vcl library was linked against the static vclmain library (which only provides an implementation of main) appears to me to be a historic relic (all executables should either include a SAL_IMPLEMENT_MAIN or link against vclmain), so I removed that. Change-Id: I048aa616208cb3a1b9bd8dcc3b729ba1665729bd
2012-11-13convert extension dialog to .uiCaolán McNamara1-2/+1
Change-Id: I4d938be9e960f421398dd40bbcf1b3cadc643de1
2012-11-05fdo#46808, rename methodNoel Grandin1-1/+1
Rename utl::OConfigurationTreeRoot::tryCreateWithServiceFactory to utl::OConfigurationTreeRoot::tryCreateWithComponentContext Change-Id: Ib39b44b21d206b5fdfa4162106fbdeb30b1dd37c
2012-10-31fdo#46808, Deprecate configuration::ConfigurationProvider old-style serviceNoel Grandin1-1/+1
...in favor of existing new-style configuration::theDefaultProvider singleton. Theoretically, ConfigurationProvider instances can be created with specific Locale and EnableAsync arguments, but this is hardly used in practice, and thus effectively all uses of the ConfigurationProvider service use the theDefaultProvider instance, anyway. theDefaultProvider is restricted to the XMultiServiceFactory interface, while ConfigurationProvider also makes available XComponent. However, dispose must not be called manually on theDefaultProvider singleton anyway, and calls to add-/removeEventListener are so few (and in dubious code that should better be cleaned up) that requiring an explicit queryInterface does not really hurt there. This commit originated as a patch by Noel Grandin to "Adapt configuration::ConfigurationProvider UNO service to new style [by creating] a merged XConfigurationProvider interface for this service to implement." It was then modified by Stephan Bergmann by deprecating ConfigurationProvider instead of adding XConfigurationProvider and by replacing calls to ConfigurationProvider::create with calls to theDefaultProvider::get. Change-Id: I9c16700afe0faff1ef6f20338a66bd7a9af990bd
2012-10-31Get rid of vcl::unohelper::GetMultiServiceFactoryStephan Bergmann1-2/+2
...which effectively is just a glorious wrapper around comphelper::getProcessServiceFactory. In turn gets also rid of ImplSVAppData's mxMSF and mpMSFTempFileName and the rSMgr parameter to InitVCL. All the VCL users "soffice", "spadmin", and "unopkg gui" appear to still work fine. Change-Id: I797d48f7d0d8c35bb82124c9ab0ee63850c4d863
2012-10-23fdo#46808, Adapt ui::dialogs::FolderPicker UNO service to new styleNoel Grandin1-31/+25
Create a merged XFolderPicker2 interface for this service to implement. Which is backwards-compatible, but does not require creating a new service. Change-Id: I4a2c2a8d491a8d5633c19ddcea547f0efe75b91d
2012-10-04sal_Bool->bool in padminNoel Grandin2-5/+5
Change-Id: Ica624c28b4e423531be3ef6a601f266d1cad1d07
2012-09-28gbuild: invert handling of standard system libraries:Michael Stahl2-4/+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: gb_Library_PLAINLIBS_NONE cleanup for unxgcc/solarisMichael Stahl2-4/+4
Change-Id: Ia7f64bdd0fd81c5dcc08d828db4602b65e2da949
2012-09-28gbuild: gb_Library_PLAINLIBS_NONE cleanup for MacMichael Stahl2-5/+5
Change-Id: I66f8229e186e312ed3242695db9ef0768ab4d9a0
2012-09-28gbuild: replace direct gb_STDLIBS use with ...Michael Stahl2-2/+4
... new gb_LinkTarget_add_standard_system_libs Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
2012-09-28gbuild: split uwinapi out of gb_STDLIBSMichael Stahl2-0/+2
Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
2012-09-26sal_Bool -> bool, convert InitAccessBridge and friendsNoel Grandin1-1/+1
Change-Id: I08b5a76c68c67c3837427ad74106e170c64cdaaa
2012-09-14Improvement on previous commit, UCB clean upStephan Bergmann1-25/+4
* As UCB is only ever initialized with "Local"/"Office", remove this configuration vector completely. The "create" ctor creates an instance internally initialized with those "Local"/"Office" keys. Special (test) code can still instantiate an uninitialized one via plain createInstance. And for backwards compatilibity process startup still ensures to create an initialized instance early, in case there is still code out there (in extensions) that later calls plain createInstance and expects to get the already-initialized (single) instance. * XInitialization is an "implementation detail" of the UniversalContentBroker service, do not expose in XUniversalContentBroker. * ucbhelper/configurationkeys.hxx is no longer needed and is removed. * ucbhelper/contentbroker.hxx is an empty wrapper and is removed; however, that requires ucbhelper::Content constructors to take explicit XComponentContext arguments now. * The only remaining code in ucbhelper/source/client/contentbroker.cxx is Android-only InitUCBHelper. Is that relevant still? Change-Id: I3f7bddd0456bffbcd13590c66d9011915c760f28
2012-07-28Add more room to a label in print dialog too short for FR translationJean-Baptiste FAURE1-1/+1
Change-Id: Ib54c7f58cf1d2e510b65038a6a0c21da2d6fd186
2012-07-03ditch String::CreateFromAsciiCaolán McNamara4-9/+9
Change-Id: I2b482bd323ac510629c5ee31868010b7cd6ce691
2012-07-02re-base on ALv2 code. Removing:Michael Meeks15-340/+205
a patch contributed by Pedro Giffuni to handle FreeBSD issues that are unlikely to be an issue with a two-layer LibreOffice. http://svn.apache.org/viewvc?view=revision&revision=1180509
2012-07-02targetted improvement of UNO API includes / usageMichael Meeks1-4/+1
2012-07-02Remove unused definesThomas Arnhold1-2/+0
Some of them were commented out for documentation purpose. Change-Id: I29a6b2cbe774b527f0c3a0be5675160817a7f3ce
2012-07-02targetted improvement of UNO API includes / usageMichael Meeks1-4/+1
2012-06-26removed unnecessary forward declarations of classTakeshi Abe1-1/+0
Change-Id: Id08393f66797ef1c4378c8f3549d0900d4f1c7ec
2012-06-22re-base on ALv2 code.Michael Meeks1-23/+14
Change-Id: I8018d9b5fa01d1720c0392dc5fdc4a0656f25a35
2012-06-21re-base on ALv2 code.Michael Meeks13-304/+187
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21re-base on ALv2 code.Michael Meeks1-23/+14
Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
2012-06-15hrc cleanup: Remove completely unused RIDsThomas Arnhold2-26/+0
These RID definitions aren't used at any other point. So remove them. Unused START and END definitions were commented out for documentation purpose. All definitions in basctl/source/basicide/tbxctl.hrc were unused, so I removed this file. Change-Id: I4713188a12b9da912b2a91b85ea4e54ca1aeb994
2012-06-12Get rid of GRADIENT_* defines, they conflict with Windows GDI types.Jan Holesovsky1-1/+1
Change-Id: Ia0bc37f81b7213b20fc5093beb46d7a05b1ac931
2012-06-01Targeted string re-work in padmin and saxThorsten Behrens1-2/+2
2012-05-31targeted string re-workNorbert Thiebaud2-19/+19
Change-Id: Ifd6b90778725d94a9338a53a4cdc514cdb595052
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-09add package deps for resourcesDavid Tardon1-4/+0
2012-04-08gbuild: "use" vs. "add":Michael Stahl2-9/+9
Naming convention for gbuild methods: - "add" is used for stuff that is logically a part of the target (i.e. not registered at the Module, but defined in the target's makefile) - "use" is used for stuff that is logically a different target (i.e. it is registered at the Module, has it's own makefile, may be in a different module than the target)
2012-04-05UniString::CreateFromInt32 -> rtl::OUString::valueOfCaolán McNamara1-2/+2
2012-03-20make ResId->OUString the primary routeCaolán McNamara1-4/+4
2012-02-15Various string function clean upStephan Bergmann1-7/+4
Added: * rtl::OString::matchL * rtl::OString::endsWith * rtl::OString::endsWithL * rtl::OString::indexOfL * rtl::OString::replaceFirst * rtl::OString::replaceAll * rtl::OString::getToken * rtl::OUString::endsWith * rtl::OUString::replaceFirst * rtl::OUString::replaceFirstAsciiL * rtl::OUString::replaceFirstAsciiLAsciiL * rtl::OUString::replaceAll * rtl::OUString::replaceAllAsciiL * rtl::OUString::replaceAllAsciiLAsciiL * rtl::OUString::getToken plus underlying C functions where necessary Deprecated: * comphelper::string::remove * comphelper::string::getToken Removed: * comphelper::string::searchAndReplaceAsciiL * comphelper::string::searchAndReplaceAllAsciiWithAscii * comphelper::string::searchAndReplaceAsciiI * comphelper::string::replace * comphelper::string::matchL * comphelper::string::matchIgnoreAsciiCaseL * comphelper::string::indexOfL Also fixed some apparent misuses of RTL_CONSTASCII_USTRINGPARAM -> RTL_CONSTASCII_STRINGPARAM.
2012-02-10fdo#39491 -I$(OUTDIR)/inc is set in SOLARINCMatúš Kukan1-1/+0
2012-02-08Added (and improved) READMEs for modules which used to be in libs-guiJosh Heidenreich1-0/+1
2012-02-05switch to include-based build rather than sourced-based buildNorbert Thiebaud1-35/+2
2012-01-25make padmin ByteString freeCaolán McNamara3-42/+41
2012-01-21Improve checking for emptiness (while)Thomas Arnhold1-1/+1
2012-01-11further shrinkage of padmin non-fontconfig code-pathsCaolán McNamara6-1152/+6
2012-01-11on generic X11 unix we always use fontconfigCaolán McNamara4-26/+2
2012-01-05Removed unnecessary tools includes.Marcel Metz2-2/+1
2012-01-05Removed unnecessary tools includes.Marcel Metz5-2/+3
Hello lo-devs, this patch series removes a lot of unnecessary includes for the various tools header. The patches without suffix should be applied to the core repository, the .binfilter.patch suffix should be applied to the binfilter repository. I've tested the build with the configuration --enable-binfilter --enable-dbgutil --enable-debug, is this sufficient or did I miss another important configuration, that enables some conditional compiled code? I've only build this on linux-x86_64, but the patch also touches some of the mac specific code like fpicker/source/aqua/SalAquaFilePicker.mm so it would be maybe a good idea to test this patch. regards Marcel Metz
2012-01-05add a comphelper::string::getTokenCountCaolán McNamara1-1/+2
suitable for conversion from [Byte]String::GetTokenCount converted low-hanging variants to rtl::O[UString]::getToken loops added unit test
2012-01-02Fix for fdo43460 Part XXVII getLength() to isEmpty()Olivier Hallot3-5/+5
Please find attached a partial fix for Easy Hack FDO43460 Part XXVII Modules padmin, pyuno, rdbmaker, regexp, registry, rsc, sal
2011-12-21catch exception by constant referenceTakeshi Abe1-1/+1
2011-12-08Less succes, more successStefan Knorr (astron)1-1/+1
2011-12-07Remove testtoolloaderAugust Sodora1-9/+0
2011-12-07in modules, when we have a env we are in stage gbuildBjoern Michaelsen1-0/+1
2011-12-01get rid of class Date and Time default ctor with system time penaltyEike Rathke1-2/+2