summaryrefslogtreecommitdiffstats
path: root/i18npool
Commit message (Collapse)AuthorAgeFilesLines
* Fix common typos. No automatic tools. Handmade…Andrea Gelmini2014-11-127-10/+10
| | | | | | | Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959 Reviewed-on: https://gerrit.libreoffice.org/12164 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* fdo#51008 change [pt-PT] group separator to no-break spaceEike Rathke2014-11-111-10/+10
| | | | Change-Id: Ibc658c6d1db5f1d5de8fd02d6eb0e269a625644f
* use correct LCID and English color keywordEike Rathke2014-11-061-5/+5
| | | | | | | As could be seen when running in dbgutil build or with environment variable OOO_ENABLE_LOCALE_DATA_CHECKS=1 Change-Id: Iaf3b4cbe58acea9fa8aed0b1793e0ff28c089de6
* fdo#85954: Improvements to Simplified Chinese (zh-CN) locale dataKevin Suo2014-11-061-21/+21
| | | | | | | Change-Id: I0ba08182f1c2b75a5b625f7858c23bcd8ba2dce5 Reviewed-on: https://gerrit.libreoffice.org/12284 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
* coverity#707920 Uninitialized scalar fieldCaolán McNamara2014-11-011-0/+2
| | | | | | | | and coverity#1250438 Uninitialized scalar field Change-Id: I029e033feb0805a0f744c68d43602217f9f01f6e
* remove unnecessary 'using namespace rtl' declarationsNoel Grandin2014-10-2921-25/+1
| | | | | | | | | It turns out that almost none of them were necessary. Change-Id: I1311ed28409c682b57ea8d149bcbaf2c49133e83 Reviewed-on: https://gerrit.libreoffice.org/12133 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* Resolves fdo#84961: zh_CN date separator should be "/" rather than "/"Julien Nabet2014-10-161-8/+8
| | | | | | | | | | | | Thanks to the patch from Kevin Suo, see https://bugs.freedesktop.org/attachment.cgi?id=107768 Signed-off-by: Eike Rathke <erack@redhat.com> With additional change to the DateAcceptancePattern. Change-Id: I80695028d51c6b91e9e9418e2d1ce33d76d23893 Reviewed-on: https://gerrit.libreoffice.org/11958 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
* Remove unused BreakIterator_Unicode::wordRuleStephan Bergmann2014-10-153-6/+5
| | | | Change-Id: I8cde0dfd7b760d8075f53b9de8a8d3a81a57dc27
* avoid out-of-bounds access when iterating code pointsDavid Tardon2014-10-151-1/+3
| | | | Change-Id: I583e49180b37705ea124c0d88c2e2a8cb1470dfe
* avoid out-of-bounds access when iterating code pointsDavid Tardon2014-10-151-3/+5
| | | | Change-Id: I88290e5ccfd6ab250fe1526e452609e6de020dcd
* More -Werror,-Wunused-private-fieldStephan Bergmann2014-10-151-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...detected with a modified trunk Clang with > Index: lib/Sema/SemaDeclCXX.cpp > =================================================================== > --- lib/Sema/SemaDeclCXX.cpp (revision 219190) > +++ lib/Sema/SemaDeclCXX.cpp (working copy) > @@ -1917,9 +1917,10 @@ > const Type *T = FD.getType()->getBaseElementTypeUnsafe(); > // FIXME: Destruction of ObjC lifetime types has side-effects. > if (const CXXRecordDecl *RD = T->getAsCXXRecordDecl()) > - return !RD->isCompleteDefinition() || > - !RD->hasTrivialDefaultConstructor() || > - !RD->hasTrivialDestructor(); > + return !RD->hasAttr<WarnUnusedAttr>() && > + (!RD->isCompleteDefinition() || > + !RD->hasTrivialDefaultConstructor() || > + !RD->hasTrivialDestructor()); > return false; > } > > @@ -3517,9 +3518,11 @@ > bool addFieldInitializer(CXXCtorInitializer *Init) { > AllToInit.push_back(Init); > > +#if 0 > // Check whether this initializer makes the field "used". > if (Init->getInit()->HasSideEffects(S.Context)) > S.UnusedPrivateFields.remove(Init->getAnyMember()); > +#endif > > return false; > } to warn about members of SAL_WARN_UNUSED-annotated class types, and warn about initializations with side effects (cf. <http://lists.cs.uiuc.edu/pipermail/cfe-dev/2014-October/039602.html> "-Wunused-private-field distracted by side effects"). Change-Id: I3f3181c4eb8180ca28e1fa3dffc9dbe1002c6628
* back out wrong and confusing tools::Time comment changeEike Rathke2014-10-082-3/+3
| | | | | | | Apparently fc04f76336fdf8c96e35382cdeb497e2f939705c used some sed script to change all ... Change-Id: I0a8171aa474070bb1a8584e5c8c714fe34694618
* add missing legacyOnly currency, fdo#84260Eike Rathke2014-10-081-0/+7
| | | | | | | | | | | | | aa33dd16b0e3075f28c56656678c0f5cb7642222 changed the currency symbol from ¢ to ₡ but changed only the symbol. Actually changing the number format codes wasn't necessary at all, but changing only the symbol is wrong, see also the ATTLIST Currency legacyOnly description in i18npool/source/localedata/data/locale.dtd Hopefully nothing relies on the actual symbol used in the number format codes ... Change-Id: I92e79403fbb80f18c44dc3ecf5a3830a52fd2ff8
* derive all from ca-ES, fdo#83292Eike Rathke2014-10-081-5/+5
| | | | Change-Id: Ia418876b8535cb69b544217fa7976514e77a88b7
* fdo#83292 add stub locale data for Catalan (Valencian)Andras Timar2014-10-073-0/+45
| | | | | | | Change-Id: I569d203178668a2d63f4a53baca51ac16bf2361a Reviewed-on: https://gerrit.libreoffice.org/11776 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
* Avoid accessing 1 character after a stringMatthew J. Francis2014-10-071-2/+2
| | | | | | | | | | | | | | | | Found while trying to reproduce fdo#83141, but not related to that - it just happened to trigger the relevant assert on a dbgutil build. The change to TextSearch::NSrchFrwrd() fixes the crash triggered by reproducing the above bug. The change to TextSearch::NSrchBkwrd() is by analogy but seems an equally good idea. Change-Id: I68c2c87b632dd53453f92394519a06f62e41bbad Reviewed-on: https://gerrit.libreoffice.org/11830 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
* fdo#82577: Handle TimeNoel Grandin2014-10-012-3/+3
| | | | | | | | | | Put the TOOLS Time class in the tools namespace. Avoids clash with the X11 Time typedef. Change-Id: Iac57d5aef35e81ace1ee0d5e6d76cb278f8ad866 Reviewed-on: https://gerrit.libreoffice.org/11684 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* i18npool: std::auto_ptr -> std::unique_ptrStephan Bergmann2014-09-301-1/+1
| | | | Change-Id: I084e8dfd026d59374d92d9b4cb45d63af2aea470
* loplugin: cstylecastNoel Grandin2014-09-291-1/+1
| | | | Change-Id: Iea517d2287bded4a702c73dfdd1f182023425d67
* coverity#1241051 Negative array index readCaolán McNamara2014-09-261-1/+4
| | | | Change-Id: I958267c88f74523a5aaba0ff6c677aadd2e84dd9
* coverity#1241117 Negative array index readCaolán McNamara2014-09-261-41/+46
| | | | Change-Id: I15787a4a2b964de3b12586c823be48c0289fea0f
* coverity#1241372 Negative array index readCaolán McNamara2014-09-261-21/+31
| | | | Change-Id: I73bae29c6cc737d341381c010face6b587b31598
* Resolves fdo#84260: Wrong CRC Costa Rica currency symbolJulien Nabet2014-09-241-6/+6
| | | | | | See https://en.wikipedia.org/wiki/Costa_Rican_col%C3%B3n Change-Id: I6c30b2bd244f2ea40d56c812673922f27f5d53c8
* renamed function names from german to englishMichael Jaumann2014-09-162-10/+10
| | | | | | | Change-Id: I201dc723a22097709858b0a3489ac8a562cfccc2 Reviewed-on: https://gerrit.libreoffice.org/11450 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
* well enabling optimizations with SunStudio is just asking for trouble...Michael Stahl2014-09-121-1/+0
| | | | Change-Id: I396b1f612432ffe5f77cae505f2a57ca0f2068a2
* fdo#39468 tranlation German to EnglishMichael Jaumann2014-09-122-46/+49
| | | | | | | Change-Id: Icafab1c345a3a5291e4b19821710f439a1c70048 Reviewed-on: https://gerrit.libreoffice.org/11338 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
* Prevent erroneous pick up of unrelated css::i18n::MapingStephan Bergmann2014-09-115-11/+11
| | | | | | ...from include/i18nutil/casefolding.hxx Change-Id: I892a83b8e40dadcffc1b59eaa18bee2b782131f1
* Avoid name clash with generated C++ class corresponding to UNOIDL serviceStephan Bergmann2014-09-114-14/+14
| | | | Change-Id: Id8201bc91c8e398b972b7294b8916d4ac76c787d
* Avoid name clash with generated C++ class corresponding to UNOIDL serviceStephan Bergmann2014-09-112-10/+10
| | | | Change-Id: Ie76cab45f5fd609457b11cb3b9732cba2da3b023
* Avoid name clash with generated C++ class corresponding to UNOIDL serviceStephan Bergmann2014-09-115-17/+17
| | | | Change-Id: I96582bf05787a30479d324ff8deb7cea758bb2c2
* fdo#81272 Speed up break iteratorsMatthew J. Francis2014-09-103-1/+24
| | | | | | | Change-Id: I7a45a61465f71a1cc6f583b9ffc68157d19e51fa Reviewed-on: https://gerrit.libreoffice.org/11386 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Revert "fdo#81272 Speed up break iterators"Caolán McNamara2014-09-103-22/+1
| | | | | | hmm, make CppunitTest_i18npool_test_breakiterator fails after all This reverts commit 693f72384e081429cddb29415276cc4d07b05645.
* fdo#81272 Speed up break iteratorsMatthew J. Francis2014-09-103-1/+22
| | | | | | | Change-Id: Idcd7de83ff7e551b350db0bf80e2ac78baa67686 Reviewed-on: https://gerrit.libreoffice.org/11374 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* added EUR as default currency to Lithuanian localeAurimas Fišeras2014-08-241-1/+8
| | | | | | | Change-Id: I08c82639da2acd5830fa69044b252217b69c5e62 Reviewed-on: https://gerrit.libreoffice.org/11089 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* use bool directlyThomas Arnhold2014-08-171-1/+1
| | | | Change-Id: I314e290b453c55e345559d8abef9b00622493ed3
* fdo#81995: fix Outline numbering tab pageMichael Stahl2014-08-111-1/+1
| | | | | | | | The "ParentNumbering" property is not a string. (regression from 97eb8a6e0eb830f37dcba64a51d725aab4c5ff53) Change-Id: Ib33e95847b388bb1126a63812e128c96a0c00730
* coverity#706150 Copy into fixed size bufferCaolán McNamara2014-08-072-41/+22
| | | | Change-Id: Iee86d6233771a9e07a037257786e928c6f18addd
* drop prepareErrorFormat from LocaleNode::incErrorStrCaolán McNamara2014-08-071-10/+10
| | | | Change-Id: I3489f84ee66628d2ea9fcdaa1dd89dcd8523aa8a
* incErrorStrStr always called with two %sCaolán McNamara2014-08-071-4/+4
| | | | | | so we don't really need prepareErrorFormat Change-Id: I3f5ae846ad4ba59468f90eba2f8e0eac2a7da9ae
* Fix function typesStephan Bergmann2014-08-071-3/+3
| | | | Change-Id: I295f587e48e2882f87091a3a86610e316cd903fb
* add Papiamento (Bonaire) [pap-BQ] locale data, fdo#44112Eike Rathke2014-08-043-0/+44
| | | | | | Derived from [pap-CW] with USD. Change-Id: I7a64deeae39a22dbbb9d96d45fd15b0aab3c2c1f
* Include <algorithm> for std::min() and max()Tor Lillqvist2014-07-082-0/+2
| | | | Change-Id: I6a46e6466ab56aea14e16902cb51f9c3f088f30e
* allow build with icu 4.2Caolán McNamara2014-07-031-0/+5
| | | | Change-Id: I4bbcff7963520426d4c04e15d2239431aff65b56
* -fsanitize=functionStephan Bergmann2014-07-021-11/+11
| | | | Change-Id: I29d648c45471e6d3503922ff00f7cd6491bb88f3
* New loplugin:stringconcatStephan Bergmann2014-07-011-1/+1
| | | | Change-Id: Id7c517fb37bc28797c45fc0dde83e866f2aa4aac
* fdo#79372, fdo#56392 fix hyphenationLászló Németh2014-07-011-1/+1
| | | | Change-Id: Iacf84d023d3b4795892bc444299a29bfc663345e
* Revert "fdo#79372 fix hyphenation (remove fdo#56392 fix, except hard hyphen ↵László Németh2014-07-011-3/+19
| | | | | | part)" This reverts commit 259d3421d4cf7788d9099daa40fc181c661783ee.
* ICU's RuleBasedCollator::cloneRuleData is deprecatedStephan Bergmann2014-06-261-10/+11
| | | | Change-Id: Ifc4a74bca5cfe58e420824a8dd85e8c246bbfac3
* let YYYY/M/D H:MM be the default datetime formatEike Rathke2014-06-111-2/+2
| | | | Change-Id: I1d8af400810b9ffd4586320c706a1f00ef1c1369
* Fix to be able to edit seconds in Japanese date/datetime cellsIsamu Mogi2014-06-111-10/+13
| | | | | | | | | | | | | | | | | | | | | | | | Currently seconds in Japanese date/datetime cells can't be edited. But i18npool/source/localedata/data/locale.dtd and offapi/com/sun/star/i18n/NumberFormatIndex.idl say that seconds in time/datetime cells should be editable. And Japanese users reported that current behavior is inconvenient. Also to retain relativity against @formatindex='40', each [@usage='TIME']/@type are shorten. For better backward compatibility, @formatindex='55' should be default format. But since there is implementation limit of SvNumberFormatter::ImpGenerateFormats, @formatindex>=50 can't be default one. These changes are discussed in Japanese ML: http://listarchives.libreoffice.org/ja/discuss/msg03044.html Change-Id: I074b8d6d5c9d69b8ba1eb14c29b661d753c003ad Reviewed-on: https://gerrit.libreoffice.org/9703 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>