summaryrefslogtreecommitdiff
path: root/i18npool
AgeCommit message (Collapse)Author
2018-03-01tdf#116072 Extend MidLetter in Hungarian word breakingLászló Németh
Now ”, (, ), ], ?, ! are MidLetter characters to handle (1)-ben, "ember(ek)ről", "„Tisza”-ban" etc. forms as words for better Hungarian spell checking. Change-Id: I47882e73af08531d14d555ced5dd4c98403686ec Reviewed-on: https://gerrit.libreoffice.org/50473 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: László Németh <nemeth@numbertext.org> (cherry picked from commit 3cc58a5904604f0f2e9977a9508bab02518122ad) Reviewed-on: https://gerrit.libreoffice.org/50554 Reviewed-by: Andras Timar <andras.timar@collabora.com>
2018-02-27Resolves: tdf#116062 revert [fr-CH] to use previous single quote charactersEike Rathke
Even if that's not what should be used.. see sources in commit 4b938c558d004537cf73ca4319019ff64f052270 Date: Fri Feb 9 12:59:51 2018 +0100 Use angle quotation marks (Guillemets) for [*-CH], tdf#115493 related Change-Id: I733bc767ff4484c251f8624f90a5295875bf17ea (cherry picked from commit 0808618e0df0fab4479917e588c096bc8770c6c5) Reviewed-on: https://gerrit.libreoffice.org/50459 Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2018-02-09Resolves: tdf#105837 use angle quotation marks (Guillemets) for [*-CH]Eike Rathke
This is a combination of 2 commits. Resolves: tdf#105837 use angle quotation marks (Guillemets) for [de-CH] Source: https://en.wikipedia.org/wiki/Quotation_mark#German https://de.wikipedia.org/wiki/Anf%C3%BChrungszeichen#Schweiz,_Liechtenstein,_Frankreich (cherry picked from commit 2ebb38dd36022d5d61bfb9fc3edfbf460153e1ff) Use angle quotation marks (Guillemets) for [*-CH], tdf#115493 related Source: https://en.wikipedia.org/wiki/Quotation_mark#French https://de.wikipedia.org/wiki/Anf%C3%BChrungszeichen#Schweiz,_Liechtenstein,_Frankreich (cherry picked from commit 4b938c558d004537cf73ca4319019ff64f052270) 015e8d68aecdc7c7ca3620105b7a2685648438d5 Change-Id: I9aa13eb610b39d1443acb0d2993a3e6f3e68a12e Reviewed-on: https://gerrit.libreoffice.org/49489 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2018-01-26Change TimeSeparator for locale la_VA, lld_IT and vec_IT.Winfried Donkers
Change-Id: I0afc3a08a31216efdbddc389dc23f0b04bc92b37 Reviewed-on: https://gerrit.libreoffice.org/48619 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> (cherry picked from commit 80ac1dc53ba2aac97bce067495f7f60c6acabadd) Reviewed-on: https://gerrit.libreoffice.org/48640
2018-01-26Fix incorrect AM/PM symbols in locale it_CH and vec_IT.Winfried Donkers
Follow up of tdf#105226. Change-Id: I31816a36e427338034a30492f2a7ac7f2d0fddd2 Reviewed-on: https://gerrit.libreoffice.org/48616 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> (cherry picked from commit 8ff3d8821ef68069c1bdcf1a123b0c929d745566) Reviewed-on: https://gerrit.libreoffice.org/48638
2018-01-26tdf#105226 follow up: change time separator for locale it_IT.Winfried Donkers
Change-Id: If994f615b4a9b976086546a80357b75e93952528 Reviewed-on: https://gerrit.libreoffice.org/48615 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com> (cherry picked from commit c97d67631724c29fa665c5f0aaad0a0fd9a061ee) Reviewed-on: https://gerrit.libreoffice.org/48639 Tested-by: Jenkins <ci@libreoffice.org>
2018-01-25Fix Index::getIndexWeight for empty inputStephan Bergmann
...which triggers the assertion `index >= 0 && static_cast<sal_uInt32>(index) < static_cast<sal_uInt32>(getLength())' in rtl::OUString::operator[] at include/rtl/ustring.hxx:669 (see below for a reproducer). I am not sure whether the case of `startPos == rIndexEntry.getLength()` should really go into the following for loop inspecting `tables`, with a somewhat random `code` of U+0000 (or some other value even?), or should rather be handled explicitly in some other way. Reproducer in an empty Writer document: "Insert - Table of Contents and Index - Bibliography Entry...": "Insert Bibliography Entry" dialog: "ARJ00", "Insert", "AVV00", "Insert", "Close"; "Insert - Table of Contents and Index - Table of Contents, Index or Bibliography...": "Table of Contents, Index or Bibliography" dialog: "Type - Type and Title - Type: Bibliography", "Entries - Sort by - Content", "Entries - Sort Keys - 1: Address", "OK": assert fires Change-Id: I2c9fad2c37bfa7a3509c197e678311fb45cb991a Reviewed-on: https://gerrit.libreoffice.org/48564 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> (cherry picked from commit ad9d70e73394b1d0d2c1e1e4584c8bc6f3a5d8b3) Reviewed-on: https://gerrit.libreoffice.org/48635
2018-01-22tdf#105226 fix incorrect AM/PM symbol in locale it_IT.Winfried Donkers
Change-Id: I95ecc3163ea6081e51ce78653cebf292bee7b440 Reviewed-on: https://gerrit.libreoffice.org/48247 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> (cherry picked from commit b6c0356ac9d59a4599d15f8d2f001d39010b3e48) Reviewed-on: https://gerrit.libreoffice.org/48321 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2017-11-23Make loplugin:unnecessaryparen look through implicitStephan Bergmann
...similar to how <https://gerrit.libreoffice.org/#/c/45083/2> "Make not warning about !! in loplugin:simplifybool consistent" does for loplugin:simplifybool Change-Id: I23eef400af71c582d380c9bae6546ce06e8a1e18 Reviewed-on: https://gerrit.libreoffice.org/45122 Tested-by: Stephan Bergmann <sbergman@redhat.com> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-11-20Upgrade to ICU 60.1Eike Rathke
Change-Id: I6d90f51ee88c4e1005edbaa93d23cfb94cb2acfb Reviewed-on: https://gerrit.libreoffice.org/44871 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2017-11-17Revert "Upgrade to ICU 60.1"Eike Rathke
This reverts commit f643e1f687e27e7f46c53d7298772d4dddb3e660. Failing in firebird, back to the drawing board.. Change-Id: I087d2fa6e81cf713458b1c9645edc7c1facf148c Reviewed-on: https://gerrit.libreoffice.org/44843 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2017-11-17Upgrade to ICU 60.1David Tardon
Change-Id: I07837be7faac0b2238b0cba8fb981e4c4d24c498
2017-11-06loplugin:constparams in various(2)Noel Grandin
Change-Id: I533a7eb724b15e168a28dc92cd5962a39bc96e7c Reviewed-on: https://gerrit.libreoffice.org/44313 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-11-02coverity#1420537 Uninitialized scalar fieldCaolán McNamara
Change-Id: I974b48ddb54b954a512c3eb8949c6db0ff74c353
2017-11-01loplugin:finalclasses in h*,i*,j*Noel Grandin
Change-Id: I3b5f319a88dbe6a9c2ffbfdf991345beda9a2fcd Reviewed-on: https://gerrit.libreoffice.org/44154 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-10-27Resolves: tdf#81671 add DecimalSeparatorAlternative to ar-* and fa-IREike Rathke
In locales that use '٫' U+066B ARABIC DECIMAL SEPARATOR additionally have '.' normal dot as input separator. Change-Id: Icb3f42374776e3fc65af3270abaca26ea5b24082
2017-10-27Define optional <Separators><DecimalSeparatorAlternative>, tdf#81671Eike Rathke
Change-Id: I13d49463aa2fa9975b77d4ee62fcadc36b8317ae
2017-10-27Parse/gen optional <DecimalSeparatorAlternative> in locale data, tdf#81671Eike Rathke
Change-Id: I2781040c76e7c3dbfb4eedc7830a1f24b4c56b46
2017-10-27Allow decimalSeparatorAlternative in cclass_unicode::parseText(), tdf#81671Eike Rathke
Change-Id: I0469027951e68d3c08f40c236db3865edbdaa3e0
2017-10-27Instanciate XLocaleData5 in all internal interfaces, tdf#81671Eike Rathke
Change-Id: I71ab5008be930efdd3ba944b020554b9d65ed729
2017-10-27Implement LocaleData2, XLocaleData5, LocaleDataItem2, tdf#81671Eike Rathke
Change-Id: Idba5a30bc44c7b2bd951f954ea3bfd048b022660 Reviewed-on: https://gerrit.libreoffice.org/43920 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
2017-10-25Use SAL_N_ELEMENTSEike Rathke
Change-Id: I643d839a2b1d8473c484c659793bd3344ace8859
2017-10-25Always generate count number of elements in locale data arraysEike Rathke
Change-Id: I6fecfb24bced7d6e747175befe423060d5ea445b Reviewed-on: https://gerrit.libreoffice.org/43793 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins <ci@libreoffice.org>
2017-10-23loplugin:includeform: i18npoolStephan Bergmann
Change-Id: I4356a9e559a3f63c172542256543b272df6ba173
2017-10-23overload std::hash for OUString and OStringNoel Grandin
no need to explicitly specify it anymore Change-Id: I6ad9259cce77201fdd75152533f5151aae83e9ec Reviewed-on: https://gerrit.libreoffice.org/43567 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-10-16tdf#96197 i18npool: don't read beyond end of stringMichael Stahl
Asserts on loading ooo100660-1.odg. (regression from 441fded7f7fc8a2564075406933226a6eea73dd1) Change-Id: I6821490e4ca6100da173ed19329a808867d2193d
2017-10-04Change define to inline and donate some spaces, tdf#96197 follow-upEike Rathke
Change-Id: Ia7a000d48807c3fba1dd768a77b4c49b688e1234
2017-10-04tdf#96197 do not break Korean words in the middle.Mark Hung
Korean words are composed of Hangul and are separated by space or newline. This patch improves line breaking function in CJK break iterator so that it does not break Korean words in the middle. It now breaks at the first character of the last Korean word. Change-Id: I91b20733c0c5ec4755bf68eb0d7c14c42c1f3556 Reviewed-on: https://gerrit.libreoffice.org/42987 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
2017-10-04move stuff in i18npool/i18nutil in own namespaceNoel Grandin
instead of trying to share the css::i18n namespace, which is just very confusing and should be left to actual UNO artifacts Change-Id: I2f5c36bf1af9a2a98c4f997dd450d015e75ed3f6 Reviewed-on: https://gerrit.libreoffice.org/43079 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-10-04tdf#95656 fix orientation for Bopomofo tonal marksMark Hung
A few Spacing Modifier Letters ( 0x2ca, 0x2c7, 0x2cb, 0x2d9 ) are used as Bopomofo tonal marks. This patch force their vertical orientation property to be transformed upright. This patch also set the script type of them to WEAK to keep them with nearby Bopomofo symbols in the same portion. Change-Id: Ib226ebbcaf140124dee806dd6b2859150eb53f67 Reviewed-on: https://gerrit.libreoffice.org/43001 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
2017-09-29Throw exception also in case an unexpected rBreakType was passedEike Rathke
Change-Id: I331e12ab5115401b9fa87e1f0f2be51f33ccbc75
2017-09-28Fix typoAndrea Gelmini
Change-Id: I81e3c3dcc850e0dc0774228e609da3f94f14f422 Reviewed-on: https://gerrit.libreoffice.org/42917 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2017-09-28i18n-perf: cache map of breakiterators, tdf#108703Eike Rathke
See source code comment. Change-Id: I75015f3492a24f5f69a163dca165dcf57d6f0e28 Reviewed-on: https://gerrit.libreoffice.org/42866 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2017-09-27loplugin:flatten in variousNoel Grandin
Change-Id: I42dca691ffadbddad38a7e8f978b1da9d5d9a7b0 Reviewed-on: https://gerrit.libreoffice.org/42842 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-09-22i18npool: -Werror=misleading-indentationMichael Stahl
Change-Id: I399f8266bf543aa7b31d7833bd27aa7bec8a6708
2017-09-22loplugin:flatten in filter..i18npoolNoel Grandin
Change-Id: I9024b8b614a4de83a4d927e1918f6d4904a7fccb Reviewed-on: https://gerrit.libreoffice.org/42592 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-09-06iOS, make gendict.cxx compilejan Iversen
it is not possible to take the address directly of OUString variables. Change-Id: I8e31494523f4ec186de81aa065f03d7fb2ef475d
2017-09-05Revert "iOS, Executable_gendict.mk contained work ifneq"jan iversen
break android build, will try another idea. This reverts commit 9915e8d250639348ca06622ffae840f207be8eec. Change-Id: I4e4e73733febd8d3bb7469de76163e8d16b7a5c7 Reviewed-on: https://gerrit.libreoffice.org/41958 Reviewed-by: jan iversen <jani@libreoffice.org> Tested-by: jan iversen <jani@libreoffice.org>
2017-09-05iOS, Executable_gendict.mk contained work ifneqjan Iversen
Test for iOS failed, changed to ifeq Change-Id: I0f936b0949a5b3d1fba8261e6a6f08988f67cb85 Reviewed-on: https://gerrit.libreoffice.org/41913 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@libreoffice.org>
2017-08-23loplugin:useuniqueptr, look for containers..Noel Grandin
that can use std::unique_ptr, and apply it in i18npool Change-Id: Ib410abaf73d5f392c7a7a9a322872b08c948f9e9 Reviewed-on: https://gerrit.libreoffice.org/41438 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-08-18loplugin:unnecessaryparenNoel Grandin
look for statements like return (function()); Change-Id: I906cf2183489f87225b99b987caca67e39b26cc3 Reviewed-on: https://gerrit.libreoffice.org/41260 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-08-17remove unnecessary use of OUString::getStrNoel Grandin
Change-Id: I3d13e1c0bb6aa4a7aacc463198747c1368ebc9b4 Reviewed-on: https://gerrit.libreoffice.org/38114 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-08-02remove unnecessary use of 'this->'Noel Grandin
Change-Id: I5c115389af7d24c18ddaf5fbec8c00f35017a5b4 Reviewed-on: https://gerrit.libreoffice.org/40671 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-07-31loplugin:constparams in basctlNoel Grandin
Change-Id: If6c2b980a2916c4ee8ac108fbb84b006a35f49c5 Reviewed-on: https://gerrit.libreoffice.org/40570 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-07-25use more comphelper::InitAnyPropertySequenceNoel Grandin
Found with: git grep -n -A10 'Sequence.*Any' -- *.cxx | grep -B5 -w PropertyValueProvider and: git grep -n 'Sequence.*Any.*( *&' Change-Id: Icb18c98bdd3f8352817e443ff78de5df042859ad Reviewed-on: https://gerrit.libreoffice.org/40389 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-07-18loplugin:constparams in i18npool,opencl,svlNoel Grandin
Change-Id: I23368c3ce6d29c7b2e758e209e5a8315e82a2818 Reviewed-on: https://gerrit.libreoffice.org/40051 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-07-13use more OUString::operator== in forms..salNoel Grandin
Change-Id: I70d7e50f8c1e019524ccad915f0cca912c5035dc Reviewed-on: https://gerrit.libreoffice.org/39899 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-07-11use more range-for on uno::SequenceNoel Grandin
Change-Id: Ifad32425d79be5a22d33d721bdc5fb993f699759 Reviewed-on: https://gerrit.libreoffice.org/39763 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-07-10teach unnecessaryparen loplugin about identifiersNoel Grandin
Change-Id: I5710b51e53779c222cec0bf08cd34bda330fec4b Reviewed-on: https://gerrit.libreoffice.org/39737 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-07-05new loplugin unnecessaryparenNoel Grandin
Change-Id: Ic883a07b30069ca6342d7521c8ad890f4326f0ec Reviewed-on: https://gerrit.libreoffice.org/39549 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>