summaryrefslogtreecommitdiffstats
path: root/i18nlangtag
Commit message (Collapse)AuthorAgeFilesLines
* Fix tdf#103855 add language codes and names to language lists from extensionsMartin Hosken2016-11-173-1/+82
| | | | | | | | | | Rationale for changes to languagetag.hxx can be found in the bug tdf#103855. Change-Id: I7fa7c8a3f7b219ce08df69a3965f544ae156beab Reviewed-on: https://gerrit.libreoffice.org/30882 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* i18nlangtag: fix loplugin:cppunitassertequals warningsMiklos Vajna2016-10-071-227/+227
| | | | | | | Change-Id: I2f7134c8308b68c0a01c83d7f1427d18ec7b164a Reviewed-on: https://gerrit.libreoffice.org/29584 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
* loplugin:override: No more need for the "MSVC dtor override" workaroundStephan Bergmann2016-09-131-1/+1
| | | | | | | | | | | | | | | | | The issue of 362d4f0cd4e50111edfae9d30c90602c37ed65a2 "Explicitly mark overriding destructors as 'virtual'" appears to no longer be a problem with MSVC 2013. (The little change in the rewriting code of compilerplugins/clang/override.cxx was necessary to prevent an endless loop when adding "override" to OOO_DLLPUBLIC_CHARTTOOLS virtual ~CloseableLifeTimeManager(); in chart2/source/inc/LifeTime.hxx, getting stuck in the leading OOO_DLLPUBLIC_CHARTTOOLS macro. Can't remember what that isAtEndOfImmediateMacroExpansion thing was originally necessary for, anyway.) Change-Id: I534c634504d7216b9bb632c2775c04eaf27e927e
* name it Hungarian Rovas, tdf#97406 follow-upEike Rathke2016-08-292-3/+3
| | | | Change-Id: I62d5a503b199922b82e7cec3e0ef971bbbd43d09
* Resolves: tdf#95162 Hung is RTL/CTLEike Rathke2016-08-291-0/+2
| | | | Change-Id: If408305564b1fddbef371f32d2b91b6a1e44a2b0
* add Old Hungarian (Hungarian Rovas) [hu-Hung-HU] to language list, tdf#97406Eike Rathke2016-08-261-0/+1
| | | | Change-Id: I1804a08c69d496d6d1a7a8bb657b65fbfc24beb3
* Resolves: tdf#101540 add Silesian [szl-PL] to language listEike Rathke2016-08-161-0/+1
| | | | Change-Id: I7f73a6286d080a5ebf1b7a1bb834a06f51be6529
* improve passstuffbyref return analysisNoel Grandin2016-07-271-10/+10
| | | | | | | Change-Id: I4258bcc97273d8bb7a8c4879fac02a427f76e18c Reviewed-on: https://gerrit.libreoffice.org/27317 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* Fix some spelling errors in comments and stringsOtto Kekäläinen2016-07-041-1/+1
| | | | | | | Change-Id: Iecd6b5e13d6be14651f77d8e37f01117ba15a11e Reviewed-on: https://gerrit.libreoffice.org/26883 Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
* tdf#94698 cleanup Makefiles. Get rid of udkapi and offapiGleb Mishchenko2016-06-091-4/+1
| | | | | | | | | | | | | | | | | | | | This patch changes occurences in makefiles from $(eval $(call gb_CppunitTest_use_api,comphelper_test_config, \ udkapi \ offapi \ )) to $(eval $(call gb_CppunitTest_use_sdk_api,comphelper_test_config)) (corrected instead of abandon, jani) Change-Id: Ic96ec65d82d7452e288f05a8b6d576ef543b068e Reviewed-on: https://gerrit.libreoffice.org/23426 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
* Insert explicit "break" when falling through to empty next caseStephan Bergmann2016-05-101-0/+1
| | | | | | | ...which itself only contains a "break" (or nothing at all at the end of the "switch"), as otherwise Clang -Wimplicit-fallthrough would warn about these. Change-Id: I25c1cf2ca74dfeba7ca0385ca8f1c1bf30bbf91b
* add English (Mauritius) [en-MU] and French (Mauritius) [fr-MU], tdf#99372Eike Rathke2016-04-251-0/+2
| | | | Change-Id: I98a0bc42a7d7f5c0943c9861556392399b9d0313
* unit test 'C' locale shall map to 'en-US'Eike Rathke2016-04-211-0/+24
| | | | Change-Id: Id4772b087add703537b588c961283466436f10c1
* handle 'C' locale in simpleExtract()Eike Rathke2016-04-211-3/+25
| | | | | | | | | | | | | ... so liblangtag isn't called and we explicitly have it known from there on as well. Also, don't set mbInitializedLocale=true in the LanguageTag ctor with Locale anymore as we don't know there if a semantically correct Locale was passed (which technically the 'C' locale is not). Instead, set it centrally in LanguageTag::registerImpl() where conversion to maBcp47 string takes place. Change-Id: I71551bd4b59d896c0674286edee816e05081ecd4
* also exclude the "specific English" table from mapping to LanguageTagEike Rathke2016-04-211-8/+8
| | | | | | | ... otherwise entering a tag for such combination would result in a different locale instead of an on-the-fly assignment. Change-Id: I0c1b2005298cb39f98cf816d4765ce21a5cbc9bc
* explicitly map 'C' locale and other known definitions to LanguageTagEike Rathke2016-04-202-29/+57
| | | | | | | | | | | | | | | | | | Starting up a dbgutil build with LC_ALL=C gave i18nlangtag/source/languagetag/languagetag.cxx:1362: LanguageTagImpl::convertLocaleToLang: with bAllowOnTheFlyID invalid 'C' i18nlangtag/source/languagetag/languagetag.cxx:1533: LanguageTag::getLanguageFromLangtag: pLangT==NULL for 'C' i18nlangtag/source/languagetag/languagetag.cxx:1593: LanguageTag::getRegionFromLangtag: pRegionT==NULL for 'C' Nothing harmful in this case as the default fallback is 'en-US', but it also indicated that other known non-standard "locales" such as "sr-latin" or "german" were not resolved to the defined values. Likely such weird values are not in use anymore, but.. Change-Id: Ib3469354ceb236552540da5fd11d8f9e9c5ab1fd
* Resolves: tdf#73973 it's [crk-Latn-CA] and [crk-Cans-CA]Eike Rathke2016-04-142-2/+6
| | | | Change-Id: I0da8562fc378f873e208919999bfc85f30d26778
* loplugin:constantparam in i18nlangtagNoel Grandin2016-04-041-3/+3
| | | | | | | Change-Id: I3d7cbac7ca58f3de9771a1221196f851255f3fb9 Reviewed-on: https://gerrit.libreoffice.org/23802 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* tdf#97966 Drop 'static' keywordsWastack2016-04-011-1/+1
| | | | | | | | | Including no keywords from extern "C" blocks Change-Id: Id9dd5a53d6ea5134ebb473bd0463f8f42965a211 Reviewed-on: https://gerrit.libreoffice.org/23674 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* loplugin:unuseddefaultparams variousNoel Grandin2016-03-031-20/+6
| | | | | | | Change-Id: Ibf8489c957b307156689de4c7cb8440ddd4e4546 Reviewed-on: https://gerrit.libreoffice.org/22852 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* use consistent #define checks for the Windows platformNoel Grandin2016-02-171-1/+1
| | | | | | | | | | | | stage 2 of replacing usage of various checks for the windows platform with the compiler-defined '_WIN32' macro In this stage we focus on replacing usage of the WIN macro Change-Id: Ie8a4a63198a6de96bd158ecd707dadafb9c8ea84 Reviewed-on: https://gerrit.libreoffice.org/22393 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* Remove excess newlinesChris Sherlock2016-02-094-23/+0
| | | | | | | | | | | | | | | | | | | 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>
* tdf#97386 add Apatani [apt-IN] to language listEike Rathke2016-01-271-0/+1
| | | | Change-Id: I8da8a9d1367ee4ef66c75aa13e8e274139f6f2eb
* tdf#97315 add Basque [eu-ES] and map [eu] to [eu-ES]Eike Rathke2016-01-222-2/+3
| | | | Change-Id: I89641fa82f0d0129aeff0d86a10be26cdc721dfc
* tdf#96647 add Interlingue Occidental [ie] to language listEike Rathke2016-01-081-0/+2
| | | | Change-Id: I79f4581ee5d371f22f94043f1e5fa62a2ad430ff
* cppcheck: noExplicitConstructorCaolán McNamara2015-11-241-1/+1
| | | | Change-Id: I1934441858baeeb41a46f694dbcef2d846b308b7
* loplugin:nullptr (automatic rewrite)Stephan Bergmann2015-11-103-13/+13
| | | | Change-Id: Idb2987dc7641c5b07d8bb99546cf5e5402032476
* com::sun::star->css in i18nlangtagNoel Grandin2015-10-194-45/+45
| | | | | | | Change-Id: I8a153a4b3a1bdb8a298c3c76a6b51693c42a0688 Reviewed-on: https://gerrit.libreoffice.org/19444 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
* Pass ENABLE_LIBLANGTAG into code via config_liblangtag.hStephan Bergmann2015-10-144-15/+6
| | | | | | | ...so changes to ENABLE_LIBLANGTAG during configure cause proper recompilation of source code Change-Id: I282623c885b83e3bf7d94f6f364c5031c012f058
* Fix various warnings in --disable-liblangtag codeStephan Bergmann2015-10-142-8/+8
| | | | Change-Id: I4dbc7ead359fc4cae0ac9d5eb98523590dd8954e
* add English (Botswana) [en-BW] 0x9809 to language list, tdf#94207 preparationEike Rathke2015-09-141-0/+1
| | | | Change-Id: I6730352c830fdbbc293830f3567d61096e8d0b6f
* tdf#93468 add Arpitan (Switzerland) [frp-CH]Eike Rathke2015-08-251-0/+1
| | | | Change-Id: Icb96b45c936b974938c2dfae48960f727a1dc84d
* adapt mapping lines to current isolang.cxx entriesEike Rathke2015-08-231-6/+17
| | | | | | and some usage comments Change-Id: I264d6e1ed52046e58284a2090eff3e8911c87f6a
* new list of [MS-LCID] rev. 7.0 2015-06-30Eike Rathke2015-08-231-460/+462
| | | | | | See http://msdn.microsoft.com/library/cc233965.aspx Change-Id: I5b86a309049806c2c67fe185acc421bf20de89cd
* Russian Moldova ru-MD, mo-MD merged with ro-MDEike Rathke2015-08-231-1/+3
| | | | Change-Id: Id168238f85fcec6ead008e0757c584dfd4326883
* disentangle the Dzongkha mess a littleEike Rathke2015-08-223-3/+14
| | | | | | As per [MS-LCID] rev. 7.0 2015-06-30 Change-Id: If4980d2b1149d93b39e5b57f5741bbdfb5680516
* MS finally acknowledged CubaEike Rathke2015-08-212-1/+5
| | | | | | | | | | | As per http://download.microsoft.com/download/9/5/E/95EF66AF-9026-4BB0-A41D-A4F81802D92C/%5BMS-LCID%5D.pdf from https://msdn.microsoft.com/library/cc233965.aspx Release: June 30, 2015; Revision 7.0 So do the mapping from the now obsolete user defined LCID. Change-Id: I57cc5f4bb5d5b86d3c056123fdda9bb50b5b8968
* Resolves: tdf#93468 add Arpitan (France,Italy) [frp-FR] [frp-IT]Eike Rathke2015-08-211-0/+2
| | | | Change-Id: I3a50722f07f4dbaf89b4e8829dea7b41b829c038
* loplugin: defaultparamsNoel Grandin2015-08-112-6/+6
| | | | Change-Id: I5afe7f9f5caa1f5e55c6218bdb3771571ff0dafa
* idl,framework,forms: inline some use-once typedefsNoel Grandin2015-08-041-2/+1
| | | | Change-Id: Icb4908c274ec0778af7ed9fe2d935bf6723fedfb
* re-added accidentally removed LT_HAVE_INLINE defineNoel Grandin2015-08-031-0/+1
| | | | | | | | | | in my commit 0ea54aed15ee17a02c9dff861c16d06505f35741 "remove some unused defines" Change-Id: I2d8d9242eda9f39e1f932b2d9849fefb57b196eb Reviewed-on: https://gerrit.libreoffice.org/17496 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* remove some unused definesNoel Grandin2015-08-031-1/+0
| | | | Change-Id: I85a9a2bc12681e13fc482374165ff9bd6858dc93
* support en-GB-oxendict additionally to now deprecated en-GB-oedEike Rathke2015-07-103-5/+41
| | | | | | | | | Have them separated so when saving loaded documents the same tag is used to keep the generator happy. When to switch in UI language listbox? Or should we have both entries? Change-Id: If78600229c4b24f6ee598c25d5a8974fef410bb5
* tdf#90428 add Aranese [oc-ES] to language listEike Rathke2015-07-091-0/+1
| | | | Change-Id: Ieb66fd5d84afd666d66d47c936aa7ebdc7bcb1da
* fix langtag test with liblangtag 0.5.7David Tardon2015-07-081-1/+4
| | | | Change-Id: Ic8639daa5a32cf98fa17903424b00916cb6d8c6f
* Fix typosAndrea Gelmini2015-07-031-1/+1
| | | | | | | Change-Id: Ie2bbe020fc6e3a4a4f913208c245f395849bb9ee Reviewed-on: https://gerrit.libreoffice.org/16708 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* add English (Gambia) [en-GM] to language list, tdf#92442Eike Rathke2015-06-301-0/+1
| | | | Change-Id: Ifcc2d9c53660f8af92739bd674987acfc1d610d2
* Fix typosAndrea Gelmini2015-06-211-1/+1
| | | | | | | Change-Id: I2297bf392a405f02be2450f4624f1c9fc0b512ce Reviewed-on: https://gerrit.libreoffice.org/16373 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* tdf#91199 add Venetian [vec-IT] to language listEike Rathke2015-06-031-0/+1
| | | | Change-Id: Ide2837739a32142c39e933bda5761d620dcf2a35
* teardown is only called from ~LiblangtagDataRef, anywayStephan Bergmann2015-05-201-24/+12
| | | | | | ...so don't obscure that sad reality Change-Id: I0ddd572e55d66f6c23c776ca62885b6ba482bf5e