summaryrefslogtreecommitdiff
path: root/i18npool
AgeCommit message (Collapse)AuthorFilesLines
2015-11-27Adding native number support for Cyrillic numeralsAleksandr Andreev3-4/+284
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 Rathke1-14/+22
"(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 Rathke1-36/+36
Change-Id: Ibb34f4a655cce13a24cc7ec22a29fa40e3a0286a
2015-11-24cppcheck: noExplicitConstructorCaolán McNamara3-4/+4
Change-Id: I1934441858baeeb41a46f694dbcef2d846b308b7
2015-11-23similar to searchForward() use the correct offsets, tdf#94810 relatedEike Rathke1-3/+6
Change-Id: Icb5a45acaad9029e0998594de8b3dc2e9211866e
2015-11-23remove comment that makes no sense, tdf#94810 follow-upEike Rathke1-1/+1
nStart should not become <0, not even when searching for $ end. Change-Id: I79586471f1a7908372fa3ee044a6f66499b1790f
2015-11-23tdf#94810: fix reverse offset mappingMike Kaganski2-3/+17
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 Grandin4-10/+0
Change-Id: I09dad8485f7a558dd389032a6052b88a8285afea
2015-11-17Don't assume sal_Unicode is unsigned shortStephan Bergmann1-1/+1
Change-Id: I721f53d79cd3e2c24542382d519a909a86a31111
2015-11-17loplugin:unnecessaryvirtualNoel Grandin2-14/+14
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 Bergmann3-4/+10
Change-Id: I727951614587654c11af5f6635a45c52ebec1b5a
2015-11-17Typo "stirng" -> "string"Stephan Bergmann2-2/+2
Change-Id: I08c98ed0f81894444a75adcf7da3a952c7f418cf
2015-11-16use initialiser list for Sequence<OUString>Noel Grandin3-7/+4
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 Grandin20-42/+21
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 McNamara2-2/+2
Change-Id: Ic8b4c6a1718a10d0b9a5a99b069ef4e98de87518
2015-11-11coverity#1338597 Uncaught exceptionCaolán McNamara2-2/+2
Change-Id: I1bcb4a70a2b2621a8718e5d4d0741e8eed3848cf
2015-11-11coverity#1338598 Uncaught exceptionCaolán McNamara2-2/+2
Change-Id: I22047ed53eb59716e3da7c6e799867a666d35921
2015-11-11coverity#1338599 Uncaught exceptionCaolán McNamara2-2/+2
Change-Id: If1c2f5e8527855e8e537d082156bcd6582e50c58
2015-11-11coverity#1338600 Uncaught exceptionCaolán McNamara2-2/+2
Change-Id: I4a257a4eed1064a3fc09f6e2d37dbbc6be64a94c
2015-11-11coverity#1338601 Uncaught exceptionCaolán McNamara2-2/+2
Change-Id: I255273601fd460b22aa22e3e366dc040e0795a87
2015-11-11coverity#1338602 Uncaught exceptionCaolán McNamara2-2/+2
Change-Id: I81c71c02888e9c5cab28e77c1464dd5f6d4c1ee5
2015-11-11tdf#95745 Weekdays should be lowercase in hr_HRMihovil Stanić1-14/+14
Change-Id: Ib2738355c0ffc1342db51a4f17185503ad7f0eb7
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann55-172/+172
Change-Id: I7af8d14bfe7337fea3f18dbbd41eb32e0f7ae331
2015-11-09add [ar-{BH,IQ,JO,LY,MA,QA,SY,YE}] to locale data libs, tdf#95485Eike Rathke2-1/+16
Change-Id: Idbe31956d8627ff51f90d2e4a52666d33143b8c0
2015-11-09add U+200F RIGHT-TO-LEFT MARK to currency symbol, tdf#95485 follow-upEike Rathke8-16/+16
... 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 Rathke8-8/+8
Change-Id: Iefb671f4e7130523edde1d0495d36fb57aa7528c
2015-11-09strip leading zero from LangID in currency format, tdf#95485 follow-upEike Rathke1-1/+1
Change-Id: Id4be326683f4be745284d0951768047d830570c1
2015-11-09remove erroneous extra </DefaultName> closing tag, tdf#95485 follow-upEike Rathke8-8/+8
Change-Id: Ie7573d79f74d601abd340d028080dcb50a78917a
2015-11-09add [ar-{BH,IQ,JO,LY,MA,QA,SY,YE}] locale data, tdf#95485Ghasan8-0/+328
Change-Id: I55eea19b0302053691eb76b7785276a89bcd136a
2015-11-06coverity#1338234 Uncaught exceptionCaolán McNamara2-2/+2
Change-Id: Ice269b722e219ae7b51aa6ea11dea93cfd31f413
2015-11-06loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)Stephan Bergmann7-13/+13
Change-Id: I2c65eac8aa0b24be7f0c8a083b21904c842ca1ee
2015-11-04use uno::Reference::set method instead of assignmentNoel Grandin5-9/+5
Change-Id: I11822c50fa66d038a3d6f38054ab35c2e613f077
2015-11-02tdf#94269: Replace "n" prefix for bool variables with "b"Benjamin Ni3-30/+30
Change-Id: I178545792c7354a362658ac7ef8b1d4cf0865797 Signed-off-by: Michael Stahl <mstahl@redhat.com>
2015-11-02Improve gb_Helper_print_on_error, and use in a CustomTargetStephan Bergmann1-4/+4
* 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 Grandin2-2/+2
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 Rathke1-0/+17
Change-Id: If8503566d02b2e2de51acc21f33042b9cc23b059
2015-10-29use separators and number formats as in [it-IT], tdf#91199 follow-upEike Rathke1-92/+82
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 Bergmann1-2/+1
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 Grandin1-2/+2
just makes it harder to grep for methods Change-Id: I0925db2f9284972fcf7e1e3adf90cbe21f69eb15
2015-10-20loplugin:defaultparamsStephan Bergmann1-1/+1
Change-Id: I7cb0b7137c71c3112d50e12245dcfbc59c84a47e
2015-10-19com::sun::star->css in i18npoolNoel Grandin56-932/+925
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 Abe1-1/+1
Change-Id: I88ffb084c9d0f6119543757dcd633dd1b30c760e
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann46-417/+417
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-10-07Reduce variable scopeStephan Bergmann1-5/+4
Change-Id: I1269bd713bae10f9b6c1d3e797dd7043d24fa8d3
2015-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann1-1/+1
Change-Id: Ia6bd32061e2ea826aa550a3da17d4147158ce7f8
2015-10-06loplugin:unusedmethodsNoel Grandin3-7/+0
Change-Id: I150baadc442e57ee604563bc52965daa9d2e41af
2015-09-30Fix typosAndrea Gelmini4-5/+5
Change-Id: Iab78219aff60a7a45a319a96f326e27a6e8e25b8 Reviewed-on: https://gerrit.libreoffice.org/18953 Reviewed-by: Oliver Specht <oliver.specht@cib.de> Tested-by: Oliver Specht <oliver.specht@cib.de>
2015-09-30Fix typosAndrea Gelmini1-1/+1
Change-Id: Ia8b2176a439742769e61fb6a981000f316033071 Reviewed-on: https://gerrit.libreoffice.org/18954 Reviewed-by: Oliver Specht <oliver.specht@cib.de> Tested-by: Oliver Specht <oliver.specht@cib.de>
2015-09-29Jewish Calendar: updated URL of borrowed codeAndrea Gelmini1-1/+1
Change-Id: Id937e0b1192ad0bf4ba4ecc38e69c55d024fe3c0 Reviewed-on: https://gerrit.libreoffice.org/18930 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-09-29remove unused #include <sal/alloca.h>Michael Stahl1-1/+1
Change-Id: I490841fd2c526e4ca6d6c94cc7b9dba318c932a1