summaryrefslogtreecommitdiffstats
path: root/src/sp-pattern.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix a brunch of memory leakschr2017-05-181-0/+1
| | | (bzr r15698.1.2)
* bugfix crash while moving objectschr2017-05-181-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sp_svg_transform_write can return NULL and Glib::ustring blows up: terminate called after throwing an instance of 'std::logic_error' what(): basic_string::_S_construct null not valid #0 0x00007fffed6ec067 in raise () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x00007fffed6ed448 in abort () from /lib/x86_64-linux-gnu/libc.so.6 #2 0x00007fffedac2b3d in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #3 0x00007fffedac0bb6 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #4 0x00007fffedac0c01 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #5 0x00007fffedac0e19 in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #6 0x00007fffedb168b6 in std::__throw_logic_error(char const*) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #7 0x00007ffff76e83d5 in char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) () from /usr/bin/../lib/inkscape/libinkscape_base.so #8 0x00007fffedb22c46 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #9 0x00007ffff036055e in Glib::ustring::ustring(char const*) () from /usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1 #10 0x00007ffff75650e3 in SPPattern::transform_multiply(Geom::Affine, bool) () from /usr/bin/../lib/inkscape/libinkscape_base.so #11 0x00007ffff753d862 in SPItem::adjust_pattern(Geom::Affine const&, bool, PatternTransform) () from /usr/bin/../lib/inkscape/libinkscape_base.so #12 0x00007ffff7562897 in SPPath::set_transform(Geom::Affine const&) () from /usr/bin/../lib/inkscape/libinkscape_base.so (bzr r15698.1.1)
* Fix C++11 errors and warnings with g++-7Alex Valavanis2017-02-051-1/+3
| | | | | | Fixed bugs: - https://launchpad.net/bugs/1660992 (bzr r15477)
* Improve pattern rendering with large pattern transform.Tavmjong Bah2016-09-061-2/+12
| | | | | Partial fix for bug #1465753. (bzr r15108)
* 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)
* | Second part of new SPObject children listAdrian Boguszewski2016-07-131-15/+15
|/ | | (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)
* Add new TTF to the logo in seamless pattern extensionJabier Arraiza Cenoz2016-03-121-4/+5
| | | | | | | Add checkboard background to the same extension Update template to 0.01+devel Fix a bug on SPPatern when apply a transform = Affine() (bzr r14700)
* static code analysisKris De Gussem2015-11-131-3/+3
| | | (bzr r14463)
* renamed SPPattern methods to match coding styleTomasz Boczkowski2015-05-031-81/+81
| | | (bzr r14059.1.20)
* Reformatted SPPatternTomasz Boczkowski2015-05-031-247/+265
| | | (bzr r14059.1.19)
* merge with trunkTomasz Boczkowski2015-05-021-2/+2
|\ | | | | (bzr r14059.1.12)
| * mergeMarc Jeanmougin2015-04-261-10/+0
| |\ | | | | | | (bzr r13922.1.12)
| * | corrected the casts (hopefully)Marc Jeanmougin2015-02-271-1/+1
| | | | | | | | | (bzr r13922.1.10)
| * | Put a few std::vector<SPitem*>Marc Jeanmougin2015-02-191-2/+2
| | | | | | | | | (bzr r13922.1.5)
| * | At first, I was thinking "I just have to go to the selection file, and ↵Marc Jeanmougin2015-02-171-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | 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)
* | | fixed possible bug SPPattern::_get_childrenTomasz Boczkowski2015-04-251-3/+2
|\ \ \ | | | | | | | | (bzr r14059.1.3)
| * | | fixed possible bug SPPattern::_get_childrenTomasz Boczkowski2014-05-291-3/+2
| | | | | | | | | | | | (bzr r13341.6.24)
* | | | merged SPPattern c++-sification from svgpaints branchTomasz Boczkowski2015-04-251-137/+105
|\| | | | |_|/ |/| | (bzr r14059.1.2)
| * | SPPattern c++-sification: class fields are privateTomasz Boczkowski2014-05-291-4/+4
| | | | | | | | | (bzr r13341.6.23)
| * | SPPattern c++-sification: replaced function by methods pt3Tomasz Boczkowski2014-05-291-29/+10
| | | | | | | | | (bzr r13341.6.22)
| * | SPPattern c++-sification: replaced function by methodsTomasz Boczkowski2014-05-281-30/+20
| | | | | | | | | (bzr r13341.6.21)
| * | SPPattern c++-sification: replacing pattern_ functions by methods pt1Tomasz Boczkowski2014-05-271-33/+33
| | | | | | | | | (bzr r13341.6.19)
| * | SPPattern c++-sification: replaced GSList by std::listTomasz Boczkowski2014-05-271-20/+21
| | | | | | | | | (bzr r13341.6.18)
| * | SPPattern c++-sification: replaced gchar* by Glib::ustringTomasz Boczkowski2014-05-261-15/+10
| | | | | | | | | (bzr r13341.6.17)
| * | SPPattern c++-sification: replaced guint by bool and enumTomasz Boczkowski2014-05-261-20/+20
| | | | | | | | | (bzr r13341.6.16)
* | | create SPObject factoryLiam P. White2015-02-251-10/+0
| |/ |/| | | (bzr r13939.1.1)
* | Fix build (not pretty).Liam P. White2014-08-181-0/+2
|/ | | (bzr r13341.1.146)
* fix compliance test pservers-pattern-04-f - inheriting pattern viewBoxTomasz Boczkowski2014-05-171-2/+3
| | | (bzr r13341.1.36)
* fix compliance test pservers-pattern-03-f - using fallback when pattern is emptyTomasz Boczkowski2014-05-161-0/+10
| | | (bzr r13341.1.34)
* don't rely on operator precedence (rev. 13372)Johan B. C. Engelen2014-05-161-2/+2
| | | (bzr r13341.1.32)
* Fix crash in preview widget for files containing objectBoundingBox related ↵Tomasz Boczkowski2014-05-161-2/+2
| | | | | patterns (bzr r13341.1.31)
* Take "preserveAspectRatio" into account in pattern.Tavmjong Bah2014-03-061-10/+5
| | | (bzr r13121)
* Rewrite of pattern geometry code. Fix for 1288489.Tavmjong Bah2014-03-061-35/+49
| | | (bzr r13120)
* Fix for W3C test suite coords-units-01-b.svg. Fixes pattern positioning.Tavmjong Bah2014-03-041-5/+4
| | | (bzr r13111)
* DrawingContext: change variable names ct to dc (bug #1272073)David Mathog2014-02-081-6/+6
| | | | | | Fixed bugs: - https://launchpad.net/bugs/1272073 (bzr r13009)
* Added new base class to handle viewBox and preserveAspectRatio.Tavmjong Bah2014-02-061-45/+10
| | | | | | Updated sp-root, sp-symbol, sp-image, sp-pattern, marker to use new class. Fixed some viewport issues when % used. (bzr r13002)
* Increased pattern resolution to fix blocker bug #1251039.Tavmjong Bah2013-11-191-1/+2
| | | (bzr r12824)
* Merged from trunk (r12488).Markus Engel2013-08-301-54/+54
|\ | | | | (bzr r11608.1.120)
| * cppcheckKris De Gussem2013-08-041-253/+250
| | | | | | (bzr r12467)
* | Cleaned up.Markus Engel2013-08-031-4/+0
| | | | | | (bzr r11608.1.117)
* | Removed placement news / explicit destructor calls.Markus Engel2013-07-311-2/+2
| | | | | | (bzr r11608.1.113)
* | Merged from trunk (r12419).Markus Engel2013-07-141-1/+1
|\| | | | | (bzr r11608.1.107)
| * Fixed logic error confusing bitwise and with logical and.Jon A. Cruz2013-04-291-1/+1
| | | | | | | | | | Whitespace cleanup to make the issue easier to spot. (bzr r12311)
* | merged from trunk (r12287)Markus Engel2013-04-201-1/+1
|\| | | | | (bzr r11608.1.99)