summaryrefslogtreecommitdiff
path: root/svl
AgeCommit message (Collapse)AuthorFilesLines
2012-09-07resolved 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 (cherry picked from commit bf10f4d62a5fe308ea47f9a0aac4f6f7e264ae3e) Conflicts: cui/source/options/optgdlg.hrc svl/source/numbers/zforfind.cxx unotools/source/config/syslocaleoptions.cxx Change-Id: Ic1ce91b1f9d29f1837d56b45ba0ae16f6d9cb17c Reviewed-on: https://gerrit.libreoffice.org/511 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2012-07-30CppunitTest_svl_urihelper fails on MSVCMichael Stahl1-0/+3
(cherry picked from commit 09b853e38b7a35d614caebd97116ca8a106148bd) Conflicts: svl/Module_svl.mk Change-Id: Ia1154ab9e677ac0d27eb8cf671139d4e23f78794 Signed-off-by: Miklos Vajna <vmiklos@suse.cz>
2012-06-28i#119400 repair broken undoIvan Timofeev1-3/+7
Change-Id: I36d74fe1555bd436f93a5fa595e7da05bbd37493 (cherry picked from commit 1eed4c837828c00dff4ef0b2cf29b1e2962e912d)
2012-06-02targeted string re-workNorbert Thiebaud1-14/+14
Change-Id: I16c4e5c6662b2342a7e48011de8a7d55e5682688
2012-06-02targeted string re-workNorbert Thiebaud14-103/+99
Change-Id: I20062aa0d39c0675014f1d38f10d6ab5c331ec75
2012-05-29make sure that rsc headers are availableDavid Tardon1-1/+4
2012-05-28targetted string re-workNorbert Thiebaud1-1/+1
Change-Id: I0d0712f441fcecb7a165173da7174e8f254cf39a
2012-05-25drop dead makefile.mk and version.mapCaolán McNamara2-129/+0
Change-Id: I2a15f9685655b7c46893fcfe2d1ae102596522ca
2012-05-16reduce static_initialization_and_destruction chainCaolán McNamara2-14/+18
Change-Id: I962aeac0c7feeabb7963016d5afcfeca5a48ccfe
2012-05-15convert GetUndoActionComment family to rtl::OUStringCaolán McNamara2-9/+7
Change-Id: I36ccf62ee2e2769bcf1aef6d26d96bce6c7078f0
2012-05-14convert GetComment family to rtl::OUStringCaolán McNamara2-11/+10
Change-Id: I563ab83a24ca4f839892548b350486e83dd071d3
2012-05-12Replace !var.size() by var.empty()Julien Nabet1-1/+1
Change-Id: I936b59a5bf339d1520cbc10e51b1e9fdc937f0f3
2012-05-10resolved fdo#46233 value >12 with AM/PM can't be clock timeEike Rathke2-5/+14
2012-05-04fdo#48253 Expand SAL_STATIC_CAST and SAL_CONST_CASTThomas Arnhold9-24/+24
Change-Id: I50f0887ceb4517d7ef234f970ca2ba679d533382
2012-05-04fpicker: make the place edition dialog workingCédric Bosdonnat1-1/+4
Change-Id: If290ea4c1418162902e00bcc29c3afe69685ec5d
2012-05-02!= instead of < for comparison with end iteratorJulien Nabet1-1/+1
Change-Id: I16f3b768cdb3304d3f7a9b3a63a4262377c7c89b
2012-05-02!= instead of < for comparison with end iteratorJulien Nabet1-1/+1
Change-Id: Ie21b39b11d021095fa8f4de9be1e7e0289af4e91
2012-04-30some changes for new fixed fraction built-in formatsEike Rathke3-23/+38
Moved new fixed fraction built-in formats into the fixed set so they keep their relative key position when switching system locale.
2012-04-30get rid of dead binary file format legacy cruft in number formatterEike Rathke1-126/+14
The only code that uses the binary storage format of SvNumberFormatter is the SvNumberFormatsSupplierServiceObject for the NumberFormatsSupplier service during streaming of forms' formatted fields with OFormattedFieldWrapper. That certainly does not need access to files created before the year 2000 ... so slice off that awful compatibility cruft.
2012-04-30translated German commentsEike Rathke2-96/+93
2012-04-30compare iterators with notequalEike Rathke1-1/+1
2012-04-30straighten confusing bracketsEike Rathke1-8/+7
2012-04-30get rid of confusing *LoadingSO5 namesEike Rathke2-36/+36
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-27add virtual to the destructorMarkus Mohrhard1-1/+1
2012-04-24Revert "Avoid bogus warnings (GCC 4.4.6)"Stephan Bergmann1-2/+2
This reverts commit cf9c715aee2f97a1a6f611fe46a47e238cb03658. 3c82780cbc7cf17cf348e7f49b99663cfdc42ed7 "Set gb_DEBUGLEVEL=1 for --enable-dbgutil after all" fixes the underlying problem, making this awkward workaround no longer necessary.
2012-04-23Avoid bogus warnings (GCC 4.4.6)Stephan Bergmann1-2/+2
2012-04-21Replace css macro with namespace for nicer namespacingThomas Arnhold1-10/+1
2012-04-18resolved fdo#48875 do not let ISO 8601 detection override locale's date orderEike Rathke3-11/+80
If the locale's date separator was '-' the ISO 8601 detection interfered with the locale's date order, e.g. DMY in nl_NL locale.
2012-04-17enable '*' repeat next char to fill available width for calc num formatsNoel Power2-5/+15
but - however no support to import/export this to file format yet
2012-04-16upgrade GetValueTextByPos family to rtl::OUStringCaolán McNamara4-13/+13
2012-04-15resolved fdo#48706 recognize $.12 as currency numberEike Rathke1-0/+5
2012-04-11UniString->rtl::OUStringCaolán McNamara2-3/+3
2012-04-11String::CreateFromInt32->rtl::OUString::valueOfCaolán McNamara1-1/+1
2012-04-09add package deps for resourcesDavid Tardon1-3/+2
2012-04-08Replaced a few equal calls with ==Szabolcs Dezsi1-1/+1
2012-04-08rename gb_CppunitTest_uses_ureDavid Tardon1-1/+1
2012-04-08compile- and run-time use of UNO must be splitDavid Tardon1-0/+2
There are unit tests that do not use URE, e.g., in cppuhelper. This reverts commit 33e9f3d3d6b29545ef9df3f5334c015e15caa5c8. Conflicts: sot/CppunitTest_sot_test_sot.mk svl/CppunitTest_svl_urihelper.mk
2012-04-08always use --protector for UNO testsDavid Tardon1-5/+0
2012-04-08drop uses_ureDavid Tardon1-2/+0
2012-04-08let use_api handle the use of type rdbs at runtimeDavid Tardon1-4/+0
Or is there any use case where we would need to use UNO API headers, but not require the appropriate type database at runtime?
2012-04-08LinkTarget.mk: remove gb_LinkTarget_add_package_headersMichael Stahl3-3/+3
2012-04-08gbuild: "use" vs. "add":Michael Stahl6-13/+13
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-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi4-13/+11
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi2-4/+4
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 Dezsi1-12/+12
Pattern used: find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\) ) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-04-05UniString::CreateFromInt32 -> rtl::OUString::valueOfCaolán McNamara1-6/+6
2012-04-02removed duplicate includes in svl / svtoolsTakeshi Abe2-2/+0
2012-03-30add constLuboš Luňák3-4/+4
2012-03-28callcatcher: regenerate listCaolán McNamara1-8/+8