summaryrefslogtreecommitdiff
path: root/linguistic
AgeCommit message (Collapse)AuthorFilesLines
2013-10-22Bin comments that claim to say why some header is includedTor Lillqvist21-37/+37
They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
2013-10-21convert lcl_GetToken from xub_StrLen to sal_Int32Caolán McNamara1-6/+5
Change-Id: I72e98f1059280ed05b6cf77a6d69e522b4b8c075
2013-10-20drop unnecessary tools/string includesCaolán McNamara10-9/+1
Change-Id: I4278999b9b7d184c26036bbe9e3b98420f461e8c
2013-10-07fdo#54938: Adapt supportsService implementations to cppu::supportsServiceMarcos Paulo de Souza7-52/+14
Change-Id: I683c0d30c3286ed5d725d4eefe8b3977b82ee316 Reviewed-on: https://gerrit.libreoffice.org/6035 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2013-10-02-Werror,-Wunused-variableStephan Bergmann1-4/+0
Change-Id: I90ad58235c07b0336a9cee5981a57b9ad16312e7
2013-10-02Use std::auto_ptr::reset where applicableStephan Bergmann1-2/+2
(avoids warnings about std::auto_ptr ctor being deprecated) Change-Id: I39d2d155c0bc62ca77a30c02428ea39102213f42
2013-09-26typo fixes in commentsAndras Timar1-1/+1
Change-Id: Iaadec33715f8e0e0c6595c5e684606905274fdab
2013-09-13String to OUStringThomas Arnhold3-13/+8
This removes nearly all ToLowerAscii() calls. Conflicts: linguistic/source/convdic.cxx linguistic/source/convdiclist.cxx linguistic/source/dlistimp.cxx sc/source/filter/html/htmlexp.cxx Change-Id: Iddcaacfb7383e1df3d2f13751a3c788eba953fdd Reviewed-on: https://gerrit.libreoffice.org/5895 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2013-09-12get rid of unnecessary conversion, use LinguIsUnspecified(OUString)Eike Rathke1-0/+13
Change-Id: Ib1074e3025680306c0a8bf7dcff651cefdcb90ba
2013-09-11convert linguistic/source/*.cxx from String to OUStringNoel Grandin9-102/+102
Change-Id: I6f278d4b1a0eccf3757e1a7add6324402a09dfed
2013-09-11convert linguistic/source/convdic.hxx from String to OUStringNoel Grandin2-16/+16
Change-Id: Id4dc56902722ea139e06e727a7090b9b10e3b347
2013-09-11convert linguistic/source/dlistimp.hxx from String to OUStringNoel Grandin2-2/+2
Change-Id: I6928f59bba5e744957f2b2aae34d2d057c147985
2013-09-11convert linguistic/source/hhconvdic.hxx from String to OUStringNoel Grandin2-2/+2
Change-Id: I6ab2fd0d66410f8e10ec4228d7261358c1d0afe2
2013-09-11convert linguistic/source/lngsvcmgr.hxx from String to OUStringNoel Grandin2-6/+6
Change-Id: If9fd76687e1e361a6b29fe206edffd67a16cbb7f
2013-09-11convert include/linguistic/misc.hxx from String to OUStringNoel Grandin2-14/+14
Change-Id: I454c577d7b6c0994046de9cba076e6478a4ce309
2013-09-03was convertIsoStringToLanguage(), use convertToLanguageTypeWithFallback()Eike Rathke1-4/+4
Change-Id: I0202c11e46201e22e62d8edfb81924c3e9551353
2013-09-03was convertIsoStringToLanguage(), use convertToLanguageTypeWithFallback()Eike Rathke1-1/+1
Change-Id: I3bf7d28e18d25672159daec7c49081bb11afc044
2013-09-03was convertIsoStringToLanguage(), use convertToLanguageTypeWithFallback()Eike Rathke1-2/+2
Change-Id: I1795da53192e0c679a248ebd878a96e11ebbee80
2013-09-03was convertIsoStringToLanguage(), use convertToLanguageTypeWithFallback()Eike Rathke1-1/+1
Change-Id: I9031b64d420ca527c13c19c4f7f3e47ead98eb6b
2013-09-02fdo#68750: ensure that GetSuggestedEndOfSentence makes progressMichael Stahl1-1/+11
Checking a string of 17399 spaces takes 20 seconds here in GrammarCheckingIterator::GetSuggestedEndOfSentence() because BreakIterator_Unicode::endOfSentence() will always return 0 as a result regardless of what nStartPos it gets. Change-Id: Id02440a91d7015c2896e387854445ee5383092fa
2013-08-31fdo#62475 - remove visual noisePhilipp Riemer1-39/+1
This is a follow up commit to - 22d1beb78a475e4846af945afde1c4d6c263b5d6 - 1c7af455ab9345304a7ac48ce2e0310de2ac8a75 Change-Id: I102685391125f3b4f7bdf838f8bd17a2283d558d
2013-08-21finish deprecation of O(U)String::valueOf()Luboš Luňák3-13/+13
Compiler plugin to replace with matching number(), boolean() or OUString ctor, ran it, few manual tweaks, mark as really deprecated. Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
2013-08-20Re-work 8bit characters in source code, or remove them.Michael Meeks1-1/+1
Change-Id: I93e14d4936c0ffbe03425d4a54bb0e09bc62b3e3 Reviewed-on: https://gerrit.libreoffice.org/5550 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@suse.com> Tested-by: Michael Meeks <michael.meeks@suse.com>
2013-08-19Use standard idiomStephan Bergmann1-1/+1
Change-Id: Ida916e3019d72c9e9d1b5b117de2060f0227c310
2013-08-12Mark as constTakeshi Abe2-3/+3
Change-Id: I9277052ee9c6197cef7a46bd8f3ab9c5515c2502
2013-07-13use static LanguageTag::convertTo...() for standalone conversionsEike Rathke11-36/+36
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-07-05fdo#66420: fix user dictionaries on WindowsMichael Stahl1-1/+6
28300209604ee1bb8e5050322b29e95a07f679d8 added yet another silly temp file wrapper class, and introduced 2 bugs: the file descriptor is not closed before renaming it which fails with ERROR_SHARING_VIOLATION on Win32, and (as a consequence of that) another attempt to save the dictionary during shutdown fails because SimpleFileAccess cannot be created and this is not checked. Change-Id: I7bd3f5d349ed550440a93fe71e3791c9919de3af
2013-06-10fdo#63690 - replace RTL_CONTEXT_ macros with SAL_INFORadu Ioan1-32/+31
- replaced RTL_CONTEXT_ with SAL_INFO - replace OSL_* with SAL_* Change-Id: I9a7cce0d3abef42c9d9d0ad56609d94d504854cb Reviewed-on: https://gerrit.libreoffice.org/4128 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-06-03re-base on ALv2 code. Includes:Michael Meeks3-63/+36
Patches contributed by Mathias Bauer gnumake4 work variously http://svn.apache.org/viewvc?view=revision&revision=1394707 http://svn.apache.org/viewvc?view=revision&revision=1394326 http://svn.apache.org/viewvc?view=revision&revision=1397337 http://svn.apache.org/viewvc?view=revision&revision=1397315 http://svn.apache.org/viewvc?view=revision&revision=1396797 Patches contributed by Andre Fischer Fixed getcsym.awk to handle #-comments that contain special regexp chars. http://svn.apache.org/viewvc?view=revision&revision=1230971 118778: Added ADDITIONAL_REPOSITORIES environment variable and its automatic setup in configure. http://svn.apache.org/viewvc?view=revision&revision=1232004 118160: Added external CoinMP library. http://svn.apache.org/viewvc?view=revision&revision=1233909 Patches contributed by Herbert Duerr #i119168# use generic LICENSE file for langpacks and sdks http://svn.apache.org/viewvc?view=revision&revision=1310178 macosxotoolhelper: need to quote perl regexp if it may contain regexp metachars http://svn.apache.org/viewvc?view=revision&revision=1183367 allow gbuild with empty sysroot on linux http://svn.apache.org/viewvc?view=revision&revision=1179186 Patches contributed by Ingo Schmidt native373: #164472# improvements for msi database http://svn.apache.org/viewvc?view=revision&revision=1167540 http://svn.apache.org/viewvc?view=revision&revision=1167539 Patches contributed by Jurgen Schmidt adapt setup package scripts to handle special DS_Store file for developer snapshot builds http://svn.apache.org/viewvc?view=revision&revision=1232430 imported patch extensions_i117681.patch http://svn.apache.org/viewvc?view=revision&revision=1172102 Patches contributed by Michael Stahl gbuild: RepositoryFixes.mk should be optional http://svn.apache.org/viewvc?view=revision&revision=1166123 xslt filter: remove the FLA horror wordml import filter: replace FLA usage with plain XSLT http://svn.apache.org/viewvc?view=revision&revision=1363727 Patch contributed by Oliver-Rainer Wittmann i#88652: applied patch, remove unicows deps http://svn.apache.org/viewvc?view=revision&revision=1177585 Remove lots of OS2 conditionals, re-extract Rhino Java, unwind cppunit pieces, cleanup Mac image bits, remove coin-mp and re-package lpsolve, Oxygen & Crystal, fixup qstart bits, expand MPLv2 subset checking. Change-Id: Iad5c8a76399620b892671633c0d8c29996db3564
2013-05-22AppendAscii cleanupRicardo Montania1-2/+1
Change-Id: I7398272de0bd340ebfb5f31b314d32fcff007eec Reviewed-on: https://gerrit.libreoffice.org/3974 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-05-15String.AppendAscii DropRicardo Montania2-9/+6
Signed-off-by: Luboš Luňák <l.lunak@suse.cz> https://gerrit.libreoffice.org/#/c/3892/ Change-Id: I12175a81f0a74546b5e00633176f204b9a3fb35c
2013-05-15Spelling "separate" (etc) correctly is hardTor Lillqvist1-8/+8
2013-05-14fdo#46808, propogate XLinguProperties through some more codeNoel Grandin4-14/+14
Change-Id: I89258875094e9731921fcafdc903278ca8f95aa8
2013-05-14fdo#46808, Convert some XMultiServiceFactory to XComponentContextNoel Grandin7-438/+403
Change-Id: Ia66283321d4d18d929b2e3406ad420627f73a3fd
2013-05-14fdo#46808, Convert linguistic2::LingProperties to new styleNoel Grandin6-39/+122
API-CHANGE: Removed the following interfaces from the IDL because no-one was using them: interface com::sun::star::beans::XFastPropertySet; interface com::sun::star::lang::XComponent; But the service still implements them, so old code should keep on working. Change-Id: Iab058fb42bd1a54e0b9632e99e564fdc0869fe6e
2013-05-13fdo#46808, Convert util::PathSettings service to new styleNoel Grandin1-22/+19
Change-Id: I302be46b46518e1e872771e1c8a0647f7c330b30
2013-04-24gbuild: drop uses of removed packagesDavid Tardon1-2/+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-23execute move of global headersBjoern Michaelsen8-960/+0
see https://gerrit.libreoffice.org/#/c/3367/ and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a
2013-04-22Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks1-23/+4
2013-04-20fdo#63154: Change Min/Max/Abs for std::min/max/absMarcos Paulo de Souza2-2/+2
Now all these usages were removed from LO. Change-Id: I8a7233db20abdcdbb18428ad4004c78cc516a0e6 Reviewed-on: https://gerrit.libreoffice.org/3326 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-15add desktop libs to libmergedPeter Foley1-2/+2
Change-Id: I0e5477f84de316598015330cea995e42f1249acb
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák39-320/+300
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 Rathke14-16/+16
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-20fdo#46808, Convert linguistic2::ProofreadingIterator to new styleNoel Grandin3-7/+4
Change-Id: I1551f67ce503d58ea9b0e701219b26baadb25b78
2013-03-19fdo#39445 writing out tools/fsys.hxx (linguistic)Andras Timar8-8/+0
Change-Id: I5d0e5ebbec46c32998962398da14ac81bb8afea8
2013-03-19automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold1-1/+1
Done with a perl regex: s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec Reviewed-on: https://gerrit.libreoffice.org/2832 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-14remove legacy build.pl prj/build.lst files.Michael Meeks1-2/+0
2013-03-08simplify compareTo (now correct)Thomas Arnhold1-4/+4
Change-Id: Ia4fd2f54d0bda71d472f46949500c0b23ff8e1b7 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-03-08Revert "simplify some compareTo"Stephan Bergmann1-4/+4
This reverts commit 19020191cbf3e3c7a7bf98d0958d86d931ae687b, s1.compareTo(s2, length-of-s2) is *not* equivalent to s1 == s2
2013-03-08simplify some compareToThomas Arnhold1-4/+4
Change-Id: Ib63cfac8b5f129f31534020fd634750e846e3b98