summaryrefslogtreecommitdiffstats
path: root/lingucomponent/source
Commit message (Collapse)AuthorAgeFilesLines
* mass removal of rtl:: prefixes for O(U)String*Luboš Luňák2013-04-0710-61/+50
| | | | | | | | 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
* new module i18nlangtagEike Rathke2013-04-054-5/+5
| | | | | | | | | | | Moved portions from module i18npool, all of former i18nisolang1 library that now is i18nlangtag. Included are languagetag, isolang and mslangid. This i18nlangtag code is now even used by module comphelper, so disentangling i18npool and making this an own module was needed to not create circular module dependencies. Change-Id: Ib887c3d6dde667403fd22d382310ba5f1a9b0015
* -Wunused-macrosStephan Bergmann2013-03-271-5/+0
| | | | Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
* libexttextcat: mis-spell it again for old versionsMichael Stahl2013-03-251-1/+1
| | | | | | | Also, windows build cunningly uses an included version header that would be overwritten by configure. Change-Id: Id01b5dcd0f021a11d016571b6ee81e4fb8495020
* libexttextcat: fix the --with-system case too...Michael Stahl2013-03-252-0/+12
| | | | | | | | ... by introducing a version check that is so horribly ugly that it will hopefully be removed again as soon as a new upstream release with the rename is available. Change-Id: I8e0409ba7331dec7140d2a4a49720c804e90582f
* Missing _TEXTCAT_RESULT_SHORT -> TEXTCAT_RESULT_SHORT_STRStephan Bergmann2013-03-251-1/+1
| | | | | | | ...cf. d4244efeb171632f309c8cfcbea4fbe2a3de3193 "libexttextcat: fix spelling of TEXTCAT_RESULT_UNKOWN." Change-Id: I65e8327296450324205e937fa762b656afebe2dd
* libexttextcat: fix spelling of _TEXTCAT_RESULT_UNKOWNMichael Stahl2013-03-251-2/+2
| | | | | | and remove the _ prefix too while at it Change-Id: I30ee8cd5aead53abac19fdc372e1fe45b3cbf55f
* Fix spelling errors and typos: 'unkown' change to 'unknown'vincent2013-03-251-2/+2
| | | | | | | Change-Id: Ia3ff77d2b99c9ef6c4c9b510bb30f349592c0b94 Reviewed-on: https://gerrit.libreoffice.org/3030 Reviewed-by: Thorsten Behrens <tbehrens@suse.com> Tested-by: Thorsten Behrens <tbehrens@suse.com>
* fdo#60427, fdo#59337: spell words with ZWNJ/ZWJ, f-lig. (only 8-bit dic.)László Németh2013-02-081-3/+34
| | | | Change-Id: Ie8ac76373f4f4a456cdfb7f1a77ce640a5595d10
* do not use removed A2OU macroLuboš Luňák2013-01-301-2/+2
| | | | Change-Id: I1af159daed382e78f8c9933af10df9dba2010193
* Removed several useless macros: A2OU, A2S, C2U, C2S, OUSTR, OUSTRINGJean-Noël Rouvignac2013-01-3010-66/+60
| | | | | | | Change-Id: Ie859cb2dfdc7103c379fce56be88eef8fe390afd Reviewed-on: https://gerrit.libreoffice.org/1924 Tested-by: Luboš Luňák <l.lunak@suse.cz> Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
* Reduce scopeJulien Nabet2013-01-171-2/+1
| | | | Change-Id: I58a1f5d36939dd95648ea42b31331e757c65ee57
* resolved fdo#58503 restore awkward handling of empty locale for legacyEike Rathke2013-01-095-11/+11
| | | | | | | | | | | Partly reverts d7a5ec62e91ce3dc5b784815254218f16181f676 An empty locale was treated as LANGUAGE_NONE, effectively being interpreted as absence or undetermined or multiple or all depending on context. Restore this behavior as it was an undocumented feature of the API. Change-Id: If4b1641e776d10dea0d3037f7a62725c2b8d612c
* Fix SimpleGuesser::operator=' should return 'SimpleGuesser &Julien Nabet2012-12-292-4/+9
| | | | Change-Id: I29205bc8db7569cf123a52dd248a9165ebaef3a3
* fdo#57545 remove redundant capitalType functionsQuentin Pradet2012-12-214-82/+1
| | | | | | | | | | | capitalType functions from the hyphenator, thesaurus and spellchecker dispatcher have been replaced by a unique function in linguistic/misc.cxx. The capital type is now represented as an enum. Change-Id: I0c2768b06f995cf34c105de117c7bab138c727a9 Reviewed-on: https://gerrit.libreoffice.org/1460 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
* do not trigger liblangtag init during startupEike Rathke2012-12-111-13/+8
| | | | | | | Initializing the liblangtag database stuff takes much percentage of startup time, avoid that. Change-Id: Ieb12ff71c2b1421a5644acebaef4c8366694c249
* c++ API: use css alias in generated headers, adds global css declThorsten Behrens2012-11-301-2/+0
| | | | | | | | | | | | This changes all generated API headers (.hpp and .hdl) to use a namespace alias 'css' instead of the pointlessly long com::sun::star Makes the change in cppumaker & associated tools, adds a global namespace alias definition in sal/types.h, and removes a kiloton of local, now pointless-to-harmful versions of that alias from all over the code. Change-Id: Ice5a644a6b971a981f01dc0589d48f5add31cc0f
* some more LocaleToLanguage() replacementEike Rathke2012-11-241-2/+2
| | | | Change-Id: Idde3595e92744a8bfc81a0c4714fde67e2220ea5
* get rid of CreateLocale() and relatedEike Rathke2012-11-243-7/+7
| | | | Change-Id: Iba035ff20b149b3d85a8c0ea25430892c3e40e3f
* some i18n wrappers with LanguageTagEike Rathke2012-11-232-4/+6
| | | | Change-Id: I2ceaa3159e8669c2c569fa8559c1e061dcad399d
* use LanguageTagEike Rathke2012-11-174-17/+11
| | | | Change-Id: I800638b4e4493988c30470359a78850c4149500b
* fix typoDavid Tardon2012-11-103-3/+3
| | | | Change-Id: I4a2bc7307e40ddb8a9a039c1d1b738338dcc5122
* convert libexttextcat to gbuildPeter Foley2012-11-093-0/+16
| | | | Change-Id: I633892a6d611e6481e49f9bd2739d3886563a24a
* fdo#46808, Adapt linguistic2::LinguServiceManager UNO service to new styleNoel Grandin2012-10-301-11/+5
| | | | | | | Create a merged XLinguServiceManager2 interface for this service to implement. Which is backwards-compatible, but does not require creating a new service. Change-Id: I297bada1066cd74809108641b56ee4d5898112ec
* More useless code, "#if 0" blocks in lingucomponent, sal, and rscMarcos Paulo de Souza2012-10-175-55/+0
| | | | | Change-Id: I1dda0f2b3bc2bb4a4a877c160026e53a90471d54 Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
* Kill use of macro LINGU_EXCEPTIONSMarcos Paulo de Souza2012-10-092-16/+0
| | | | | | | | | | | This macro is not defined, so we can kill all code that have the "#ifdef LINGU_EXCEPTIONS". Just a cleanup, the rationale is the same. Change-Id: Ib6f784859210d5a59210af51766ef4d7b8d7ead6 Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/778 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* WaE: variable 'numusr' is uninitialized when used hereTor Lillqvist2012-10-081-2/+1
| | | | Change-Id: I6476df0460f0f1cebb4879f1c732af6a4c48b5f7
* re-base on ALv2 code. Includes:Michael Meeks2012-10-0824-598/+364
| | | | | | | | | | | | | | | | linecap: Reintegrating finished LineCap feature Patch contributed by Regina Henschel http://svn.apache.org/viewvc?view=revision&revision=1232507 disable extended linecap API for now. gnumake4 work primarily from Mathias Bauer http://svn.apache.org/viewvc?view=revision&revision=1394326 misc. dead code cleanups Patch contributed by Ariel Constenla-Haile http://svn.apache.org/viewvc?view=revision&revision=1204995 http://svn.apache.org/viewvc?view=revision&revision=1207270
* cppcheck: Unused variablejailletc362012-10-061-4/+4
| | | | | | | | | Defined the aDicLangInUse within the #ifdef block where it is used. Change-Id: I872cf178a803c3210898f7f317211a8d3a2d368e Reviewed-on: https://gerrit.libreoffice.org/782 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* sal_Bool->bool in lingucomponentNoel Grandin2012-10-048-14/+14
| | | | Change-Id: Ic3b55606faf60648d3a680b7a60c331047151ab5
* support system dicts named using bcp47 schemeCaolán McNamara2012-10-041-46/+57
| | | | | | but fallback to LANG_REGION on failure Change-Id: Ic31ba142209cdea1565adef2b592fd59111d9162
* Use prefixTor Lillqvist2012-10-022-2/+2
| | | | Change-Id: Iee586539871acee78a32d13141dd446feb43efdb
* 64-bit fixTor Lillqvist2012-09-271-1/+1
| | | | Change-Id: Ifa5b084da7f59f6e123bf49b49bf68725741e0ef
* prefix more componentsMatúš Kukan2012-08-258-8/+8
| | | | Change-Id: I9bf304a791b62f6b96711eb058f302cadfdb276a
* Cleanup memory managment and constructor in SpellCheckerArnaud Versini2012-07-221-18/+15
| | | | Change-Id: I086596bc54cada121f5eaaf8f4c0f12e836b3ac9
* ditch String::CreateFromAsciiCaolán McNamara2012-07-031-3/+3
| | | | Change-Id: I2b482bd323ac510629c5ee31868010b7cd6ce691
* Remove unused definesThomas Arnhold2012-07-021-12/+0
| | | | | | Some of them were commented out for documentation purpose. Change-Id: I29a6b2cbe774b527f0c3a0be5675160817a7f3ce
* re-base on ALv2 code.Michael Meeks2012-06-214-98/+62
| | | | Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
* Remove superfluous empty lines on topThomas Arnhold2012-06-094-9/+0
| | | | | | More than two lines are removed for readability. Change-Id: Ibff6cf68d7c512e240a54065b54a225bb23a782b
* this is supposed to just be the number of bytesCaolán McNamara2012-05-281-2/+1
| | | | Change-Id: Iecd376aba13f94c5c62fab2f3278c5f3efda20b4
* Code cleanup: ( () ) replaced by (())Alexander Bergmann2012-01-261-1/+1
|
* simplify LocalFileHelper::ConvertURLToPhysicalNameCaolán McNamara2012-01-101-4/+4
|
* simplify CharClassCaolán McNamara2012-01-092-9/+9
| | | | | | | multiple variants of toUpper (etc) some that take a non-const OUString or String and modify it some that take a const OUString or String and return a new one some that take part of a const OUString or String and return a new one
* Removed unnecessary tools/debug.hxx includes.Marcel Metz2012-01-061-1/+0
|
* Fix for fdo43460 Part XXII getLength() to isEmpty()Gustavo Buzzatti Pacheco2012-01-053-4/+4
| | | | | | Part XXII modules jvmfwk, l10ntools, lingucomponent
* lingucomponent: MacOSX: use gb_Library_add_objcxxobjectsMichael Stahl2011-12-162-0/+0
|
* convert lingucomponent to gbuildMatúš Kukan2011-12-139-568/+0
|
* GUI is also UNX for Mac, to check for Mac use either OS→MACOSX or ↵Christian Lohmaier2011-12-131-3/+3
| | | | GUIBASE→aqua
* Removed unnessecary tools/table.hxx includesMarcel Metz2011-12-064-5/+0
|
* fdo#41474: remove setCharAt and charAt from O[U]StringBufferAugust Sodora2011-12-011-6/+6
|