summaryrefslogtreecommitdiff
path: root/i18nutil
AgeCommit message (Collapse)AuthorFilesLines
2014-12-27coverity#984097 Uninitialized pointer fieldCaolán McNamara1-7/+8
Change-Id: I3098e446f0a2a4cd82785d7dcaf101575ed0b476
2014-12-19upgrade to icu 54Caolán McNamara1-0/+20
Change-Id: I4d32ac386ff8b69bee4319e673769917045d9450 Reviewed-on: https://gerrit.libreoffice.org/13547 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-12-18fdo#39440 reduce scope of local variablesMichael Weghorn2-13/+11
This addresses some cppcheck warnings. Change-Id: I7e85aca5a86f993a9906525edffbd44a179dc245 Reviewed-on: https://gerrit.libreoffice.org/13510 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-12-12i18nutil: Use appropriate OUString functions on string constantsStephan Bergmann1-14/+14
Change-Id: I09f6c1d793c6d4f61c25649cfb463a41d88b23df
2014-05-28Avoid undefined left shift of negative valueStephan Bergmann1-5/+8
Change-Id: If4e7f6fca3f6afbbeaa79e00706be08d674e2aeb
2014-05-15Resolves fdo#70681: fixincludeguards.pl: all that's leftThomas Arnhold3-6/+6
Change-Id: I3e51a62710bb46c8255fd228d41d9300c90a1fb5 Reviewed-on: https://gerrit.libreoffice.org/9360 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-02-18i18nutil: sal_Bool -> boolStephan Bergmann3-8/+8
Change-Id: Ic4a198d737692734ae3fbc096f370a3aa0667c5b
2014-01-22CLDR Version 24 doesn't know about es and sl using space before %Caolán McNamara1-1/+12
Change-Id: I1c3e7dc28e389a9580239165d04b171e06f5618e
2014-01-21use a narrow no-break space instead of (normal) no-break space for deCaolán McNamara1-1/+7
Change-Id: Iae0c70ab713a0d95fa7bc447f8a79e244c5a4258
2014-01-20Related: #i56998# use locale rules to format percentageCaolán McNamara1-1/+1
Change-Id: I2cdeefc5a5a1ee970ee3da5191ceae28b58340a1
2014-01-20Related: #i56998# provide a way to format % per-locale rulesCaolán McNamara2-0/+29
Change-Id: Ic27b230cc9dce366f281ff720ded5873e94f6191
2014-01-09Set PAPER_SCREEN_4_3 values back and use it as it wasZolnai Tamás1-1/+1
It breaks things. Change-Id: Ia28391aed27051e5f6a7e0996f30b23c46eb8269
2014-01-09Startcenter: use SCREEN_4_3 as default paper for presentationsZolnai Tamás1-1/+1
Remove static to able to construct items with different paper info. Fix SCREEN_4_3 width and height values and use it for presentations. Change-Id: Ifba44675f6126ebfccf26f53f226214bed92352c
2013-12-20typo fixesAndras Timar1-1/+1
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
2013-12-11Related: rhbz#1040291 Change language name from 'Oriya' to 'Odia'Caolán McNamara1-1/+1
Except for our external api where the Oriya is stuck (and similar for the vba implementation) Change-Id: I8288c930567385eea49a4c303727b13ef8b8a89f
2013-11-14-Werror,-Wshift-sign-overflowStephan Bergmann1-1/+1
Change-Id: I8a7974baab4e32aa7fc53c4220ec4cb79e7b3074
2013-11-11convert OUString !compareToAscii to equalsAsciiNoel Grandin1-14/+14
Convert code like if( ! aStr.compareToAscii("XXX") ) to if( aStr.equalsAscii("XXX") ) which is both clearer and faster. Change-Id: I267511bccab52f5225b291acbfa4e388b5a5302b
2013-10-21Exempler->ExemplarCaolán McNamara1-1/+1
Change-Id: Id7e67d7e7bd4be6600a296a846512e9076c9df23
2013-10-21i18nutil: Add new enumeration values from ICU 52Thomas Arnhold1-1/+9
WaE: enumeration values 'USCRIPT_CAUCASIAN_ALBANIAN' and 'USCRIPT_MAHAJANI' not handled in switch [-Wswitch] With ICU 4.9 there is no major/minor anymore, it's only ICU 49 or ICU 52. So adapt the previous check, too. Change-Id: Id938937b305165d407ced473ea1725e97efe9124 See: http://icu-project.org/apiref/icu4c-latest/uscript_8h.html Reviewed-on: https://gerrit.libreoffice.org/6365 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2013-09-07s/wiki.services.openoffice.org/wiki.openoffice.org/gAndras Timar2-3/+3
Change-Id: I059fbee385a109069c70f3869021c8e2ee48fee1
2013-08-11Mark as constTakeshi Abe3-10/+10
Change-Id: I220204cc5ebec15402ae175aef110abad8b00267
2013-08-09Mark as const/staticTakeshi Abe2-4/+4
Change-Id: I5d51d7e01913ac9917578f8c9789312af9be3638
2013-07-29Mark as constTakeshi Abe2-2/+2
Change-Id: Ib78b25641ae20a3eb23545649f08b963e34c74ff
2013-06-03Fix icu version checks.Mark Wielaard1-3/+3
commit 30c303 "Make charmap.cxx compile with icu >= 4.4." was incomplete and had wrong version checks. After ICU 4.8 (4.8.1.1) the next version of ICU was 49 (49.1) so U_ICU_VERSION_MAJOR_NUM contains two digets (49), earlier that it was just one digit (4). The correct header to include to do version checks is unicode/uversion.h. USCRIPT_MANDAEAN is the old alias of USCRIPT_MANDAIC (same numeric value). U_JG_FARSI_YEH is only available since ICU 4.4. Note that on older icu versions (4.2.1) the 200B (ZWSP) Zero Width Space breakiterator testcase fails (others succeed). Change-Id: If73c1402239a28546077437e9382f0bd38642bad Reviewed-on: https://gerrit.libreoffice.org/4139 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-05-07officecfg: remove Package_cppheaderMichael Stahl1-0/+4
Instead include generated headers directly from workdir. Change-Id: I9d2bcc07175d2bbc16d3cc548c2245e7a4fb0c65
2013-04-24gbuild: drop uses of removed packagesDavid Tardon1-2/+0
Change-Id: I400fad08c0ae7b6b34bad63693f54856867e4dac Reviewed-on: https://gerrit.libreoffice.org/3502 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-23execute move of global headersBjoern Michaelsen9-521/+0
see https://gerrit.libreoffice.org/#/c/3367/ and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák6-23/+22
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-03-27-Wunused-macrosStephan Bergmann1-22/+0
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
2013-03-14remove legacy build.pl prj/build.lst files.Michael Meeks1-2/+0
2013-02-28remove all d.lstMichael Stahl1-0/+0
Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
2013-02-23Remove unused preprocessor defined functions in the unicode utilsMartin Brown1-5/+0
Also remove corresponding unusedcode.easy entries and an unusedcode.easy entry that I could not find in the master branch Change-Id: If329fe1226bd40f86cc0fd8d912876bf7a7984b2
2013-02-19make it possible to build with system icu 4.2 (RHEL-6)Caolán McNamara1-9/+11
Change-Id: I69bf7bc33a619c4aa9483e2dc3d5540e4dfa7458
2013-01-26gbuild: do not copy boost headers aroundMichael Stahl1-1/+4
- do not use gb_UnpackedTarball_copy_header_files for boost - adapt the optimization in concat-deps.c for new path - use boost_headers in all LinkTargets that require it - add explicit include paths to mysqlc, mysqlcppconn, libvisio, liborcus Change-Id: I0c43e73ed43cc9d2e6bce8faf55e992d655a0bb9
2012-12-27convert icu to gbuild and add to tail_buildPeter Foley1-0/+2
Change-Id: Id7d8bc05b1393cc2bae4a531c8a47f62df24b1d6 Reviewed-on: https://gerrit.libreoffice.org/1488 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2012-12-06mvoe rtl_(u)string_alloc to salLuboš Luňák1-2/+2
No point in hidding something useful like this in some helper lib. Change-Id: I7332d7f6bd428378cd19e7e95ad130771a541140
2012-10-04sal_Bool->bool in i18nutilNoel Grandin2-3/+3
Change-Id: Iafb0095a1320ad785e1d0ccbaeac9f26cc4dd02f
2012-09-28gbuild: invert handling of standard system libraries:Michael Stahl1-2/+0
Always link in gb_STDLIBS, except when the library explicitly opts out with gb_LinkTarget_disable_standard_system_libs. Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
2012-09-28gbuild: replace direct gb_STDLIBS use with ...Michael Stahl1-1/+2
... new gb_LinkTarget_add_standard_system_libs Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
2012-09-28gbuild: split uwinapi out of gb_STDLIBSMichael Stahl1-0/+1
Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
2012-09-03these 9 scripts are in icu >= 4.8, but not in 4.6.1Caolán McNamara1-4/+9
Change-Id: I418968e0a8959730e5ef0c20769fd07ca1f8f23c
2012-09-03Add a way to get a sample language for a given scriptcodeCaolán McNamara2-0/+476
Change-Id: I3a0f561aa2838870c7fc35b2a976f133f3667104
2012-07-13re-base on ALv2 code. Includes:Michael Meeks15-306/+194
cws mba34issues01: #i117709#: make sure that parent of error message box is visible Patch contributed by Mathias Bauer http://svn.apache.org/viewvc?view=revision&revision=1172346 i#119036 - improve user experience of certification dialog - only shown once Patch contributed by Oliver-Rainer Wittmann http://svn.apache.org/viewvc?view=revision&revision=1299727
2012-07-06fdo#42986 - UI wide screen format (16:10): Add Page sizeRob Snelders2-3/+5
Change-Id: Ie769c9a65e85f91395b3495fadb6f5e688cbe9af
2012-07-02targetted improvement of UNO API includes / usageMichael Meeks1-4/+1
2012-06-21re-base on ALv2 code.Michael Meeks5-115/+70
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-15use new configmgr api and devomit visible codeCaolán McNamara2-53/+8
Change-Id: I386725e07c34336249dfc935b1e9f9624d1d3be8
2012-05-16reduce a gadzillion make_pairs executions to simple array of podCaolán McNamara1-14/+11
Change-Id: I38249d12d0c4e7a732b505cf90e1e8806c718229
2012-05-10Fix fdo#49720: Dropped unnecessary "sh -c" from popen callStephan Bergmann1-1/+1
Change-Id: I5de4ce4e26d995c447c99c8558f621dba6cdf110
2012-04-29make gbuild the default assumption of build.plBjoern Michaelsen1-1/+0
this removes dmake completely out of the build for migrated modules build.pl now assumes modules to be gbuild, unless there is a prj/dmake file Change-Id: I674a036b182ee13c5ec093e83cb3d38133112d3b