Code

inkscape.git
17 years agoinstrument undo commits
mental [Sun, 6 May 2007 21:30:36 +0000 (21:30 +0000)]
instrument undo commits

17 years agoinstrument actions
mental [Sun, 6 May 2007 21:30:31 +0000 (21:30 +0000)]
instrument actions

17 years agoadd INTERACTION to filters in the environment variable
mental [Sun, 6 May 2007 21:30:26 +0000 (21:30 +0000)]
add INTERACTION to filters in the environment variable

17 years agotouch up logging infrastructure in preparation for interaction logging
mental [Sun, 6 May 2007 21:30:21 +0000 (21:30 +0000)]
touch up logging infrastructure in preparation for interaction logging

17 years agoFix native path on <fileset>-included objects
ishmal [Fri, 4 May 2007 21:11:59 +0000 (21:11 +0000)]
Fix native path on <fileset>-included objects

17 years agoRefactoring of previous changes
dvlierop2 [Fri, 4 May 2007 20:32:57 +0000 (20:32 +0000)]
Refactoring of previous changes

17 years agocommitted patch 1710682 by jfaith
jiho-sf [Tue, 1 May 2007 21:41:07 +0000 (21:41 +0000)]
committed patch 1710682 by jfaith
- in src/libcola/cola.cpp, isnan is used and not the cross-platform definition isNaN defined in isnan.h => replaced isnan by isNaN and included isnan.h
- add math.h include in src/libcola/gradient_projection.cpp
This was necessary because libcola does not compile for OS X 10.3.9

17 years ago- committed patch 1710671 to osx-build.sh from John Faith which allows prior detectio...
jiho-sf [Tue, 1 May 2007 21:27:14 +0000 (21:27 +0000)]
- committed patch 1710671 to osx-build.sh from John Faith which allows prior detection of the variable $INSTALLPREFIX in the environment. The other solution would be to supply it as a command line parameter, the code is here but commented at the moment. We should decide which solution is the most pratical
- additional file existence checks in osx-build.sh
- added checks for success of each step of osx-build before proceeding to the next one (via exit status)
- split the PACKAGE action into a new PACKAGE action (creates the app bundle) and a DISTRIB action (creates the dmg image)
- added an exit status for osx-app and osx-dmg
- removed the old call to osx-dmg at the end of osx-app (it has been commented for a while anyway)

17 years agoFix bug #1077600 -> correct mirroring and no drifting of origin
dvlierop2 [Mon, 30 Apr 2007 22:44:35 +0000 (22:44 +0000)]
Fix bug #1077600 -> correct mirroring and no drifting of origin

17 years agoCommitted patch 1710210 from John Faith
jiho-sf [Mon, 30 Apr 2007 21:01:16 +0000 (21:01 +0000)]
Committed patch 1710210 from John Faith
On OS X 10.3.9, the generated po/Makefile has no values for GMSGFMT and MSGFMT. This causes the build to fail with '-o: command not found' when the empty $(MSGFMT) is used.
In the configure output, msgfmt is found in the PATH, but for some reason it does not make it to po/Makefile.
This patch works around the missing variables by adding AC_PATH_PROG in configure.ac.

17 years agocommitted patch 1702352 from John Faith.
jiho-sf [Mon, 30 Apr 2007 20:56:49 +0000 (20:56 +0000)]
committed patch 1702352 from John Faith.
"-Wno-pointer-sign" is added to CFLAGS, then AC_COMPILE_IFELSE is run, but g++ instead of gcc is used. For gcc 3.3 (Mac OS 10.3.9) this causes compiler failure "unrecognized option" when building libcroco. This is apparently due to the "AC_LANG(C++)" line before the compile test, so adding "AC_LANG_PUSH(C)" before the compile test and "AC_LANG_POP" after the test seems to set the correct compiler.

17 years agofix csp opening closed subpaths.
acspike [Mon, 30 Apr 2007 19:16:11 +0000 (19:16 +0000)]
fix csp opening closed subpaths.
this is generally a good thing but might cause some differences in visual result, especially in any effect that used the implicit curveto conversion of the closing Z segments as a feature.

17 years agonew documents icons for Mac OS X:
jiho-sf [Sat, 28 Apr 2007 10:28:50 +0000 (10:28 +0000)]
new documents icons for Mac OS X:
- badged SVG icon
- modified EPS, EPSI, postscript icons to resemble the SVG one and to follow Aqua HIG: "Traditionally, a document icon looks like a piece of paper with its top-right corner folded down. As previously suggested, Aqua document icons should make it obvious which application they are associated with. Preview documents, for example, include a graphic of the media (the pictures) used in the application icon. For simplicity and to avoid confusing the document with the application itself, the viewing tool is not repeated in the document icon. [...] When you want to put an identifying badge over a document icon, treat the badge as an integrated element within the document instead of putting it over the top of the base image and breaking out of the overall document shape." => we should remove the paintbrush on Inkscape logo for future versions of document icons
- added icons for AI, PDF, SVGZ, WMF
- changed the names to use the same naming convention for all icons
- added a generic inkscape_document.icns with a bigger application icon and no badge. not used yet
- modified Info.plist.in to reflect those changes

17 years agoinermediate update of RU translation
prokoudine [Sat, 28 Apr 2007 09:22:00 +0000 (09:22 +0000)]
inermediate update of RU translation

17 years agoadd Martin Owens to the AUTHORS file
acspike [Thu, 26 Apr 2007 11:50:34 +0000 (11:50 +0000)]
add Martin Owens to the AUTHORS file

17 years agoIn node tool: make rotation by [] and scaling by <> also use the active node as cente...
cilix42 [Wed, 25 Apr 2007 22:59:03 +0000 (22:59 +0000)]
In node tool: make rotation by [] and scaling by <> also use the active node as center (if there is one)

17 years agoSet up toolbox so that paint bucket defaults can be reset
johncoswell [Wed, 25 Apr 2007 22:52:27 +0000 (22:52 +0000)]
Set up toolbox so that paint bucket defaults can be reset

17 years agoa better way to start rubberband
buliabyak [Wed, 25 Apr 2007 06:19:22 +0000 (06:19 +0000)]
a better way to start rubberband

17 years agounconditionally stop only button-1 rubberbands on mouseover
buliabyak [Wed, 25 Apr 2007 06:17:17 +0000 (06:17 +0000)]
unconditionally stop only button-1 rubberbands on mouseover

17 years agoattempt to add Barcode into the make-chinery. I'll need help if this doesn't work.
acspike [Wed, 25 Apr 2007 03:40:28 +0000 (03:40 +0000)]
attempt to add Barcode into the make-chinery. I'll need help if this doesn't work.

17 years agopaint bucket, node sculpting, grow/shrink selection updates; general copyedit and...
buliabyak [Wed, 25 Apr 2007 03:08:15 +0000 (03:08 +0000)]
paint bucket, node sculpting, grow/shrink selection updates; general copyedit and rearrange; new TOC

17 years agoAdd doctormo's barcode extension. Patch 1681456. Still need to make it work with...
acspike [Wed, 25 Apr 2007 00:53:02 +0000 (00:53 +0000)]
Add doctormo's barcode extension. Patch 1681456. Still need to make it work with the make-chinery for installation and distribution.

17 years agoadded missing extensions to POFILES.in
prokoudine [Wed, 25 Apr 2007 00:13:59 +0000 (00:13 +0000)]
added missing extensions to POFILES.in

17 years agopatch 1705533
gustav_b [Wed, 25 Apr 2007 00:00:49 +0000 (00:00 +0000)]
patch 1705533

17 years agoAdded base icon support to combo box presentation
joncruz [Tue, 24 Apr 2007 08:24:19 +0000 (08:24 +0000)]
Added base icon support to combo box presentation

17 years agoskip recursion into clone's children in stroke adjustment; fix paint adjuster so...
buliabyak [Tue, 24 Apr 2007 07:02:09 +0000 (07:02 +0000)]
skip recursion into clone's children in stroke adjustment; fix paint adjuster so it does not recurse into a clone's children but adjusts the clone itself

17 years agofix 1705412: handle gracefully assigning gradients to no-bbox items
buliabyak [Mon, 23 Apr 2007 20:40:50 +0000 (20:40 +0000)]
fix 1705412: handle gracefully assigning gradients to no-bbox items

17 years agofix 1704038: finishing on right-click assumed we are finishing unclosed, which is...
buliabyak [Mon, 23 Apr 2007 20:27:52 +0000 (20:27 +0000)]
fix 1704038: finishing on right-click assumed we are finishing unclosed, which is not always true

17 years agoFix for bug #1699198: snap nodes of clones
dvlierop2 [Mon, 23 Apr 2007 20:16:27 +0000 (20:16 +0000)]
Fix for bug #1699198: snap nodes of clones

17 years agopatch 1705190
buliabyak [Mon, 23 Apr 2007 18:49:34 +0000 (18:49 +0000)]
patch 1705190

17 years agoDoc updates
joncruz [Mon, 23 Apr 2007 18:30:34 +0000 (18:30 +0000)]
Doc updates

17 years agoSupress initial change due to feedback loop
joncruz [Sun, 22 Apr 2007 05:25:43 +0000 (05:25 +0000)]
Supress initial change due to feedback loop

17 years agoRevert warning-remove edit. Needed for switch
ishmal [Sun, 22 Apr 2007 00:50:10 +0000 (00:50 +0000)]
Revert warning-remove edit.  Needed for switch

17 years agoAdd check for hidden/locked layer
johncoswell [Sun, 22 Apr 2007 00:22:57 +0000 (00:22 +0000)]
Add check for hidden/locked layer

17 years agoremove warnings
ishmal [Sun, 22 Apr 2007 00:20:14 +0000 (00:20 +0000)]
remove warnings

17 years agoclose transaction when removing empty flowtext; fixes 1704180
buliabyak [Sat, 21 Apr 2007 22:35:19 +0000 (22:35 +0000)]
close transaction when removing empty flowtext; fixes 1704180

17 years agoFix use of uninitialized 'doc' var. Fix use of gc::released 'repr'.
ishmal [Sat, 21 Apr 2007 19:26:31 +0000 (19:26 +0000)]
Fix use of uninitialized 'doc' var.  Fix use of gc::released 'repr'.

17 years agodo a light dilation on mouseup if there was no rubbing; makes it usable even with...
buliabyak [Sat, 21 Apr 2007 19:17:47 +0000 (19:17 +0000)]
do a light dilation on mouseup if there was no rubbing; makes it usable even with a mouse that gets no motion events during a click

17 years agoFinal fix for gradient fill algorithm
johncoswell [Sat, 21 Apr 2007 11:16:34 +0000 (11:16 +0000)]
Final fix for gradient fill algorithm

17 years agoSwitched connector toobar to stock GTK+ toolbars
joncruz [Sat, 21 Apr 2007 08:33:40 +0000 (08:33 +0000)]
Switched connector toobar to stock GTK+ toolbars
Working on bug #146955

17 years agoSwitch from the HAVE_GETTIMEOFDAY option to NEED_GETTIMEOFDAY since most people have it.
ishmal [Fri, 20 Apr 2007 17:51:12 +0000 (17:51 +0000)]
Switch from the HAVE_GETTIMEOFDAY option to NEED_GETTIMEOFDAY since most people have it.

17 years agoSay "skipped" when copying a single file is not necessary
ishmal [Fri, 20 Apr 2007 16:41:34 +0000 (16:41 +0000)]
Say "skipped" when copying a single file is not necessary

17 years agoFixed path in include file checks.
ishmal [Fri, 20 Apr 2007 16:28:08 +0000 (16:28 +0000)]
Fixed path in include file checks.

17 years agogrid: make grid names translatable. use different gridtype names in SVG that are...
johanengelen [Fri, 20 Apr 2007 15:48:51 +0000 (15:48 +0000)]
grid: make grid names translatable. use different gridtype names in SVG that are not translated.

17 years agoFix emphasized gridlines bug when zoomed out.
johanengelen [Fri, 20 Apr 2007 14:39:49 +0000 (14:39 +0000)]
Fix emphasized gridlines bug when zoomed out.

17 years agoStart discussion about what should be in an exported and scripted API.
ishmal [Fri, 20 Apr 2007 13:14:35 +0000 (13:14 +0000)]
Start discussion about what should be in an exported and scripted API.

17 years agoSwitched dropper toobar to stock GTK+ toolbars
joncruz [Fri, 20 Apr 2007 08:33:54 +0000 (08:33 +0000)]
Switched dropper toobar to stock GTK+ toolbars
Working on bug #146955

17 years agoSet default gridspacing back to 1px
johanengelen [Thu, 19 Apr 2007 22:26:27 +0000 (22:26 +0000)]
Set default gridspacing back to 1px

17 years agoImprove fill dragging by increasing drag tolerance and preventing already-filled...
johncoswell [Thu, 19 Apr 2007 21:40:06 +0000 (21:40 +0000)]
Improve fill dragging by increasing drag tolerance and preventing already-filled pixels from being checked in gradient fills

17 years agoImprove readability and remove some unused code
dvlierop2 [Thu, 19 Apr 2007 20:06:28 +0000 (20:06 +0000)]
Improve readability and remove some unused code

17 years agoCompletes crash fix for 1638735
joncruz [Thu, 19 Apr 2007 18:09:00 +0000 (18:09 +0000)]
Completes crash fix for 1638735

17 years agoRefactored toolbar creation
joncruz [Thu, 19 Apr 2007 08:22:31 +0000 (08:22 +0000)]
Refactored toolbar creation
unified all toolbar XML to a single XML block.

17 years agoStart building drag fill that uses colors of all points under drag path
johncoswell [Thu, 19 Apr 2007 00:16:43 +0000 (00:16 +0000)]
Start building drag fill that uses colors of all points under drag path

17 years agoWhile drawing with the pen/pencil tool, use the end of the unfinished path as referen...
cilix42 [Wed, 18 Apr 2007 13:47:43 +0000 (13:47 +0000)]
While drawing with the pen/pencil tool, use the end of the unfinished path as reference point for zooming to avoid unwanted turns

17 years agoFixed: Shift-doubleclicking middle mouse button in pen tool should not finish the...
cilix42 [Wed, 18 Apr 2007 09:29:33 +0000 (09:29 +0000)]
Fixed: Shift-doubleclicking middle mouse button in pen tool should not finish the path being drawn

17 years agoSwitched pen and pencil toobars to stock GTK+ toolbars
joncruz [Wed, 18 Apr 2007 08:13:59 +0000 (08:13 +0000)]
Switched pen and pencil toobars to stock GTK+ toolbars
Working on bug #146955

17 years agoCleaned up init()/setDesktop() call and change ctor to C++ initialization.
joncruz [Wed, 18 Apr 2007 06:36:49 +0000 (06:36 +0000)]
Cleaned up init()/setDesktop() call and change ctor to C++ initialization.
Fixes bug #1638735

17 years agofix crash when pressing space while drawing a shape
buliabyak [Wed, 18 Apr 2007 01:46:21 +0000 (01:46 +0000)]
fix crash when pressing space while drawing a shape

17 years agofix leftover rubberband after switching to selector while dragging
buliabyak [Wed, 18 Apr 2007 01:07:08 +0000 (01:07 +0000)]
fix leftover rubberband after switching to selector while dragging

17 years agopatch 1687818
buliabyak [Wed, 18 Apr 2007 00:23:33 +0000 (00:23 +0000)]
patch 1687818

17 years agoadd gears
buliabyak [Wed, 18 Apr 2007 00:04:31 +0000 (00:04 +0000)]
add gears

17 years agotypo patch by maximilian albert
buliabyak [Tue, 17 Apr 2007 21:39:35 +0000 (21:39 +0000)]
typo patch by maximilian albert

17 years agoImprove snapper performance (mainly in by editting WillSnapSomething())
dvlierop2 [Tue, 17 Apr 2007 21:26:43 +0000 (21:26 +0000)]
Improve snapper performance (mainly in by editting WillSnapSomething())

17 years agoflipping patch by maximilian albert
buliabyak [Tue, 17 Apr 2007 20:57:57 +0000 (20:57 +0000)]
flipping patch by maximilian albert

17 years agoGrid: added dotted rendering of rectangular grid. Fixed bug in emphasized line spacing.
johanengelen [Tue, 17 Apr 2007 18:49:21 +0000 (18:49 +0000)]
Grid: added dotted rendering of rectangular grid. Fixed bug in emphasized line spacing.

17 years agoold default color values restored
johanengelen [Tue, 17 Apr 2007 18:03:58 +0000 (18:03 +0000)]
old default color values restored

17 years agoAdded some new checks for directories to add them to the PATH before calling Inkscape...
jiho-sf [Tue, 17 Apr 2007 18:02:50 +0000 (18:02 +0000)]
Added some new checks for directories to add them to the PATH before calling Inkscape binary so that third party tools (python install, anything in /usr/local/bin) get detected. OS X specific.

17 years agoSwitched spiral toobar to stock GTK+ toolbars
joncruz [Tue, 17 Apr 2007 16:49:48 +0000 (16:49 +0000)]
Switched spiral toobar to stock GTK+ toolbars
Working on bug #146955

17 years agoRearrange tabs for document-properties dialog
dvlierop2 [Tue, 17 Apr 2007 06:45:13 +0000 (06:45 +0000)]
Rearrange tabs for document-properties dialog

17 years agoBy default 'snap to object nodes/paths' must be off
dvlierop2 [Tue, 17 Apr 2007 06:36:31 +0000 (06:36 +0000)]
By default 'snap to object nodes/paths' must be off

17 years agoRe-add missing units menu to paint bucket toolbar
johncoswell [Tue, 17 Apr 2007 02:07:28 +0000 (02:07 +0000)]
Re-add missing units menu to paint bucket toolbar

17 years agosilly error - lazy boolean evaluation bit me
buliabyak [Mon, 16 Apr 2007 23:39:53 +0000 (23:39 +0000)]
silly error - lazy boolean evaluation bit me

17 years agofix selecting in groups with alt
buliabyak [Mon, 16 Apr 2007 23:15:25 +0000 (23:15 +0000)]
fix selecting in groups with alt

17 years agoVisual layout and spacing cleanup
joncruz [Sun, 15 Apr 2007 21:12:23 +0000 (21:12 +0000)]
Visual layout and spacing cleanup

17 years agoWhen no grid is defined but "toggle grid" is pressed => create a default rectangular...
johanengelen [Sun, 15 Apr 2007 20:57:15 +0000 (20:57 +0000)]
When no grid is defined but "toggle grid" is pressed => create a default rectangular grid

17 years agoRemoval of old grid code - fully enabled new grid code.
johanengelen [Sun, 15 Apr 2007 17:05:40 +0000 (17:05 +0000)]
Removal of old grid code - fully enabled new grid code.

17 years agoRemove some unneeded header includes
johncoswell [Sun, 15 Apr 2007 12:34:10 +0000 (12:34 +0000)]
Remove some unneeded header includes

17 years agoClear the mssage context after drag filling
johncoswell [Sun, 15 Apr 2007 12:30:08 +0000 (12:30 +0000)]
Clear the mssage context after drag filling

17 years agoFix retrieving of initial point color for paint bucket fill
johncoswell [Sun, 15 Apr 2007 12:23:46 +0000 (12:23 +0000)]
Fix retrieving of initial point color for paint bucket fill

17 years agoAdd ability to drag cursor while holding alt to add multiple points to paint bucket...
johncoswell [Sun, 15 Apr 2007 12:09:25 +0000 (12:09 +0000)]
Add ability to drag cursor while holding alt to add multiple points to paint bucket action

17 years agochange case
ishmal [Sun, 15 Apr 2007 09:14:15 +0000 (09:14 +0000)]
change case

17 years agochange case
ishmal [Sun, 15 Apr 2007 09:11:38 +0000 (09:11 +0000)]
change case

17 years agoUse relative include path for Pycxx
ishmal [Sun, 15 Apr 2007 08:19:47 +0000 (08:19 +0000)]
Use relative include path for Pycxx

17 years agoWork-around code for GTK+ 2.8 compatibility (gtk+ 2.10 required RSN)
joncruz [Sun, 15 Apr 2007 05:22:28 +0000 (05:22 +0000)]
Work-around code for GTK+ 2.8 compatibility (gtk+ 2.10 required RSN)

17 years agoincrement hatch_spacing by hatch_spacing_step when keep_selected is off; use forced...
buliabyak [Sun, 15 Apr 2007 04:51:27 +0000 (04:51 +0000)]
increment hatch_spacing by hatch_spacing_step when keep_selected is off; use forced redraws for all drawing modes, not only for thinning

17 years agochange description of select-new option in calligraphy
buliabyak [Sun, 15 Apr 2007 04:49:33 +0000 (04:49 +0000)]
change description of select-new option in calligraphy

17 years agoclean up hierarchy a bit
ishmal [Sun, 15 Apr 2007 01:34:15 +0000 (01:34 +0000)]
clean up hierarchy a bit

17 years agoTweak capture of error messages
ishmal [Sun, 15 Apr 2007 01:19:33 +0000 (01:19 +0000)]
Tweak capture of error messages

17 years agoRearrange bindings to use PyCXX
ishmal [Sun, 15 Apr 2007 01:18:55 +0000 (01:18 +0000)]
Rearrange bindings to use PyCXX

17 years agoFix typo
dvlierop2 [Sat, 14 Apr 2007 20:21:39 +0000 (20:21 +0000)]
Fix typo

17 years agorecurse into groups for thinning/thickening
buliabyak [Sat, 14 Apr 2007 18:51:46 +0000 (18:51 +0000)]
recurse into groups for thinning/thickening

17 years agoDon't snap nodes to their parent path
dvlierop2 [Sat, 14 Apr 2007 18:42:30 +0000 (18:42 +0000)]
Don't snap nodes to their parent path

17 years agoimprove interactivity by forcing redraws when thinning
buliabyak [Sat, 14 Apr 2007 17:58:26 +0000 (17:58 +0000)]
improve interactivity by forcing redraws when thinning

17 years agomake sure thinning uses updated pressure; make the response a bit nonlinear
buliabyak [Sat, 14 Apr 2007 17:07:27 +0000 (17:07 +0000)]
make sure thinning uses updated pressure; make the response a bit nonlinear

17 years agoChange python binding mechanism
ishmal [Sat, 14 Apr 2007 15:52:31 +0000 (15:52 +0000)]
Change python binding mechanism

17 years agofix typecasts
ishmal [Sat, 14 Apr 2007 12:19:14 +0000 (12:19 +0000)]
fix typecasts

17 years agochange the logic so that the value is correctly read at launch of seltrans, and appro...
buliabyak [Sat, 14 Apr 2007 02:30:34 +0000 (02:30 +0000)]
change the logic so that the value is correctly read at launch of seltrans, and approximate is the default for continuity

17 years agoSwitched circle toobar to stock GTK+ toolbars
joncruz [Fri, 13 Apr 2007 23:34:11 +0000 (23:34 +0000)]
Switched circle toobar to stock GTK+ toolbars
Working on bug #146955

17 years agomake selcue sensitive to bbox type
buliabyak [Fri, 13 Apr 2007 23:33:48 +0000 (23:33 +0000)]
make selcue sensitive to bbox type

17 years agofix select under by alt+click; prevent potential refcount leak
buliabyak [Fri, 13 Apr 2007 23:02:53 +0000 (23:02 +0000)]
fix select under by alt+click; prevent potential refcount leak