summaryrefslogtreecommitdiff
path: root/svl
AgeCommit message (Collapse)Author
2012-09-11Improvement on previous commitStephan Bergmann
Change-Id: I10984b6ac4128ad46f512dade0f4e0084d0b9348
2012-09-06Replace usage of rtl/memory.h in svl with equivalent from string.hArnaud Versini
Change-Id: I44e6b162a190939bfa17e04f551309d6249c48df
2012-09-06Java cleanup, remove unnecessary importsNoel Grandin
Change-Id: Iacfcb2e16cb0e3c25a4cd0678a374fe5111284f7
2012-09-03fdo#46808, Adapt util::NumberFormatter UNO service to new styleNoel Grandin
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 Rathke
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 McNamara
Change-Id: I684e371c31ba76d2e9b563eed70449764346161b
2012-08-28tweaking the "fill in character" support in Calc Number Format StringsJohann Messner
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 Grandin
Change-Id: Ia448d6d74201e2be487c6d8317f94be3745808aa
2012-08-27fdo#46808, Adapt script::Converter service code to new styleNoel Grandin
Change-Id: I19b3ba7c978e02ce865360f0411007525012149c
2012-08-17gbuild: register all jarsMichael Stahl
Change-Id: I9f49970e5e06d1afd3fc066a20d1671c93e262fc
2012-08-14-Werror,-Wunused-private-field (Clang towards 3.2)Stephan Bergmann
Change-Id: I792247193e98cbf9225ec103911920e7f63640bf
2012-08-08reduce ascii noise and useless commentsThomas Arnhold
Change-Id: I317058e3b25cebb7c1d89361636261c5f16a84d4
2012-08-08remove include comments and boxesThomas Arnhold
Change-Id: I9ccf664e8f75a68b1b87c2b29ae617a90d0741a7
2012-08-07String::AllocBuffer replacementsCaolán McNamara
Change-Id: I278cd66fb4819721bb473796c28598aaf04eb123
2012-08-07Remove non-existing forward declarationsThomas Arnhold
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 JAILLET
a literal within a OUString. Change-Id: Icc8e22c43f6ddca25cb284a3d45ab39680ad6d1f
2012-08-04SfxBroadcaster: fix STL conversion:Michael Stahl
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 Power
Change-Id: I2f94c3d8d827ecabc6dd5e685bb40954fe2427c4
2012-08-02cntnrsrt.hxx: remove dead codeMichael Stahl
Change-Id: I004101e814ac3eb1de7a518c2dd9b1f14683eca8
2012-08-02strip down UniString some moreCaolán McNamara
Change-Id: Ibd749a70a7bbe8c1023edf7bd144aa6547147a12
2012-08-01Remove unused code: those classes are unusedThomas Arnhold
Change-Id: Ibf41655d40c9534629bbb0dd5ae600791b42922d
2012-08-01include svl/svdde.hxxCaolán McNamara
Change-Id: Ib8696dad1905cbcd12d6c3dd42720eea3f883c6f
2012-07-31Fix mingw build of svlFridrich Štrba
Change-Id: I9992dba75903fea3d31be73de69e49f439df3a41
2012-07-31DdeServices has forward declarations so can't be typedef'dMichael Stahl
Change-Id: I1455d380cbb8b096255a0d3cb402ff0dc4d35996
2012-07-31svarray.hxx: 'e's pining for the fjords...Michael Stahl
Change-Id: I3eeb257092a76744482ebd2d0eccaa29ead8a644
2012-07-31remove DECLARE_LISTCaolán McNamara
Change-Id: Ic74476797edbb08ed6721ea9a7d23b0dd042b4ce
2012-07-31use of a pointer to a temporary strings buffer is very wrongCaolán McNamara
Change-Id: Id5bee1f5120afb6efb60245a4606a4a15bb6db79
2012-07-31strip down the PTRARR macro to the bits the last two uses requireCaolán McNamara
Change-Id: I60323cd849e98b194af43e80aebc699ab662ed0e
2012-07-30remove unnecessary includes of svl/svarray.hxxCaolán McNamara
Change-Id: Ifec201efc4e97baf2d36d66c4ae6967eadd6134c
2012-07-30C40_GETPOS is unnecessary nowCaolán McNamara
Change-Id: Ida64fbeba996c8e3deb7591be825b61d17044d9c
2012-07-30ditch SV_DECL_PTRARR_SORT_DELCaolán McNamara
Change-Id: Ie57f283b2087564afe9b700d1f35a3be52f1e940
2012-07-29Remove strange DummyTypeCaolán McNamara
I can see no purpose to DummyType Change-Id: I25d9d3b321df28f8c2bcb4bf915eb176a14fdaf8
2012-07-29expand out some rats nests of macrosCaolán McNamara
Change-Id: Ibd0a5779339f4ff00063f93c1b452e61c35a5a2a
2012-07-29SV_DECL_PTRARR_GEN only used once, expand it outCaolán McNamara
Change-Id: I57bc5ff6f5f1f9fe8475a2f8417d312d5bae4aee
2012-07-29callcatcher: strip SvPtrarr down to the used piecesCaolán McNamara
Change-Id: I79e53acd886422a3691cc9a5916a271d02b3f7d9
2012-07-29svarray.hxx: clean out much more cruftThomas Arnhold
Change-Id: Id506fdcd832aca1f55b2406d9232a55ed55e6c19
2012-07-28expand final SV_DECL_VARARR SV_IMPL_VARARR SvPtrarr macroCaolán McNamara
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 McNamara
remove the unused macros post Noel Grandin, et. al.'s stl conversion work Change-Id: I8ab930214a74c3aaac90c8ca9581010a04ce662e
2012-07-28update comment about SvPtrArrCaolán McNamara
Change-Id: I1944a04a5732d328f542c0819b43edc6fad9f7ac
2012-07-28convert SfxListenerArr_Impl from SvPtrarr to std::vectorCaolán McNamara
Change-Id: I7f46731d880da30dc2dda011b31818437c955f2d
2012-07-27convert DdeItemImp to std::vectorNoel Grandin
... with some fixes from the committer. Change-Id: I51e0c14222a90e7826711b6bc02a6b70eef887b5
2012-07-25include osl/diagnose.h for OSL_ENSURECaolán McNamara
Change-Id: I64ed84dc6f5939e110a5051bc9c701e5dee1ba85
2012-07-25delete svl/svstdarr.hxxMichael Stahl
Change-Id: Ia3d1d8dbe100443410b80c3881f10ab51b2d0419
2012-07-25remove typedef StringPtrMichael Stahl
Change-Id: Ibb5b1c02a15fb1b6e4b45737b2afa9f065318071
2012-07-25svstdarr.hxx: remove SvXub_StrLensMichael Stahl
Change-Id: Ia1d171b00cfbf2e541928213c39005ac873db938
2012-07-25move SvStringsISortDtor to editeng/svxacorr.hxxMichael Stahl
Change-Id: I4465281396f44f53ba87db0a405586294ea65076
2012-07-25Convert SvStringsISortDtor from an SV_DECL_PTRARR to a o3tl::sorted_vectorNoel Grandin
Change-Id: Ie1fa9b3cc2aef83ae9a82fbc110a08b2f298daef
2012-07-18Revert "hrc cleanup: Remove unused cstitem.src"Norbert Thiebaud
This reverts commit ae95e31831916df760503bfc2496b7bc55bc638b.
2012-07-18Revert hrc string cleanupThomas Arnhold
This reverts mostly all of my hrc string cleanup commits. As Markus stated in dc05a825e71316e6f602e5c8dfcd3d10ecb6252f those are erroneous and mostly untested. And therefore absolutely unsave. I only did test them by compiling and checking the main screens. Cleaning those files seems to be much more complicated than I thought. So to be absolutely save I do this huge revert. Sorry for this. Revert "hrc cleanup: Further cleanup" This reverts commit 60212988e1cd84169afb028a4255b6f935f1fd4b. Revert "hrc cleanup: Remove unused strings" This reverts commit 0e2d7550dd287843b70c03dee952c02f9bd8afb5. Revert "hrc cleanup: Remove unused Strings in sfx2/source/doc/doc.hrc" This reverts commit efb74b5dfdb773ba53b29080e1996a93d2c1cac2. Revert "hrc cleanup: Remove unused Strings in cui" This reverts commit 527e8f61868210c54bdad650f16390bda03c4353. Revert "hrc cleanup: Remove unused Strings in desktop" This reverts commit ac3800fbb9f3251276302b24fa0542441276a34f. Revert "hrc cleanup: Remove unused cstitem.src" This reverts commit ae95e31831916df760503bfc2496b7bc55bc638b. Revert "hrc cleanup: Remove unused strings in wizards" This reverts commit 20f9a1744319ecdf18c9ab6d0873bb586eb4d03f. Revert "hrc cleanup: Remove unused Strings in sfx2" This reverts commit c26d4d34467008418ebf138412e87886694c326c.
2012-07-15CppunitTest_svl_urihelper fails on MSVCMichael Stahl
Change-Id: Ia1154ab9e677ac0d27eb8cf671139d4e23f78794