summaryrefslogtreecommitdiffstats
path: root/lingucomponent
Commit message (Collapse)AuthorAgeFilesLines
* Sprinkle more boost_headers loveTor Lillqvist2013-09-191-0/+2
| | | | | | | | Fix compilation errors when not using system boost. Might be more. It's sad that one has to micro-manage boost use like this. Change-Id: I3541789530fbdb0fb03e2b355144e63f8b031097
* clearly it's enough to obtain the const array onceEike Rathke2013-09-171-1/+1
| | | | Change-Id: I6d9ffef6b052012d09ff54d2a457e1314e6239ee
* convert LINGUCOMPONENT module from String to OUStringNoel Grandin2013-09-172-3/+3
| | | | Change-Id: I1a47545127885f92e9fcdbf855ca60fbbef1395d
* get rid of unnecessary conversion, use LinguIsUnspecified(OUString)Eike Rathke2013-09-121-5/+1
| | | | Change-Id: Ib1074e3025680306c0a8bf7dcff651cefdcb90ba
* a set of LanguageType fallback converted to is utter nonsense hereEike Rathke2013-09-121-5/+6
| | | | Change-Id: I02881a2a7ab3178521388b76e2413b7e1cd6c443
* no need to count, just findEike Rathke2013-09-121-1/+1
| | | | Change-Id: Ia4fa44c2382f6d1f5a6b3fed533f401bcb03be53
* it's a set, so treat it as suchEike Rathke2013-09-121-4/+1
| | | | Change-Id: Ia156b27d944bf419a2e0bd45fa65efd4b7f89404
* if valid accept whatever the dictionary's name might compriseEike Rathke2013-09-121-3/+1
| | | | Change-Id: Ia6ea53f1a9e1c575606901e173bc952449135522
* was convertIsoStringToLanguage(), use convertToLanguageTypeWithFallback()Eike Rathke2013-09-031-2/+2
| | | | Change-Id: Ieea44614271c79beb7a9a3fce35acf921ccb478f
* Mark as constTakeshi Abe2013-08-121-1/+1
| | | | Change-Id: I9277052ee9c6197cef7a46bd8f3ab9c5515c2502
* use static LanguageTag::convertTo...() for standalone conversionsEike Rathke2013-07-134-6/+6
| | | | | | | | If no LanguageTag instance is at hand use the static methods to convert between BCP 47 string, Locale and MS-LangID instead of creating temporary instances. Change-Id: I9597f768078eb81c840e84a5db5617f26bb7dc09
* Use a simpler fix for bad old libexttextcat constants.Mark Wielaard2013-06-101-11/+9
| | | | | | | | | | Don't patch the upstream sources. Don't do version dependend checks. Just define the missing constants ourselves if they are missing. Change-Id: Ie0c56474e5ff20c092c99c1648cd15b97149041f Reviewed-on: https://gerrit.libreoffice.org/4200 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* Spelling "separate" (etc) correctly is hardTor Lillqvist2013-05-153-3/+3
|
* One more XPropertySet -> XLinguPropertiesTor Lillqvist2013-05-141-1/+1
| | | | Change-Id: I9ce34899181416f6c5e38289035af35ed5533616
* fdo#46808, propogate XLinguProperties through some more codeNoel Grandin2013-05-144-7/+7
| | | | Change-Id: I89258875094e9731921fcafdc903278ca8f95aa8
* small optimization, don't call objectAtIndex twiceHerbert Dürr2013-05-091-2/+3
| | | | | | | | | (cherry picked from commit a88630fb326fa4dcbe28edd1c149c8e5e7b7f123) Conflicts: lingucomponent/source/spellcheck/macosxspell/macspellimp.cxx Change-Id: Ic48281be27bf43f8a564f46684ddb53a2d83d80e
* fix typos (wich instead of which)Philipp Riemer2013-05-061-1/+1
|
* Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks2013-04-308-168/+32
|
* gbuild: drop empty use_packages callsDavid Tardon2013-04-241-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>
* gbuild: drop uses of removed packagesDavid Tardon2013-04-241-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>
* move URE headers to include/David Tardon2013-04-241-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>
* 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-059-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
* add missing dep on osl/thread.hDavid Tardon2013-03-281-0/+2
| | | | Change-Id: I4c33ed5a9ae5a29c2deb1a7f7d3ef1a11a44c539
* -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>
* remove legacy build.pl prj/build.lst files.Michael Meeks2013-03-141-2/+0
|
* remove all d.lstMichael Stahl2013-02-281-0/+0
| | | | Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
* cppuhelper: new ZipPackage_cppuhelper_odk_headersMichael Stahl2013-02-271-1/+1
| | | | Change-Id: I77d7ef6890ca584cf022059838c318a2811bcd5d
* cppu: new ZipPackage_cppu_odk_headersMichael Stahl2013-02-271-1/+1
| | | | Change-Id: I4ceee0ed3438a18e13c186ebd8d390604d26ec28
* 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>
* MacOSXSpell needs boost_headersTor Lillqvist2013-01-271-0/+1
| | | | Change-Id: I4af00e2925df393523ad3d00bd3b95459ff77f9c
* gbuild: do not copy boost headers aroundMichael Stahl2013-01-264-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
* 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>
* Replace GUIBASE checks with equivalent OS checksTor Lillqvist2012-12-181-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
* 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
* added i18nisolang1Eike Rathke2012-11-251-0/+1
| | | | Change-Id: Ib36d8c32c874cbdddc6ed3fe9ea6c7465ac334db
* 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