summaryrefslogtreecommitdiff
path: root/lingucomponent
AgeCommit message (Collapse)AuthorFilesLines
2014-06-11WaE: 'guessesForWord:' is deprecated: first deprecated in OS X 10.6Tor Lillqvist1-1/+1
Change-Id: I861d4012c12096958c73c7008b0a9dfa6934fda2
2014-05-01fdo#48017 fix WIN32 long path name support of spelling dictionariesLászló Németh1-6/+7
+ try including windows.h for MultiByteToWideChar (cherry picked from commit 187765b8a45761e14d18da58463dbc0f5bd825e9) + error C2059: syntax error : ´)´ (cherry picked from commit 445d62565d662a7119a0c49e8e8de68ee244dc74) Change-Id: I1ccaae9dba4f82cd50531890e159519a765a0fff Reviewed-on: https://gerrit.libreoffice.org/9182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-12-09Revert "fdo#56443 allow different name for .dic and .aff files"Andras Timar2-26/+19
This reverts commit 37f7a6b6c529140c827a875be7ad483a08e16631.
2013-12-09fdo#56443 allow different name for .dic and .aff filesAndras Timar2-19/+26
For example, de_CH_frami.dic and de_AT_frami.dic use de_DE_frami.aff. Change-Id: I1d3770ad871b4714f7e595e1cd13f5fd7f224a1f
2013-11-14remove unnecessary sal_Unicode casts in various placesNoel Grandin2-2/+2
Change-Id: Ibf04062ca86ed866202d748c3b62a210d30ed6ec
2013-11-11convert OUString !compareToAscii to equalsAsciiNoel Grandin3-3/+3
Convert code like if( ! aStr.compareToAscii("XXX") ) to if( aStr.equalsAscii("XXX") ) which is both clearer and faster. Change-Id: I267511bccab52f5225b291acbfa4e388b5a5302b
2013-10-31Convert indexOf->startsWith and lastIndexOf->endsWithNoel Grandin1-1/+1
This is both an optimisation and a cleanup. This converts code like aStr.indexOf("XX") == 0 to aStr.startsWith("XX") and converts code like aStr.lastIndexOf("XXX") == aStr.getLength() - 3 to aStr.endsWith("XXX") Note that in general aStr.lastIndexOf("X") == aStr.getLength() - 1 converts to aStr.isEmpty() || aStr.endsWith("X") so I used the surrounding context to determine if aStr could be empty when modifying the code. Change-Id: I22cb8ca7c2a4d0288b001f72adb27fd63af87669
2013-10-25fdo#54938: More uses of cppu::supportsServiceMarcos Paulo de Souza5-72/+10
Change-Id: I90a7a07a43559b8d7e1d4b886b2624255200d46b Reviewed-on: https://gerrit.libreoffice.org/6406 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2013-10-23clean up some include guardsThomas Arnhold1-2/+2
Conflicts: sw/source/ui/inc/content.hxx Change-Id: I58d81881271fc6e3320bf3b5f1321594b28614a6 Reviewed-on: https://gerrit.libreoffice.org/6388 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-10-22Bin comments that claim to say why some header is includedTor Lillqvist13-22/+22
They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
2013-10-20String -> OUStringStephan Bergmann1-2/+1
Change-Id: Ied50819f226d1fa7fd7f6d004a796b5a08194a23
2013-10-20drop unnecessary tools/string includesCaolán McNamara2-2/+0
Change-Id: I4278999b9b7d184c26036bbe9e3b98420f461e8c
2013-10-13move externals togetherDavid Tardon1-5/+4
Change-Id: I8c28241fc836551360711b984f8785da5e43e0e8
2013-10-11the dreaded hu_HU_u8.dic of myspell-hu needs exceptional handlingEike Rathke1-0/+16
Change-Id: I2cef8d0dd306ce22552db0b5d8890c754be9e835
2013-10-02lingucomponent: kill Package_config.mkMatúš Kukan2-18/+0
Change-Id: I5c97347cfaefb23cd985b7776a83337856e4d55c
2013-10-02CID#983035 fix potential memleakCaolán McNamara1-1/+2
Change-Id: If41d78ce424e85390c7a92eaa36f912c43eef390
2013-09-19Sprinkle more boost_headers loveTor Lillqvist1-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
2013-09-17clearly it's enough to obtain the const array onceEike Rathke1-1/+1
Change-Id: I6d9ffef6b052012d09ff54d2a457e1314e6239ee
2013-09-17convert LINGUCOMPONENT module from String to OUStringNoel Grandin2-3/+3
Change-Id: I1a47545127885f92e9fcdbf855ca60fbbef1395d
2013-09-12get rid of unnecessary conversion, use LinguIsUnspecified(OUString)Eike Rathke1-5/+1
Change-Id: Ib1074e3025680306c0a8bf7dcff651cefdcb90ba
2013-09-12a set of LanguageType fallback converted to is utter nonsense hereEike Rathke1-5/+6
Change-Id: I02881a2a7ab3178521388b76e2413b7e1cd6c443
2013-09-12no need to count, just findEike Rathke1-1/+1
Change-Id: Ia4fa44c2382f6d1f5a6b3fed533f401bcb03be53
2013-09-12it's a set, so treat it as suchEike Rathke1-4/+1
Change-Id: Ia156b27d944bf419a2e0bd45fa65efd4b7f89404
2013-09-12if valid accept whatever the dictionary's name might compriseEike Rathke1-3/+1
Change-Id: Ia6ea53f1a9e1c575606901e173bc952449135522
2013-09-03was convertIsoStringToLanguage(), use convertToLanguageTypeWithFallback()Eike Rathke1-2/+2
Change-Id: Ieea44614271c79beb7a9a3fce35acf921ccb478f
2013-08-12Mark as constTakeshi Abe1-1/+1
Change-Id: I9277052ee9c6197cef7a46bd8f3ab9c5515c2502
2013-07-13use static LanguageTag::convertTo...() for standalone conversionsEike Rathke4-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
2013-06-10Use a simpler fix for bad old libexttextcat constants.Mark Wielaard1-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>
2013-05-15Spelling "separate" (etc) correctly is hardTor Lillqvist3-3/+3
2013-05-14One more XPropertySet -> XLinguPropertiesTor Lillqvist1-1/+1
Change-Id: I9ce34899181416f6c5e38289035af35ed5533616
2013-05-14fdo#46808, propogate XLinguProperties through some more codeNoel Grandin4-7/+7
Change-Id: I89258875094e9731921fcafdc903278ca8f95aa8
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