summaryrefslogtreecommitdiff
path: root/i18npool
AgeCommit message (Collapse)Author
2016-01-05Use OUString::replaceAllStephan Bergmann
...instead of a local function using a static (!) buffer, which just cannot work in a multi-threaded environment. Change-Id: Id28e1c55c32aa2e35cd3c1756f5d392241092a30
2016-01-05Use .dict files since below the 500K limitMartin Hosken
Change-Id: Iec71ad4918cd333f0a44d372017ecee300e3aca9 Reviewed-on: https://gerrit.libreoffice.org/20748 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Martin Hosken <martin_hosken@sil.org>
2016-01-04tdf#82775: Make NumberFormatCodeMapper MT safeStephan Bergmann
Change-Id: I77f49f09ce9fe5897f78044c0522210978c904d1
2015-12-12New Tai Lue prevowels are now stored beforeMartin Hosken
Change-Id: I0103ca0da3a39e48416617aab4372cde8be0bbab Reviewed-on: https://gerrit.libreoffice.org/20654 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Martin Hosken <martin_hosken@sil.org>
2015-11-27Adding native number support for Cyrillic numeralsAleksandr Andreev
Change-Id: I054786a97b6f0e6ba3fe3b824ff9ff9748d8be4a Reviewed-on: https://gerrit.libreoffice.org/20013 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-11-25regex result offsets can be negative if a group was not matched, tdf#94810Eike Rathke
"(abc)|(def)" matches "def" with result offset sequences {0,-1,0},{3,-1,3} And thus the assert() calls introduced with 4cf1d290bab29e18e1312b63ff862f5102e00387 and ce91f3c1292f3e9b84157acf10b67ad9ca16719d were hit. Change-Id: I571b6c7d47349a2cc7b1d1e34193b2865012a49f
2015-11-24straighten out broken indentationEike Rathke
Change-Id: Ibb34f4a655cce13a24cc7ec22a29fa40e3a0286a
2015-11-24cppcheck: noExplicitConstructorCaolán McNamara
Change-Id: I1934441858baeeb41a46f694dbcef2d846b308b7
2015-11-23similar to searchForward() use the correct offsets, tdf#94810 relatedEike Rathke
Change-Id: Icb5a45acaad9029e0998594de8b3dc2e9211866e
2015-11-23remove comment that makes no sense, tdf#94810 follow-upEike Rathke
nStart should not become <0, not even when searching for $ end. Change-Id: I79586471f1a7908372fa3ee044a6f66499b1790f
2015-11-23tdf#94810: fix reverse offset mappingMike Kaganski
With simple transliteration, TextSearch::searchForward used to use whole string to perform the search, then started to create substring to search. But it left the precautions from commit c00601dab0f5533b152cd63cec0a89bfec1ba95f by Eike Rathke: searching for $ may actually return a result set pointing behind the search string which it does with the ICU regex engine. The precaution made it to skip reverse mapping if index was 0. Commit 9aae521b451269007f03527c83645b8b935eb419 by Michael Stahl didn't consider the case when nStop is 0, and startPos > 0. Then it tried to get offset[-1]. Anyway, using value of startPos in those conditions seems illogical. Removed those precautions (and made assertions for that). Fixed handling zero indexes. Change-Id: I2066abc51fff7fb7323bc7f6198bdea06439d4f3 Reviewed-on: https://gerrit.libreoffice.org/19840 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-11-20loplugin:unusedfields i18npoolNoel Grandin
Change-Id: I09dad8485f7a558dd389032a6052b88a8285afea
2015-11-17Don't assume sal_Unicode is unsigned shortStephan Bergmann
Change-Id: I721f53d79cd3e2c24542382d519a909a86a31111
2015-11-17loplugin:unnecessaryvirtualNoel Grandin
update the plugin with lessons learned from the mergeclasses plugin and re-run it Change-Id: I9d622eb3d05fceaf8fa764c533c8fa5dfb4c7711 Reviewed-on: https://gerrit.libreoffice.org/20015 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-17Don't assume sal_Unicode is unsigned shortStephan Bergmann
Change-Id: I727951614587654c11af5f6635a45c52ebec1b5a
2015-11-17Typo "stirng" -> "string"Stephan Bergmann
Change-Id: I08c98ed0f81894444a75adcf7da3a952c7f418cf
2015-11-16use initialiser list for Sequence<OUString>Noel Grandin
Change-Id: Ia5e47261d1fc6fac2d046656c05a1c5eedb07e02 Reviewed-on: https://gerrit.libreoffice.org/19978 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-15use initialiser syntax for Sequence<OUString>Noel Grandin
replaced using the script: git grep -lP 'Sequence.*OUString.*\(1\)' | xargs perl -0777 -pi -e "s/Sequence< OUString > (\w+)\(1\); .*\[0\] = (\S+);/Sequence< OUString > \1 { \2 };/g" Change-Id: I23688a91562051a8eed11fc2a85599545c285c34 Reviewed-on: https://gerrit.libreoffice.org/19967 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-11coverity#1338596 Uncaught exceptionCaolán McNamara
Change-Id: Ic8b4c6a1718a10d0b9a5a99b069ef4e98de87518
2015-11-11coverity#1338597 Uncaught exceptionCaolán McNamara
Change-Id: I1bcb4a70a2b2621a8718e5d4d0741e8eed3848cf
2015-11-11coverity#1338598 Uncaught exceptionCaolán McNamara
Change-Id: I22047ed53eb59716e3da7c6e799867a666d35921
2015-11-11coverity#1338599 Uncaught exceptionCaolán McNamara
Change-Id: If1c2f5e8527855e8e537d082156bcd6582e50c58
2015-11-11coverity#1338600 Uncaught exceptionCaolán McNamara
Change-Id: I4a257a4eed1064a3fc09f6e2d37dbbc6be64a94c
2015-11-11coverity#1338601 Uncaught exceptionCaolán McNamara
Change-Id: I255273601fd460b22aa22e3e366dc040e0795a87
2015-11-11coverity#1338602 Uncaught exceptionCaolán McNamara
Change-Id: I81c71c02888e9c5cab28e77c1464dd5f6d4c1ee5
2015-11-11tdf#95745 Weekdays should be lowercase in hr_HRMihovil Stanić
Change-Id: Ib2738355c0ffc1342db51a4f17185503ad7f0eb7
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
Change-Id: I7af8d14bfe7337fea3f18dbbd41eb32e0f7ae331
2015-11-09add [ar-{BH,IQ,JO,LY,MA,QA,SY,YE}] to locale data libs, tdf#95485Eike Rathke
Change-Id: Idbe31956d8627ff51f90d2e4a52666d33143b8c0
2015-11-09add U+200F RIGHT-TO-LEFT MARK to currency symbol, tdf#95485 follow-upEike Rathke
... same as in other ar_* locale data. Change-Id: If5bd17d710fc6a9b40aac87eb49a8615f59a7a31
2015-11-09correct order of currency symbol and LangID in replaceTo, tdf#95485 follow-upEike Rathke
Change-Id: Iefb671f4e7130523edde1d0495d36fb57aa7528c
2015-11-09strip leading zero from LangID in currency format, tdf#95485 follow-upEike Rathke
Change-Id: Id4be326683f4be745284d0951768047d830570c1
2015-11-09remove erroneous extra </DefaultName> closing tag, tdf#95485 follow-upEike Rathke
Change-Id: Ie7573d79f74d601abd340d028080dcb50a78917a
2015-11-09add [ar-{BH,IQ,JO,LY,MA,QA,SY,YE}] locale data, tdf#95485Ghasan
Change-Id: I55eea19b0302053691eb76b7785276a89bcd136a
2015-11-06coverity#1338234 Uncaught exceptionCaolán McNamara
Change-Id: Ice269b722e219ae7b51aa6ea11dea93cfd31f413
2015-11-06loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)Stephan Bergmann
Change-Id: I2c65eac8aa0b24be7f0c8a083b21904c842ca1ee
2015-11-04use uno::Reference::set method instead of assignmentNoel Grandin
Change-Id: I11822c50fa66d038a3d6f38054ab35c2e613f077
2015-11-02tdf#94269: Replace "n" prefix for bool variables with "b"Benjamin Ni
Change-Id: I178545792c7354a362658ac7ef8b1d4cf0865797 Signed-off-by: Michael Stahl <mstahl@redhat.com>
2015-11-02Improve gb_Helper_print_on_error, and use in a CustomTargetStephan Bergmann
* always wrap the sub-command in ( ... ) * if no 2nd arg is given, use a temp file Change-Id: I7b43214dda1e4f8ee5e9b9a7310d58adee2a6500
2015-10-30UNO: no need to use OUString constructor when calling createInstanceNoel Grandin
Change-Id: I37da28539b94706574116d0fff5f008aabfb5526 Reviewed-on: https://gerrit.libreoffice.org/19682 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-29add missing license headerEike Rathke
Change-Id: If8503566d02b2e2de51acc21f33042b9cc23b059
2015-10-29use separators and number formats as in [it-IT], tdf#91199 follow-upEike Rathke
Can't use ref="it_IT" because it-IT is one of the legacy locales that has localized format codes, sigh.. Change-Id: I3ce88e80f17e626bc4fc4849795e2c9893261dc3
2015-10-29tdf#70833: IDNA support when exporing hyperlinks to PDFStephan Bergmann
Any URLs using non-ASCII IDNA syntax need to be resolved to ASCII-only, as PDF URI Action's URI needs to be "encoded in 7-bit ASCII." Introduce URIHelper::resolveIdnaHost (svl/urihelper.hxx), which internally uses icu::IDNA, which requires to bump the minimal --with-system-icu requirement from 4.2 to 4.6, which means ICU_RECLASSIFIED_CLOSE_PARENTHESIS is always true now. Change-Id: I0e20d9a20ed2b869fba0cc7c969721411db590b3 Reviewed-on: https://gerrit.libreoffice.org/19669 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2015-10-26remove extra spaces around ::Noel Grandin
just makes it harder to grep for methods Change-Id: I0925db2f9284972fcf7e1e3adf90cbe21f69eb15
2015-10-20loplugin:defaultparamsStephan Bergmann
Change-Id: I7cb0b7137c71c3112d50e12245dcfbc59c84a47e
2015-10-19com::sun::star->css in i18npoolNoel Grandin
Change-Id: I13a290cba0f38c79eb2d93148b972d3d931c3862 Reviewed-on: https://gerrit.libreoffice.org/19445 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-10-19Fix typoTakeshi Abe
Change-Id: I88ffb084c9d0f6119543757dcd633dd1b30c760e
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-10-07Reduce variable scopeStephan Bergmann
Change-Id: I1269bd713bae10f9b6c1d3e797dd7043d24fa8d3
2015-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann
Change-Id: Ia6bd32061e2ea826aa550a3da17d4147158ce7f8
2015-10-06loplugin:unusedmethodsNoel Grandin
Change-Id: I150baadc442e57ee604563bc52965daa9d2e41af