Code

inkscape.git
18 years agoShift-drop of color now sets stroke.
joncruz [Mon, 13 Mar 2006 03:14:21 +0000 (03:14 +0000)]
Shift-drop of color now sets stroke.

18 years ago(sp_svg_write_color): Change 2nd arg (buflen) from signed to unsigned int.
pjrm [Mon, 13 Mar 2006 02:56:59 +0000 (02:56 +0000)]
(sp_svg_write_color): Change 2nd arg (buflen) from signed to unsigned int.

18 years ago(sp_svg_write_color): Change 2nd arg (buflen) from signed to unsigned int.
pjrm [Mon, 13 Mar 2006 02:56:37 +0000 (02:56 +0000)]
(sp_svg_write_color): Change 2nd arg (buflen) from signed to unsigned int.
(sp_svg_write_color): Require buflen >= 8.  (All existing callers already conform.)
doc: Remove out-of-date (and incorrect: cannot have space in `rgb(' for CSS colors) todo comment.
noop: SP_SVG_NUMCOLORS is used in only one place; replace it with inline G_N_ELEMENTS(...).

18 years agoCodingStyle: whitespace
pjrm [Mon, 13 Mar 2006 02:36:44 +0000 (02:36 +0000)]
CodingStyle: whitespace

18 years agonoop: Minor phrasing/CodingStyle changes.
pjrm [Mon, 13 Mar 2006 02:30:03 +0000 (02:30 +0000)]
noop: Minor phrasing/CodingStyle changes.

18 years agoFix: was using locale to format SVG numbers.
pjrm [Mon, 13 Mar 2006 02:28:02 +0000 (02:28 +0000)]
Fix: was using locale to format SVG numbers.
Use normal attributes instead of style attribute, for greater viewer compatibility.
Tidy up the produced SVG: trim trailing zeros from numbers.
Stronger detection of invalid .ggr files.

18 years agoRemove unused methods getInverse(). (One of these appears to be buggy anyway.)
pjrm [Mon, 13 Mar 2006 02:00:19 +0000 (02:00 +0000)]
Remove unused methods getInverse().  (One of these appears to be buggy anyway.)

18 years agooperator!=: new. (Calls existing operator==.)
pjrm [Sun, 12 Mar 2006 02:26:04 +0000 (02:26 +0000)]
operator!=: new.  (Calls existing operator==.)

18 years agoexperiment with moving release beofre extraction of object from document tree
mental [Sun, 12 Mar 2006 00:23:40 +0000 (00:23 +0000)]
experiment with moving release beofre extraction of object from document tree

18 years agoChanged color dragging to have a color preview.
joncruz [Fri, 10 Mar 2006 09:29:33 +0000 (09:29 +0000)]
Changed color dragging to have a color preview.

18 years agoInitial cut of color drag-n-drop to items on canvas.
joncruz [Fri, 10 Mar 2006 07:07:04 +0000 (07:07 +0000)]
Initial cut of color drag-n-drop to items on canvas.

18 years ago(sp_selected_path_reverse): Fix when multiple paths are selected. Also fix a small...
pjrm [Thu, 9 Mar 2006 07:18:12 +0000 (07:18 +0000)]
(sp_selected_path_reverse): Fix when multiple paths are selected.  Also fix a small memory leak.

18 years agoCodingStyle: whitespace
pjrm [Thu, 9 Mar 2006 07:08:54 +0000 (07:08 +0000)]
CodingStyle: whitespace

18 years agoCodingStyle: const placement
pjrm [Thu, 9 Mar 2006 06:59:43 +0000 (06:59 +0000)]
CodingStyle: const placement

18 years agoupdate from Matiphas
a_b [Wed, 8 Mar 2006 20:55:42 +0000 (20:55 +0000)]
update from Matiphas

18 years agoupdated PO files
a_b [Tue, 7 Mar 2006 22:04:45 +0000 (22:04 +0000)]
updated PO files

18 years ago#include sp-item.h
pjrm [Tue, 7 Mar 2006 00:13:40 +0000 (00:13 +0000)]
#include sp-item.h

18 years agoPartially update: add various new `inkscape:' attributes. (I haven't yet added the...
pjrm [Tue, 7 Mar 2006 00:13:15 +0000 (00:13 +0000)]
Partially update: add various new `inkscape:' attributes.  (I haven't yet added the tolerance ones, since they seem still in a state of flux.)

18 years agoExtra quoting in various places.
pjrm [Tue, 7 Mar 2006 00:08:20 +0000 (00:08 +0000)]
Extra quoting in various places.
Allow for multiple lines from `foo --version' output.
Fix tools-version.sh invocation.  (Though I'm not sure it's all that important to invoke tools-version.sh.)
Remove useless cd at end of script.  (Presumably no-one sources autogen.sh.)

18 years agoReplace std::endl in lots of places with plain old '\n', with just a single std:...
pjrm [Mon, 6 Mar 2006 12:20:11 +0000 (12:20 +0000)]
Replace std::endl in lots of places with plain old '\n', with just a single std::flush per dependency.

18 years agoadd DocumentSubset::_clear
mental [Mon, 6 Mar 2006 05:08:31 +0000 (05:08 +0000)]
add DocumentSubset::_clear

18 years agofix changelog
mental [Mon, 6 Mar 2006 02:11:03 +0000 (02:11 +0000)]
fix changelog

18 years agoremove unneeded document parameter from constructor
mental [Mon, 6 Mar 2006 02:10:25 +0000 (02:10 +0000)]
remove unneeded document parameter from constructor

18 years agoWire up new SPObject signal to DocumentSubset, so object order changes will be reflec...
mental [Sun, 5 Mar 2006 22:04:56 +0000 (22:04 +0000)]
Wire up new SPObject signal to DocumentSubset, so object order changes will be reflected in the subset

18 years agoAdd signal for notification of object position changes
mental [Sun, 5 Mar 2006 21:53:38 +0000 (21:53 +0000)]
Add signal for notification of object position changes

18 years agoAdd DocumentSubset as groundwork for layers
mental [Sun, 5 Mar 2006 21:28:27 +0000 (21:28 +0000)]
Add DocumentSubset as groundwork for layers

18 years agowork-around for older gtkmm versions
joncruz [Sun, 5 Mar 2006 06:09:33 +0000 (06:09 +0000)]
work-around for older gtkmm versions

18 years agoFixed problem for 2.4.x
joncruz [Sun, 5 Mar 2006 05:41:33 +0000 (05:41 +0000)]
Fixed problem for 2.4.x

18 years agoChange command to remove CVS directories to .svn
ishmal [Sat, 4 Mar 2006 15:51:15 +0000 (15:51 +0000)]
Change command to remove CVS directories to .svn

18 years agoMake color drag to minibar only work when a styled item is selected.
joncruz [Sat, 4 Mar 2006 10:11:11 +0000 (10:11 +0000)]
Make color drag to minibar only work when a styled item is selected.

18 years agoAnother typo from the patch. sorry again.
ishmal [Sat, 4 Mar 2006 01:48:59 +0000 (01:48 +0000)]
Another typo from the patch.   sorry again.

18 years agoFix typo from when i applied patch. My mistake. Sorry!
ishmal [Sat, 4 Mar 2006 00:12:22 +0000 (00:12 +0000)]
Fix typo from when i applied patch.  My mistake. Sorry!

18 years agoFix bug with invalid singleton pointer. If we want a single dialog displayed, we...
ishmal [Fri, 3 Mar 2006 21:52:01 +0000 (21:52 +0000)]
Fix bug with invalid singleton pointer.  If we want a single dialog displayed, we can do it a safer way. (Callbacks in document-properties.cpp)

18 years agobug 1441767: allow device fonts (eg opentype with postscript outlines or plain postsc...
cyreve [Thu, 2 Mar 2006 21:16:13 +0000 (21:16 +0000)]
bug 1441767: allow device fonts (eg opentype with postscript outlines or plain postscript) to be instantiated by the font engine

18 years agoAdd stuff to separate .exe and debug info
ishmal [Thu, 2 Mar 2006 18:27:06 +0000 (18:27 +0000)]
Add stuff to separate .exe and debug info

18 years agoAdd stuff to separate .exe and debug info
ishmal [Thu, 2 Mar 2006 18:26:31 +0000 (18:26 +0000)]
Add stuff to separate .exe and debug info

18 years agoPut the '-g' back. How did this get deleted? DO NOT REMOVE!
ishmal [Thu, 2 Mar 2006 17:01:37 +0000 (17:01 +0000)]
Put the '-g' back.  How did this get deleted?  DO NOT REMOVE!

18 years agoMade style minibar take color drag-n-drop
joncruz [Wed, 1 Mar 2006 17:21:17 +0000 (17:21 +0000)]
Made style minibar take color drag-n-drop

18 years ago * src/conn-avoid-ref.cpp, src/libavoid/connector.h,
mjwybrow [Wed, 1 Mar 2006 01:48:07 +0000 (01:48 +0000)]
* src/conn-avoid-ref.cpp, src/libavoid/connector.h,
      src/libavoid/shape.cpp, src/libavoid/graph.cpp, src/libavoid/shape.h,
      src/libavoid/graph.h, src/libavoid/router.cpp, src/libavoid/router.h,
      src/libavoid/connector.cpp, src/libavoid/debug.h:

      Some speed improvements and interface cleanups to libavoid.

18 years agoAdd some items from Peter Selinger's patch to Potrace 1.7
ishmal [Tue, 28 Feb 2006 23:16:27 +0000 (23:16 +0000)]
Add some items from Peter Selinger's patch to Potrace 1.7

18 years agoReplace isspace() with isWhitespace(). Use pure unicode character classes.
ishmal [Tue, 28 Feb 2006 20:28:32 +0000 (20:28 +0000)]
Replace isspace() with isWhitespace().  Use pure unicode character classes.

18 years agoFixed bug with color drag-n-drop
joncruz [Tue, 28 Feb 2006 09:07:11 +0000 (09:07 +0000)]
Fixed bug with color drag-n-drop

18 years agoCleanup of embedded swatches palette switching.
joncruz [Tue, 28 Feb 2006 07:47:09 +0000 (07:47 +0000)]
Cleanup of embedded swatches palette switching.

18 years agoRefactoring layout when switching palettes
joncruz [Mon, 27 Feb 2006 17:05:39 +0000 (17:05 +0000)]
Refactoring layout when switching palettes

18 years agoFix for mssing error incoude
joncruz [Mon, 27 Feb 2006 08:27:21 +0000 (08:27 +0000)]
Fix for mssing error incoude

18 years agoRefactoring embedded swatches panel.
joncruz [Mon, 27 Feb 2006 08:01:11 +0000 (08:01 +0000)]
Refactoring embedded swatches panel.

18 years agoAllowed Private Use Area chacters to be entered.
joncruz [Mon, 27 Feb 2006 00:25:30 +0000 (00:25 +0000)]
Allowed Private Use Area chacters to be entered.

18 years agoadd flatten to makefile, fix a few inconsistencies
acspike [Sat, 25 Feb 2006 14:33:23 +0000 (14:33 +0000)]
add flatten to makefile, fix a few inconsistencies

18 years agoadding an effect to flatten curves by breaking them into sufficiently flat line segments
acspike [Sat, 25 Feb 2006 14:24:59 +0000 (14:24 +0000)]
adding an effect to flatten curves by breaking them into sufficiently flat line segments

18 years agoamend workaround for #1432690
mental [Fri, 24 Feb 2006 20:51:22 +0000 (20:51 +0000)]
amend workaround for #1432690

18 years agomake sure only positive dialog positions are read from preferences, fixes #1290647
rwst [Fri, 24 Feb 2006 18:33:07 +0000 (18:33 +0000)]
make sure only positive dialog positions are read from preferences, fixes #1290647

18 years agomake sure positive xy widget pos is written
rwst [Fri, 24 Feb 2006 18:10:36 +0000 (18:10 +0000)]
make sure positive xy widget pos is written

18 years agomake sure no negative dialog position is written into preferences,
rwst [Fri, 24 Feb 2006 18:06:37 +0000 (18:06 +0000)]
make sure no negative dialog position is written into preferences,
part of fix for #1290647

18 years agoincluding typecheck trying to prevent #1432680
rwst [Fri, 24 Feb 2006 17:23:48 +0000 (17:23 +0000)]
including typecheck trying to prevent #1432680

18 years agoadd xfig import from patch 1436952
buliabyak [Thu, 23 Feb 2006 21:07:44 +0000 (21:07 +0000)]
add xfig import from patch 1436952

18 years agofix 1311015
buliabyak [Thu, 23 Feb 2006 20:05:47 +0000 (20:05 +0000)]
fix 1311015

18 years agoprovide better explanation within brokenimage.xpm, fixes #1416738
rwst [Wed, 22 Feb 2006 10:42:14 +0000 (10:42 +0000)]
provide better explanation within brokenimage.xpm, fixes #1416738

18 years agoFixed template warning.
tgdwyer [Wed, 22 Feb 2006 06:31:01 +0000 (06:31 +0000)]
Fixed template warning.

18 years agointroduce orthogonal template declaration, fixes compiler warnings
rwst [Tue, 21 Feb 2006 15:25:19 +0000 (15:25 +0000)]
introduce orthogonal template declaration, fixes compiler warnings

18 years agorename present()->presdentPage(), removes compiler warnings
rwst [Tue, 21 Feb 2006 10:45:55 +0000 (10:45 +0000)]
rename present()->presdentPage(), removes compiler warnings

18 years agoupdated PO files
a_b [Sun, 19 Feb 2006 13:56:56 +0000 (13:56 +0000)]
updated PO files

18 years agoupdated PO files
a_b [Sun, 19 Feb 2006 12:51:09 +0000 (12:51 +0000)]
updated PO files

18 years agoupdated PO files
a_b [Sun, 19 Feb 2006 12:33:36 +0000 (12:33 +0000)]
updated PO files

18 years agoupdated PO files
a_b [Sun, 19 Feb 2006 12:25:20 +0000 (12:25 +0000)]
updated PO files

18 years agoupdated PO files
a_b [Sun, 19 Feb 2006 12:19:28 +0000 (12:19 +0000)]
updated PO files

18 years agoupdated PO files
a_b [Sun, 19 Feb 2006 12:12:21 +0000 (12:12 +0000)]
updated PO files

18 years agoupdated PO files
a_b [Sun, 19 Feb 2006 12:06:23 +0000 (12:06 +0000)]
updated PO files

18 years agoupdated PO files
a_b [Sun, 19 Feb 2006 11:49:38 +0000 (11:49 +0000)]
updated PO files

18 years agoupdated PO files
a_b [Sun, 19 Feb 2006 11:44:09 +0000 (11:44 +0000)]
updated PO files

18 years agoupdated PO files
a_b [Sun, 19 Feb 2006 11:40:46 +0000 (11:40 +0000)]
updated PO files

18 years agoupdated PO files
a_b [Sun, 19 Feb 2006 11:24:34 +0000 (11:24 +0000)]
updated PO files

18 years agoRefactoring panel containment. Purged ugly 'X'.
joncruz [Sun, 19 Feb 2006 07:43:49 +0000 (07:43 +0000)]
Refactoring panel containment. Purged ugly 'X'.

18 years agoFixing scrollbar size for embeded color swatches.
joncruz [Sun, 19 Feb 2006 05:32:13 +0000 (05:32 +0000)]
Fixing scrollbar size for embeded color swatches.

18 years agoupdated PO files
a_b [Sat, 18 Feb 2006 13:54:48 +0000 (13:54 +0000)]
updated PO files

18 years agoPOTFILES.in maintenance
a_b [Sat, 18 Feb 2006 11:40:13 +0000 (11:40 +0000)]
POTFILES.in maintenance

18 years agoRemoved horizontal scroll bar from swatches when embedded.
joncruz [Sat, 18 Feb 2006 08:56:22 +0000 (08:56 +0000)]
Removed horizontal scroll bar from swatches when embedded.

18 years agoupdates from Lucas and Colin
a_b [Thu, 16 Feb 2006 21:56:01 +0000 (21:56 +0000)]
updates from Lucas and Colin

18 years agofix 1424662: as in star, set shape before writing d=
buliabyak [Thu, 16 Feb 2006 06:39:39 +0000 (06:39 +0000)]
fix 1424662: as in star, set shape before writing d=

18 years agoadd odf
ishmal [Thu, 16 Feb 2006 01:23:02 +0000 (01:23 +0000)]
add odf

18 years agoadd ODF
ishmal [Thu, 16 Feb 2006 01:16:20 +0000 (01:16 +0000)]
add ODF

18 years agoAdd new placeholder for ODF
ishmal [Thu, 16 Feb 2006 01:15:35 +0000 (01:15 +0000)]
Add new placeholder for ODF

18 years agobulk trailing spaces removal. consistency through MD5 of binary
rwst [Wed, 15 Feb 2006 19:04:29 +0000 (19:04 +0000)]
bulk trailing spaces removal. consistency through MD5 of binary

18 years agofix 1432089: stroke is not drawn not only when it's not set but also when it's too...
buliabyak [Wed, 15 Feb 2006 19:05:25 +0000 (19:05 +0000)]
fix 1432089: stroke is not drawn not only when it's not set but also when it's too thin

18 years agonew files
ishmal [Wed, 15 Feb 2006 16:41:45 +0000 (16:41 +0000)]
new files

18 years agochange uint to more portable unsigned int
ishmal [Wed, 15 Feb 2006 16:37:10 +0000 (16:37 +0000)]
change uint to more portable unsigned int

18 years agoLog message for the "connectors and multiple documents" fix.
mjwybrow [Wed, 15 Feb 2006 13:33:07 +0000 (13:33 +0000)]
Log message for the "connectors and multiple documents" fix.

18 years ago * src/document.cpp, src/document.h, src/sp-conn-end-pair.cpp,
mjwybrow [Wed, 15 Feb 2006 13:25:54 +0000 (13:25 +0000)]
*  src/document.cpp, src/document.h, src/sp-conn-end-pair.cpp,
       src/connector-context.cpp, src/conn-avoid-ref.cpp:

    Keep a seperate connector router for each document.

    *  src/libavoid/Makefile_insert, src/libavoid/connector.cpp,
       src/libavoid/connector.h, src/libavoid/debug.h,
       src/libavoid/geometry.cpp, src/libavoid/geometry.h,
       src/libavoid/geomtypes.h, src/libavoid/graph.cpp,
       src/libavoid/graph.h, src/libavoid/incremental.cpp,
       src/libavoid/incremental.h, src/libavoid/libavoid.h,
       src/libavoid/makepath.cpp, src/libavoid/makepath.h,
       src/libavoid/polyutil.cpp, src/libavoid/polyutil.h,
       src/libavoid/router.cpp, src/libavoid/router.h,
       src/libavoid/shape.cpp, src/libavoid/shape.h,
       src/libavoid/static.cpp, src/libavoid/static.h,
       src/libavoid/timer.cpp, src/libavoid/timer.h,
       src/libavoid/vertices.cpp, src/libavoid/vertices.h,
       src/libavoid/visibility.cpp, src/libavoid/visibility.h:

    Upstream changes to libavoid that allow multiple connector
    router instances, as well a few other minor bugfixes.

18 years agofix svg to dxf scaling factor
acspike [Wed, 15 Feb 2006 00:21:25 +0000 (00:21 +0000)]
fix svg to dxf scaling factor

18 years ago * src/display/sp-canvas.cpp, display/sp-canvas.h, connector-context.cpp:
mjwybrow [Tue, 14 Feb 2006 23:16:36 +0000 (23:16 +0000)]
* src/display/sp-canvas.cpp, display/sp-canvas.h, connector-context.cpp:

    Revert a previous change that generated enter events for canvas items
    other than the current one when mouse buttons were depressed.  These
    events are now only generated in the connector context, where they are
    required.

18 years agoshuffling includes to make it compile again
rwst [Tue, 14 Feb 2006 19:05:44 +0000 (19:05 +0000)]
shuffling includes to make it compile again

18 years agocheck for null spitem (fix for #1122875, patch by inkblotter)
rwst [Tue, 14 Feb 2006 09:59:53 +0000 (09:59 +0000)]
check for null spitem (fix for #1122875, patch by inkblotter)

18 years agoreplaced connectors in connector layout icon with ordinary line to fix weird bug...
tgdwyer [Tue, 14 Feb 2006 05:28:07 +0000 (05:28 +0000)]
replaced connectors in connector layout icon with ordinary line to fix weird bug that
needs a better solution!  basically, connectors in the icon were being confused with connectors in the main document and ids were overlapping and causing problems when trying to extract the connector graph

18 years agodumps the graph to cout in dot format
tgdwyer [Tue, 14 Feb 2006 03:14:22 +0000 (03:14 +0000)]
dumps the graph to cout in dot format

18 years agocleanup
tgdwyer [Tue, 14 Feb 2006 00:59:15 +0000 (00:59 +0000)]
cleanup

18 years ago * src/graphlayout/graphlayout.cpp, src/conn-avoid-ref.cpp,
mjwybrow [Tue, 14 Feb 2006 00:36:28 +0000 (00:36 +0000)]
* src/graphlayout/graphlayout.cpp, src/conn-avoid-ref.cpp,
      src/conn-avoid-ref.h, src/libavoid/connector.cpp,
      src/libavoid/connector.h:

    Change the behaviour and naming of some connector querying code
    after feedback from Tim Dwyer in implementing graph drawing
    functionality.

18 years agoextending the font selector preview string (patch #1240559 by cmarqu)
rwst [Mon, 13 Feb 2006 19:26:23 +0000 (19:26 +0000)]
extending the font selector preview string (patch #1240559 by cmarqu)

18 years agobulk whitespace removal patch #1198588 by gigaclon
rwst [Mon, 13 Feb 2006 19:14:47 +0000 (19:14 +0000)]
bulk whitespace removal patch #1198588 by gigaclon

18 years agoclosed up denial-of-service attack vector (ironically located in an
dwyip [Mon, 13 Feb 2006 18:19:24 +0000 (18:19 +0000)]
closed up denial-of-service attack vector (ironically located in an
input verification routine).  This could have been used to trivially
terminate Inkboard users' sessions

18 years agono longer GC::release(NULL) with defect inx files, fixes #1358999
rwst [Mon, 13 Feb 2006 16:40:03 +0000 (16:40 +0000)]
no longer GC::release(NULL) with defect inx files, fixes #1358999

18 years agobump up required libxml version to 2.6.11, fixes #1261126
rwst [Mon, 13 Feb 2006 11:09:29 +0000 (11:09 +0000)]
bump up required libxml version to 2.6.11, fixes #1261126