summaryrefslogtreecommitdiff
path: root/i18npool
AgeCommit message (Collapse)AuthorFilesLines
2014-01-08fdo#72219: Fix for corruption of symbols in docxRohit Deshmukh2-3/+22
Issue: OUString uses UTF-16, so for a Unicode surrogate character there are 2 values stored, not just 1. So we are getting assert failure in "rtl_uString_iterateCodePoints" method. erAck: Underlying cause was that the dictionary breakiterator misused UTF-16 positions as Unicode code point positions. Change-Id: I923485f56c2d879b63687adaea2b489a3479991c Reviewed-on: https://gerrit.libreoffice.org/6955 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com> (cherry picked from commit d8fd15875901d584a4bbcc07c927fa20332e4841) Reviewed-on: https://gerrit.libreoffice.org/7322 (cherry picked from commit 994d0c9e7aa8d1a7602e61b770991da980c1cde5) Reviewed-on: https://gerrit.libreoffice.org/7324
2014-01-03added "EEK" and "LVL" to EUROCONVERT(), "EUR" to [*-LV] locale data fdo#73239Eike Rathke2-2/+16
This is a combination of 3 commits. added Estonian "EEK" to EUROCONVERT(), fdo#73239 (cherry picked from commit 127f863c727c07f1da40005fe638d97e89baaccf) Conflicts: sc/source/core/tool/interpr2.cxx added EUR as default currency to Latvia [*-LV] locale data, fdo#73239 (cherry picked from commit c32996987354d045523beaa98b5d227d161f72fb) added Latvian "LVL" to EUROCONVERT(), fdo#73239 (cherry picked from commit cc1b6535e01db62688a7bee50852d33e4ee50761) Change-Id: I82085b6661c954b2afbf22b8b8ed5bd8c48cc50e Reviewed-on: https://gerrit.libreoffice.org/7263 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-11-26set a 23 enigma timeout at RegexMatcher, fdo#70627Eike Rathke1-2/+24
Change-Id: I390bfec0d36dcc9529785e97994dad2b0704dc80 (cherry picked from commit d838ea200e7d6060d4a759616f9e1fcbf3c36c8e) Reviewed-on: https://gerrit.libreoffice.org/6808 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2013-11-20added date acceptance patterns to Canadian locales, fdo#71664Eike Rathke3-0/+9
Complete set is now Y-M-D;M-D;M/D/Y;M/D Change-Id: I42ed59fb325b391943608a10ded7ce74c80656e1 (cherry picked from commit 2d8cac51c6d5205a27d90bd9237c8ed1e4b8deea) Reviewed-on: https://gerrit.libreoffice.org/6726 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-10-29Related: fdo#69641 double iterateCodePoints doesn't make sense to meCaolán McNamara2-3/+35
This came in with 04212c3015cd4ab118a0aec2bb04bc153a64af41 but the bug number of #i86439# appears to be the wrong id. It doesn't make sense to me. Rework cclass_Unicode::getStringType to iterate safely over the codepoints of the requested range. Perhaps that was the reason for the original commit. Change-Id: Ice4287eb6f9fc6a9705845c0cf995263815de2e7 (cherry picked from commit 507e627d83dbfb6a35677450a3fc42d10c79a82e) Related: fdo#69641 check index against length before iterateCodePoints Change-Id: I71346b12fcfe3e02015038c3c78db574ada873d6 (cherry picked from commit 08b7af126e546bdbd175023429f544baa9861dba) Related: fdo#69641 add a regression test Change-Id: Icf3324a224d02425acd679a286f3c4a0b7e3ed1c (cherry picked from commit 9d5b07b9085f97edfff5d4ac474e9711036bb0c4) lets be super sure in the face of falling between surrogates Change-Id: I6d8259df3d4f2e73f9236b7c0547f87c89801082 (cherry picked from commit 8f0ecf253531963144d3d1c9ee5c12a6cda99c4e) Reviewed-on: https://gerrit.libreoffice.org/6473 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-10-29Do not access nextCellIndex (nor Text) past the endStephan Bergmann1-1/+2
At least for Winfried CppunitTest_sd_import_tests aborts with triggering the assert in OUString::operator[] at (presumably past-the-end) index 18 from com::sun::star::i18n::BreakIterator_th::makeIndex (this=0x2b775adf9440, Text=..., nStartPos=18) at i18npool/source/breakiterator/breakiterator_th.cxx:122 com::sun::star::i18n::BreakIterator_CTL::previousCharacters (this=0x2b775adf9440, Text=..., nStartPos=18, rLocale=..., nCharacterIteratorMode=1, nCount=1, nDone=@0x7fff9a84a8fc: 0) at i18npool/source/breakiterator/breakiterator_ctl.cxx:62 com::sun::star::i18n::BreakIteratorImpl::previousCharacters (this=0x2b775ae00a98, Text=..., nStartPos=18, rLocale=..., nCharacterIteratorMode=1, nCount=1, nDone=@0x7fff9a84a8fc: 0) at i18npool/source/breakiterator/breakiteratorImpl.cxx:65 ServerFontLayout::setNeedFallback (this=0xfba5d0, rArgs=..., nCharPos=17, bRightToLeft=false) at vcl/generic/glyphs/gcach_layout.cxx:114 HbLayoutEngine::layout (this=0xfba670, rLayout=..., rArgs=...) at vcl/generic/glyphs/gcach_layout.cxx:437 ... and from the preceding if block in BreakIterator_th::makeIndex it indeed looks like the invariant is that nextCellIndex need not be larger than cellIndexSize which needs not be larger than Text (ake cachedText) getLength(). Change-Id: Ib92a76020b2bb3902c5e58aa2e6c4e679e51b94a (cherry picked from commit b2ad9eecf1cda725b1d7fcabd1ebd06895843d20) Reviewed-on: https://gerrit.libreoffice.org/6467 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-07-26targetted clean of redundant header piece from 62badf3828Michael Meeks2-6/+0
Change-Id: Ic1240114d667fb7797afae4847427cc889f3cb48 (cherry picked from commit 03993b47c522dcc71f7cd73ee21df3de9650080d)
2013-07-19changed Croatian [hr-HR] locale data, fdo#66376Eike Rathke1-84/+101
Cherry-picked and squashed: sorted by formatindex for better comparability (cherry picked from commit cb44db2fe78b43424491d25f0c9e34f16aba5c24) changed Croatian [hr-HR] locale data, fdo#66376 Date format codes, Collator and IndexKey data. (cherry picked from commit 38fc4d86d96c8d4c9b79299f83fd005ac3bef85c) small cleanup in [hr-HR] locale data, fdo#66376 * moved new FormatElement to the end of the list * changed date formats 24 and 52 to use NBSP (cherry picked from commit 2cce78137bbf9810421b9fdedd45127b019b1188) Change-Id: I38f238878141b9ce7d479e66340ef3e78dc83843 a48170c59c733f5540fc42fc7ae43df70918a0cf 64268d29860d9c65ba27873131f00a75c19f105b Reviewed-on: https://gerrit.libreoffice.org/4977 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-06-27Revert "better dependency working also for libmerged"David Tardon1-5/+5
It might work with libmerged, but it does not work otherwise. This reverts commit f8fd2e6a3b21ec3899a74d7400cafaba4e83ff6c. (cherry picked from commit 247f37890060330f3c3d2d05bbd8e36d689e9ada) Change-Id: I3b9f8831cf64514a089289dfd0631b7b9e24c6b7 Signed-off-by: David Tardon <dtardon@redhat.com> Reviewed-on: https://gerrit.libreoffice.org/4571 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-06-17typo fix, use ja_charset for JapaneseAndras Timar1-1/+1
Change-Id: I29b7db952a8cc9e0670e03dd79204486332aabe9
2013-06-17fdo#65809 Sidama (sit-ET) index sorting and collation dataAndras Timar4-2/+25
Change-Id: I1781c94cc67d4a2fa47bcf126195309590016b14
2013-06-15fdo#64947 added [NatNum1]General format codesEike Rathke3-0/+9
Change-Id: I2e024453d10600a6a688123cd8c9de324537a0a1 (cherry picked from commit 846818afec377b5827fbdf8959ee2f1cf617e44d)
2013-06-14fdo#64926 use icu's breakiterator for Tibetan and DzongkhaElie Roux1-1/+2
Change-Id: I78010e216eb1582fa5074666f36c95f5b0eceee5 Reviewed-on: https://gerrit.libreoffice.org/4082 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 878b09a1a936c2d5bf4461e0123fafd377d948e2)
2013-05-15Spelling "separate" (etc) correctly is hardTor Lillqvist1-1/+1
2013-05-14Resolves: #i122306# Remove dot from abbreviate day and month names in GalicianAriel Constenla-Haile1-19/+19
(cherry picked from commit ba12679129efc39834114be8bca835d8a84aacb6) Change-Id: Ifa216baec3e89578215e868c63a1add446005f4b Signed-off-by: Caolán McNamara <caolanm@redhat.com>
2013-05-13Icelandic currency: fractions of króna are not used any more.Björgvin Ragnarsson1-1/+1
As of 2003, banks stopped accepting aurar and they are not interesting any more because of inflation. Change-Id: Iff8b92fe129c097d125f6938735c8d2bb4016346 Reviewed-on: https://gerrit.libreoffice.org/3874 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-05-06remove usage of RTL_CONSTASCII_USTRINGPARAMLuboš Luňák1-1/+1
Mechanical removal of usage together with OUString ctor, done by compiler plugin. Change-Id: I554227f76df0dac620b1b46fca32516f78b462c5
2013-05-02resolved fdo#63779 case-insensitive non-regex search brokenEike Rathke1-12/+57
Broken with 531538892795bec909bb8baff6bbf9e19baf809e Change-Id: I0302baee0532ab8f10853c648bf695a58cfe273c
2013-04-30Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks25-553/+97
2013-04-29Unused includeStephan Bergmann2-3/+0
Change-Id: I79c5b123abf671d51deadd56644271124420ce64
2013-04-25ditch libi18nlangtagicu againEike Rathke1-1/+0
Thanks to Fridrich for finding the real cause for why I thought this was necessary.. Change-Id: I77934b17c2b994a03cae5440253b165704de2fa4
2013-04-25can we stick a with our naming conventions, just a little bit?Eike Rathke1-4/+4
Change-Id: I1457c64162c2aeb083e98a28737991ae6d0eee2e
2013-04-25use LanguageTagIcuEike Rathke1-6/+3
Change-Id: I1e66fa3edb2ddf2b6d6f4cdd25104772ff02c70a
2013-04-25use LanguageTagIcuEike Rathke1-5/+4
Change-Id: I7b052a3f73740ff3a35f38dc2d96bc621b8d8deb
2013-04-25use LanguageTagIcuEike Rathke2-4/+4
Change-Id: I3ced460cc5a03554dc77e19381af8a5ba202d2ab
2013-04-24Print message of uncaught UNO exceptionsStephan Bergmann1-35/+32
Change-Id: I6a716efe28086da983a40c550613e3d8e0bd8283
2013-04-24Update reference to lang.h due to global headers moveLior Kaplan1-1/+1
Followup to commit b9337e22ce1dbf2eba0e8c8db294ae99f4111f91 Change-Id: I28a0a84a2454e2010be6e098dbea0b4c070ce77e
2013-04-24Update reference to lang.h whiche moved to l18nlangtag moduleLior Kaplan1-1/+1
Followup to commit 876c619b944dfbc88464045f1400c549a01a1164 Change-Id: I087f0c976e3c3d47e920280e353b3e142d5e2bfd
2013-04-24gbuild: drop uses of removed packagesDavid Tardon1-2/+0
Change-Id: I400fad08c0ae7b6b34bad63693f54856867e4dac Reviewed-on: https://gerrit.libreoffice.org/3502 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-22Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks3-62/+14
2013-04-16Related: rhbz#867808 if one person threw by pointer...Caolán McNamara1-3/+3
then its guaranteed that someone else did too, review newed Exceptions Change-Id: Ie1ad78895e443a20a8663666cd6c8d3e5deb0727
2013-04-13fdo#45941 algrithm -> algorithmMiklos Vajna1-1/+1
Change-Id: I30fd0aa3ab337e62023d5adec9a0033b78959703
2013-04-10supress warnings from icu-generated headersPeter Foley1-1/+2
Change-Id: Ibbf0c1148cf8ea37bb51e6c31d2e89efc9dfce00
2013-04-09Revert "fix breakiterator with Library_merged"Matúš Kukan1-9/+2
This reverts commit db754e891e35a2832645fce676a5f6f0bf162976.
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák81-676/+643
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-05new module i18nlangtagEike Rathke22-5939/+4
Moved portions from module i18npool, all of former i18nisolang1 library that now is i18nlangtag. Included are languagetag, isolang and mslangid. This i18nlangtag code is now even used by module comphelper, so disentangling i18npool and making this an own module was needed to not create circular module dependencies. Change-Id: Ib887c3d6dde667403fd22d382310ba5f1a9b0015
2013-04-05added the dreaded jolly jokerEike Rathke6-8/+38
Change-Id: I1bd840391496daab2cfe32af6ac00e98de3ed72e
2013-04-03let's try if this satisfies MSVCEike Rathke1-1/+1
Change-Id: I2cfc88036121d7f31b17804c62e2d1ab84cce45b
2013-04-03use matching separators and format codes of es_AREike Rathke1-2/+2
Noticed due to the change in es_PE as of bd4b06fcd84c0f7f3ad82c1a3fe7f91740c5c3c5 See also https://ssl.icu-project.org/icu-bin/locexp?d_=en&_=es_AR https://ssl.icu-project.org/icu-bin/locexp?d_=en&_=es_VE Change-Id: I7ecedd9b111ed95dc68f22a0894f32c8a75ffe5d
2013-04-03use es_AR separators when using es_AR formatsEike Rathke1-1/+1
Noticed due to the change in es_PE as of bd4b06fcd84c0f7f3ad82c1a3fe7f91740c5c3c5 See also https://ssl.icu-project.org/icu-bin/locexp?d_=en&_=es_AR https://ssl.icu-project.org/icu-bin/locexp?d_=en&_=es_PY Change-Id: I60e35a14a515a4e6e0d91aacf2a3540f31928415
2013-04-03decimal and group separators were swappedEike Rathke1-18/+18
See also https://ssl.icu-project.org/icu-bin/locexp?d_=en&_=es_PE Change-Id: I67ca6f1a7a721b308092f20eaab238f5a8f45061
2013-04-03ditch unused LANGUAGE_USER[1-9]Eike Rathke1-12/+0
Change-Id: I5a3b2b27fa2a7ad22cab2ae6d833707f9e490f27
2013-04-03test IsoLangEntry table LanguageTag conversionsEike Rathke1-0/+50
Change-Id: Ie56e68459f655a66bf33368cee5e9a99b9dd0141
2013-04-03let IsoLangEntry decide how to form a language tag stringEike Rathke2-0/+11
Change-Id: I868cd8ea0610b6b8dd8155cdc72f7d238f279ef2
2013-04-02i18npool: cleanup macrosThomas Arnhold1-7/+5
This is the last one :) Change-Id: If3e546648a42bcc17e57fb4965f7cdc063243825
2013-03-29slightly optimized operator==() and equals()Eike Rathke1-0/+15
Change-Id: I05bacddf8cf61adbbcaed03c83ae42b06e76160a
2013-03-28added LanguageTag::getGlibcLocaleString()Eike Rathke2-0/+36
Change-Id: I5e77026f5c016d912fa342a5e1bca08eb445b15c
2013-03-28make saxparser deps order-onlyPeter Foley1-1/+1
Change-Id: Ib45f9fb5b5b1b77dd209545a45ae5da6a381e100
2013-03-28explicit 'en' fallback not needed for 'en-US' referenceEike Rathke1-2/+4
If 'en-US' was given, 'en' is part of default fallbacks anyway. Change-Id: I4f78c60bccd55fcf90f7c7fc99cda25ff1213db8
2013-03-27added LanguageTag::getFallback()Eike Rathke2-0/+87
Similar to comphelper::Locale::getFallback() but implemented differently. comphelper::Locale is to be removed later. Change-Id: I99dc7b51029df102705f2608245c91d81dc96788