summaryrefslogtreecommitdiff
path: root/comphelper/inc
AgeCommit message (Collapse)AuthorFilesLines
2016-04-13tdf#94306 remove unused boost dependenciesJochen Nitschke1-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>
2016-02-02boost::hash->std::hashNoel Grandin1-1/+0
Change-Id: If4d1e4071995f07212fad958b0226d5824d168f8 Reviewed-on: https://gerrit.libreoffice.org/21989 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-01-31OSL_THIS_FUNC is a rip-off of BOOST_CURRENT_FUNCTION so we can use thatCaolán McNamara1-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>
2015-11-15Fast PCH generator and optimized PCH filesAshod Nakashian1-177/+118
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>
2015-11-09Cleanup two unused boost/bind includes in comphelper.Mario J. Rugiero1-1/+0
Change-Id: I8bfbbc82be3a91d7227ff76fc6eb570c1155dd4f Reviewed-on: https://gerrit.libreoffice.org/19844 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-14boost->stdCaolán McNamara1-1/+0
Change-Id: I3fd9e1599c5ad812879a58cf1dabbcd393105e1c Reviewed-on: https://gerrit.libreoffice.org/18564 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-07-20tdf#88206 replace cppu::WeakImplHelper* etc.Takeshi Abe1-4/+1
with the variadic variants, for comphelper. This also includes extra changes in other modules required accordingly. Change-Id: Id1537f46f1c90f760a0d8987a6dafa0e1da03b8f Reviewed-on: https://gerrit.libreoffice.org/16929 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-06-17Replace boost::scoped_array<T> with std::unique_ptr<T[]>Takeshi Abe1-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>
2015-02-16boost::noncopyable->'= delete'Caolán McNamara1-1/+0
Change-Id: If0f898a1e912fcd2095d8ba88b2b8046596e16ea
2015-02-05convert all remaining BOOST_STATIC_ASSERT to static_assertCaolán McNamara1-1/+0
and we can include a few less headers Change-Id: Id742849ff4c1c37a2b861aa3d6ab823f00ea87f8
2015-02-05Updated all precompiled headers.Ashod Nakashian1-3/+12
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>
2014-12-27boost::unordered_map -> c++11 std::unordered_mapCaolán McNamara1-1/+0
Change-Id: I28438000c2b0a8e6ce4f5640f861f572c0cb83c8
2014-08-30coverity#706466 Uncaught exceptionCaolán McNamara1-1/+0
and coverity#706463 Uncaught exception Change-Id: I77cb09054f00d86cd3e206e44ef4942ddf148a7f
2014-05-17move boost rng wrapper from sc to comphelperThomas Arnhold1-1/+2
so we can re-use it in other modules Change-Id: I6057b1e955f745019fd48f91a754279df0f2b948 Reviewed-on: https://gerrit.libreoffice.org/9348 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-05-11fix-includes.pl: comphelperThomas Arnhold1-37/+17
Change-Id: I0b4cd8320881b2b1f7984c86e58915217bcd0d5f
2014-05-09update_pch: add a bunch of pch filesThomas Arnhold2-0/+260
I had to fix some source files because of macro redefinitions and such stuff. Small modules like basic have a great win, too: make basic.clean && time make basic: with w/o pch pch accessibility 23s 1m59s basctl 30s 1m42s basic 56s 1m35s comphelper 23s 51s editeng 48s 2m04s forms 40s 1m40s unotools 19s 38s sd 3m37s 4m33s Change-Id: Id24cdcddbe2ff64820b42266325c25af1355558f Reviewed-on: https://gerrit.libreoffice.org/9293 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
2013-04-23execute move of global headersBjoern Michaelsen106-16803/+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 Meeks3-72/+12
2013-04-19Remove any remaining remnants of unused component_canUnload featureStephan Bergmann1-1/+1
Change-Id: I635fd006b5ba9f5fb0091748ee2ff9bc3c1a2d2a
2013-04-15fdo#60724 successfull -> successfulThomas Arnhold2-5/+5
Change-Id: I287bef5b7f2baf5aaaab47141267ae2cadfe2451
2013-04-15fdo#60724 correct spellingThomas Arnhold1-2/+2
Change-Id: Ieb653adbd0cb4371ec5db57e70bcc551872f647f
2013-04-15fdo#60724 correct spellingThomas Arnhold1-1/+1
Change-Id: I7318a9f4f3410edf4dbe67bf08f31682fcb4edc7
2013-04-07remove needless forward rtl::OUString declarationsLuboš Luňák2-2/+0
Change-Id: I97d91a758dd82d64768d75c1d2ddd279de5f6034
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák56-528/+528
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-05Replace `compareTo(...) == 0` with ==Ashish Banerjee1-3/+3
Proposed patch for the following issue: https://bugs.freedesktop.org/show_bug.cgi?id=62096 Change-Id: Ib83a9051ea12c53642f781e5427a6ca728049a7f Reviewed-on: https://gerrit.libreoffice.org/3198 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-03-28Drop redundant typedefStephan Bergmann1-3/+1
Change-Id: I13f1858babb1fb2b4120bcbf0e2e04a2a1f4bf88
2013-03-28ditched now unused comphelper::LocaleEike Rathke1-370/+0
Change-Id: Iddfce58d2cce01e777d51054f1a70c25ad06b15c
2013-03-27_USE_MATH_DEFINES is already taken care of by sal/config.hStephan Bergmann1-6/+2
Change-Id: Ib0dab05534c34eb407f3acee3b4a3638a36bdddc
2013-03-22sd::DocumentSettings: throwing UnknownPropertyException ...Michael Stahl1-5/+5
... for properties that are in the PropertySetInfo just because there's no document or shell is just plain wrong. Change-Id: I84f4f930f492753b20ba04ec4d41c905d674b9ba
2013-03-03binfilter: remove some tracesThomas Arnhold1-180/+0
Change-Id: I5b03dcb5d1f8c73c7a308e7ae209cc7872f18c61
2013-03-02fdo#39468 Translated German comments to EnglishGábor Nyers1-20/+17
Change-Id: If4f8e308cfae6a4ba64576c1b2844210e64085a0
2013-03-02Typo fix: informations -> information and a few other adjacent typos.Gregg King1-1/+1
FDO:60724 Change-Id: I73ad9f1c37cbbcf28d996ed73c75cf09553e499b Reviewed-on: https://gerrit.libreoffice.org/2479 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-02-28Fix typo "persistant" -> "persistant"Julien Nabet1-1/+1
Change-Id: I639afec2508d189c10a180fd8f824e634afbd14a Reviewed-on: https://gerrit.libreoffice.org/2347 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-02-22[Uu]sefull -> [Uu]sefulJulien Nabet4-6/+6
Change-Id: I5dad83789ff9b6815561208679a5e19821041e1f
2013-02-22s/the the/the/Tor Lillqvist1-1/+1
Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
2013-02-18add comphelper::string::indexOfAny()Michael Stahl1-0/+11
to replace String::SearchChar() Change-Id: If5476e94be1255247918584cf1923d408ad75064
2013-02-17spelling: otherwhise -> otherwiseIvan Timofeev2-6/+6
Change-Id: I2d89edbb2574b4e677c9a0682bc829d9476b54db
2013-02-16Move SyntaxHighlighter class from svtools to comphelperAndras Timar1-0/+165
We use this class in helpcompiler, and it is not desirable to compile svtools (thus half of LibreOffice) for a build tool in cross-compiling environment. Change-Id: I5e6bc3e576af41eb03c1420dd347c542306f69fa
2013-02-11fdo#46808, convert comphelper::OStorageHelper to XComponentContextNoel Grandin1-4/+1
And drop the optional parameter on CreatePackageEncryptionData because no-one is using it. Change-Id: Ia83ebfc099dd121273d2c39431d015b3bc0abd81
2013-02-09fix compile for change to boost 1.53.0 declaring smart pointer operator bool ↵Mark Wright1-1/+1
as explicity for C++11 compilers Change-Id: If2c3ad68b2ffea645a9f2035cd802553edc0ee79 Reviewed-on: https://gerrit.libreoffice.org/2064 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-02-04fdo#59426: Don't try to repair package during flat detection phase.Kohei Yoshida1-0/+2
Change-Id: I35968241a79db0aabe06e25c0efac2aa3d1c5b84
2013-01-31RTL_CONSTASCII_(U)STRINGPARAM removed in comphelperChr. Rossmanith4-48/+47
Change-Id: Ib068c06956bc9f04bb7c468375aacd2e6e9db77d
2013-01-25text::BaseFrameProperties: add FillStyle and FillGradient optional propertiesMiklos Vajna1-0/+2
Change-Id: I854cc5e4da2ce87ef4a7af6e9c0cf6f208714e4c
2013-01-15fdo#46808, Convert comphelper::MimeConfigurationHelper to XComponentContextNoel Grandin1-2/+3
Change-Id: I74b4f0c4a84f02b218102405eaba24cf47f654ce
2012-12-13fdo#46808, use service constructor for embed::FileSystemStorageFactoryNoel Grandin1-5/+5
Change-Id: Ic523e4b0a662a68a1a222b7697fcdae56d69903c
2012-12-10fdo#46808, use service constructor for embed::StorageFactoryNoel Grandin1-16/+16
Change-Id: I26cd1cf86118122f392f16801a646df753a7df26
2012-12-06mvoe rtl_(u)string_alloc to salLuboš Luňák1-45/+0
No point in hidding something useful like this in some helper lib. Change-Id: I7332d7f6bd428378cd19e7e95ad130771a541140
2012-12-03workaround for a strange mingw problem caused by fast string operator+Luboš Luňák1-1/+2
error: no matching function for call to ‘transform(const com::sun::star::beans::NamedValue*, const com::sun::star::beans::NamedValue*, com::sun::star::uno::Any*, <unresolved overloaded function type>)’ Change-Id: I7d38a7ee13497fd11b2cea340e2f800dd78f485f
2012-12-03comphelper::string::ConstAsciiString support for fast operator+Luboš Luňák1-0/+16
Although an ever better option seems to be replace this overblown const char[] wannabe with the real const char[] thing. Change-Id: Ibdf5e498585d9e2fb589a49800f7ceee1545fc30
2012-11-30c++ API: use css alias in generated headers, adds global css declThorsten Behrens3-21/+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