summaryrefslogtreecommitdiffstats
path: root/linguistic
Commit message (Collapse)AuthorAgeFilesLines
* removed unnecessary double-step conversionEike Rathke2012-12-131-2/+1
| | | | Change-Id: Ib5f89c40c0afb0a4e887ae97fd66179c29f0b5d0
* Remove xml2cmp leftoversStephan Bergmann2012-12-121-69/+0
| | | | Change-Id: I7c0ba8b653b8e0534ae17bd879b93b75c6554893
* c++ API: use css alias in generated headers, adds global css declThorsten Behrens2012-11-301-3/+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
* fdo#37954, #i18737# accept capitalized lowercase custom wordsLászló Németh2012-11-262-3/+76
| | | | | | | | Change-Id: I3f8a7d1912952730151e2444f426aff8b2ba4c97 Reviewed-on: https://gerrit.libreoffice.org/1162 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com> Reviewed-by: Németh László <nemeth@numbertext.org>
* some more LocaleToLanguage() replacementEike Rathke2012-11-241-2/+2
| | | | Change-Id: Idde3595e92744a8bfc81a0c4714fde67e2220ea5
* get rid of CreateLocale() and relatedEike Rathke2012-11-2413-112/+62
| | | | Change-Id: Iba035ff20b149b3d85a8c0ea25430892c3e40e3f
* some i18n wrappers with LanguageTagEike Rathke2012-11-231-11/+9
| | | | Change-Id: I2ceaa3159e8669c2c569fa8559c1e061dcad399d
* obtain LanguageTag from SvtSysLocaleEike Rathke2012-11-211-1/+1
| | | | Change-Id: Iaee25f1d92349704eaae45e6582d31dfa718ddcb
* use LanguageTagEike Rathke2012-11-175-32/+31
| | | | Change-Id: I740e221ad16974c88b98c114850e663f25723b76
* fdo#46808, use service constructor for i18n::NumberFormatMapperNoel Grandin2012-11-151-1/+0
| | | | | | | Also create a utility constructor for LocaleDataWrapper, which simplifies many of the calling sites. Change-Id: Ic8510b51c4201fa17fc0620e18d3e258e43636ba
* fdo#46808, use service constructor for ucb::SimpleFileAccessNoel Grandin2012-11-153-8/+5
| | | | | | | | I upgraded the service to return XSimpleFileAccess3, since it already implemented that interface, and it's backwards compatible. Change-Id: I40001a46048bd21a23b6a2f58a95376f06fc634b
* fdo#46808, Deprecate configuration::ConfigurationProvider old-style serviceNoel Grandin2012-10-311-8/+4
| | | | | | | | | | | | | | | | | | | | | | | | | ...in favor of existing new-style configuration::theDefaultProvider singleton. Theoretically, ConfigurationProvider instances can be created with specific Locale and EnableAsync arguments, but this is hardly used in practice, and thus effectively all uses of the ConfigurationProvider service use the theDefaultProvider instance, anyway. theDefaultProvider is restricted to the XMultiServiceFactory interface, while ConfigurationProvider also makes available XComponent. However, dispose must not be called manually on theDefaultProvider singleton anyway, and calls to add-/removeEventListener are so few (and in dubious code that should better be cleaned up) that requiring an explicit queryInterface does not really hurt there. This commit originated as a patch by Noel Grandin to "Adapt configuration::ConfigurationProvider UNO service to new style [by creating] a merged XConfigurationProvider interface for this service to implement." It was then modified by Stephan Bergmann by deprecating ConfigurationProvider instead of adding XConfigurationProvider and by replacing calls to ConfigurationProvider::create with calls to theDefaultProvider::get. Change-Id: I9c16700afe0faff1ef6f20338a66bd7a9af990bd
* fdo#46808, Adapt linguistic2::LinguServiceManager UNO service to new styleNoel Grandin2012-10-303-10/+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
* Related fdo#46808: Fix pre-existing bug identified in previous commitStephan Bergmann2012-10-231-18/+12
| | | | | | | | | Assigning to dead xBreakIterator instead of m_xBreakIterator had been introduced with 9f2fde7ab5de20926bb25a6b298b4e5dffb66eb2 "#i103496#: split svtools; improve ConfitItems," and just fixing it does not cause any tests to start breaking for me. Change-Id: I9a26e8d3924bf15ae948c9c26b70f42f8f0d2f64
* fdo#46808, use service constructor for i18n::BreakIteratorNoel Grandin2012-10-231-5/+5
| | | | | | | | Note that I found a pre-existing bug in linguistic/source/gciterator.cxx but I was not able to fix it, because doing so appears to expose bugs elsewhere! Change-Id: I17fb9108d98a98d0ae13fe5a8e043d2db5b27a6a
* fdo#46808, Adapt xml::sax::XWriter UNO service to new styleNoel Grandin2012-10-221-15/+3
| | | | | | | | Create a merged XWriter interface for the service. The xml.sax.Writer service already existed, it just did not have an IDL file. Change-Id: I4e6d3f3c68f9282a55fc7aa19778f97632fd8ad5
* For me it throws uno::DeploymentException, not deployment::DeploymentExceptionTor Lillqvist2012-10-131-0/+2
| | | | Change-Id: I1104a2b4e551f80c748054f32a37540190076805
* mark lcl_ functions static or rename them if they are not local at allLuboš Luňák2012-10-122-2/+2
| | | | | | http://lists.freedesktop.org/archives/libreoffice/2012-October/039639.html Change-Id: I1a0e436051d48e7f6224d6f0fc602347df2d4df1
* restore saveEntriesCaolán McNamara2012-10-091-0/+1
| | | | | | ebf82e52c945f8c2a7c021b547064e5bbeadfe2f cut a little too deep Change-Id: I8213b4f3aca3e64dc2ba98d11ebb7d068dc14d90
* Kill use of macro LINGU_EXCEPTIONSMarcos Paulo de Souza2012-10-095-85/+6
| | | | | | | | | | | 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>
* re-base on ALv2 code. Includes:Michael Meeks2012-10-0844-972/+651
| | | | | | | | | | | | | | | | 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
* fdo#46808, Adapt xml::sax::XParser UNO service to new styleNoel Grandin2012-10-041-13/+2
| | | | | | | The xml.sax.Parser service already existed, it just did not have a new-style service to create it. Change-Id: I6f145a7504ff9e149c802f723991954a2801cbc9
* Use comphelper::getComponentContextStephan Bergmann2012-09-291-16/+8
| | | | | | ...and some further clean up. Change-Id: Id294c0f38fe0041646fc86cacbd2e19734c746a9
* gbuild: invert handling of standard system libraries:Michael Stahl2012-09-281-2/+0
| | | | | | | Always link in gb_STDLIBS, except when the library explicitly opts out with gb_LinkTarget_disable_standard_system_libs. Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
* gbuild: replace direct gb_STDLIBS use with ...Michael Stahl2012-09-281-1/+2
| | | | | | ... new gb_LinkTarget_add_standard_system_libs Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
* gbuild: split uwinapi out of gb_STDLIBSMichael Stahl2012-09-281-0/+1
| | | | Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
* replace remaining InterlockedCount() with inlined versionNorbert Thiebaud2012-09-251-3/+3
| | | | | | | Change-Id: Ifcfa48fc87f905a91470a5b0fd597b02f220784c Reviewed-on: https://gerrit.libreoffice.org/671 Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
* Improvement on previous commit, UCB clean upStephan Bergmann2012-09-143-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | * As UCB is only ever initialized with "Local"/"Office", remove this configuration vector completely. The "create" ctor creates an instance internally initialized with those "Local"/"Office" keys. Special (test) code can still instantiate an uninitialized one via plain createInstance. And for backwards compatilibity process startup still ensures to create an initialized instance early, in case there is still code out there (in extensions) that later calls plain createInstance and expects to get the already-initialized (single) instance. * XInitialization is an "implementation detail" of the UniversalContentBroker service, do not expose in XUniversalContentBroker. * ucbhelper/configurationkeys.hxx is no longer needed and is removed. * ucbhelper/contentbroker.hxx is an empty wrapper and is removed; however, that requires ucbhelper::Content constructors to take explicit XComponentContext arguments now. * The only remaining code in ucbhelper/source/client/contentbroker.cxx is Android-only InitUCBHelper. Is that relevant still? Change-Id: I3f7bddd0456bffbcd13590c66d9011915c760f28
* gbuild: register all jarsMichael Stahl2012-08-172-11/+11
| | | | Change-Id: I9f49970e5e06d1afd3fc066a20d1671c93e262fc
* -Werror,-Wunused-private-field (Clang towards 3.2)Stephan Bergmann2012-08-161-6/+3
| | | | Change-Id: I20d0bd3eeb7661b51193ba01042e15ef62629ed3
* android: linguistic should cope with a missing extension managerMichael Meeks2012-08-061-2/+6
|
* remove unnecessary includes of svl/svarray.hxxCaolán McNamara2012-07-301-1/+0
| | | | Change-Id: Ifec201efc4e97baf2d36d66c4ae6967eadd6134c
* Resolves: rhbz#836937 insanely slow with Zemberek installedCaolán McNamara2012-07-114-18/+358
| | | | | | | | | | | | | | | | | | | | | Zemberek is a java spellchecker extension. With it installed the collecting of spellchecker information on first activation of spellchecking is insanely slow as the cache of spellcheckers is thrown away on each iteration through each language known to LibreOffice. So... move the config updating stuff from editeng down to the linguistic layer. Let the linguistic layer keep its spellchecker cache and listen to the extension manager to know if an extension which might be a spellchecker one has been modified and only throw away the cache on that event or if (existing implementation) the config data for linguistics changes. The polling of changed linguistic data in SvxLinguConfigUpdate::IsNeedUpdateAll can be removed and leave it up to LngSvcMgr to load everything in its ctor and keep itself up to date with its config and extension listeners. Change-Id: I9c93d998928e2e7f5128c36771b3e450a8057cd6
* ditch String::CreateFromAsciiCaolán McNamara2012-07-034-21/+11
| | | | Change-Id: I2b482bd323ac510629c5ee31868010b7cd6ce691
* Remove unused definesThomas Arnhold2012-07-021-1/+0
| | | | | | Some of them were commented out for documentation purpose. Change-Id: I29a6b2cbe774b527f0c3a0be5675160817a7f3ce
* targetted improvement of UNO API includes / usageMichael Meeks2012-07-021-4/+1
|
* Remove unused definesThomas Arnhold2012-07-011-2/+0
| | | | Change-Id: I45e1618dcff920b63b7e21ba9e842eed684114d7
* .dxp files don't need executable bitsMichael Stahl2012-06-221-0/+0
| | | | Change-Id: I5fae2ec81b50203e9d6100f8c938fb3643ff651f
* .xml files don't need executable bitsMichael Stahl2012-06-221-0/+0
| | | | Change-Id: I399d086181a9f513cd95157e815551f0be9b9e95
* re-base on ALv2 code.Michael Meeks2012-06-215-118/+73
| | | | Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
* re-base on ALv2 code.Michael Meeks2012-06-212-49/+31
| | | | Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
* removed unused forward declarations of classTakeshi Abe2012-06-203-6/+0
| | | | Change-Id: Iee1b78242e210466375376da3e4dbbaec609cc03
* Remove superfluous empty lines on topThomas Arnhold2012-06-093-6/+0
| | | | | | More than two lines are removed for readability. Change-Id: Ibff6cf68d7c512e240a54065b54a225bb23a782b
* fdo#46808, Adapt UNO services to new style, Part 7, updating ::createNoel Grandin2012-06-063-14/+16
| | | | | | | Update calls to factories to use new SimpleFileAccess::create method Change-Id: Ie5b0696fe2228a9033b19969245a53c21a61aa14 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, added some tweaks.
* targeted string re-work (ii)Olivier Hallot2012-06-034-56/+48
| | | | | | Further simplification of d8e3eb234b729e9b3d9b8d81abd27f228fd06687 Change-Id: I2fa695e236cb6dc3be66fc57e7fae167cc368904
* targeted string re-workNorbert Thiebaud2012-06-024-14/+13
| | | | Change-Id: I6f5075e40d820c91b3fa8a359564da4a4d098032
* targetted SAL_N_ELEMENTS reversion.Michael Meeks2012-05-295-7/+7
| | | | Change-Id: I30be93ccaeb1f9fd17cbe9e3ed3165e094810b2e
* fdo#35270 - enable caching of grammar checker propertiesMichael Meeks2012-05-141-3/+2
| | | | | | Thanks to Daniel Naber for some great detective work Change-Id: I8318368971c3d34064ba2e59e757a2e5839d7d6b
* More visibility markup needed for Mac OS XTor Lillqvist2012-05-112-7/+7
| | | | Change-Id: Ie84224c381eca49e2d5fe544a4902845889f9771
* make gbuild the default assumption of build.plBjoern Michaelsen2012-04-291-1/+0
| | | | | | | | this removes dmake completely out of the build for migrated modules build.pl now assumes modules to be gbuild, unless there is a prj/dmake file Change-Id: I674a036b182ee13c5ec093e83cb3d38133112d3b