(sp_svg_write_color): Use CSS/XHTML/SVG Basic named colours (the 16 colours white, red, lime, ..., but not the X11 colours) when possible; else use three hex difits (#ccc); else use existing six hex digits.
(sp_svg_write_color): Change return type from int (never used by existing callers) to void.
(sp_svg_write_color): Change return type from int (never used by existing callers) to void.
svg-color-test.h: New unit test file.
Set svn:eol-style to native on all *.cpp *.h files (i.e. on the few .cpp/.h files created since cvs2svn).
Remove temporary #include of svg-color.h
#include svg/svg-color.h instead of or as well as (as appropriate) svg/svg.h.
Move declaration of sp_svg_read_color,sp_svg_write_color from svg/svg.h to new file svg/svg-color.h.
svg/svg.h: Temporarily #include svg-color.h.
svg/svg.h: Temporarily #include svg-color.h.
Shift-drop of color now sets stroke.
(sp_svg_write_color): Change 2nd arg (buflen) from signed to unsigned int.
(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(...).
(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(...).
CodingStyle: whitespace
noop: Minor phrasing/CodingStyle changes.
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.
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.
Remove unused methods getInverse(). (One of these appears to be buggy anyway.)
operator!=: new. (Calls existing operator==.)
experiment with moving release beofre extraction of object from document tree
Changed color dragging to have a color preview.
Initial cut of color drag-n-drop to items on canvas.
(sp_selected_path_reverse): Fix when multiple paths are selected. Also fix a small memory leak.
CodingStyle: whitespace
CodingStyle: const placement
update from Matiphas
updated PO files
#include sp-item.h
Partially update: add various new `inkscape:' attributes. (I haven't yet added the tolerance ones, since they seem still in a state of flux.)
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.)
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.)
Replace std::endl in lots of places with plain old '\n', with just a single std::flush per dependency.
add DocumentSubset::_clear
fix changelog
remove unneeded document parameter from constructor
18 years agoWire up new SPObject signal to DocumentSubset, so object order changes will be reflec...
Wire up new SPObject signal to DocumentSubset, so object order changes will be reflected in the subset
Add signal for notification of object position changes
Add DocumentSubset as groundwork for layers
work-around for older gtkmm versions
Fixed problem for 2.4.x
Change command to remove CVS directories to .svn
Make color drag to minibar only work when a styled item is selected.
Another typo from the patch. sorry again.
Fix typo from when i applied patch. My mistake. Sorry!
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...
bug 1441767: allow device fonts (eg opentype with postscript outlines or plain postscript) to be instantiated by the font engine
Add stuff to separate .exe and debug info
Add stuff to separate .exe and debug info
Put the '-g' back. How did this get deleted? DO NOT REMOVE!
Made style minibar take color drag-n-drop
* 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.
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.
Add some items from Peter Selinger's patch to Potrace 1.7
Replace isspace() with isWhitespace(). Use pure unicode character classes.
Fixed bug with color drag-n-drop
Cleanup of embedded swatches palette switching.
Refactoring layout when switching palettes
Fix for mssing error incoude
Refactoring embedded swatches panel.
Allowed Private Use Area chacters to be entered.
add flatten to makefile, fix a few inconsistencies
18 years agoadding an effect to flatten curves by breaking them into sufficiently flat line segments
adding an effect to flatten curves by breaking them into sufficiently flat line segments
make sure positive xy widget pos is written
Fixed template warning.
introduce orthogonal template declaration, fixes compiler warnings
rename present()->presdentPage(), removes compiler warnings
updated PO files
updated PO files
updated PO files
updated PO files
updated PO files
updated PO files
updated PO files
updated PO files
updated PO files
updated PO files
updated PO files
Refactoring panel containment. Purged ugly 'X'.
Fixing scrollbar size for embeded color swatches.
updated PO files
POTFILES.in maintenance
Removed horizontal scroll bar from swatches when embedded.
updates from Lucas and Colin
add odf
add ODF
Add new placeholder for ODF
bulk trailing spaces removal. consistency through MD5 of binary
new files
change uint to more portable unsigned int
Log message for the "connectors and multiple documents" fix.
* 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.
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.
fix svg to dxf scaling factor
* 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.
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.
shuffling includes to make it compile again
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
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
dumps the graph to cout in dot format
cleanup