summaryrefslogtreecommitdiff
path: root/i18npool
AgeCommit message (Collapse)Author
2024-05-20loplugin:ostr in variousNoel Grandin
Change-Id: I9f399b3752da9df930e0647536ffcd4e82beb1ac Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167856 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-05-16Fix typoAndrea Gelmini
Change-Id: I4db8ceaa0703aeab5b1b6737ad2f768e4ad8c89c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167442 Reviewed-by: Taichi Haradaguchi <20001722@ymail.ne.jp> Tested-by: Jenkins
2024-05-16Fix typo in codeAndrea Gelmini
Change-Id: Ib7286237ae037bf5ba9018a80f642454c6c5b2e2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167441 Reviewed-by: Taichi Haradaguchi <20001722@ymail.ne.jp> Tested-by: Jenkins
2024-05-16Fix typoAndrea Gelmini
Change-Id: I628ba1da49bbcc4d7ce11901abc01525ee8b5abe Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167440 Tested-by: Jenkins Reviewed-by: Taichi Haradaguchi <20001722@ymail.ne.jp>
2024-05-16Fix typoAndrea Gelmini
Change-Id: I9a62adf2557fec84d18dd4df72d94a0466f0cf98 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167439 Reviewed-by: Taichi Haradaguchi <20001722@ymail.ne.jp> Tested-by: Jenkins
2024-05-15use more officecfg in DefaultNumberingProviderNoel Grandin
Change-Id: I3b11bed579ec2ea86cac7fef57049a2279567a37 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167642 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-05-09tdf#49885 BreakIterator rule upgradesJonathan Clark
This change re-bases the BreakIterator rule customizations on top of a clean copy of the ICU 74.2 rules. Change-Id: Iadcf16cab138cc6c869fac61ad64e996e65b5ae4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166273 Tested-by: Jenkins Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com> Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-05-09loplugin:ostr in i18npoolNoel Grandin
Change-Id: I0176d93b38788e28fa42baad293597f98eaa7a21 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167378 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-05-06makefile simplification: replace $(call gb_UnpackedTarball_get_dir,foo)Christian Lohmaier
…by a simple/static $(gb_UnpackedTarball_workdir)/foo see also 0c4c84a14b01c71c76a9c45a7f26aec4d64f3e4f Change-Id: I8e6aa55c85534c4446556548910c950ddbe7c6fc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167163 Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Tested-by: Jenkins
2024-05-03makefile simplification: replace $(call gb_CustomTarget_get_workdir,foo)Christian Lohmaier
…by a simple/static $(gb_CustomTarget_workdir)/foo The build system has a lot of overly complicated leftovers from when it was introduced and had not only deal with split repositories but also had to coexist with another buildsystem. Along with lots of copy'n'paste along the years the makefiles became hard to grasp for newcomers with all our calls and evals. As a first step to streamline that, the macros from TargetLocations that simply prefix a static path to the argument (and similar of the same kind) are a natural pick before simplifying the rules themselves/getting rid of a bunch of eval statements. Change-Id: Ia06dbbcd5d1994755a2ff05b84f72ccbc4e3cab5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167005 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2024-05-03tdf#49885 Updated CJK BreakIterator to use ICUJonathan Clark
Previously, the CJK BreakIterator used custom dictionaries for Chinese and Japanese. This change removes these custom dictionaries in favor of the upstream ICU implementation, which uses an externally-maintained frequency dictionary for these languages. This change also removes support code for dictionary-based break iterators, as it is no longer used. Change-Id: I55c4ce9c842d1751997309fd7446e0a6917915dc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166136 Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com> Tested-by: Jenkins Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-05-02i18npoool : use rtl::isAsciiDigit instead of local isnumberArnaud VERSINI
Change-Id: I1e9df1b048169767e649fc825f7a49dac16c040f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166969 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-05-01WaE: C6011 Dereferencing NULL pointer warningsCaolán McNamara
Change-Id: Ic2c2e227a50994298377485e9e807cd9142cc386 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166949 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-04-30Drop some uses of css::uno::Sequence::getConstArray ...Mike Kaganski
where it was obsoleted by commits 2484de6728bd11bb7949003d112f1ece2223c7a1 (Remove non-const Sequence::begin()/end() in internal code, 2021-10-15) and fb3c04bd1930eedacd406874e1a285d62bbf27d9 (Drop non-const Sequence::operator[] in internal code 2021-11-05). Change-Id: I4ccc647bb794515c8c11f8dfd9a26563f4aa094b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166819 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Jenkins
2024-04-29tdf#147021 : use std::size instead of SAL_N_ELEMENTS in generated code tooArnaud VERSINI
Change-Id: Ib11a703c0250b1f80b7e79fe24e3bda915e7198b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166385 Tested-by: Jenkins Reviewed-by: Arnaud Versini <arnaud.versini@pm.me>
2024-04-29i18npool : remove useless stdio include generationArnaud VERSINI
Change-Id: Ib37f2c7553de2045496a090cda7006257fcf5e20 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166386 Reviewed-by: Arnaud Versini <arnaud.versini@pm.me> Tested-by: Jenkins
2024-04-28Extended loplugin:ostr manual changesStephan Bergmann
I had done these a while ago, when I looked into extending loplugin:ostr to do more automatic rewriting, and these were places where I needed to do something manually, for one reason or another, because the automatic rewriting would not pick it up correctly. However, I got distracted, and a wholesale automatic rewrite would still run into cases where an _ostr/_ustr instance from a library's .rodata would still be referenced after the library has already been dlcose'd. So I never came around to finishing all that. But there appears to be renewed interest in (automatic) rewritings here now, so it probably makes sense if I share this part of my work anyway. Change-Id: I3da9d38398e4bca373cb0000a9d34b49a36ad58a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166792 Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de> Tested-by: Jenkins
2024-04-24Resolves: tdf#159829 DecimalSeparator '.' period, ThousandSeparator ',' commaEike Rathke
Follows https://unicode-org.atlassian.net/browse/CLDR-16247 https://unicode-org.atlassian.net/browse/CLDR-14707?focusedCommentId=161272 Change-Id: I7ad049dd06102b36ac8d7ff13f7604e5cbb10f9a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166602 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
2024-04-21i18npool : limit string comparison using an enum classArnaud VERSINI
Change-Id: Iec5327b6f0125b22a2a4ee8ccb789b5403a7fdb4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166070 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-04-20tdf#49885 Removed custom Thai BreakIteratorJonathan Clark
Previously, a custom BreakIterator was used for Thai grapheme clusters. This change deletes the custom BreakIterator, in favor of the ICU implementation. Change-Id: Icec94c73a5734c2059786dfbba085f487c488d7c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166156 Tested-by: Jenkins Reviewed-by: Eike Rathke <erack@redhat.com>
2024-04-17tdf#49885 Reviewed BreakIterator customizationsJonathan Clark
This change completes the review of BreakIterator rule customizations, and adds unit tests for relevant customizations. Change-Id: I06678fcccfc48d020aac64dd9f58ff36a763af30 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166017 Tested-by: Jenkins Reviewed-by: Eike Rathke <erack@redhat.com>
2024-04-14Correct {bg-BG} formats with group separatorEike Rathke
The leading # digit before the separator was omitted. This never worked as intended. Change-Id: Idf8a6cf246b8db4e6d5361bc1c5f66c1c0c057c5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166072 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
2024-04-12tdf#147021 Replace SAL_N_ELEMENTS with std::sizeAshwani5009
As part of the efforts in #145538 to replace the SAL_N_ELEMENTS() macro with std::size() and std::ssize(), this commit performs the necessary changes for a few files in the i18npool module. Change-Id: Ic64be31b74cd74faf17497a47d6a15158b85184c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166013 Tested-by: Jenkins Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2024-04-08i18npool : use OUString literalArnaud VERSINI
Change-Id: I202f09303fd385cfcaa468411d0fae8b1707cf88 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165884 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-04-03i18npool : use OUString literal for XInterface implementationArnaud VERSINI
Change-Id: I7843e1e873c9272c8ad3eb4cad0b2ea48cafeb7b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165638 Tested-by: Jenkins Reviewed-by: Arnaud Versini <arnaud.versini@pm.me>
2024-04-02tdf#146619 Drop unused 'using namespace' in: i18npool/Gabor Kelemen
Change-Id: I3c4ca1083f8ef4053d1b4202bf9617b9373312bf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165537 Tested-by: Jenkins Reviewed-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de>
2024-03-06Use less boost_headers in low level librariesGabor Kelemen
Most of these don't use boost themselves, nor do they need it transitively since the use of boost::optional was removed Change-Id: Ic9dee1c4e160b313ec5b91677b02ffdea6c5779d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164440 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
2024-02-23SAL_CALL is not necessary hereNoel Grandin
these are internal methods Change-Id: I023bd2434d72913cfc1818636cd8a7345c05d1fe Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163745 Tested-by: Noel Grandin <noel.grandin@collabora.co.uk> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-02-20SAL_CALL is not necessary hereNoel Grandin
these symbols are only used internally Change-Id: Ib4dff4c8724649608a3d328e47127cd2e1f1cc21 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163649 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-02-20fix Windows buildNoel Grandin
after commit 191e3f8d891c6d2b5e0f63823a1f9afb7d54418f Author: Noel Grandin <noelgrandin@gmail.com> Date: Mon Feb 19 15:48:38 2024 +0200 merge textconv_dict into i18npool The first build would work, but subsequent builds would fail. I'm not sure why this patch fixes it, but it does. Somehow the sed command was affecting other generated files? Change-Id: I1550709b6555c838c0371e31b5eb2c90f5065e10 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163648 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-02-19merge textconv_dict into i18npoolNoel Grandin
(*) it is a small library (*) this avoids more dynamic symbol lookup (*) this unblocks more --enable-mergedlibs optimisation Change-Id: Icb708828e9d711981ec4273351cd73343aa206d7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163596 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-02-19these symbols no longer need to be publicNoel Grandin
after commit de43ed10886ae041b3814f80ef0510f6ac18d515 Author: Noel Grandin <noel.grandin@collabora.co.uk> Date: Wed Feb 14 10:14:13 2024 +0200 merge index_data into i18npool Change-Id: Idae78d824861e382c590b625f9deae48d782ea88 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163601 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-02-15merge index_data into i18npoolNoel Grandin
(*) it is a small library (*) this avoids another dynamic symbol lookup (*) this unblocks more --enable-mergedlibs optimisation Change-Id: I9230230c3d72f4e9ce19408f4b5716452ccd4fad Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163364 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-02-14rename some of the collator function symbolsNoel Grandin
to prevent conflicts when I merge some of these libraries Change-Id: Iaa09924dc5b88ecd6d381e9529a8862a5b539a69 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163359 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-02-12merge collator_data library into i18npoolNoel Grandin
they are both small libraries and this is one less library to dynamically link in at startup time Change-Id: I1b36ba1b11b9d69deea3fe0d91b512328d0a42a9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163165 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-02-09use more SAL_MODULENAME macroNoel Grandin
which simplifies the call sites Change-Id: Ic884ee8568c9f1346ff49fd3e0dc951ed5cc4cae Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163160 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-01-14ofz#65619 fuzzing needs com.sun.star.i18n.Transliteration.IGNORE_CASE tooCaolán McNamara
Change-Id: Ic084abb703795a8463e85271cb34347323b07863 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162028 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-01-02Japanese word for 'reiwa' added to ja.dicTaichi Haradaguchi
Change-Id: I80743231e22f0507ba5569d325e1f86920658a2b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159967 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2023-12-09{bn-IN}{hi-IN} MM-DD-YY DATE_TIME is very likely wrong, all other are DD-MM-YYEike Rathke
Wrong since its initial commit. Change-Id: I75214226ef5e1e58798ca0eaf396bad590918ee5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160511 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
2023-12-04cid#1546422 COPY_INSTEAD_OF_MOVECaolán McNamara
and cid#1546416 COPY_INSTEAD_OF_MOVE cid#1546415 COPY_INSTEAD_OF_MOVE cid#1546391 COPY_INSTEAD_OF_MOVE cid#1546390 COPY_INSTEAD_OF_MOVE cid#1546317 COPY_INSTEAD_OF_MOVE cid#1546252 COPY_INSTEAD_OF_MOVE cid#1546251 COPY_INSTEAD_OF_MOVE cid#1546249 COPY_INSTEAD_OF_MOVE cid#1546243 COPY_INSTEAD_OF_MOVE cid#1546195 COPY_INSTEAD_OF_MOVE cid#1546193 COPY_INSTEAD_OF_MOVE cid#1546137 COPY_INSTEAD_OF_MOVE cid#1545738 COPY_INSTEAD_OF_MOVE cid#1545782 COPY_INSTEAD_OF_MOVE Change-Id: I10d5091aa72b682371764b8a18cc5062e272c031 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160285 Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com> Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-11-30Sync LC_OutLineNumberingLevel of zh-CN with en-US localeKevin Suo
The previous order makes the UI tooltip does not match with the numbering style shown, per tdf#148023. Also add a commonly used Chinese-specific outline numbering style. The other old styles with the Chapters and Sections etc are removed because they are useless. Change-Id: I585cd0e704af35125c7c38561f500e83f1a465dd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160081 Tested-by: Jenkins Reviewed-by: Kevin Suo <suokunlong@126.com>
2023-11-30tdf#152583 follow-up: Sync LC_NumberingLevel of zh-CN with en-US localeKevin Suo
The previous order makes the UI tooltip does not match with the numbering style shown, per tdf#148023. Also re-arrange the remaining Chinese-specific styles to make the most commonly used ones come first. Change-Id: I913180b1ca385e8a604b16b63ebfa130aca059c4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160080 Tested-by: Jenkins Reviewed-by: Kevin Suo <suokunlong@126.com>
2023-11-29tdf#152583: Add [1],[2],[3] numbering style for zh-CN localeKevin Suo
This adds the [1],[2],[3] style of numbering to the Simplified Chinese locale data. This will show up when one clicks the numbering toolbar icon. Change-Id: I8b54746b431384e682f4161a3e99211b4147bad1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160059 Tested-by: Jenkins Reviewed-by: Kevin Suo <suokunlong@126.com>
2023-11-23tdf#143148 use pragma once instead of include guardsAchintya Sharma
Change-Id: Icc27e0ebb8fe68d1171e7075e93e7ca74569c0b6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159860 Tested-by: Jenkins Reviewed-by: Taichi Haradaguchi <20001722@ymail.ne.jp>
2023-11-20Extended loplugin:ostr: i18npoolStephan Bergmann
Change-Id: Ia0a844bc6e3f27758c869f5e229097085288e8bf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159698 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-11-02add a fast path for the 1999-12-31 date in calendar conversionCaolán McNamara
seen in: https: //user-images.githubusercontent.com/833656/279971758-ef3d86b1-23ea-4e57-ad15-1f9b12df6bdd.svg Change-Id: I76f5e83860ea49e52099ece670e7c259fd89e666 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158830 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-11-02Localize <FollowPage> to CatalanJoan Montané
Change-Id: I088047a94f2bd7a7405cf42e9c0eca73cdb11c6b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155776 Tested-by: Jenkins Reviewed-by: Eike Rathke <erack@redhat.com>
2023-11-02Update pointers to yet again moved ICU site / CLDR pagesEike Rathke
Change-Id: Icf33b45a013393ac114e5a8866921bc8ce368189 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158778 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
2023-10-22Link Library_localedata_others against salTaichi Haradaguchi
<https://ci.libreoffice.org/job/lo_daily_tb_win/1557/> etc. recently started to fail with > localedata_af_NA.o : error LNK2001: unresolved external symbol __imp_rtl_uString_release > C:\cygwin\home\tdf\jenkins\daily_workspace\tb\build_master\instdir\program\localedata_others.dll : fatal error LNK1120: 1 unresolved externals > touch: failed to get attributes of 'C:/cygwin/home/tdf/jenkins/daily_workspace/tb/build_master/instdir/program/localedata_others.dll': No such file or directory > make[1]: *** [C:/cygwin/home/tdf/jenkins/daily_workspace/tb/src_master/i18npool/Library_localedata_others.mk:10: C:/cygwin/home/tdf/jenkins/daily_workspace/tb/build_master/instdir/program/localedata_others.dll] Error 96 Change-Id: Ie3765b76691d66ea7f0bbcace5e9eba3168b813b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158309 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-10-20Link Library_localedata_euro against salStephan Bergmann
<https://ci.libreoffice.org//job/lo_daily_tb_win/1555/> etc. recently started to fail with > localedata_an_ES.o : error LNK2001: unresolved external symbol __imp_rtl_uString_release > C:\cygwin\home\tdf\jenkins\daily_workspace\tb\build_master\instdir\program\localedata_euro.dll : fatal error LNK1120: 1 unresolved externals > touch: failed to get attributes of 'C:/cygwin/home/tdf/jenkins/daily_workspace/tb/build_master/instdir/program/localedata_euro.dll': No such file or directory > make[1]: *** [C:/cygwin/home/tdf/jenkins/daily_workspace/tb/src_master/i18npool/Library_localedata_euro.mk:10: C:/cygwin/home/tdf/jenkins/daily_workspace/tb/build_master/instdir/program/localedata_euro.dll] Error 96 Change-Id: I1440365f30bd876466de964f6bb313210e7a3928 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158227 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>