summaryrefslogtreecommitdiff
path: root/i18npool/source
AgeCommit message (Collapse)Author
2013-11-26encapsulate pRegexMatcher->find() to be able to monitor UErrorCodeEike Rathke
Change-Id: I73359a4e2c36ffeca71210971ba9be670e0a12ae
2013-11-26set a 23 enigma timeout at RegexMatcher, fdo#70627Eike Rathke
Change-Id: I390bfec0d36dcc9529785e97994dad2b0704dc80
2013-11-22remove unnecessary RTL_CONSTASCII_STRINGPARAMNoel Grandin
A final pass through the code, converting code to use the new OUString and OString methods that can detect string literals. Change-Id: Ifa6382335e5650a1c67e52006b26354e0692c710
2013-11-20added D/M DateAcceptancePattern, fdo#71836Eike Rathke
Change-Id: Ic31811c287e2dc2908243a228a340c3005077297
2013-11-20use Puinave_Colombia [pui-CO] locale data, fdo#71836Eike Rathke
Change-Id: I59d553f7b70955de18562046f1d7aa5fae6e9fb1
2013-11-20added Puinave_Colombia [pui-CO] locale data, fdo#71836Michael Bauer
Change-Id: I82b093f7778a9d85016903cad1e39fc97f696cf2
2013-11-20convert equalsAsciiL calls to startsWith callsNoel Grandin
Convert code like: aStr.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "ActiveConnection" ) ) to aStr.startsWith( "ActiveConnection" ) which compiles down to the same machine code. Change-Id: Id4b0c5e0f9afe716a468d3afc70374699848dc33
2013-11-19added date acceptance patterns to Canadian locales, fdo#71664Eike Rathke
Complete set is now Y-M-D;M-D;M/D/Y;M/D Change-Id: I42ed59fb325b391943608a10ded7ce74c80656e1
2013-11-19added [ar-AE] and [ar-KW] locale data referrers, fdo#71140Eike Rathke
for AED and KWD currencies, simply referring [ar-SA] in all other aspects Change-Id: I2ca19d1f7d2e807406bf207babe76cae967eea81
2013-11-18renamed ku* to kmr-Latn*, fdo#63460Eike Rathke
Change-Id: I8069657d8829a0315c704e884a1cf15b26e02eb8
2013-11-14remove unnecessary sal_Unicode casts in various placesNoel Grandin
Change-Id: Ibf04062ca86ed866202d748c3b62a210d30ed6ec
2013-11-14i18npool, forms: remove warnings_guard_unicode*.hMichael Stahl
These horrible headers use "#pragma GCC system_header" and thereby prevent generated Makefile dependencies, which is what broke incremental builds after the ICU upgrade today. Change-Id: Ife983b3c4de86968da8a0187a1acb1bbb2b5c81f
2013-11-13Add Lao breakiterator support for selecting and counting Lao words.Robert M Campbell
Change-Id: I6da721dc25394dfee12e3028aefbf0546d1be984 Reviewed-on: https://gerrit.libreoffice.org/6669 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-11-11Revert "Guard CharacterClassificationImpl with mutex."Kohei Yoshida
This reverts commit fc04b55f7f96a4f70f31c145dafd44c1d9276a41.
2013-11-11Guard CharacterClassificationImpl with mutex.Kohei Yoshida
They are accessed from multiple threads frequently. Change-Id: I3f9720ede076109efe0b7eaa4a05dd50f2e38102
2013-11-11convert OUString compareToAscii == 0 to equalsAsciiNoel Grandin
Convert code like aStr.compareToAscii("XXX") == 0 to aStr.equalsAscii("XXX") which is both easier to read and faster. Change-Id: I448abf58f2fa0e7715dba53f8e8825ca0587c83f
2013-11-11convert OUString !compareToAscii to equalsAsciiNoel Grandin
Convert code like if( ! aStr.compareToAscii("XXX") ) to if( aStr.equalsAscii("XXX") ) which is both clearer and faster. Change-Id: I267511bccab52f5225b291acbfa4e388b5a5302b
2013-11-11remove unnecessary use of OUString constructorNoel Grandin
Change-Id: Ifb220af71857ddacd64e8204fb6d3e4aad8eef71
2013-11-08added Bamanankan/Bambara_Mali [bm-ML] locale data, fdo#71361Eike Rathke
Change-Id: Ie1e8c4beb3d2e17d311a5363d82feddfdff8e958
2013-11-07remove INPATH and PROEXTMichael Stahl
- WORKDIR path is just workdir - INSTDIR path is just instdir - WORKDIR_FOR_BUILD is workdir_for_build - INSTDIR_FOR_BUILD is instdir_for_build - replace other usage of INPATH by combination of OS and CPUNAME Change-Id: Ie398387ebd82a968ec2605f2103c55b43a231482 Reviewed-on: https://gerrit.libreoffice.org/6601 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2013-11-06corrected Time100SecSeparator and quotation marks, fdo#71243Eike Rathke
Change-Id: I86fc8a6e7a1b09f54a20db55b6079d945fdb7338
2013-11-06don't access string out of boundsCaolán McNamara
Change-Id: I562fbdb9eec3af297ea95a0d161721ec345e6a19
2013-11-05added French (Burkina Faso) [fr-BF] locale data, fdo#71243Eike Rathke
Change-Id: I788d1d1c54cc0a30cbbdc07066bf133c2814304a
2013-11-04Convert code that calls OUString::getStr()[] to use the [] operatorNoel Grandin
This also means that this code now gets bounds checked in debug builds. Change-Id: Id777f85eaee6a737bbcb84625e6e110abe0e0f27
2013-10-31Convert indexOf->startsWith and lastIndexOf->endsWithNoel Grandin
This is both an optimisation and a cleanup. This converts code like aStr.indexOf("XX") == 0 to aStr.startsWith("XX") and converts code like aStr.lastIndexOf("XXX") == aStr.getLength() - 3 to aStr.endsWith("XXX") Note that in general aStr.lastIndexOf("X") == aStr.getLength() - 1 converts to aStr.isEmpty() || aStr.endsWith("X") so I used the surrounding context to determine if aStr could be empty when modifying the code. Change-Id: I22cb8ca7c2a4d0288b001f72adb27fd63af87669
2013-10-29lets be super sure in the face of falling between surrogatesCaolán McNamara
Change-Id: I6d8259df3d4f2e73f9236b7c0547f87c89801082
2013-10-29cppcheck: Array index is used before limits checkJulien Nabet
Change-Id: I51f7408a81a10e2c586cb05b863f20b13bb7b263
2013-10-29iterateCodePoints() on empty string is no good anymoreEike Rathke
Change-Id: Id2ddbbff90f3cd32c03c7623af6d458717c7e8a8
2013-10-28Fix indentationKhaled Hosny
Change-Id: I2bef2334392dba63f86b24917a50bf1eb0df98dc
2013-10-28Do not access nextCellIndex (nor Text) past the endStephan Bergmann
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
2013-10-28ha-GH is now ha-Latn-GHEike Rathke
Change-Id: I9d7d2a0c4a6029e983689884d3daec3e9cab291b
2013-10-28Related: fdo#69641 double iterateCodePoints doesn't make sense to meCaolán McNamara
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
2013-10-25more flexible language tag override mechanismEike Rathke
* allow overriding higher level lll-Ssss-CC with lower level lll-CC for known MS-LangID mappings that use tags with suppress-script * internal override "canonicalization", e.g. ca-XV => ca-ES-valencia Change-Id: I067d7515fb9144a896697617ad1b079e294f1ced
2013-10-22Bin comments that claim to say why some header is includedTor Lillqvist
They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
2013-10-18added Ladin_Italy [lld-IT] locale data, fdo#70530Eike Rathke
Change-Id: I7c0e88ee9d01eec3df471d84f122123dfb24f4fe
2013-09-26fdo#56392 fix hyph. of words with single punctuation marksLászló Németh
Change-Id: I0a24fb53c2ff48c26b1c97b9a4768c3a725cd686
2013-09-26fdo#56392 fix hyphenation of words with punctuationLászló Németh
Change-Id: I17e094fa93a7ba6a554f4bc2dfd353f718f1a500 Reviewed-on: https://gerrit.libreoffice.org/6040 Reviewed-by: Németh László <nemeth@numbertext.org> Tested-by: Németh László <nemeth@numbertext.org>
2013-09-20rename 'sr*YU' to 'sr*CS'Eike Rathke
Change-Id: Ibbe7b29e5eea22d0e2169f641d677fc4726fe6a7
2013-09-20renamed 'mn-MN' to 'mn-Cyrl-MN'Eike Rathke
Change-Id: Ice5fa332ff5308aa801099a9aff52ffea60ac622
2013-09-12Resolves: fdo#61754 allow midletters in field name tokensCaolán McNamara
Change-Id: I77cea3c1d2210435109ca0b6f762b6aea478e91b
2013-09-10changed all 'sh' language to 'sr-Latn'Eike Rathke
Change-Id: Iafadaea87501bc3675eaf2856b5050a7e3ecaa37
2013-09-10more annoying indentationEike Rathke
Change-Id: I1f0af259614909e6310a521a4db4d6e3caac8772
2013-09-10accept also '-' as '_' in 'ref' attributeEike Rathke
Change-Id: Ibdd59bc92df0318829e7bca098f0e9ce2dfce695
2013-09-10corrected check of Variant '-'Eike Rathke
Change-Id: Ic134fe541e21c905590294ffb1ed4fed34aabd63
2013-09-07s/wiki.services.openoffice.org/wiki.openoffice.org/gAndras Timar
Change-Id: I059fbee385a109069c70f3869021c8e2ee48fee1
2013-09-05-Werror,-Wunused-variable 'empStr'Eike Rathke
Change-Id: I12fc51ad42fde050dffda42c511c6334abd8d310
2013-09-05implementation is com.sun.star.i18n.LocaleDataImplEike Rathke
Change-Id: I9009763225f92ad2b1cca2a042e11942b8e4e6dc
2013-09-05getFallbackStrings() with bIncludeFullBcp47 parameterEike Rathke
so the various places that check the full tag first do not have to get it just to delete it again. Change-Id: Ib4e3cf1b16988464db875f1b6ac5cf4a0ab60fe5
2013-09-05use sensible indentationEike Rathke
that always annoyed me Change-Id: I0c439ddb00d78590b465cd47db6e60d1939bd9f7
2013-09-05use get*LocaleServiceNameEike Rathke
Change-Id: I24e10da4b511d0413268fe31ed02afe5f3b3734e