summaryrefslogtreecommitdiffstats
path: root/src/object (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Make doc2dt a document propertyThomas Holder2019-07-274-23/+18
| | | | Closes #340
* Improvements finish pointed by MarenJabier Arraiza2019-07-191-1/+1
|
* Improvemets to power pencilJabiertxof2019-07-191-0/+2
|
* working on powerpencil in other threadJabier Arraiza2019-07-142-8/+6
|
* Fix coding styleJabiertxof2019-07-081-3/+3
|
* Improvements to temming allow diferent on dark themesJabiertxof2019-07-081-3/+3
|
* Fix various minor typosYuri Chornoivan2019-07-015-5/+5
|
* Remove experimental code to work in MR and fixes for selectorsJabier Arraiza2019-06-231-5/+9
|
* Merge branch 'fix-bbox-filter' of gitlab.com:octycs/inkscapeMarc Jeanmougin2019-06-201-3/+3
|\
| * Fix bounding box cache invalidation for filtersoctycs2019-06-201-3/+3
| |
* | Merge branch 'copypasta' of gitlab.com:nathanal/inkscapeMarc Jeanmougin2019-06-201-16/+19
|\ \
| * | Change TextPath to Text positioningNathan Lee2019-06-031-32/+19
| | | | | | | | | | | | | | | | | | Uses originalPath instead of bounding-box. Make positioning consistent with text that is not visible (too long for path).
| * | Crashfix deleting path with invisible text on pathNathan Lee2019-06-031-5/+21
| | | | | | | | | | | | Fixes https://gitlab.com/inkscape/inbox/issues/491
* | | Merge branch 'refactoring' of gitlab.com:shlomif/inkscapeMarc Jeanmougin2019-06-205-59/+58
|\ \ \ | |_|/ |/| |
| * | Refactoring: replace funcs with methods.Shlomi Fish2019-06-125-40/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I hereby disclaim any implicit or explicit ownership of my changes in this changeset, and put them under a multiple licence consisting of your choice of one of more of: - The CC0 / Public Domain - https://creativecommons.org/choose/zero/ . - The MIT / Expat license - https://en.wikipedia.org/wiki/MIT_License - The default licence of your project - The https://en.wikipedia.org/wiki/GNU_Lesser_General_Public_License - version 2.1 or higher - The https://en.wikipedia.org/wiki/GNU_General_Public_License - version 2 or higher - Any licence in the 2018-Aug-27 popular licenses list of https://opensource.org/licenses - The https://en.wikipedia.org/wiki/Apache_License version 2.0 or later - The https://en.wikipedia.org/wiki/Artistic_License version 2.0 or later - The https://en.wikipedia.org/wiki/ISC_license - The https://opensource.org/licenses/BSD-2-Clause Crediting me will be nice, but not mandatory, and you can change the licence of the project without needing my permission.
| * | Refactor: convert rotate_rel() to a method.Shlomi Fish2019-06-124-19/+18
| | |
* | | Fix crash after deleting a grouped connectionNathan Lee2019-06-141-0/+1
|/ / | | | | | | Fix gitlab.com/inkscape/inkscape/issues/205
* | Minor cleanup (remove unneeded win32-specific defines)Patrick Storz2019-06-091-3/+0
| |
* | Preferences: Work around issue with parsing unsigned integersPatrick Storz2019-06-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As we handle unsigned integers the same way as signed integers, large unsigned values (notably RGBA values) overflow the signed type. The issue became apparent when we switched from atoi to strtol in 0e92e8e519b33b35ab63600c31feb7c639e347a6 While the former has undefined behavior for out of range numbers it luckily seemed to "just" overflow as expected on supported OSs. The latter however returns LONG_MAX (which for a 32-bit value is 0x7fffffff and turned out to show turquoise in unexpected places, e.g. the default path highlighting color in node tool). Avoid this by catching the error and try to parse as unsigned type in this case (which will still overflow, but seems to have worked as expected so far).
* | fix inbox#549 Rectangle missing left sideThomas Holder2019-06-081-0/+3
| | | | | | | | Reverts one line of 174908a7e0d4
* | Style fixes.Shlomi Fish2019-06-061-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thanks to @Qantas94Heavy 's comments. ---- I hereby disclaim any implicit or explicit ownership of my changes in this changeset, and put them under a multiple licence consisting of your choice of one of more of: - The CC0 / Public Domain - https://creativecommons.org/choose/zero/ . - The MIT / Expat license - https://en.wikipedia.org/wiki/MIT_License - The default licence of your project - The https://en.wikipedia.org/wiki/GNU_Lesser_General_Public_License - version 2.1 or higher - The https://en.wikipedia.org/wiki/GNU_General_Public_License - version 2 or higher - Any licence in the 2018-Aug-27 popular licenses list of https://opensource.org/licenses - The https://en.wikipedia.org/wiki/Apache_License version 2.0 or later - The https://en.wikipedia.org/wiki/Artistic_License version 2.0 or later - The https://en.wikipedia.org/wiki/ISC_license - The https://opensource.org/licenses/BSD-2-Clause Crediting me will be nice, but not mandatory, and you can change the licence of the project without needing my permission.
* | Refactoring: call setAttribute() directly.Shlomi Fish2019-06-0614-32/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Call this->setAttribute(...) directly instead of this->getRepr()->setAttribute(...). This avoids clutter and mental indirection. See http://wiki.inkscape.org/wiki/index.php?title=Refactoring_projects&oldid=112116 and https://en.wikipedia.org/wiki/Law_of_Demeter . --- I hereby disclaim any implicit or explicit ownership of my changes in this changeset, and put them under a multiple licence consisting of your choice of one of more of: - The CC0 / Public Domain - https://creativecommons.org/choose/zero/ . - The MIT / Expat license - https://en.wikipedia.org/wiki/MIT_License - The default licence of your project - The https://en.wikipedia.org/wiki/GNU_Lesser_General_Public_License - version 2.1 or higher - The https://en.wikipedia.org/wiki/GNU_General_Public_License - version 2 or higher - Any licence in the 2018-Aug-27 popular licenses list of https://opensource.org/licenses - The https://en.wikipedia.org/wiki/Apache_License version 2.0 or later - The https://en.wikipedia.org/wiki/Artistic_License version 2.0 or later - The https://en.wikipedia.org/wiki/ISC_license - The https://opensource.org/licenses/BSD-2-Clause Crediting me will be nice, but not mandatory, and you can change the licence of the project without needing my permission.
* | Merge changesAlexander Valavanis2019-06-054-9/+61
|\|
| * Cache bounding box of shapesoctycs2019-06-012-0/+20
| |
| * Allow rects be LPE like other primitivesJabier Arraiza2019-06-012-9/+41
| |
* | Hackfest2019: Rm tautological testsAlexander Valavanis2019-05-2716-17/+0
|/
* Improvemets to GeomPathstroke and Offset LPEJabiertxof2019-05-211-1/+1
|
* Fork LPE if necesary also in LPEItem childsJabiertxof2019-05-162-2/+12
|
* Support percentage (include default) values for linear and radial gradient ↵Tavmjong Bah2019-05-144-11/+86
| | | | | | attribues. Fix for inbox issue #415.
* Remove support for LCMS 1Karl Cheng2019-05-124-103/+58
| | | | | | | Now that all platforms (including macOS) now support LCMS 2, we no longer need to support LCMS 1. Fixes: https://bugs.launchpad.net/inkscape/+bug/1133014
* fix inbox#380 Rotation center flipped with y-axisThomas Holder2019-04-171-3/+10
|
* Make sure Layout.wrap_mode is initialized and defined.Tavmjong Bah2019-04-151-0/+2
|
* Fix for line positioning in wrapped multi-line text.Tavmjong Bah2019-04-151-0/+5
| | | | | | Bug introduced in 605ef4a43ea0cf89d19d46679e9e0b5bb9e464b2 which applied line correction to all types of text rather than just multi-line text via sodipodi:role = "line".
* Fix nullptr deref after connector deleteBryce Harrington2019-04-141-2/+6
| | | | | | | | When a connector has been deleted, its _connRef will be set to NULL. Some logic should be bypassed in this case, other should check NULL status as a pre-condition. Fixes: https://gitlab.com/inkscape/inbox/issues/313
* More document.h cleanup.Tavmjong Bah2019-04-064-11/+11
|
* Replace IS_NAN with std::isnan (exists since C++11)Patrick Storz2019-04-021-3/+3
|
* Misc. typosluz.paz2019-03-262-6/+6
| | | Found via `codespell`
* Fix text rendering when Inkscape multi-line text has an empty first line.Tavmjong Bah2019-03-232-3/+47
| | | | Possible fix for GitLab issue #45.
* Allow guide duplication in guides dialogMarc Jeanmougin2019-03-222-0/+5
|
* Fixed: circles and ellipses had wrong element names in XML editor (Issue #116)Joseph Da Silva2019-03-201-6/+2
|
* Merge: Avoid the “using std::*;” or “using namespace std;” constructMartin Owens2019-03-065-35/+24
|\
| * Avoid the “using std::*;” or “using namespace std;” constructs.Emmanuel Gil Peyrot2019-03-065-35/+24
| | | | | | | | This makes the code a lot less readable and greppable for no reason.
* | Merge: Fix crash on opening file with text on path...Martin Owens2019-03-061-11/+9
|\ \
| * | Stop crash on loading text on pathNathan Lee2019-03-061-11/+9
| |/ | | | | | | | | | | | | If path is below text in xml, early attempt to get text path leads to call to nullptr. Fixes https://gitlab.com/inkscape/inbox/issues/134
* | Merge in Rescue code for restoring last used window geometry MR !534Martin Owens2019-03-062-11/+33
|\ \ | |/ |/|
| * Fix query for monitor dimensionsPatrick Storz2019-02-201-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The call to Gdk::Display::get_monitor_at_window() in Inkscape::UI::get_monitor_geometry_at_window() requires the underlying GdkWindow to be fully initialized. This is achieved by calling "realize()" before attempting to read that information. Previously we used to show the window first (which implies realizing it) which worked around the issue. However it required us to hide and show it once again later if we wanted to move it in order for the window manager's routines to sanitize the position to kick in.
| * Rescue code for restoring last used window geometryPatrick Storz2019-02-202-7/+33
| | | | | | | | | | | | | | | | | | It was accidentally dropped in 8b1840f9507f10911f63fc00b9885354ead99d53 Also show window *after* setting position/size. This gives the window manager the chance to move an off-screen window back into the visible desktop bounds (e.g. after a monitor was disconnected).
* | Enable global snapping preference by defaultPatrick Storz2019-03-031-1/+1
| | | | | | | | | | | | | | Ensures consistent behavior with previous versions, i.e. before the switch was introduced in d69b5fe84fd438a218e6198af585f8532f0d8e70. Try to improve help string.
* | Remove unneded code from previous commitJabiertxof2019-02-201-22/+1
| |
* | Fix for issue 95: Crash on applying Perspective/Envelope LPE to a groupJabiertxof2019-02-201-0/+1
| |