Commit graph

515 commits

Author SHA1 Message Date
David Tardon
7b003de403 move externals together
Change-Id: I8c28241fc836551360711b984f8785da5e43e0e8
2013-10-13 12:05:48 +02:00
Eike Rathke
d5f33e2db4 the dreaded hu_HU_u8.dic of myspell-hu needs exceptional handling
Change-Id: I2cef8d0dd306ce22552db0b5d8890c754be9e835
2013-10-11 23:00:44 +02:00
Matúš Kukan
386a382e62 lingucomponent: kill Package_config.mk
Change-Id: I5c97347cfaefb23cd985b7776a83337856e4d55c
2013-10-02 22:07:17 +02:00
Caolán McNamara
3ec4fedc6a CID#983035 fix potential memleak
Change-Id: If41d78ce424e85390c7a92eaa36f912c43eef390
2013-10-02 20:26:00 +01:00
Tor Lillqvist
19d7fd2c41 Sprinkle more boost_headers love
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-19 11:12:46 +03:00
Eike Rathke
91a1e61ec6 clearly it's enough to obtain the const array once
Change-Id: I6d9ffef6b052012d09ff54d2a457e1314e6239ee
2013-09-17 14:07:33 +02:00
Noel Grandin
75be8fd665 convert LINGUCOMPONENT module from String to OUString
Change-Id: I1a47545127885f92e9fcdbf855ca60fbbef1395d
2013-09-17 09:05:30 +02:00
Eike Rathke
b291852c2f get rid of unnecessary conversion, use LinguIsUnspecified(OUString)
Change-Id: Ib1074e3025680306c0a8bf7dcff651cefdcb90ba
2013-09-12 19:31:45 +02:00
Eike Rathke
2f6551b016 a set of LanguageType fallback converted to is utter nonsense here
Change-Id: I02881a2a7ab3178521388b76e2413b7e1cd6c443
2013-09-12 19:31:44 +02:00
Eike Rathke
22dc925e35 no need to count, just find
Change-Id: Ia4fa44c2382f6d1f5a6b3fed533f401bcb03be53
2013-09-12 19:31:44 +02:00
Eike Rathke
349b2c2de1 it's a set, so treat it as such
Change-Id: Ia156b27d944bf419a2e0bd45fa65efd4b7f89404
2013-09-12 19:31:44 +02:00
Eike Rathke
08e4d51f04 if valid accept whatever the dictionary's name might comprise
Change-Id: Ia6ea53f1a9e1c575606901e173bc952449135522
2013-09-12 18:44:22 +02:00
Eike Rathke
39c9c7420a was convertIsoStringToLanguage(), use convertToLanguageTypeWithFallback()
Change-Id: Ieea44614271c79beb7a9a3fce35acf921ccb478f
2013-09-03 20:35:42 +02:00
Takeshi Abe
12b1d1cda3 Mark as const
Change-Id: I9277052ee9c6197cef7a46bd8f3ab9c5515c2502
2013-08-12 09:23:52 +09:00
Eike Rathke
358d1a9948 use static LanguageTag::convertTo...() for standalone conversions
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-13 11:55:16 +02:00
Mark Wielaard
9e958cd987 Use a simpler fix for bad old libexttextcat constants.
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-06-10 05:02:52 +00:00
Tor Lillqvist
cb6d67c21f Spelling "separate" (etc) correctly is hard 2013-05-15 11:14:28 +03:00
Tor Lillqvist
d49a0b4304 One more XPropertySet -> XLinguProperties
Change-Id: I9ce34899181416f6c5e38289035af35ed5533616
2013-05-14 20:25:40 +03:00
Noel Grandin
708cab47c4 fdo#46808, propogate XLinguProperties through some more code
Change-Id: I89258875094e9731921fcafdc903278ca8f95aa8
2013-05-14 13:39:30 +02:00
Herbert Dürr
b4d9ed1434 small optimization, don't call objectAtIndex twice
(cherry picked from commit a88630fb326fa4dcbe28edd1c149c8e5e7b7f123)

Conflicts:
	lingucomponent/source/spellcheck/macosxspell/macspellimp.cxx

Change-Id: Ic48281be27bf43f8a564f46684ddb53a2d83d80e
2013-05-09 12:03:39 +01:00
Philipp Riemer
2ce25faffd fix typos (wich instead of which) 2013-05-06 20:07:23 +02:00
Michael Meeks
72e5d0c8fb Move to MPLv2 license headers, with ESC decision and author's permission. 2013-04-30 13:34:06 +01:00
David Tardon
1cc9bbfd57 gbuild: drop empty use_packages calls
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-24 05:18:15 +00:00
David Tardon
c042cd05e9 gbuild: drop uses of removed packages
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-24 05:18:03 +00:00
David Tardon
6c7659b584 move URE headers to include/
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-24 05:17:10 +00:00
Luboš Luňák
1946794ae0 mass removal of rtl:: prefixes for O(U)String*
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-07 14:23:11 +02:00
Eike Rathke
876c619b94 new module i18nlangtag
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-04-05 19:10:48 +02:00
David Tardon
580c639997 add missing dep on osl/thread.h
Change-Id: I4c33ed5a9ae5a29c2deb1a7f7d3ef1a11a44c539
2013-03-28 08:59:24 +01:00
Stephan Bergmann
aa753f01ba -Wunused-macros
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
2013-03-27 09:36:53 +01:00
Michael Stahl
221960b028 libexttextcat: mis-spell it again for old versions
Also, windows build cunningly uses an included version header that would
be overwritten by configure.

Change-Id: Id01b5dcd0f021a11d016571b6ee81e4fb8495020
2013-03-25 21:44:34 +01:00
Michael Stahl
a81f44c707 libexttextcat: fix the --with-system case too...
... 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-25 19:12:25 +01:00
Stephan Bergmann
e21114a928 Missing _TEXTCAT_RESULT_SHORT -> TEXTCAT_RESULT_SHORT_STR
...cf. d4244efeb1 "libexttextcat: fix spelling of
TEXTCAT_RESULT_UNKOWN."

Change-Id: I65e8327296450324205e937fa762b656afebe2dd
2013-03-25 18:20:23 +01:00
Michael Stahl
d4244efeb1 libexttextcat: fix spelling of _TEXTCAT_RESULT_UNKOWN
and remove the _ prefix too while at it

Change-Id: I30ee8cd5aead53abac19fdc372e1fe45b3cbf55f
2013-03-25 16:29:08 +01:00
vincent
002a0d91e4 Fix spelling errors and typos: 'unkown' change to 'unknown'
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-25 14:12:42 +00:00
Michael Meeks
79b0046ba0 remove legacy build.pl prj/build.lst files. 2013-03-14 17:05:51 +00:00
Michael Stahl
b768611724 remove all d.lst
Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
2013-02-28 18:40:06 +01:00
Michael Stahl
836bde622d cppuhelper: new ZipPackage_cppuhelper_odk_headers
Change-Id: I77d7ef6890ca584cf022059838c318a2811bcd5d
2013-02-27 01:33:19 +01:00
Michael Stahl
936d7badcb cppu: new ZipPackage_cppu_odk_headers
Change-Id: I4ceee0ed3438a18e13c186ebd8d390604d26ec28
2013-02-27 01:33:18 +01:00
László Németh
98029f1625 fdo#60427, fdo#59337: spell words with ZWNJ/ZWJ, f-lig. (only 8-bit dic.)
Change-Id: Ie8ac76373f4f4a456cdfb7f1a77ce640a5595d10
2013-02-08 08:29:33 +01:00
Luboš Luňák
a05f2eef8f do not use removed A2OU macro
Change-Id: I1af159daed382e78f8c9933af10df9dba2010193
2013-01-30 16:08:02 +01:00
Jean-Noël Rouvignac
97eb8a6e0e Removed several useless macros: A2OU, A2S, C2U, C2S, OUSTR, OUSTRING
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-30 12:54:40 +00:00
Tor Lillqvist
afbd5787b5 MacOSXSpell needs boost_headers
Change-Id: I4af00e2925df393523ad3d00bd3b95459ff77f9c
2013-01-27 12:19:17 +02:00
Michael Stahl
a53586f4ef gbuild: do not copy boost headers around
- 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-26 22:20:06 +01:00
Julien Nabet
6ad708912c Reduce scope
Change-Id: I58a1f5d36939dd95648ea42b31331e757c65ee57
2013-01-17 22:54:51 +01:00
Eike Rathke
241ccc2568 resolved fdo#58503 restore awkward handling of empty locale for legacy
Partly reverts d7a5ec62e9

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
2013-01-09 16:59:47 +01:00
Julien Nabet
cf068828d3 Fix SimpleGuesser::operator=' should return 'SimpleGuesser &
Change-Id: I29205bc8db7569cf123a52dd248a9165ebaef3a3
2012-12-29 13:37:25 +01:00
Quentin Pradet
4ef5ed9d21 fdo#57545 remove redundant capitalType functions
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-21 15:49:05 +00:00
Tor Lillqvist
12152d253e Replace GUIBASE checks with equivalent OS checks
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-18 20:52:24 -05:00
Eike Rathke
90874ab3c7 do not trigger liblangtag init during startup
Initializing the liblangtag database stuff takes much percentage of
startup time, avoid that.

Change-Id: Ieb12ff71c2b1421a5644acebaef4c8366694c249
2012-12-11 13:00:31 +01:00
Thorsten Behrens
66a175834c c++ API: use css alias in generated headers, adds global css decl
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-30 14:36:36 +01:00