summaryrefslogtreecommitdiff
path: root/svl
AgeCommit message (Collapse)AuthorFilesLines
2012-09-28gbuild: invert handling of standard system libraries:Michael Stahl5-10/+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 WNT:Michael Stahl1-1/+1
add a new gb_LinkTarget_use_system_win32_libs to abstract different linker options on MSVC and GCC. Change-Id: Ic9bf2545f59bf7871e6fc06b290c486ddfbec03d
2012-09-28gbuild: replace direct gb_STDLIBS use with ...Michael Stahl5-5/+10
... new gb_LinkTarget_add_standard_system_libs Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
2012-09-28gbuild: split uwinapi out of gb_STDLIBSMichael Stahl5-0/+5
Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
2012-09-28convert GetRepeatComment to OUStringCaolán McNamara2-37/+36
Change-Id: Ibf75533d04b3c68b875f44ad22639934578867e3
2012-09-19ComponentContext::getUnoContext -> getComponentContext simplificationStephan Bergmann2-6/+4
...and some further clean-up. Change-Id: If5dce53e382b56390c502d0d0d93fc06cbfe33ea
2012-09-18deprecate oustringostreaminserter.hxxNorbert Thiebaud1-1/+0
the intent of this header has canged over time. now it is already systematically included with ustring.hxx and the operator overload it provide fit nicely there... Just to be safe, since that include as been added to the api during the 3.5 timeframe and therefore is already in 'production' the header remain and simply attempt to include ustring.hxx but a warning is issued indicating that this header should not be used anymore... in a couple of major release we will thenr emove it completely All internal users of that header are converted. Change-Id: I8934c55f089e29d78c0f5649b7c87b2ecf024bad Reviewed-on: https://gerrit.libreoffice.org/634 Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-17XubString->OUStringCaolán McNamara3-38/+39
Change-Id: Ic8b191dfb0d14e129dc804aeb4ac14c732e72e6b
2012-09-14SfxStyleSheetBasePool::Remove: fix valgrind warning:Michael Stahl1-1/+4
aStyles contains rtl::References, so the erase() call may cause "p" to be deleted, while "p" is then used as a parameter to Broadcast; avoid this by retaining the rtl::Reference on the stack a bit longer. Valgrind warning observed in sc_unoapi sc.ScStyleFamilyObj on libreoffice-3-6 branch, called by ScStyleFamilyObj::removeByName. Change-Id: I96d6de85b1b182b5ae3f74e92987a7f137537ffb
2012-09-14Improvement on previous commit, UCB clean upStephan Bergmann7-71/+42
* 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-09-14fdo#46808, Adapt ucb::UniversalContentBroker UNO service to new styleNoel Grandin1-13/+3
Create a merged XUniversalContentBroker interface for this service to implement. Which is backwards-compatible, but does not require creating a new service. Change-Id: Id264387bf8af8bf211050e15b8801a1fde368167
2012-09-11Improvement on previous commitStephan Bergmann1-8/+4
Change-Id: I10984b6ac4128ad46f512dade0f4e0084d0b9348
2012-09-06Replace usage of rtl/memory.h in svl with equivalent from string.hArnaud Versini4-10/+12
Change-Id: I44e6b162a190939bfa17e04f551309d6249c48df
2012-09-06Java cleanup, remove unnecessary importsNoel Grandin1-2/+0
Change-Id: Iacfcb2e16cb0e3c25a4cd0678a374fe5111284f7
2012-09-03fdo#46808, Adapt util::NumberFormatter UNO service to new styleNoel Grandin1-4/+3
Create a merged XNumberFormatter2 interface for this service to implement. Which is backwards-compatible, but does not require creating a new service. Change-Id: I57f35cde0a9dbbe91c1d2c3d068cb3a97c7245e3
2012-08-29resolved fdo#52240 fdo#52137 fdo#52288 user editable date patternsEike Rathke4-21/+77
Implemented user editable date acceptance patterns. The introduction of strict date parsing using locale dependent date acceptance patterns in 3.6.0 wasn't always welcomed. Besides that not every locale had patterns for incomplete (only day and month) date input, users also complained about not being able to key in dates on numeric keypads if the locale's date separator wasn't '/' or '-' This commit implements a "Date acceptance patterns" edit field under Tools->Options->LanguageSettings->Languages that follows the selected locale and enables the user to add patterns. Example de-DE locale: * default patterns: D.M.Y;D.M. * to enable additional input on numeric keypad: D.M.Y;D.M.;D-M-Y;D-M * if 3-4 shall not result in a date, D-M- could be used instead of D-M * note that to enter an ISO 8601 Y-M-D date with a D-M-Y pattern active one needs to enter a year >31 or with at least 3 digits, e.g. 011 Change-Id: I9e20fcb168578b02d0f0248a0e209942e0f27113
2012-08-29String::Expand -> string::padToLengthCaolán McNamara2-12/+19
Change-Id: I684e371c31ba76d2e9b563eed70449764346161b
2012-08-28tweaking the "fill in character" support in Calc Number Format StringsJohann Messner3-7/+17
a) changed ordering of repeat code marker ( 0x1b ) and repeat code to more sensible ( and correct imo ) order b) prevent some possible div/0 errors c) added some missing formatter 'GetOutputString' calls
2012-08-27fdo#46808, Adapt TempFile UNO service to new styleNoel Grandin2-2/+5
Change-Id: Ia448d6d74201e2be487c6d8317f94be3745808aa
2012-08-27fdo#46808, Adapt script::Converter service code to new styleNoel Grandin2-6/+4
Change-Id: I19b3ba7c978e02ce865360f0411007525012149c
2012-08-17gbuild: register all jarsMichael Stahl1-6/+6
Change-Id: I9f49970e5e06d1afd3fc066a20d1671c93e262fc
2012-08-14-Werror,-Wunused-private-field (Clang towards 3.2)Stephan Bergmann2-3/+1
Change-Id: I792247193e98cbf9225ec103911920e7f63640bf
2012-08-08reduce ascii noise and useless commentsThomas Arnhold2-4/+0
Change-Id: I317058e3b25cebb7c1d89361636261c5f16a84d4
2012-08-08remove include comments and boxesThomas Arnhold2-5/+0
Change-Id: I9ccf664e8f75a68b1b87c2b29ae617a90d0741a7
2012-08-07String::AllocBuffer replacementsCaolán McNamara2-28/+24
Change-Id: I278cd66fb4819721bb473796c28598aaf04eb123
2012-08-07Remove non-existing forward declarationsThomas Arnhold3-4/+0
Those classes don't exist. So remove friend class operators too. Change-Id: I8e3b32db933dea7cbab86015f0c926df967511f6
2012-08-06There is not need to allocate memory just for getting the 'indexOf'Christophe JAILLET2-3/+2
a literal within a OUString. Change-Id: Icc8e22c43f6ddca25cb284a3d45ab39680ad6d1f
2012-08-04SfxBroadcaster: fix STL conversion:Michael Stahl2-27/+51
50cf7caee5bc6d8e066580d13c72b40926fcb69a introduced a regression that makes the smoketest fail on Windows (though strangely not on Linux), because it removed the special handling of null pointers in the SfxBroadcaster's listener array. It is evidently possible that a listener may be either added or removed at the SfxBroadcaster while that SfxBroadcaster is currently doing a Broadcast, hence AddListener and RemoveListener must be careful not to make the in progress iteration through the listener array fail. svllo.dll!SfxBroadcaster::AddListener(SfxListener & rListener={...}) Line 114 + 0x43 bytes C++ svllo.dll!SfxListener::StartListening(SfxBroadcaster & rBroadcaster={...}, unsigned char bPreventDups=0) Line 89 C++ sfxlo.dll!SfxPrintHelper::initialize(const com::sun::star::uno::Sequence<com::sun::star::uno::Any> & aArguments={...}) Line 162 C++ sfxlo.dll!SfxBaseModel::impl_getPrintHelper() Line 3693 C++ sfxlo.dll!SfxBaseModel::Notify(SfxBroadcaster & rBC={...}, const SfxHint & rHint={...}) Line 2583 C++ svllo.dll!SfxBroadcaster::Broadcast(const SfxHint & rHint={...}) Line 56 + 0xb bytes C++ sfxlo.dll!SfxApplication::NotifyEvent(const SfxEventHint & rEventHint={...}, bool bSynchron=true) Line 918 C++ sfxlo.dll!SfxObjectShell::SetInitialized_Impl(const bool i_fromInitNew=true) Line 1146 + 0x37 bytes C++ sfxlo.dll!SfxObjectShell::FinishedLoading(unsigned short nFlags=3) Line 1302 C++ Change-Id: Id27d08faaa2472b57947960a92f19c44df55b72b
2012-08-03enable preview for 'special' '*' formatsNoel Power2-3/+11
Change-Id: I2f94c3d8d827ecabc6dd5e685bb40954fe2427c4
2012-08-02cntnrsrt.hxx: remove dead codeMichael Stahl2-167/+0
Change-Id: I004101e814ac3eb1de7a518c2dd9b1f14683eca8
2012-08-02strip down UniString some moreCaolán McNamara7-43/+46
Change-Id: Ibd749a70a7bbe8c1023edf7bd144aa6547147a12
2012-08-01Remove unused code: those classes are unusedThomas Arnhold1-74/+0
Change-Id: Ibf41655d40c9534629bbb0dd5ae600791b42922d
2012-08-01include svl/svdde.hxxCaolán McNamara2-6/+2
Change-Id: Ib8696dad1905cbcd12d6c3dd42720eea3f883c6f
2012-07-31Fix mingw build of svlFridrich Štrba1-5/+9
Change-Id: I9992dba75903fea3d31be73de69e49f439df3a41
2012-07-31DdeServices has forward declarations so can't be typedef'dMichael Stahl1-1/+1
Change-Id: I1455d380cbb8b096255a0d3cb402ff0dc4d35996
2012-07-31svarray.hxx: 'e's pining for the fjords...Michael Stahl4-301/+0
Change-Id: I3eeb257092a76744482ebd2d0eccaa29ead8a644
2012-07-31remove DECLARE_LISTCaolán McNamara2-9/+3
Change-Id: Ic74476797edbb08ed6721ea9a7d23b0dd042b4ce
2012-07-31use of a pointer to a temporary strings buffer is very wrongCaolán McNamara1-9/+11
Change-Id: Id5bee1f5120afb6efb60245a4606a4a15bb6db79
2012-07-31strip down the PTRARR macro to the bits the last two uses requireCaolán McNamara1-45/+2
Change-Id: I60323cd849e98b194af43e80aebc699ab662ed0e
2012-07-30remove unnecessary includes of svl/svarray.hxxCaolán McNamara4-4/+0
Change-Id: Ifec201efc4e97baf2d36d66c4ae6967eadd6134c
2012-07-30C40_GETPOS is unnecessary nowCaolán McNamara1-2/+0
Change-Id: Ida64fbeba996c8e3deb7591be825b61d17044d9c
2012-07-30ditch SV_DECL_PTRARR_SORT_DELCaolán McNamara1-73/+3
Change-Id: Ie57f283b2087564afe9b700d1f35a3be52f1e940
2012-07-29Remove strange DummyTypeCaolán McNamara2-17/+11
I can see no purpose to DummyType Change-Id: I25d9d3b321df28f8c2bcb4bf915eb176a14fdaf8
2012-07-29expand out some rats nests of macrosCaolán McNamara1-152/+132
Change-Id: Ibd0a5779339f4ff00063f93c1b452e61c35a5a2a
2012-07-29SV_DECL_PTRARR_GEN only used once, expand it outCaolán McNamara1-16/+13
Change-Id: I57bc5ff6f5f1f9fe8475a2f8417d312d5bae4aee
2012-07-29callcatcher: strip SvPtrarr down to the used piecesCaolán McNamara2-61/+0
Change-Id: I79e53acd886422a3691cc9a5916a271d02b3f7d9
2012-07-29svarray.hxx: clean out much more cruftThomas Arnhold1-90/+0
Change-Id: Id506fdcd832aca1f55b2406d9232a55ed55e6c19
2012-07-28expand final SV_DECL_VARARR SV_IMPL_VARARR SvPtrarr macroCaolán McNamara2-206/+145
there's only one use of SV_DECL_VARARR/SV_IMPL_VARARR left as SvPtrarr, so expand it into something semi-readable. Change-Id: Ibaefda867c87c029d1bdf085b4f6517aec8bd5a3
2012-07-28dung out the unused pre-stl macrosCaolán McNamara1-71/+0
remove the unused macros post Noel Grandin, et. al.'s stl conversion work Change-Id: I8ab930214a74c3aaac90c8ca9581010a04ce662e
2012-07-28update comment about SvPtrArrCaolán McNamara1-1/+1
Change-Id: I1944a04a5732d328f542c0819b43edc6fad9f7ac