summaryrefslogtreecommitdiff
path: root/lingucomponent
AgeCommit message (Collapse)AuthorFilesLines
2013-05-09small optimization, don't call objectAtIndex twiceHerbert Dürr1-2/+3
(cherry picked from commit a88630fb326fa4dcbe28edd1c149c8e5e7b7f123) Conflicts: lingucomponent/source/spellcheck/macosxspell/macspellimp.cxx Change-Id: Ic48281be27bf43f8a564f46684ddb53a2d83d80e
2013-05-06fix typos (wich instead of which)Philipp Riemer1-1/+1
2013-04-30Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks8-168/+32
2013-04-24gbuild: drop empty use_packages callsDavid Tardon1-3/+0
Change-Id: I8e9f70eb5d929c98b4379416c2259a74e31d587f Reviewed-on: https://gerrit.libreoffice.org/3503 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-24gbuild: drop uses of removed packagesDavid Tardon1-5/+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-24move URE headers to include/David Tardon1-4/+0
Change-Id: Ib48a12e902f2311c295b2007f08f44dee28f431d Reviewed-on: https://gerrit.libreoffice.org/3499 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák10-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
2013-04-05new module i18nlangtagEike Rathke9-10/+10
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
2013-03-28add missing dep on osl/thread.hDavid Tardon1-0/+2
Change-Id: I4c33ed5a9ae5a29c2deb1a7f7d3ef1a11a44c539
2013-03-27-Wunused-macrosStephan Bergmann1-5/+0
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
2013-03-25libexttextcat: mis-spell it again for old versionsMichael Stahl1-1/+1
Also, windows build cunningly uses an included version header that would be overwritten by configure. Change-Id: Id01b5dcd0f021a11d016571b6ee81e4fb8495020
2013-03-25libexttextcat: fix the --with-system case too...Michael Stahl2-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
2013-03-25Missing _TEXTCAT_RESULT_SHORT -> TEXTCAT_RESULT_SHORT_STRStephan Bergmann1-1/+1
...cf. d4244efeb171632f309c8cfcbea4fbe2a3de3193 "libexttextcat: fix spelling of TEXTCAT_RESULT_UNKOWN." Change-Id: I65e8327296450324205e937fa762b656afebe2dd
2013-03-25libexttextcat: fix spelling of _TEXTCAT_RESULT_UNKOWNMichael Stahl1-2/+2
and remove the _ prefix too while at it Change-Id: I30ee8cd5aead53abac19fdc372e1fe45b3cbf55f
2013-03-25Fix spelling errors and typos: 'unkown' change to 'unknown'vincent1-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>
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-27cppuhelper: new ZipPackage_cppuhelper_odk_headersMichael Stahl1-1/+1
Change-Id: I77d7ef6890ca584cf022059838c318a2811bcd5d
2013-02-27cppu: new ZipPackage_cppu_odk_headersMichael Stahl1-1/+1
Change-Id: I4ceee0ed3438a18e13c186ebd8d390604d26ec28
2013-02-08fdo#60427, fdo#59337: spell words with ZWNJ/ZWJ, f-lig. (only 8-bit dic.)László Németh1-3/+34
Change-Id: Ie8ac76373f4f4a456cdfb7f1a77ce640a5595d10
2013-01-30do not use removed A2OU macroLuboš Luňák1-2/+2
Change-Id: I1af159daed382e78f8c9933af10df9dba2010193
2013-01-30Removed several useless macros: A2OU, A2S, C2U, C2S, OUSTR, OUSTRINGJean-Noël Rouvignac10-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>
2013-01-27MacOSXSpell needs boost_headersTor Lillqvist1-0/+1
Change-Id: I4af00e2925df393523ad3d00bd3b95459ff77f9c
2013-01-26gbuild: do not copy boost headers aroundMichael Stahl4-0/+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
2013-01-17Reduce scopeJulien Nabet1-2/+1
Change-Id: I58a1f5d36939dd95648ea42b31331e757c65ee57
2013-01-09resolved fdo#58503 restore awkward handling of empty locale for legacyEike Rathke5-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
2012-12-29Fix SimpleGuesser::operator=' should return 'SimpleGuesser &Julien Nabet2-4/+9
Change-Id: I29205bc8db7569cf123a52dd248a9165ebaef3a3
2012-12-21fdo#57545 remove redundant capitalType functionsQuentin Pradet4-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>
2012-12-18Replace GUIBASE checks with equivalent OS checksTor Lillqvist1-1/+1
The idea is to get rid of GUIBASE and GUI checks as much as possible. GUIBASE=aqua <=> OS=MACOSX GUIBASE=WIN <=> OS=WNT GUIBASE=cocoatouch <=> OS=IOS GUIBASE=android <=> OS=ANDROID Don't set GUIBASE to these values any more in configure.ac either. GUIBASE_FOR_BUILD is not used anywhere. Conflicts: configure.ac postprocess/packcomponents/makefile.mk postprocess/packregistry/makefile.mk Change-Id: Ie0526b40e1073f2328ba6c333e28752104b0fed3
2012-12-11do not trigger liblangtag init during startupEike Rathke1-13/+8
Initializing the liblangtag database stuff takes much percentage of startup time, avoid that. Change-Id: Ieb12ff71c2b1421a5644acebaef4c8366694c249
2012-11-30c++ API: use css alias in generated headers, adds global css declThorsten Behrens1-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
2012-11-25added i18nisolang1Eike Rathke1-0/+1
Change-Id: Ib36d8c32c874cbdddc6ed3fe9ea6c7465ac334db
2012-11-24some more LocaleToLanguage() replacementEike Rathke1-2/+2
Change-Id: Idde3595e92744a8bfc81a0c4714fde67e2220ea5
2012-11-24get rid of CreateLocale() and relatedEike Rathke3-7/+7
Change-Id: Iba035ff20b149b3d85a8c0ea25430892c3e40e3f
2012-11-23some i18n wrappers with LanguageTagEike Rathke2-4/+6
Change-Id: I2ceaa3159e8669c2c569fa8559c1e061dcad399d
2012-11-17use LanguageTagEike Rathke4-17/+11
Change-Id: I800638b4e4493988c30470359a78850c4149500b
2012-11-10fix typoDavid Tardon3-3/+3
Change-Id: I4a2bc7307e40ddb8a9a039c1d1b738338dcc5122
2012-11-09convert libexttextcat to gbuildPeter Foley3-0/+16
Change-Id: I633892a6d611e6481e49f9bd2739d3886563a24a
2012-11-03convert hyphen to gbuildPeter Foley1-4/+1
Change-Id: I55b3832128aa096eb44b67a26ec2afeb6c573604
2012-10-30fdo#46808, Adapt linguistic2::LinguServiceManager UNO service to new styleNoel Grandin1-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
2012-10-28fixup gbuildified mythesPeter Foley1-4/+1
Change-Id: I3a31c7c9ff66e2b6a13b22dce85854777b66355e
2012-10-17More useless code, "#if 0" blocks in lingucomponent, sal, and rscMarcos Paulo de Souza5-55/+0
Change-Id: I1dda0f2b3bc2bb4a4a877c160026e53a90471d54 Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
2012-10-09Kill use of macro LINGU_EXCEPTIONSMarcos Paulo de Souza2-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>
2012-10-08WaE: variable 'numusr' is uninitialized when used hereTor Lillqvist1-2/+1
Change-Id: I6476df0460f0f1cebb4879f1c732af6a4c48b5f7
2012-10-08re-base on ALv2 code. Includes:Michael Meeks28-601/+422
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
2012-10-06cppcheck: Unused variablejailletc361-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>
2012-10-04sal_Bool->bool in lingucomponentNoel Grandin8-14/+14
Change-Id: Ic3b55606faf60648d3a680b7a60c331047151ab5
2012-10-04support system dicts named using bcp47 schemeCaolán McNamara1-46/+57
but fallback to LANG_REGION on failure Change-Id: Ic31ba142209cdea1565adef2b592fd59111d9162
2012-10-02Use prefixTor Lillqvist2-2/+2
Change-Id: Iee586539871acee78a32d13141dd446feb43efdb
2012-10-01add missing deps on headers to static libsDavid Tardon1-0/+10
Change-Id: I7a28dfa13bf0f98a654eca98eb1cdfd99177f37a