summaryrefslogtreecommitdiffstats
path: root/svl/inc
Commit message (Collapse)AuthorAgeFilesLines
* tdf#94306 remove unused boost dependenciesJochen Nitschke2016-04-131-1/+0
| | | | | | | | | | remove <boost/noncopyable.hpp> in pch and remove boost from makefile if it was the only boost entry. Change-Id: Icb945ae59c137571f4f63807601738eea5c3e831 Reviewed-on: https://gerrit.libreoffice.org/24061 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
* OSL_THIS_FUNC is a rip-off of BOOST_CURRENT_FUNCTION so we can use thatCaolán McNamara2016-01-311-1/+0
| | | | | | | | | | as a direct drop in I guess Change-Id: I3add63f1459f4e659019bd6db54da2f5431958ce Reviewed-on: https://gerrit.libreoffice.org/21941 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Fast PCH generator and optimized PCH filesAshod Nakashian2015-11-151-145/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ported update_pch.sh to Python with improved performance and features. The new script is invoked from the same update_pch.sh which calls it for each library in parallel, although it can be invoked directly. The ported script (update_pch) updates all PCH files in ~15 seconds where the old script took ~4500 seconds. In addition, the new script supports 3-tiered headers (system, module, and local) and is very flexible to support other improvement. It has a per-library optimal configuration settings that can be updated using another new scripts (update_pch_autotune.sh) which finds optimal per-PCH settings. PCH files have been generated using the new scripts which builds significantly faster (2-3x, depending on module and configuration) and the intermediate binaries are noticably smaller (by several GBs). The new script stamps each generated PCH file with the command that generated it to make it trivial for users to update them, and also adds the command to invoke another script (update_pch_bisect) that helps find missing headers or conflicting headers that may break the build after updating the PCH. Finally update_pch has built-in unit-tests for makefile parsing and other core functionality. Change-Id: Ib933b50e50374d7e2e7e3e95ba8799b0cc8a27fa Reviewed-on: https://gerrit.libreoffice.org/19965 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* svl: replace boost::ptr_vector with std::vectorMichael Stahl2015-10-301-1/+0
| | | | Change-Id: I7377f9e99b0567a942cdb36f6964ffedacce6a68
* svl: replace boost::ptr_map with std::mapMichael Stahl2015-10-301-2/+0
| | | | Change-Id: I87863482a5331b47e71b3e8c9de6e58347aacf24
* boost->stdCaolán McNamara2015-09-171-1/+0
| | | | Change-Id: Ifde84627578283bd057d7393eb7e5578ef5c029a
* svl: tdf#88206 replace cppu::WeakImplHelper*Takeshi Abe2015-09-071-1/+1
| | | | | | | | | with the variadic variants. Change-Id: I7aad512c4de034ed96b9a48e797e580e605d98a6 Reviewed-on: https://gerrit.libreoffice.org/18351 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* Replace boost::scoped_array<T> with std::unique_ptr<T[]>Takeshi Abe2015-06-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | This may reduce some degree of dependency on boost. Done by running a script like: git grep -l '#include *.boost/scoped_array.hpp.' \ | xargs sed -i -e 's@#include *.boost/scoped_array.hpp.@#include <memory>@' git grep -l '\(boost::\)\?scoped_array<\([^<>]*\)>' \ | xargs sed -i -e 's/\(boost::\)\?scoped_array<\([^<>]*\)>/std::unique_ptr<\2[]>/' ... and then killing duplicate or unnecessary includes, while changing manually m_xOutlineStylesCandidates in xmloff/source/text/txtimp.cxx, extensions/source/ole/unoconversionutilities.hxx, and extensions/source/ole/oleobjw.cxx. Change-Id: I3955ed3ad99b94499a7bd0e6e3a09078771f9bfd Reviewed-on: https://gerrit.libreoffice.org/16289 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Updated all precompiled headers.Ashod Nakashian2015-02-051-2/+9
| | | | | | | | Change-Id: I955c8ac4dbe002d23531df7eb10fb4444d6b5157 Reviewed-on: https://gerrit.libreoffice.org/14292 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* boost::unordered_map->std::unordered_mapCaolán McNamara2015-01-021-1/+1
| | | | | | you can get debug stl this way Change-Id: Ia70a3e7c7c452390e8bee34975d296c9318e4a19
* update_pchThomas Arnhold2014-08-131-0/+6
| | | | Change-Id: Ic1dae7aac2f4367b4196ba3128c0aea9be1fbbda
* update_pch: add svlThomas Arnhold2014-05-152-0/+191
| | | | | | | | | | | | | | | | 55s -> 28s How to find possible pch candidates: for i in `git grep -l 'gb_Library_set' -- '*.mk' | sort -u`; do if [ $(git grep 'precompiled_' $i | wc -l) == 0 ]; then echo missing: $(sed -n -e '/gb_Library_add_exception_objects/,/))/ p' $i | wc -l) files in $i else echo ok: $i fi done | sort -h -t' ' -k2 Change-Id: Ib9fe16c0afb6e6687881c987c3af7bf59b929fd4
* execute move of global headersBjoern Michaelsen2013-04-2388-12241/+0
| | | | | | | see https://gerrit.libreoffice.org/#/c/3367/ and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a
* Delete two pass-through include files and update the file that included them.Michael Dunphy2013-04-192-44/+0
| | | | | | | Change-Id: I6f02d312d1425dbb28b7cb7a2aa87a734054c4a7 Reviewed-on: https://gerrit.libreoffice.org/3474 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* fdo#60724 correct spellingThomas Arnhold2013-04-151-1/+1
| | | | Change-Id: I3d978cb657647b4a4e9709258c6a6a4ac1d339a9
* Resolves: #i120077# Memory leak fixed in ScXMLFontAutoStylePool_ImplArmin Le Grand2013-04-101-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | also checked and fixed memory leaks caused by not deleting SfxStyleSheetIterator instances. Found by: Chao Huang Patch by: Chao Huang Review by: alg (cherry picked from commit aee8221b3fbe64d8e88aa3a1b630214807cd86f0) Conflicts: sc/source/core/data/stlsheet.cxx sc/source/filter/xml/xmlfonte.cxx sfx2/source/doc/objcont.cxx svl/source/items/style.cxx sw/source/core/unocore/unostyle.cxx Resolves: #120077# ALG: Reverted r1354011, adapted all usages of SfxStyleSheetIterator and CreateIterator to use boost::shared_ptr (cherry picked from commit ec1819f218b94bed1556653e1b2b816a65da61ef) Conflicts: sc/source/core/data/stlsheet.cxx sc/source/filter/xml/xmlfonte.cxx sfx2/source/doc/objcont.cxx svl/inc/svl/style.hxx svl/source/items/style.cxx sw/source/core/unocore/unoframe.cxx sw/source/core/unocore/unostyle.cxx 26937d4d65562b14de0aea59a7b01cc4334f73c1 Change-Id: If99bf3ee399292ec269d68b36ee78ed63f033215
* remove needless forward rtl::OUString declarationsLuboš Luňák2013-04-072-5/+0
| | | | Change-Id: I97d91a758dd82d64768d75c1d2ddd279de5f6034
* mass removal of rtl:: prefixes for O(U)String*Luboš Luňák2013-04-0725-103/+103
| | | | | | | | 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
* new module i18nlangtagEike Rathke2013-04-056-7/+7
| | | | | | | | | | | 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
* Revert "Revert "reduce some uglyness""Thomas Arnhold2013-04-021-31/+18
| | | | | | | | | | | The header guard seems to solve the problem. This reverts commit df8c41cceeca27ae49e9fa6b5cd64c65c8feb218. Change-Id: I27869be9c70e79a366a547ce061e71a3743f87da Reviewed-on: https://gerrit.libreoffice.org/3171 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
* nranges: add lost header guardThomas Arnhold2013-04-021-0/+1
| | | | Change-Id: Ia1aea9dea8766b50a57e897bec9fb2557310168c
* ResMgr with LanguageTagEike Rathke2013-03-291-2/+2
| | | | Change-Id: Ie5ce9157a7ea59db7b0509fbaec61d07f8f9edf0
* style.hrc: translate commentsMichael Stahl2013-03-261-10/+10
| | | | Change-Id: I00766a327a99b6fd5eed8e0ba411f3f71f07e942
* fdo#61429: Stylist: save selection of "Hierarchical" entryMichael Stahl2013-03-261-0/+1
| | | | | | This is unfortunately rather ugly because that one is "very special". Change-Id: Ie2bc9ce2690fbc742b4510e453ca1ef310614256
* "atomar" is not a wordTor Lillqvist2013-03-231-1/+1
| | | | | | SCNR Change-Id: I3aaa8d9b37423d44fe11f161cc21c0a77b466353
* clarify logicEike Rathke2013-03-151-6/+5
| | | | Change-Id: Idc223daa6034b359ac62693ce8dfebed846d5789
* rename methods to something meaningfulEike Rathke2013-03-151-2/+3
| | | | Change-Id: I92f5b3cb637b7cc6152d118505b69e762047f78b
* i#119964 - Number displays different from MS with the same format codeWang Lei2013-03-151-0/+12
| | | | | | | | | Patch by: Zhang Lu Review by: Wang Lei Conflicts: svl/source/numbers/zformat.cxx Change-Id: Id1ce742dc829a7aa8056e3be50e315ea4499ecc6
* I'm pretty sure this was meant to be unsigned.Kohei Yoshida2013-03-141-1/+1
| | | | Change-Id: Id074e31542383f6a31181749d7d4a5219522d9e0
* Revert "reduce some uglyness"Thomas Arnhold2013-03-121-18/+32
| | | | | | MSVC doesn't like this. This reverts commit 84dc8e5b5504e5f54fba695d4338d022681d85cf.
* reduce some uglyness IIThomas Arnhold2013-03-111-34/+16
| | | | | | | | | | | | NUMTYPE is never defined outside this header. So this complexity can go. There is no need to deliver nranges.hxx as there is only itemset.cxx using it. NUMTYPE -> sal_uInt16 NUMTYPE_ARG -> int SfxNumRanges -> SfxUShortRanges Change-Id: I27027f9ec83ebf456bb545763954884d5de227b3
* reduce some uglynessThomas Arnhold2013-03-111-32/+18
| | | | | | | | | | As there are no other users of this files, those macros can be expanded: NUMTYPE -> sal_uInt16 SfxXRangeItem -> SfxRangeItem SfxXRangesItem -> SfxUShortRangesItem Change-Id: I35361e0622a8787d938fc6c6745c4169ad6d909f
* fdo#60691 add modelines to *.src and *.hrc filesBorim2013-03-085-0/+12
| | | | | | | | | use solenv/bin/add-modulelines script for the task and remove all UTF bom from *.src and *.hrc files svx/source/dialog/hdft.src Change-Id: I745d4f0fe9b05436a142a03f8512970f91c41bd4
* fdo#38838 Replaced some use of (Uni)String with OUString.Jean-Noël Rouvignac2013-03-071-4/+4
| | | | | | | | Change-Id: Iad623c9300919fbae34279268a5a720f978c6434 Reviewed-on: https://gerrit.libreoffice.org/2514 Reviewed-by: Joren De Cuyper <joren.libreoffice@telenet.be> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* remove unused and commented out codeThomas Arnhold2013-03-041-1/+0
| | | | | | This code gets never called. Change-Id: I59228cba1444b7b09f74eb5cf8da9b755c7c32f7
* fdo#38838, ::rtl::OUString, String to OUStringGergő Mocsi2013-02-221-5/+5
| | | | | | | | | | | | | | | I have cleared out String and ::rtl::OUString calls in module dbaccess/source/core/misc. It was mainly file dbaccess/source/core/misc/dnstypes.cxx , and it's usages. There are still some calls in dbaccess for this class(ODnsTypeCollection), that needs refactoring (eg. in file DbAdminImpl.cxx, method "String ODbDataSourceAdministrationHelper::getConnectionURL() const"). Remaining calls will be my next task (in module dbaccess). I also clear out deprecated macro RTL_CONSTASCII_USTRINGPARAM every time I find one. The class I've mentioned above (ODnsTypeCollector) is OK. Change-Id: Ia0f3bb8cc649d1ecf8decc093f8a1a20ee23c33c Reviewed-on: https://gerrit.libreoffice.org/2289 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
* SfxPoolItem: fix annoying -Werror=shadow the hard wayMichael Stahl2013-01-281-19/+19
| | | | | | ... by properly prefixing the members. Change-Id: Idfdb93b19bf9fdd5309fb55d4e7e56da81ee822a
* fdo#38838 Some removal/replacement of the String/UniString with OUStringJean-Noël Rouvignac2013-01-2817-25/+24
| | | | | | Changed SfxItemPool::GetPresentation( SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String &rText ) const; to use OUString. Change-Id: I656c1d321ff96f1f2e5b77f6adc103ef0a6fdf66
* fdo#46808, Convert SvNumberFormatter to use XComponentContextNoel Grandin2013-01-281-6/+6
| | | | Change-Id: If4e8312dae6bc5eb8bb7655cf250f06ab37b7e5c
* fdo#46808, Convert svl/lockfile code to XComponentContextNoel Grandin2013-01-283-10/+4
| | | | Change-Id: I380944aa5e16b160ac76f939a839c513d4fbf232
* do not second-guess which classes use a stylesheetDavid Tardon2013-01-222-1/+43
| | | | Change-Id: I76b23bcdca2e7394fd5ab67e8341f4cdb46f8a64
* callcatcher: remove unused rtf filter and associated methodsCaolán McNamara2012-12-101-4/+0
| | | | | | update and remove newly unused code, mostly original rtf filter Change-Id: I2dd302851ee6fad62d79fbc81cb8a61a861396db
* more explicit ctorsDavid Tardon2012-12-0411-20/+20
| | | | Change-Id: If91343890d9ed29ff2887e47c7c0a332baa5a8e1
* Styles & Formatting: added SFXSTYLEBIT_ALL_VISIBLE and show hidden stylesCédric Bosdonnat2012-11-301-6/+7
| | | | Change-Id: Ie74ec3c15ba270afd0a6864bd5824a5bc0e3ea8b
* Allow to hide styles in the "Styles & Formating" dialogCédric Bosdonnat2012-11-302-5/+10
| | | | | | | | | In its current state, the feature only hides the styles. Things to sort out are: + Add some automatic filter to show hidden styles + Make the visibility persist in the file format Change-Id: I5904f41bb567add7b6bf501c6c5297f9f149a915
* remove legacy String svl's Put*Entry family of function and convert usersNorbert Thiebaud2012-11-271-11/+0
| | | | Change-Id: Iebf4017ce4c2c48389716eac1bbf7f386ac7a296
* String=>OUString in svl's inettype and fall-outNorbert Thiebaud2012-11-271-30/+18
| | | | Change-Id: I7d64d117183738b86d1869ed629d73675de9c679
* String->OUString in svl urifilter and restrictedpathsNorbert Thiebaud2012-11-273-18/+15
| | | | Change-Id: If11b8752c3aa21554c3ee06de07d63639695e284
* String => OUString in svl numfmuno + clean-up legacy of GetPreviewStringNorbert Thiebaud2012-11-271-10/+1
| | | | Change-Id: I20f080b76b864208f0706bef9e87cb299f3845aa
* String => OUString conversion of svl's PasswordHelperNorbert Thiebaud2012-11-271-6/+4
| | | | Change-Id: I7e107c37c43a8c9d868b579a2c389de558594a77