summaryrefslogtreecommitdiff
path: root/i18npool
AgeCommit message (Collapse)Author
2016-04-21loplugin:salbool: sal_Bool[] -> bool[]Stephan Bergmann
Change-Id: I3c5bf7a53c9ae173f8fce885ecf022f092aa43a9
2016-04-20loplugin:salbool: Automatic rewrite of sal_False/TrueStephan Bergmann
Change-Id: I3f7f71f05db09219f0de3ec14bdb56bd16fb0c8d
2016-04-18check API call argument valueEike Rathke
Change-Id: I5eb0fbd6a6671c2cded38800c3223bccf0f7ff60
2016-04-18remove old commented out codeEike Rathke
Change-Id: I6871370341c8533e93f820e8f71ce09fe3d4d7be
2016-04-18clang-tidy performance-unnecessary-copy-initializationNoel Grandin
probably not much performance benefit, but it sure is good at identifying leftover intermediate variables from previous refactorings. Change-Id: I3ce16fe496ac2733c1cb0a35f74c0fc9193cc657 Reviewed-on: https://gerrit.libreoffice.org/24026 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-04-12Avoid reserved identifiersStephan Bergmann
Change-Id: Iac8e8e78c3a3f58e8a45b1f28b7d3bb884dd817e
2016-04-12fix infinite loop in text search, tdf#99208Markus Mohrhard
Change-Id: If77055d6b292d5126165252d7198e8abf9d2c44d Reviewed-on: https://gerrit.libreoffice.org/24029 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2016-04-11tdf#99110 more improvements for formatting dates for uksunweb
Change-Id: Ie5ce24292d3346aaf28315ef20a626190a3ec664
2016-04-11tdf#99110 use the right caseDavid Tardon
Change-Id: I00cfe81921f0c9c7a3a0c7834491ca0c25e21fca
2016-04-06tdf#99110 translate currency for ukDavid Tardon
Change-Id: I1420d92d7e5ea229b7c1a8d11fa30111ffb62557
2016-04-06tdf#99110 translate reserved words for ukDavid Tardon
Change-Id: I66c866815501f185de4c3ac7296ef42f1a1ab025
2016-04-06tdf#99110 add genitive cases for months for ukDavid Tardon
Change-Id: I77f7b555d17de761d65c4ef3ccc8a502800998f5
2016-04-02cleanup: remove unused Reference.h(xx) includesJochen Nitschke
and unused using-declarations from Reference.h Change-Id: I297a7ae6044fa329d245ecf08fd5c4cb930f5b19 Reviewed-on: https://gerrit.libreoffice.org/23735 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-03-24Revert "Text General inconsistent with cell formatting dlg", tdf#95385Eike Rathke
This reverts commit 547617955af87640b46211b6715032bc6576279a. Modifying locale datas' number format is a wrong approach.
2016-03-17Text General inconsistent with cell formatting dlgRohan Kumar
I just replaced Standard to General in order to ensure some sort of consistency as mentioned in comment 1 of bug description. Reviewed by the localization team. Change-Id: I7d75e7e9855d43a9ff709478a2f3e867b2a479a2 Reviewed-on: https://gerrit.libreoffice.org/23310 Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
2016-03-10Avoid reserved identifiersStephan Bergmann
Change-Id: I33b9966c0d57b4f9b2028352dfbb68359653f976
2016-03-10Avoid reserved identifierStephan Bergmann
Change-Id: Iba05a29b75666a595e58dfe753bba0825d09f61f
2016-03-08Remove unused macrosStephan Bergmann
Change-Id: Icc1f5dbe7bac1d80429cafda7e88061193dd137a
2016-03-08Remove dead codeStephan Bergmann
Change-Id: Iebaf8af5dbf11cd255f67202bbb18f61b1bd39fd
2016-03-08Remove unnecessary includeStephan Bergmann
Change-Id: I5a0b1528a7ad3cff15d185600d4bd74c25fb30bb
2016-03-08tdf#91794 Remove OSL_DEBUG_LEVEL > 1 conditionalsRohan Kumar
I removed OSL_DEBUG_LEVEL > 1 conditionals in order to reduce debug levels. Change-Id: Ia1890277aec8ba0b57e325564a107d7fe2f6e967 Reviewed-on: https://gerrit.libreoffice.org/23008 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-02-23SearchFlags::WILD_MATCH_SELECTION, SearchOptions2::WildcardEscapeCharacterEike Rathke
At least '\' (search in Word) and '~' (search in Excel) should be supported as escape character. Being able to restrict a match to entire selection instead of substring speeds up the Calc match whole cell scenario. Change-Id: Ice242b9cd59009f172b724e03c2cc08feda4cd3c
2016-02-23new loplugin: commaoperatorNoel Grandin
Change-Id: I03f24e61f696b7619855e3c7010aa0d874e5a4ff
2016-02-17wildcard search unit tests, tdf#72196Eike Rathke
Change-Id: Ifa23592f5e72438267926acf89c113a69a7f0ca0
2016-02-17implement '*' '?' '~' wildcard search, tdf#72196Eike Rathke
Change-Id: Id6122a13423c37e91c9f7561e4d8e5c658d5530e
2016-02-11[API CHANGE] add operator==/!= to UNO structsNoel Grandin
this is useful now that we are storing UNO structs in std::vector Change-Id: Ic558bcd669bd2b3cdf9eb8393269eb906ac52369 Reviewed-on: https://gerrit.libreoffice.org/22257 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-02-09Remove excess newlinesChris Sherlock
A ridiculously fast way of doing this is: for i in $(pcregrep -l -M -r --include='.*[hc]xx$' \ --exclude-dir=workdir --exclude-dir=instdir '^ {3,}' .) do perl -0777 -i -pe 's/^ {3,}/ /gm' $i done Change-Id: Iebb93eccbee9e4fc5c4380474ba595858a27ac2c Reviewed-on: https://gerrit.libreoffice.org/22224 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-02-05interface to new XTextSearch2 with SearchOptions2, tdf#72196Eike Rathke
Places that had utl::TextSearch::UpgradeToSearchOptions2() introduced are worth an inspection if the new SearchAlgorithms2::WILDCARD search should be supported or at least use SearchOptions2 instead of SearchOptions to eliminate the small performance penalty that conversion involves. Change-Id: I565f73af2b551ae9ad0f488e672823dc6c5c1109
2016-01-31unnecessary use of OUString constructorNoel Grandin
Change-Id: Idd31b0a53c8318af69bbcd32f6798721ec8eb8e1 Reviewed-on: https://gerrit.libreoffice.org/21945 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-01-23i18npool: fix buildThorsten Behrens
Looks like 72c5e230f9cda8e18f63f7bbc6567487b4c5a5e0 missed the makefile change. Change-Id: I2d887ca6cb6c698fdb2d24029f38cce6050e0881
2016-01-22tdf#97315 add Basque [eu-ES] and map [eu] to [eu-ES]Eike Rathke
Change-Id: I89641fa82f0d0129aeff0d86a10be26cdc721dfc
2016-01-21i18npool: why not document the state transitionsMichael Stahl
Change-Id: Ica5789dab22a49efb9e2da3a795e13aa7e2c4339
2016-01-21i18npool: handle non-BMP Unicode in cclass_Unicode::parseText()Michael Stahl
The UTF-16 code unit limitation was mangling starmath import. Change-Id: I087e5c5b7954799fdb73e7ee1a8d3d02669f8831
2016-01-11funclen_base is now superfluous hereEike Rathke
Change-Id: I3376daf1731be6f02d62d8d659c8c3fff7605171
2016-01-11tdf#95494 Calc can not sort Chinese word by stroke and radical,Jingtao Yan
_length must at the tail of filename. Change-Id: I434e89bf052d8f3130bfca62d71eaf8588c2bac9 Reviewed-on: https://gerrit.libreoffice.org/21213 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2016-01-11loplugin:unusedmethods unused return value in i18npoolNoel Grandin
Change-Id: I29844009f8357301265421325fc2070f2c9296bf
2016-01-10Fix typosAndrea Gelmini
Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86 Reviewed-on: https://gerrit.libreoffice.org/21209 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
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