summaryrefslogtreecommitdiffstats
path: root/src/sp-filter.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move classes derived from SPObject to own directory.Tavmjong Bah2018-01-301-532/+0
| | | | A lot of header clean-up.
* Extract SPDimensions from spfiltersShlomi Fish2017-10-051-19/+1
|
* third batchMarc Jeanmougin2017-10-021-6/+5
|
* Fix C++11 errors and warnings with g++-7Alex Valavanis2017-02-051-3/+7
| | | | | | Fixed bugs: - https://launchpad.net/bugs/1660992 (bzr r15477)
* Merged trunkAdrian Boguszewski2016-08-031-5/+1
|\ | | | | (bzr r14954.1.29)
| * Removed unused includes, decreased compilation time. Once againAdrian Boguszewski2016-08-031-5/+1
| | | | | | (bzr r15034)
| * Reverted changes to r15024 after many building problemsAdrian Boguszewski2016-07-281-1/+5
| | | | | | (bzr r15027)
| * Removed unused includes, decrease compilation timeAdrian Boguszewski2016-07-281-5/+1
| | | | | | (bzr r15025)
* | Renamed children list in SPObjectAdrian Boguszewski2016-07-141-5/+5
| | | | | | (bzr r14954.1.21)
* | Last part of new SPObject children listAdrian Boguszewski2016-07-141-14/+11
| | | | | | (bzr r14954.1.20)
* | Second part of new SPObject children listAdrian Boguszewski2016-07-131-4/+4
|/ | | (bzr r14954.1.19)
* Backout last commit as it introduced subtle errors.Tavmjong Bah2016-04-291-2/+0
| | | (bzr r14864)
* SVG 2 allows 'href' without 'xlink:'. For now just read plain 'href'.Tavmjong Bah2016-04-291-0/+2
| | | (bzr r14863)
* static code analysisKris De Gussem2015-10-281-1/+1
| | | (bzr r14432)
* show filter usage countRaphael Rosch2015-05-051-0/+10
| | | | | | Fixed bugs: - https://launchpad.net/bugs/1169123 (bzr r14111)
* mergeMarc Jeanmougin2015-04-261-9/+0
|\ | | | | (bzr r13922.1.12)
| * create SPObject factoryLiam P. White2015-02-251-9/+0
| | | | | | (bzr r13939.1.1)
* | corrected the casts (hopefully)Marc Jeanmougin2015-02-271-1/+1
| | | | | | (bzr r13922.1.10)
* | added a set to the SelectionMarc Jeanmougin2015-02-191-3/+2
| | | | | | (bzr r13922.1.6)
* | At first, I was thinking "I just have to go to the selection file, and ↵Marc Jeanmougin2015-02-171-5/+4
|/ | | | | | | | change that GSList* with a std::list, then resolve the few problems" So, i tried that. And I will continue tomorrow, and the days after, on and on. (bzr r13922.1.1)
* sp-filter: fix memory leak when trying to set a duplicate name for an image.Johan B. C. Engelen2014-11-081-0/+4
| | | | | | | | | | | | | | | | This function could use more cleanup, but because I can't test now, I will write it down here: int sp_filter_set_image_name(SPFilter *filter, gchar const *name) { gchar *name_copy = strdup(name); pair<gchar*,int> new_pair(name_copy, filter->_image_number_next++); // post-increment number_next pair<map<gchar*,int,ltstr>::iterator,bool> ret = filter->_image_name->insert(new_pair); if (ret.second == false) { // The element is not inserted (because an element with the same key was already in the map) // Therefore, free the memory allocated for the new entry: free(name_copy); } return (*ret.first).second; } (bzr r13684)
* Fix build (not pretty).Liam P. White2014-08-181-3/+2
| | | (bzr r13341.1.146)
* Use viewport when calculating filter primitive region when 'primitiveUnits' ↵Tavmjong Bah2014-03-011-1/+19
| | | | | set to "userSpaceOnUse". (bzr r13083)
* Use viewport when calculating filter region when filterUnits set to ↵Tavmjong Bah2014-02-281-0/+28
| | | | | "userSpaceOnUse", fixes #229246. (bzr r13073)
* Fix for Bug #1265556 (plain svg export is broken for filter).Nicolas Dufour2014-01-041-1/+1
| | | | | | Fixed bugs: - https://launchpad.net/bugs/1265556 (bzr r12879)
* cppcheckKris De Gussem2013-10-071-1/+1
| | | (bzr r12669)
* components of _image_name were g_strdup'ed so need to be g_free'dbuliabyak2013-09-281-0/+4
| | | (bzr r12612)
* Cleaned up a bit; fixed struct vs. class forward declarations.Markus Engel2013-07-311-98/+78
| | | (bzr r11608.1.111)
* Merge Object and subclasses. Merging of SP- and C-classes complete.Markus Engel2013-04-071-11/+8
| | | (bzr r11608.1.86)
* Merged FilterPrimitive and subclasses.Markus Engel2013-04-071-1/+1
| | | (bzr r11608.1.85)
* Merged more classes.Markus Engel2013-04-061-55/+34
| | | (bzr r11608.1.84)
* Registered classes with new factory. Hkern, Vkern and FeFuncX have to be ↵Markus Engel2013-04-021-0/+10
| | | | | rewritten, as they aren't real classes. (bzr r11608.1.69)
* Added constructors to SP classes.Markus Engel2013-04-011-4/+10
| | | (bzr r11608.1.67)
* Prepared exchange of casting macros.Markus Engel2013-03-311-0/+1
| | | (bzr r11608.1.63)
* Renamed virtual function names.Markus Engel2013-03-291-15/+15
| | | (bzr r11608.1.57)
* merged from trunkMarkus Engel2013-03-291-363/+7
|\ | | | | (bzr r11608.1.56)
| * A couple of forward declarationsAlex Valavanis2013-02-111-0/+1
| | | | | | (bzr r12119)
| * More GObject boilerplate reductionAlex Valavanis2013-01-261-43/+15
| | | | | | (bzr r12065)
| * Add support for color-interpolation-filters = linearRGB.Tavmjong Bah2012-12-221-23/+5
| | | | | | (bzr r11972)
* | Removed function pointers from SPObject and subclasses.Markus Engel2013-03-291-6/+6
| | | | | | | | | | Added some missing virtual pads for classes that were hidden by preprocessor macros. (bzr r11608.1.55)
* | Replaced virtual function call to "build_renderer".Markus Engel2013-03-291-5/+7
| | | | | | (bzr r11608.1.53)
* | Added "virtual pads" toMarkus Engel2013-03-291-21/+306
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - SPFeFuncNode - SPFeDistantLight - SPFeMergeNode - SPFePointLight - SPFeSpotLight - SPFilter - SPFont - SPGuide Changes in SPItem and SPNamedView. (bzr r11608.1.49)
* | Various changes.Markus Engel2013-03-141-4/+5
|/ | | (bzr r11608.1.48)
* cppcheck tells us: "scanf without field width limits can crash with huge ↵Kris De Gussem2012-04-091-1/+1
| | | | | input data" (bzr r11191)
* cppcheckKris De Gussem2012-02-151-1/+1
| | | (bzr r10987)
* Get rid of gtkmm top-level header usage - not required by APIAlex Valavanis2012-02-061-2/+0
| | | (bzr r10940)
* cppcheck tells us: scanf without field width limits can crash with huge ↵Kris De Gussem2012-02-041-3/+8
| | | | | | | input data. (gimpgrad) Some additional scanf modifications (bzr r10932)
* Add minimal support for reading color-interpolation and ↵Tavmjong Bah2011-08-291-2/+12
| | | | | | | | | | | | | | color-interpolation-filters properties (however, Inkscape assumes sRGB everywhere at the moment). Change color-interpolation-filters from attribute to style property in sp-filter.cpp as it is not allowed as an attribute in a <filter> (it is only allowed as an attribute in filter primitives). Added color-interpolation-filters:sRGB to style when new filter is created in filter-chemistry.cpp. (bzr r10591)
* Merge from trunkKrzysztof Kosi??ski2011-04-071-10/+8
|\ | | | | (bzr r9508.1.73)
| * Finished cleanup of outated SP_OBJECT_DOCUMENT C macro.Jon A. Cruz2011-02-211-10/+8
| | | | | | (bzr r10060)