summaryrefslogtreecommitdiff
path: root/cppcanvas/source/inc
AgeCommit message (Expand)Author
2015-03-04V813: Decreased performanceCaolán McNamara
2015-02-07loplugin:deletedspecialStephan Bergmann
2014-10-13create a macro library for implementing bit-flags typesNoel Grandin
2014-09-30fdo#82577: Handle PolyPolygonNoel Grandin
2014-09-18fdo#82577: Handle FontNoel Grandin
2014-08-21vcl: convert push flags to type-safe enum-like classNoel Grandin
2014-07-20vcl consitent use of long for corrdinateNorbert Thiebaud
2014-06-17improve the inlinesimplememberfunctions clang pluginNoel Grandin
2014-05-15Resolves fdo#70681: fixincludeguards.pl: all that's leftThomas Arnhold
2014-04-07cppcanvas: sal_Bool->boolNoel Grandin
2014-03-26First batch of adding SAL_OVERRRIDE to overriding function declarationsStephan Bergmann
2014-03-18Find places where OUString and OString are passed by value.Noel Grandin
2014-02-25Update little-to-big endian GetSwapFloat functionsDouglas Mencken
2014-02-12remove SvStream::operator>> methodsNoel Grandin
2014-02-04convert specialised SvStream::operator>> methods to ReadXXX methodsNoel Grandin
2013-12-06EMF+: Fill line cap object if EmfPlusCustomLineCapDataFillPath is set.Matúš Kukan
2013-11-27EMF+: Line thickness has to be considered when drawing the caps.Jan Holesovsky
2013-11-25EMF+: Render custom line cap data.Jan Holesovsky
2013-11-25EMF+: Small cleanup & more logging in preparation for line starts & ends.Jan Holesovsky
2013-09-17convert CPPCANVAS module from String to OUStringNoel Grandin
2013-08-30Revert some random work-in-progress that is most probably bitrottenFridrich Štrba
2013-06-12EMF+: aBaseTransform is a hardcoded identity matrix, don't bother with itFridrich Štrba
2013-06-12Pass also the bounding box in device units to the EMF+ partFridrich Štrba
2013-05-08Don't leak all of the EMF+ graphic objects.Thorsten Behrens
2013-03-22implemented BeginContainerNoParams and EndContainer recordsRadek Doulik
2013-03-19implemented EmfPlusRecordTypeSave and EmfPlusRecordTypeRestore recordsRadek Doulik
2013-03-15implemented EmfPlusRecordTypeDrawEllipse recordRadek Doulik
2013-03-04remove unused and commented out codeThomas Arnhold
2013-02-25workaround for emf+ files with broken dataSize of Image object recordRadek Doulik
2012-11-06re-base on ALv2 code. Includes (at least) relevant parts of:Michael Meeks
2012-07-19emf+: added implementation of DrawImage recordRadek Doulik
2012-06-23removed unused forward declarations of classTakeshi Abe
2012-06-21re-base on ALv2 code.Michael Meeks
2012-04-18implemented EmfPlusRecordTypeDrawString recordRadek Doulik
2012-04-04New try to sort out the overloaded virtual method weirdnessTor Lillqvist
2012-03-09cppcanvas: processEMFPlus: fix valgrind warning:Michael Stahl
2012-03-07workaround for buggy metafile imagesRadek Doulik
2012-02-17Removed unused code from cppcanvasSzabolcs Dezsi
2012-01-05make VectorOfOutDevStates a class and refactor this a littleCaolán McNamara
2011-12-21Revert "callcatcher: Remove unused code"August Sodora
2011-12-21callcatcher: Remove unused codeAugust Sodora
2011-03-14cleanupMichael Meeks
2011-03-12mis-merge: clean-up remaining tools typesNorbert Thiebaud
2011-03-11Merge commit 'ooo/DEV300_m101' into intm101Jan Holesovsky
2011-03-02Move DBG_ERROR to OSL_FAILThomas Arnhold
2011-01-10removetooltypes01: #i112600# remove tooltypes from cppcanvasMikhail Voytenko
2010-10-14Add vim/emacs modelines to all source filesSebastian Spaeth
2010-10-05more removed include guards using fixguard.pyPetr Mladek
2010-09-15emf+-multipart-objects.diff: emf+ import - support multipart objectsRadek Doulik
2010-09-15emf+-cppcanvas-renderer.diff: emf+ import - rendering implementationRadek Doulik
hke std::unary_function is deprecated since C++11 and removed in C++17 90% done with regexp magic. removed obsolete <functional> includes. The std::unary_function base class was used in 3 places: * chart2/source/tools/DataSeriesHelper.cxx: lcl_MatchesRole is used in a std::not1 function helper who uses the members return_type and argument_type. - replace deprecated std::not1 with a lambda * chart2/source/tools/ModifyListenerHelper.cxx: lcl_weakReferenceToSame used the argument_type member in the operator() parameter. - inline the parameter type. * xmloff/source/chart/SchXMLExport.cxx: lcl_SequenceToMapElement used result_type and argument_type in operator(). - inline the types Also fix compile error with gcc about finding std::for_each. Change-Id: I073673beb01410c3108e7d0346d9e7d6b9ad2e2f Reviewed-on: https://gerrit.libreoffice.org/39358 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com> 2017-06-15Missing includeStephan Bergmann Change-Id: I3345d989dc279f080d26c60888daa67154b3c0e9 2017-05-09cleanup osl/diagnose.h includesJochen Nitschke with command > git grep -l osl/diagnose.h *.cxx | xargs grep -L -w 'OSL_\w*' | xargs sed -i '/#include *\(<\|\"\)osl\/diagnose.h\(>\|\"\).*/d' headers need more work Change-Id: I906519ebbd47a04703b4fa5943b2f7abea7a97ab Reviewed-on: https://gerrit.libreoffice.org/37350 Tested-by: Jochen Nitschke <j.nitschke+logerrit@ok.de> Reviewed-by: Michael Stahl <mstahl@redhat.com> 2017-02-15Drop :: prefix from std in c*/Tor Lillqvist Change-Id: If078cda95fa6ccd37270a5e9d81cfa0b84e71155 Reviewed-on: https://gerrit.libreoffice.org/34324 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tor Lillqvist <tml@collabora.com> 2016-12-13OSL_TRACE->SAL in chart2..ooxNoel Grandin Change-Id: I133a6441824bfbefcfcda130119b5c5d706f86b2 Reviewed-on: https://gerrit.libreoffice.org/31907 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk> 2016-08-18coverity#1371448 Uninitialized pointer fieldCaolán McNamara Change-Id: Iedfa017dffa4681a9d698108b5dbc7388637c611 2016-07-29comphelper,vcl: let DeInitVCL() join some AsyncEventNotifier threadsMichael Stahl comphelper::AsyncEventNotifier is an amazing class that dispatches events in separate threads, no doubt implemented during times of exuberant optimism about the tractability of shared-state multi-threading. Unfortunately the authors forgot to think about how all those awesome threads will be joined, so if they are somehow blocked, then it may well happen that the events are dispatched when the main thread is already in DeInitVCL, and the objects required for the dispatching already smell somewhat funny. This happens quite reproducibly when changing dbaccess' ModelMethodGuard to lock the SolarMutex too, then CppunitTest_dbaccess_RowSetClones crashes in DeInitVCL() because one AsyncEventNotifier thread was blocked until then by SolarMutexGuard, and this test never Yields once its document is loaded. Try to fix this by joining the "DocumentEventNotifier" threads from DeInitVCL() itself. Since there's no rtl::WeakReference to go with rtl::Reference, refactor the AsyncEventNotifier and create a new AsyncEventNotifierAutoJoin that has to be used with std::shared_ptr and std::weak_ptr. Change-Id: I50a0749795acb04b0776e543f7125767b697ea35 Reviewed-on: https://gerrit.libreoffice.org/27581 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com> 2015-06-08cppcheck: noExplicitConstructorCaolán McNamara Change-Id: Ie2ae923ad4c1a66e779711de6ff05328ef144dac 2015-05-15tdf#62475: partial handmade fixesAndrea Gelmini Change-Id: Ib9af202c43b916b9af4b4e18db35d470a8692fe4 Reviewed-on: https://gerrit.libreoffice.org/15712 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> 2015-02-16boost::foo_ptr->std::foo_ptrCaolán McNamara Change-Id: I9219619b538b6530a89f5932ac51eb3b62eb396a 2015-01-15Really remove eventsJulien Nabet Change-Id: Ie73b7ead02434a0614287f61f0ffd49eeab32aba Reviewed-on: https://gerrit.libreoffice.org/13681 Tested-by: Michael Stahl <mstahl@redhat.com> Reviewed-by: Michael Stahl <mstahl@redhat.com> 2014-07-08use SimpleReferenceObject in comphelper moduleNoel Grandin to replace hand-rolled version Change-Id: Ie4e66d2f1f893c04be589877ef53f470ca74c9eb 2014-03-14Fix races in AsyncEventNotifier::executeStephan Bergmann * m_aDeadProcessors was useless; for one, removeEventsForProcessor could never have run (and set m_aDeadProcessors) between execute's reading from aEvents and checking m_aDeadProcessors (because of the use of aMutex in both functions), and if that were addressed, there would always be a race that execute would run a processor that has just been removed. Clients have to be aware that a call to removeEventsForProcessor is just an optimization hint, but does not guarantee that the given processor is not called from the execute thread after removeEventsForProcessor returns. * The sequence aGuard.clear(); aPendingActions.reset(); aPanedingActions.wait(); could cause calls to aPendingActions.set() to get lost, both for signalling new content in the queue and for signalling termination. Change-Id: I43293e3d5090c2d46db8bc8ed6fb9c71e049d55c 2014-02-27Remove visual noise from comphelperAlexander Wilms Change-Id: I7e5512b43240beee05404cff9d49a87d0217ea89 Reviewed-on: https://gerrit.libreoffice.org/8242 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> 2014-02-23Remove unneccessary commentsAlexander Wilms Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> 2013-03-04sal_Bool to boolTakeshi Abe Change-Id: I8c554fb3faead41c974af9c2a89728bd0bdf5eb6 2012-09-25replace remaining InterlockedCount() with inlined versionNorbert Thiebaud Change-Id: Ifcfa48fc87f905a91470a5b0fd597b02f220784c Reviewed-on: https://gerrit.libreoffice.org/671 Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> 2012-06-29re-base on ALv2 code.Michael Meeks 2012-02-23Adapted AsyncEventNotifier to safer-to-use salhelper::ThreadStephan Bergmann 2012-02-16Clean up AsyncEventNotifier interfaceStephan Bergmann 2011-11-27remove include of pch header in comphelperNorbert Thiebaud 2011-09-21OSL_TRACE: Remove trailing newlinesThomas Arnhold Done with perl regex: s/(\n\s*OSL_TRACE\(\s*\"[^\n]+?)\s*(\\n)+(\"[^\n]*\)\;\n)/$1$3/gs; - removed trailing whitespaces and (multiple) newlines