Code

inkscape.git
14 years agoMake snapping while scaling behave similar to other transformations, which makes...
Diederik van Lierop [Thu, 21 Jan 2010 19:39:43 +0000 (20:39 +0100)]
Make snapping while scaling behave similar to other transformations, which makes it more intuitive.

14 years agoGenerate Voronoi extension. Code by Steven Fortune (C) and Bill Simons (Python).
Alvin Penner [Thu, 21 Jan 2010 01:07:47 +0000 (20:07 -0500)]
Generate Voronoi extension. Code by Steven Fortune (C) and Bill Simons (Python).

14 years agoFixing conts correctness.
Jon A. Cruz [Wed, 20 Jan 2010 23:10:33 +0000 (12:10 +1300)]
Fixing conts correctness.

14 years agoFix Ctrl+Alt+click deletion of selected nodes when transform handles
Krzysztof Kosiński [Wed, 20 Jan 2010 22:04:49 +0000 (23:04 +0100)]
Fix Ctrl+Alt+click deletion of selected nodes when transform handles
are turned on.

14 years agoInsert nodes on Ctrl+Alt+click on a path.
Krzysztof Kosiński [Wed, 20 Jan 2010 20:33:32 +0000 (21:33 +0100)]
Insert nodes on Ctrl+Alt+click on a path.

14 years agoGo back to using TR1 unordered containers to fix warnings. Add configure
Krzysztof Kosiński [Wed, 20 Jan 2010 19:31:57 +0000 (20:31 +0100)]
Go back to using TR1 unordered containers to fix warnings. Add configure
code to detect the broken header and display Wiki page URL.

14 years agoMake Ctrl+Alt+click delete nodes.
Krzysztof Kosiński [Wed, 20 Jan 2010 17:28:49 +0000 (18:28 +0100)]
Make Ctrl+Alt+click delete nodes.

14 years agoFix middle click zoom in the node tool.
Krzysztof Kosiński [Wed, 20 Jan 2010 16:37:55 +0000 (17:37 +0100)]
Fix middle click zoom in the node tool.

14 years agoFix path reverse action (Shift+R) in the node tool.
Krzysztof Kosiński [Wed, 20 Jan 2010 15:31:22 +0000 (16:31 +0100)]
Fix path reverse action (Shift+R) in the node tool.

14 years agoSelect the first node of the path when Tab is pressed and nothing is selected.
Krzysztof Kosiński [Wed, 20 Jan 2010 15:06:54 +0000 (16:06 +0100)]
Select the first node of the path when Tab is pressed and nothing is selected.

14 years agoFix snapping in the node tool when more than one point is dragged.
Krzysztof Kosiński [Wed, 20 Jan 2010 14:14:37 +0000 (15:14 +0100)]
Fix snapping in the node tool when more than one point is dragged.

14 years agoSmall fix in scour (optimized SVG) output extension.
JazzyNico [Wed, 20 Jan 2010 10:24:01 +0000 (11:24 +0100)]
Small fix in scour (optimized SVG) output extension.

14 years agoWhen snapping to a bounding box, flash that bounding box together with the snap indicator
Diederik van Lierop [Tue, 19 Jan 2010 20:16:06 +0000 (21:16 +0100)]
When snapping to a bounding box, flash that bounding box together with the snap indicator

14 years agoscour extension update (v0.23)
JazzyNico [Tue, 19 Jan 2010 19:47:56 +0000 (20:47 +0100)]
scour extension update (v0.23)

14 years agoAdded temp option to enable repositioning of not-quite-completed UI items in relayout.
Jon A. Cruz [Mon, 18 Jan 2010 02:11:50 +0000 (15:11 +1300)]
Added temp option to enable repositioning of not-quite-completed UI items in relayout.

14 years agoLightened colors of Spray Tool icons, thinned strokes on Spray Tool icon, removed...
Josh Andler [Mon, 18 Jan 2010 00:33:33 +0000 (16:33 -0800)]
Lightened colors of Spray Tool icons, thinned strokes on Spray Tool icon, removed unnecessary Spray Configuration icon, and saved with our optimum icon prefs.

14 years agoimprove LPEExtrude: now connecting lines are also drawn at cusps
Johan Engelen [Sun, 17 Jan 2010 22:27:48 +0000 (23:27 +0100)]
improve LPEExtrude: now connecting lines are also drawn at cusps

14 years agoImprove spray icon slightly.
Krzysztof Kosiński [Sun, 17 Jan 2010 16:49:37 +0000 (17:49 +0100)]
Improve spray icon slightly.

14 years agoSpray icon tool v3 from Valessio S. Brito
Krzysztof Kosiński [Sun, 17 Jan 2010 16:34:55 +0000 (17:34 +0100)]
Spray icon tool v3 from Valessio S. Brito

14 years ago* [INTL:ro] a reference to Romanian translation of the default template added
helix84 [Sun, 17 Jan 2010 15:56:47 +0000 (16:56 +0100)]
* [INTL:ro] a reference to Romanian translation of the default template added

14 years agoreverting an accidental change in inkscape.nsi from r8990
helix84 [Sun, 17 Jan 2010 11:43:04 +0000 (12:43 +0100)]
reverting an accidental change in inkscape.nsi from r8990

14 years ago* [INTL:ro] Romanian translation of win32 installer added
helix84 [Sun, 17 Jan 2010 11:23:14 +0000 (12:23 +0100)]
* [INTL:ro] Romanian translation of win32 installer added
* [INTL:ro] Romanian translation of the default template added

14 years agoDo not try to construct an ustring from NULL in CurveDragPoint::_getTip.
Krzysztof Kosiński [Sat, 16 Jan 2010 11:04:47 +0000 (12:04 +0100)]
Do not try to construct an ustring from NULL in CurveDragPoint::_getTip.
Fixes crasher.

14 years agoDutch Advanced tutorial translation (new)
JazzyNico [Fri, 15 Jan 2010 21:50:27 +0000 (22:50 +0100)]
Dutch Advanced tutorial translation (new)

14 years agoDutch translation update by Kris
JazzyNico [Fri, 15 Jan 2010 21:38:34 +0000 (22:38 +0100)]
Dutch translation update by Kris

14 years agoFix for compile on windows. Fixes bug #506845.
Jon A. Cruz [Fri, 15 Jan 2010 08:21:50 +0000 (00:21 -0800)]
Fix for compile on windows. Fixes bug #506845.

14 years agoCorrecting statements collapsed to a single line.
Jon A. Cruz [Fri, 15 Jan 2010 07:43:09 +0000 (23:43 -0800)]
Correcting statements collapsed to a single line.

14 years agoWhitespace cleanup.
Jon A. Cruz [Fri, 15 Jan 2010 07:42:18 +0000 (23:42 -0800)]
Whitespace cleanup.

14 years agoRestore encapsulation of selection implementation.
Jon A. Cruz [Fri, 15 Jan 2010 06:45:34 +0000 (22:45 -0800)]
Restore encapsulation of selection implementation.

14 years agoFixed object leak.
Jon A. Cruz [Fri, 15 Jan 2010 01:16:07 +0000 (17:16 -0800)]
Fixed object leak.

14 years agoWarning cleanup.
Jon A. Cruz [Fri, 15 Jan 2010 01:02:46 +0000 (17:02 -0800)]
Warning cleanup.

14 years agoReplace std::tr1::unordered_(map|set) with __gnu_cxx::hash_(map|set),
Krzysztof Kosiński [Thu, 14 Jan 2010 22:38:54 +0000 (23:38 +0100)]
Replace std::tr1::unordered_(map|set) with __gnu_cxx::hash_(map|set),
to work around broken headers in some GCC versions.

14 years agoRemove "show transform handles" from prefs - no longer necessary
Krzysztof Kosiński [Thu, 14 Jan 2010 18:31:45 +0000 (19:31 +0100)]
Remove "show transform handles" from prefs - no longer necessary

14 years agoBetter spray tool icon
Krzysztof Kosiński [Thu, 14 Jan 2010 18:31:25 +0000 (19:31 +0100)]
Better spray tool icon

14 years agoBetter node transform handles behavior
Krzysztof Kosiński [Thu, 14 Jan 2010 17:48:15 +0000 (18:48 +0100)]
Better node transform handles behavior

14 years ago* Add "show transform handles" toggle button.
Krzysztof Kosiński [Thu, 14 Jan 2010 17:45:20 +0000 (18:45 +0100)]
* Add "show transform handles" toggle button.
* Transform handle mode switching similar to selector tool, when
  node transform handles are visible.

14 years agoMerge from trunk
Krzysztof Kosiński [Thu, 14 Jan 2010 16:01:49 +0000 (17:01 +0100)]
Merge from trunk

14 years agoMerge GSoC 2009 node tool rewrite
Krzysztof Kosiński [Thu, 14 Jan 2010 15:54:06 +0000 (16:54 +0100)]
Merge GSoC 2009 node tool rewrite

14 years agoRe-enable snapping on release, for now.
Krzysztof Kosiński [Thu, 14 Jan 2010 15:44:32 +0000 (16:44 +0100)]
Re-enable snapping on release, for now.

14 years agoMark a few more bugs as fixed.
Krzysztof Kosiński [Thu, 14 Jan 2010 10:10:53 +0000 (11:10 +0100)]
Mark a few more bugs as fixed.

14 years agoMark LP #399381 as fixed by this branch.
Krzysztof Kosiński [Thu, 14 Jan 2010 09:40:04 +0000 (10:40 +0100)]
Mark LP #399381 as fixed by this branch.

14 years agoRemove nodepath.cpp and nodepath.h
Krzysztof Kosiński [Thu, 14 Jan 2010 09:38:33 +0000 (10:38 +0100)]
Remove nodepath.cpp and nodepath.h

14 years agoDo not append a segment when finishing an open path with right click
Krzysztof Kosiński [Thu, 14 Jan 2010 09:31:02 +0000 (10:31 +0100)]
Do not append a segment when finishing an open path with right click
in the pen tool.

14 years agoFix boost::optional warning spam
Krzysztof Kosiński [Thu, 14 Jan 2010 09:16:28 +0000 (10:16 +0100)]
Fix boost::optional warning spam

14 years agoImplement segment weld to make segment join similar to node join
Krzysztof Kosiński [Thu, 14 Jan 2010 08:42:20 +0000 (09:42 +0100)]
Implement segment weld to make segment join similar to node join

14 years ago* Merge from trunk
Krzysztof Kosiński [Thu, 14 Jan 2010 08:13:09 +0000 (09:13 +0100)]
* Merge from trunk
* Update to new snapping API
* Modify the join action slightly

14 years agoUpdated Russian translation
Alexandre Prokoudine [Wed, 13 Jan 2010 22:45:27 +0000 (01:45 +0300)]
Updated Russian translation

14 years agoAdding a 'widescreen' task.
Jon A. Cruz [Wed, 13 Jan 2010 07:29:06 +0000 (23:29 -0800)]
Adding a 'widescreen' task.

14 years agoSome additional docs
Krzysztof Kosiński [Wed, 13 Jan 2010 00:04:25 +0000 (01:04 +0100)]
Some additional docs

14 years agoInitial cut of disabling floating windows on window managers with problems.
Jon A. Cruz [Tue, 12 Jan 2010 09:59:58 +0000 (01:59 -0800)]
Initial cut of disabling floating windows on window managers with problems.

14 years agoEnabling now that some have confirmed proper functionality on 64-bit.
Jon A. Cruz [Tue, 12 Jan 2010 05:35:47 +0000 (21:35 -0800)]
Enabling now that some have confirmed proper functionality on 64-bit.

14 years agoAdapt recent recursive reference patch for masks to protect from crashing on clippath...
Josh Andler [Tue, 12 Jan 2010 02:27:16 +0000 (18:27 -0800)]
Adapt recent recursive reference patch for masks to protect from crashing on clippaths too

14 years agoImplemented dynamic repositioning of toolboxes.
Jon A. Cruz [Mon, 11 Jan 2010 09:09:52 +0000 (01:09 -0800)]
Implemented dynamic repositioning of toolboxes.

14 years agoDisable questioned code section.
Jon A. Cruz [Mon, 11 Jan 2010 00:12:18 +0000 (16:12 -0800)]
Disable questioned code section.
Added name fetch.

14 years agoRemoved null'd use of icons.
Jon A. Cruz [Sun, 10 Jan 2010 22:33:40 +0000 (14:33 -0800)]
Removed null'd use of icons.

14 years agoTemporarily block out code giving problems on 64-bit.
Jon A. Cruz [Sun, 10 Jan 2010 18:54:03 +0000 (10:54 -0800)]
Temporarily block out code giving problems on 64-bit.

14 years agoFix typo
Diederik van Lierop [Sun, 10 Jan 2010 13:33:03 +0000 (14:33 +0100)]
Fix typo

14 years agoCompleted base code to flip toolbox orientation.
Jon A. Cruz [Sun, 10 Jan 2010 11:22:05 +0000 (03:22 -0800)]
Completed base code to flip toolbox orientation.
Basic integration of task switching control.

14 years agoAvoid crash by uninitialized perspectives.
Maximilian Albert [Sun, 10 Jan 2010 10:47:19 +0000 (10:47 +0000)]
Avoid crash by uninitialized perspectives.

14 years ago* Implement node snapping.
Krzysztof Kosiński [Sun, 10 Jan 2010 00:46:28 +0000 (01:46 +0100)]
* Implement node snapping.
* Fix minor bug in linear grow.
* Add --fixes.
* Move some node selection-related functions to ControlPointSelection.

14 years agofix regression caused by rev. 8927 (reported in LP bug #495483 by ~suv)
Diederik van Lierop [Sat, 9 Jan 2010 21:31:50 +0000 (22:31 +0100)]
fix regression caused by rev. 8927 (reported in LP bug #495483 by ~suv)

14 years agoRefactoring the snapping API (making it easier to maintain and understand for the...
Diederik van Lierop [Sat, 9 Jan 2010 21:14:38 +0000 (22:14 +0100)]
Refactoring the snapping API (making it easier to maintain and understand for the devs)

14 years agoPatch by Alex Leone to fix crash with recursive masks from 190130, I also added him...
Josh Andler [Sat, 9 Jan 2010 20:05:26 +0000 (12:05 -0800)]
Patch by Alex Leone to fix crash with recursive masks from 190130, I also added him to AUTHORS

14 years agoinkscape.pot and French translation update
JazzyNico [Sat, 9 Jan 2010 11:18:38 +0000 (12:18 +0100)]
inkscape.pot and French translation update

14 years agoAI8 and below import now works with uniconvertor
JazzyNico [Sat, 9 Jan 2010 11:06:31 +0000 (12:06 +0100)]
AI8 and below import now works with uniconvertor

14 years agoLeverage recent toolbox c++-ification work to move the snap toolbar to the side with...
Jon A. Cruz [Sat, 9 Jan 2010 09:40:31 +0000 (01:40 -0800)]
Leverage recent toolbox c++-ification work to move the snap toolbar to the side with minimal effort.

14 years agoInitial c++-ification of toolbox creation.
Jon A. Cruz [Sat, 9 Jan 2010 09:37:23 +0000 (01:37 -0800)]
Initial c++-ification of toolbox creation.

14 years agoC++-ification pass.
Jon A. Cruz [Fri, 8 Jan 2010 09:16:41 +0000 (01:16 -0800)]
C++-ification pass.

14 years agoRemoved outdated forward declarations.
Jon A. Cruz [Fri, 8 Jan 2010 09:12:42 +0000 (01:12 -0800)]
Removed outdated forward declarations.

14 years agoPatch by Alex Leone to add margins to resize page options in Document Properties
Josh Andler [Fri, 8 Jan 2010 05:43:33 +0000 (21:43 -0800)]
Patch by Alex Leone to add margins to resize page options in Document Properties

14 years agoAdded UXManager. Cleaning up toolbox creation.
Jon A. Cruz [Thu, 7 Jan 2010 09:19:48 +0000 (01:19 -0800)]
Added UXManager. Cleaning up toolbox creation.

14 years agoa better truncation detection, suggested by Richard Hughes
buliabyak [Thu, 7 Jan 2010 00:24:25 +0000 (20:24 -0400)]
a better truncation detection, suggested by Richard Hughes

14 years agoUpdated Ukrainian translation from Yuri Chornoivan
Alexandre Prokoudine [Wed, 6 Jan 2010 14:41:51 +0000 (17:41 +0300)]
Updated Ukrainian translation from Yuri Chornoivan

14 years agoAdding a temporary po file to ignore list
Chris Morgan [Wed, 6 Jan 2010 10:37:16 +0000 (21:37 +1100)]
Adding a temporary po file to ignore list

14 years agoUpdated SVN references in HACKING files to BZR
Chris Morgan [Wed, 6 Jan 2010 10:22:24 +0000 (21:22 +1100)]
Updated SVN references in HACKING files to BZR

14 years agoRefactored common value.
Jon A. Cruz [Wed, 6 Jan 2010 09:44:56 +0000 (01:44 -0800)]
Refactored common value.

14 years agoAdded files created during building and final build directory on Win32 to ignore...
Chris Morgan [Tue, 5 Jan 2010 02:39:27 +0000 (13:39 +1100)]
Added files created during building and final build directory on Win32 to ignore list.

14 years agoChanged version number (0.47.0.0 -> 0.47.0.9, "0.47" -> "0.47+devel") in inkscape...
Chris Morgan [Tue, 5 Jan 2010 01:19:02 +0000 (12:19 +1100)]
Changed version number (0.47.0.0 -> 0.47.0.9, "0.47" -> "0.47+devel") in inkscape.rc and inkview.rc so VersionInfo in inkscape.exe and inkview.exe for devel builds will be a bit different from 0.47 final.
The installer has a much better version number detection system and will use the style 0.47.0.8944 and "0.47+devel-r8944" for bzr revision 8944, but I'm not quite up to wedging Bazaar revision detection into buildtool.cpp and build.xml yet.

14 years agoA big lot of work for the Inkscape installer. I really should have done this on...
Chris Morgan [Tue, 5 Jan 2010 00:30:38 +0000 (11:30 +1100)]
A big lot of work for the Inkscape installer.  I really should have done this on a local branch and merged it in, or done it as at least half a dozen commits, but I haven't done that along the way and I'm not going to do it now for this batch of work.
* Languages: simplified language files, using core NSIS LangFile header file.
* Version numbering: version number is fetched from src/inkscape-version.cpp and .bzr/branches/last-revision.
* NSIS 2.46 now required to compile, POSIX cross-compilation may no longer work due to ifexist.nsh (I'll see if I can fix it after installing Ubuntu with more reverse-hacks to use different !system calls on different platforms).
* Still a lot of work to do actually fixing the uninstall script so it works (next on my list of jobs for the installer).
* Simplified a few bits of code (e.g. code duplication into ${For} $2 0 1 in one place I'd missed it).
* Quoted some things and unquoted some things which did/didn't need quotes... mainly for style and the fun of it.
* Fixed a minor bug somewhere, can't remember what it was!
* Segmented code carefully into parts (with full folding in Vim)
* Added a few chunks of documentation as to what to do with inkscape.nsi... and now a long commit message too (I seem to like doing that) ;-)

14 years agoRemoving spray-option.cpp as it was deleted, and then broke the nightly builds.
Ted Gould [Mon, 4 Jan 2010 14:15:24 +0000 (08:15 -0600)]
Removing spray-option.cpp as it was deleted, and then broke the nightly builds.

14 years agoMore refactoring to reduce copy-n-paste duplication.
Jon A. Cruz [Mon, 4 Jan 2010 10:06:59 +0000 (02:06 -0800)]
More refactoring to reduce copy-n-paste duplication.

14 years agoRefactoring copy-n-paste duplicate code out of toolbar creation.
Jon A. Cruz [Mon, 4 Jan 2010 09:34:09 +0000 (01:34 -0800)]
Refactoring copy-n-paste duplicate code out of toolbar creation.

14 years agoSpray Tool refactoring and enhanced distribution algorithm
Steren Giannini [Mon, 4 Jan 2010 00:30:05 +0000 (01:30 +0100)]
Spray Tool refactoring and enhanced distribution algorithm

14 years agospray algorithm updated
Steren Giannini [Sun, 3 Jan 2010 21:44:11 +0000 (22:44 +0100)]
spray algorithm updated

14 years agoSpray cleanup
Steren Giannini [Sun, 3 Jan 2010 20:39:52 +0000 (21:39 +0100)]
Spray cleanup

------------ This line and the following will be ignored --------------

removed:
  src/ui/dialog/spray-option.cpp
  src/ui/dialog/spray-option.h
modified:
  src/spray-context.cpp
  src/ui/dialog/Makefile_insert
  src/ui/dialog/dialog-manager.cpp
  src/ui/view/edit-widget.cpp
  src/ui/view/edit-widget.h
  src/widgets/toolbox.cpp
unknown:
  backup.bzr/
  description-pak
  doc-pak/
  po/.intltool-merge-cache

14 years agoNew Dutch Shapes tutorial by Kris
JazzyNico [Sat, 2 Jan 2010 15:27:10 +0000 (16:27 +0100)]
New Dutch Shapes tutorial by Kris

14 years agoinkscape.pot update.
JazzyNico [Sat, 2 Jan 2010 14:25:55 +0000 (15:25 +0100)]
inkscape.pot update.
Dutch translation update by Kris.
French translation update by jazzynico.

14 years agoi18n fix in toolbox.cpp (no-c-format %)
JazzyNico [Sat, 2 Jan 2010 14:19:53 +0000 (15:19 +0100)]
i18n fix in toolbox.cpp (no-c-format %)

14 years agoInkscape version: replace svn check with bzr check
JazzyNico [Sat, 2 Jan 2010 10:03:58 +0000 (11:03 +0100)]
Inkscape version: replace svn check with bzr check

14 years agoPreserve metadata in plain SVG. Fixes bug #170967.
Jon A. Cruz [Sat, 2 Jan 2010 08:15:51 +0000 (00:15 -0800)]
Preserve metadata in plain SVG. Fixes bug #170967.

14 years agoRemove any "inkscape:*" or "sodipodi:*" attributes when saving as "plain SVG". Fixes...
Jon A. Cruz [Sat, 2 Jan 2010 07:15:16 +0000 (23:15 -0800)]
Remove any "inkscape:*" or "sodipodi:*" attributes when saving as "plain SVG". Fixes bug #500440.

14 years agoRefactor snapping of gradient handles; now behaves like all other snapping, i.e....
Diederik van Lierop [Fri, 1 Jan 2010 20:06:51 +0000 (21:06 +0100)]
Refactor snapping of gradient handles; now behaves like all other snapping, i.e. no more snapping to imaginary infinite lines along the bounding box

14 years agoadding 'inductiveload' to AUTHORS
Alvin Penner [Thu, 31 Dec 2009 13:07:51 +0000 (08:07 -0500)]
adding 'inductiveload' to AUTHORS

14 years agoDocument properties now treats lcms file load failures as non-fatal. Fixes bug #501782
Jon A. Cruz [Thu, 31 Dec 2009 10:04:42 +0000 (02:04 -0800)]
Document properties now treats lcms file load failures as non-fatal. Fixes bug #501782

14 years agoWarning cleanup for char const*
Jon A. Cruz [Thu, 31 Dec 2009 07:28:06 +0000 (23:28 -0800)]
Warning cleanup for char const*

14 years agoRestore files that shouldn't have been touched. Grrr
Diederik van Lierop [Wed, 30 Dec 2009 21:00:28 +0000 (22:00 +0100)]
Restore files that shouldn't have been touched. Grrr

14 years agoWhen combining paths: clear the selection before deleting the original objects
Diederik van Lierop [Wed, 30 Dec 2009 20:52:44 +0000 (21:52 +0100)]
When combining paths: clear the selection before deleting the original objects

14 years agoSpray Tool clean up and Toolbar refactoring
Steren Giannini [Wed, 30 Dec 2009 15:50:25 +0000 (16:50 +0100)]
Spray Tool clean up and Toolbar refactoring

14 years agoSpray toolbar is working + spray-context.cpp small cleanup
Steren Giannini [Wed, 30 Dec 2009 15:00:50 +0000 (16:00 +0100)]
Spray toolbar is working + spray-context.cpp small cleanup

14 years agoSmall snap bug has been eliminated, flowed text snapping now uses baseline, replacing...
Diederik van Lierop [Wed, 30 Dec 2009 14:34:51 +0000 (15:34 +0100)]
Small snap bug has been eliminated, flowed text snapping now uses baseline, replacing tabs by spaces, removing some commented lines