summaryrefslogtreecommitdiff
path: root/i18npool/inc
AgeCommit message (Collapse)Author
2015-08-18i18npool: tdf#88206 replace cppu::WeakImplHelper*Takeshi Abe
with the variadic variants. Change-Id: I0381de7fde198df74556355984bdaba2ecdedd4b Reviewed-on: https://gerrit.libreoffice.org/17768 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-08-03remove some unused definesNoel Grandin
Change-Id: I85a9a2bc12681e13fc482374165ff9bd6858dc93
2015-08-03new loplugin: refcountingNoel Grandin
This was a feature requested by mmeeks, as a result of tdf#92611. It validates that things that extend XInterface are not directly heap/stack-allocated, but have their lifecycle managed via css::uno::Reference or rtl::Reference. Change-Id: I28e3b8b236f6a4a56d0a6d6f26ad54e44b36e692 Reviewed-on: https://gerrit.libreoffice.org/16924 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-23inline a handful of use-once #definesNoel Grandin
Change-Id: Id2654555c4042f8c0bdbd6bab6507e705f08326b
2015-07-17formatting of public/private/protected section qualifiersNoel Grandin
make it consistent across the codebase, no space between keyword and the colon Change-Id: Idca61ddfc74ad2460fb05fe417499324b05e5de5 Reviewed-on: https://gerrit.libreoffice.org/17148 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-03Fix typosAndrea Gelmini
Change-Id: Ie2bbe020fc6e3a4a4f913208c245f395849bb9ee Reviewed-on: https://gerrit.libreoffice.org/16708 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-06-27coverity#1308466 Uncaught exceptionCaolán McNamara
Change-Id: I8b8c67ae0a6a14998852754ae938c137063b4851
2015-06-08loplugin:cstylecast: deal with remaining pointer castsStephan Bergmann
Change-Id: Ifdfb96f77ee23a2aaa7200ecee01f957050a6700
2015-04-15remove unnecessary use of void in function declarationsNoel Grandin
ie. void f(void); becomes void f(); I used the following command to make the changes: git grep -lP '\(\s*void\s*\)' -- *.cxx \ | xargs perl -pi -w -e 's/(\w+)\s*\(\s*void\s*\)/$1\(\)/g;' and ran it for both .cxx and .hxx files. Change-Id: I314a1b56e9c14d10726e32841736b0ad5eef8ddd
2015-04-09loplugin:staticmethodsNoel Grandin
Change-Id: Ie348778ea666c24e95e048386547f301083a0017
2015-04-07loplugin:staticmethodsNoel Grandin
Change-Id: Id3d6b50e07ea0850af18ab9bdadfffe0e4602aab
2015-01-26implement css::i18n::XCalendar4 and LocaleCalendar2 service, tdf#63230Eike Rathke
Implementation only, new local date/time routines not used yet from the outside in this step.
2015-01-08brute-force find-and-remove of unused #define constants.Noel Grandin
Change-Id: I7223530ae37297a76654cd00cc1fedb56dbe3adb
2014-10-15Remove unused BreakIterator_Unicode::wordRuleStephan Bergmann
Change-Id: I8cde0dfd7b760d8075f53b9de8a8d3a81a57dc27
2014-10-15More -Werror,-Wunused-private-fieldStephan Bergmann
...detected with a modified trunk Clang with > Index: lib/Sema/SemaDeclCXX.cpp > =================================================================== > --- lib/Sema/SemaDeclCXX.cpp (revision 219190) > +++ lib/Sema/SemaDeclCXX.cpp (working copy) > @@ -1917,9 +1917,10 @@ > const Type *T = FD.getType()->getBaseElementTypeUnsafe(); > // FIXME: Destruction of ObjC lifetime types has side-effects. > if (const CXXRecordDecl *RD = T->getAsCXXRecordDecl()) > - return !RD->isCompleteDefinition() || > - !RD->hasTrivialDefaultConstructor() || > - !RD->hasTrivialDestructor(); > + return !RD->hasAttr<WarnUnusedAttr>() && > + (!RD->isCompleteDefinition() || > + !RD->hasTrivialDefaultConstructor() || > + !RD->hasTrivialDestructor()); > return false; > } > > @@ -3517,9 +3518,11 @@ > bool addFieldInitializer(CXXCtorInitializer *Init) { > AllToInit.push_back(Init); > > +#if 0 > // Check whether this initializer makes the field "used". > if (Init->getInit()->HasSideEffects(S.Context)) > S.UnusedPrivateFields.remove(Init->getAnyMember()); > +#endif > > return false; > } to warn about members of SAL_WARN_UNUSED-annotated class types, and warn about initializations with side effects (cf. <http://lists.cs.uiuc.edu/pipermail/cfe-dev/2014-October/039602.html> "-Wunused-private-field distracted by side effects"). Change-Id: I3f3181c4eb8180ca28e1fa3dffc9dbe1002c6628
2014-09-30i18npool: std::auto_ptr -> std::unique_ptrStephan Bergmann
Change-Id: I084e8dfd026d59374d92d9b4cb45d63af2aea470
2014-09-11Prevent erroneous pick up of unrelated css::i18n::MapingStephan Bergmann
...from include/i18nutil/casefolding.hxx Change-Id: I892a83b8e40dadcffc1b59eaa18bee2b782131f1
2014-09-11Avoid name clash with generated C++ class corresponding to UNOIDL serviceStephan Bergmann
Change-Id: Id8201bc91c8e398b972b7294b8916d4ac76c787d
2014-09-11Avoid name clash with generated C++ class corresponding to UNOIDL serviceStephan Bergmann
Change-Id: Ie76cab45f5fd609457b11cb3b9732cba2da3b023
2014-09-11Avoid name clash with generated C++ class corresponding to UNOIDL serviceStephan Bergmann
Change-Id: I96582bf05787a30479d324ff8deb7cea758bb2c2
2014-09-10fdo#81272 Speed up break iteratorsMatthew J. Francis
Change-Id: I7a45a61465f71a1cc6f583b9ffc68157d19e51fa Reviewed-on: https://gerrit.libreoffice.org/11386 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-09-10Revert "fdo#81272 Speed up break iterators"Caolán McNamara
hmm, make CppunitTest_i18npool_test_breakiterator fails after all This reverts commit 693f72384e081429cddb29415276cc4d07b05645.
2014-09-10fdo#81272 Speed up break iteratorsMatthew J. Francis
Change-Id: Idcd7de83ff7e551b350db0bf80e2ac78baa67686 Reviewed-on: https://gerrit.libreoffice.org/11374 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-06-01Fix hungarian prefix for calendarsIsamu Mogi
Change-Id: I78b3c0a8d32610e86e09ab5ad6da6cc4e0395926 Reviewed-on: https://gerrit.libreoffice.org/9566 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-05-30fdo#68849: Add header guards to all include filesJens Carl
Added header guard to files in directories i18npool/, include/, and io/ Change-Id: I7ba5b5f0ffdf5dedb8fd40e8efa06936e7c23591 Reviewed-on: https://gerrit.libreoffice.org/9558 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-05-15Resolves fdo#70681: fixincludeguards.pl: all that's leftThomas Arnhold
Change-Id: I3e51a62710bb46c8255fd228d41d9300c90a1fb5 Reviewed-on: https://gerrit.libreoffice.org/9360 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-05-12Avoid expensive dlopen thrash for break iterators.Michael Meeks
Change-Id: I770c1b3e5164cb486b5a5c2b1259f713914a1bae
2014-04-23i18npool: sal_Bool->boolNoel Grandin
Change-Id: Id73ee64dbf8586743f0e436e004e663a65d4548f
2014-04-23Use our canonical header guard namingTor Lillqvist
Change-Id: I06c9c55f75dc13893e29ec6cc96726a60c34846c
2014-04-23Avoid cargo cult ritesTor Lillqvist
Change-Id: I39fee26048d5b4ddb03217309b7117bef9ec4cd8
2014-04-08fdo#77123: Add option ignore kashida to the searchFaisal M. Al-Otaibi
This patch will add new checkbox to ignore kashida in the search and replace dialog. Change-Id: I9e7179242751103b8418d922ade5b9145170ad15
2014-04-01Explicitly mark overriding destructors as "virtual"Stephan Bergmann
It appears that the C++ standard allows overriding destructors to be marked "override," but at least some MSVC versions complain about it, so at least make sure such destructors are explicitly marked "virtual." Change-Id: I0e1cafa7584fd16ebdce61f569eae2373a71b0a1
2014-03-26First batch of adding SAL_OVERRRIDE to overriding function declarationsStephan Bergmann
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-02-26cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26Remove visual noise from i18npoolAlexander Wilms
Change-Id: I1cd4254713ce9c1bc7c232414c24e926f1f8a653 Reviewed-on: https://gerrit.libreoffice.org/8269 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-11coverity#707927 Uninitialized pointer fieldCaolán McNamara
Change-Id: I5011c4dfea02c8fab8ca3ee08bbed7f31396e3ec
2014-02-11coverity#707925 Uninitialized pointer fieldCaolán McNamara
Change-Id: I0e1034a2ef064f9a3a05a0b8837efdff767ea715
2014-01-27i18npool: Ctor feature for css.i18n.CharacterClassification(_Unicode).Matúš Kukan
Change-Id: I5a0498a3871e2b90629af8ed6b725ff22f242fba
2013-12-18fdo#54938: Convert i18npool to use cppu::supportsServiceMarcos Paulo de Souza
Change-Id: I9acc496cd95c8362972fa0c41d35b77fc0715aba Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-12-17No need for implbase1.hxx to include XComponentContext.hppStephan Bergmann
...which it did unlike all the other implbaseN.hxx. Required lots of downstream clean-up, of course. Change-Id: Ib720e7a0a43410dcd7e6338b84a3973dfbb20866
2013-12-13cclass_Unicode failed to actually implement XServiceInfoStephan Bergmann
Change-Id: I823c112bca495eb8997f2dc098e712cd745759c5
2013-11-14i18npool, forms: remove warnings_guard_unicode*.hMichael Stahl
These horrible headers use "#pragma GCC system_header" and thereby prevent generated Makefile dependencies, which is what broke incremental builds after the ICU upgrade today. Change-Id: Ife983b3c4de86968da8a0187a1acb1bbb2b5c81f
2013-11-11Revert "Guard CharacterClassificationImpl with mutex."Kohei Yoshida
This reverts commit fc04b55f7f96a4f70f31c145dafd44c1d9276a41.
2013-11-11Guard CharacterClassificationImpl with mutex.Kohei Yoshida
They are accessed from multiple threads frequently. Change-Id: I3f9720ede076109efe0b7eaa4a05dd50f2e38102
2013-10-22Bin comments that claim to say why some header is includedTor Lillqvist
They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
2013-09-05renamed LocaleData to LocaleDataImpl to prevent confusionEike Rathke
... between com::sun::star::i18n::LocaleData of com/sun/star/i18n/LocaleData.hpp and i18npool/inc/localedata.hxx Change-Id: Id23f67c1e3a654fd4f2886029ee45fcc1f466879
2013-09-05added getFirstLocaleServiceName() and getFallbackLocaleServiceNames()Eike Rathke
Change-Id: I35d3c5baeb5501feacdfa146f5b7f4e4f1bba876
2013-08-09Mark as const/staticTakeshi Abe
Change-Id: I5d51d7e01913ac9917578f8c9789312af9be3638
2013-06-21Fix fdo#52204 add new feature ignore diacritics in search for CTLabdulmajeed ahmed
Change-Id: Ie9044a35003217545bacea214ef59047bff3b8b1
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák
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