Code

Fixed const/non-const mismatch loop.
[inkscape.git] / doc / ChangeLog_archive.txt
1 See ChangeLog for newer entries
3 2004-03-31  Ted Gould <ted@gould.cx>
5         * src/interface.cpp:  Changing the default size so that it matches
6           the default template size.  This way, for blank documents, the
7           window doesn't open and then resize.
9 2004-03-31  Ted Gould <ted@gould.cx>
10         * src/file.cpp, src/dialogs/filedialog.cpp, src/extension/db.cpp,
11           src/extension/db.h, src/extension/system.cpp:
12           A bunch of changes for Bulia's bug 925875.  Basically now the
13           save dialog remembers which extension you've used.  This also
14           means that save works with non-standard extensions.  Also, it
15           will add extensions for you if you didn't put them on.  Finally,
16           the error dialog doesn't come up if you hit cancel in the
17           'Save As...' dialog.  Whew!
19         * src/preferences-skeleton.h:  Added in settings to make the save
20           extension global, along with whether or not the files should have
21           extensions tacked on the end of them.
23 2004-03-31  Ted Gould <ted@gould.cx>
25         * src/interface.cpp, src/interface.h, src/file.cpp:
26           Adding a cute little dialog to tell you if you are about to
27           overwrite a file you want to keep.  This fixes bug #911237
29 2004-03-30  Jon Phillips <kidproto@users.sf.net>
31         * share/icons/icons.svg src/interface.cpp src/verbs.cpp src/verbs.h:
32           Added rest of icons for the menu. I think they are a good start.
33           There still needs to be continuity between styles, but at least
34           all needed icons are present. I didn't create icons for elements
35           that are going to be removed eventually.
37         * share/tutorials/tipsandtricks.svg src/help.cpp src/interface.cpp:
38           Added this tutorial so that people can consolidate their information
39           onto this page.
41 2004-03-30  Ted Gould  <ted@gould.cx>
43         * src/file.cpp, src/file.h, src/dialogs/filedialog-win32.cpp,
44           src/dialogs/filedialog.cpp, src/dialogs/filedialog.h
45           src/extension/system.cpp, src/extension/system.h,
46           src/extension/implementation/script.cpp:
47           Making all of the file operations have lists of the extensions
48           that can be used to save and open.  This also fixes the bug
49           which talks about mis-saving file without an error - there is
50           an error message now.  Probably not the most clear, but you
51           won't miss it.
53 2004-03-29  Peter Moulder  <pmoulder@mail.csse.monash.edu.au>
55         * src/helper/bezier-utils-test.cpp: Finish the sp_bezier_fit_cubic test.
57         * src/dyna-draw-context.cpp, src/mod360.cpp, src/mod360.h,
58         src/Makefile.am: Move mod360 to new files mod360.cpp, mod360.h.
59         Add unit test for it.
61 2004-03-28  Bryce Harrington <bryce@bryceharrington.com>
63         * inkscape.cpp, inkscape.h, xml/repr-io.cpp, xml/repr.h:  Adding
64           better error handling for the situation where the
65           preferences.xml file is not successfully loaded.  In this case,
66           we want to suppress saving it, lest we overwrite the file with
67           the default skeleton preferences.
69 2004-03-28  Jon Phillips <jon@users.sourceforge.net>
71         * src/interface.cpp src/select-toolbar.cpp src/verbs.cpp src/verbs.h:
72           Changed rotate verb to be SP_VERB_OBJECT_ROTATE_90_CW so that I can
73           now install SP_VERB_OBJECT_ROTATE_90_CCW.
75         * share/icons/icons.svg src/interface.cpp src/select-toolbar.cpp
76           src/selection-chemistry.cpp src/selection-chemistry.h
77           src/verbs.cpp src/verbs.h: Added rotation 90 degrees CCW to the menu,
78           icons, and the interface. It was a pretty simple thing to do but was
79           not available on the interface.
81 2004-03-28  MenTaLguY <mental@rydia.net>
83         * src/sp-gradient.cpp: request SP_OBJECT_MODIFIED_FLAG if gradient stops
84           are added or removed
86 2004-03-27  bulia byak <bulia@users.sourceforge.net>
88         * src/main.cpp: Removed redundancy in error messages, reworded some
90         * src/verbs.cpp src/toolbox.cpp src/nodepath.cpp src/inkscape.cpp
91         src/extension/internal/ps.cpp src/main.cpp: Typos, reported by Arpad Biro
93         * AUTHORS: Added John Cliff, Fred (long overdue), Adib
95         * src/widgets/gradient-vector.cpp: John Cliff: multistage gradient editor
97         * src/splivarot.cpp src/style.cpp src/xml/repr-util.cpp src/sp-polygon.cpp:
98         Adib's svgostringstream patches
99  
100         * src/toolbox.cpp: All default buttons work correctly with undo, use freezing to
101         prevent double changes; tooltip edits, formatting; defocusing on all widgets
103         * src/display/nr-arena-image.cpp: Tentative fix for 906376: image always uses
104         _P_P_P_ compositing
106         * src/dialogs/item-properties.cpp: Refixing the slider 0.99 problem properly,
107         reported by simarilius
109         * src/help.cpp src/help.h src/interface.cpp: Expanded and split tutorial, all
110         tutorials in submenu
111  
112         * src/sp-text.cpp: Do not write dx/dy if they only contain 0s
114         * src/verbs.cpp src/verbs.h src/splivarot.cpp src/splivarot.h src/shortcuts.cpp:
115         Inset/outset by pixels: commands, keys
117         * src/preferences-skeleton.h: Default nudge 2pt
119         * src/event-context.cpp: Increased accelerated-scroll delay
121         * src/sp-text.cpp,h src/text-context.cpp: Clicking positions cursor closest to
122         the click point
124         * src/extension/internal/ps.cpp: Print dialog transient; Enter activates print;
125         patches from sodi to flush stream and add boundingBox to PS output
127         * src/dialogs/xml-tree.cpp: XML editor watches desktop change
129         * src/sp-root.cpp: Fix from sodi: default preserveAspectRatio value
131         * src/libnrtype/nr-type-w32.cpp: Fix for 915440 (from sodi)
133 2004-03-27 Peter Moulder <pmoulder@mail.csse.monash.edu.au>
135         * src/dyna-draw-context.cpp (sp_dyna_draw_context_set):
136         Tweak angle setting: prefer 0.0 instead of 360.0.
138         * src/dyna-draw-context.h, src/dyna-draw-context.cpp: Cleanup:
139         Greater conformance to CodingStyle.  Mostly whitespace changes.
141 2004-03-24  Ted Gould <ted@gould.cx>
143         * src/extension/db.[ch]: Adding in functions to get lists of 
144           input and output extensions for the file dialogs
146 2004-03-25  Alexander Clausen <alex@skip86.com>
147         
148         * src/inkview.cpp Fix inkview crash on startup
150 2004-03-24  Ted Gould <ted@gould.cx>
152         * Minor changes to get distcheck to work.
154 2004-03-24  Peter Moulder  <pmoulder@mail.csse.monash.edu.au>
156         * src/draw-context.h, src/draw-context.cpp: Cleanup: greater
157         conformance to CodingStyle.  Mostly whitespace changes.
159 2004-03-23  Peter Moulder  <pmoulder@mail.csse.monash.edu.au>
161         * src/widgets/sp-widget.h, src/widgets/sp-widget.cpp
162         (sp_widget_new_repr): Remove this unused function.
164         * src/libnrtype/nr-rasterfont.cpp (nr_rasterfont_ensure_glyph_slot):
165         Address compiler warning.
167         * src/seltrans.cpp (sp_sel_trans_ungrab): Disable the persistent
168         snapping stuff added 2004-02-19.
170         * src/desktop-events.cpp (sp_dt_ruler_event): Minor cleanup.
172 2004-03-19  bulia byak <bulia@users.sourceforge.net>
174         * src/selection-chemistry.cpp: Prevent it from scaling above 1e6 pt
176         * src/preferences-skeleton.h src/dialogs/dialog-events.cpp: "Skip taskbar" hint
177         for dialogs
178  
179         * src/selection-chemistry.cpp: Patch for copying gradients from johncliff
181         * src/event-context.cpp: Increased accelerated-scroll delay
183         * nr-pixops.h: INK_COMPOSE: Always-visible inversion compose method
185         * sp-gradient.cpp: Default linear gradient goes through center
186  
187         * nr-plain-stuff.cpp: Tweaked checkerboard size and color
188  
189         * gradient-position.cpp: Inverse colors for handles, axes, and bbox; dragging
190         snaps with Ctrl; radius handle in radial gradient
191  
192         * src/sp-rect.cpp src/sp-path.cpp: Finished fixing 918478
194         * src/gradient-chemistry.cpp src/widgets/gradient-vector.cpp: Fix for 902319,
195         remove some debug output
196  
197         * src/toolbox.cpp: Polygon mode off by default
199         * src/toolbox.cpp: Crash fix, reported by David Christian Berg
201         * src/radial.h src/nodepath.cpp: Moved Radial:: to nodepath.h for now
203         * stringstream.h: New stream class for serialization
205         * svg-path.cpp: Use new stream class
207         * src/toolbox.cpp: Smarter Sharpness, r1 and r2 undistinguishable for the user
209         * src/svg/svg-path.cpp: Restore mising break (fixes smearing for paths with h and v)
211         * src/dialogs/align.cpp src/dialogs/transformation.cpp: Reverse pjrm's change in delete
212         handlers (fixes crash on closing)
214         * src/splivarot.cpp: Simplify threshold depends on selection size, not item size
216         * src/select-toolbar.cpp: Reordered select toolbar buttons
218         * icons.svg: Reworked selector toolbar icons
220 2004-03-17  Ted Gould <ted@gould.cx>
222         * src/extension/db.h, src/extension/db.cpp, src/extension/extension.cpp,
223           src/extension/system.cpp: Changing the database stuff to be C++
224           object oriented (actually it wasn't OO before).  But this helps
225           as we start to connect to the File dialogs.
227 2004-03-16  Ted Gould <ted@gould.cx>
229         * src/file.cpp,
230           src/file.h,
231           src/extension/Makefile.am,
232           src/extension/extension.cpp,
233           src/extension/extension.h,
234           src/extension/menu.cpp,
235           src/extension/system.cpp,
236           src/extension/implementation/implementation.cpp,
237           src/extension/implementation/implementation.h,
238           src/extension/implementation/script.cpp,
239           src/extension/implementation/script.h:
240          A few of changes.
241          1) removed the extensions menu stuff from the build as it seems
242             no one is using it.
243          2) Changing Filter to Effect internally to the extensions
244          3) Adding an exception to the save and open extensions to
245             signal a failure.  There is no way to test this currently,
246             but it doesn't break anything.
248 2004-03-16  jon phillips <kidproto@users.sf.net>
250         * share/icons/icons.svg: Added a couple of icons but haven't linked them
251           to the code yet.
253         * share/tutorials/elementsofdesign.svg: Added the first part of the
254           basic graphics for this tutorial.  I added boxes for the rest, which
255           I need to finish.  I need to use Bulia's tutorial top part to keep
256           the tutorials consistent.
258 2004-03-16  bulia byak <bulia@users.sourceforge.net>
260         * nr-type-directory.cpp: Cache NRTypeFaceDef *, not NRTypeFace *, fixes 916155 
262         * src/arc-context.cpp src/arc-context.h src/event-context.h src/rect-context.cpp
263         src/spiral-context.cpp src/spiral-context.h src/star-context.cpp
264         src/star-context.h src/toolbox.cpp: John Cliff's patch #2 for shape tools,
265         with my fixes
266  
267         * icons.svg: Tweaks: stroke to curve, flip/rotate, text 
269         * src/sp-ellipse.cpp: Fixes: SPArc never writes <ellipse>; in d=, no L to the center when start==end
270  
271         * src/nodepath.cpp: Fix for 916119 
273         * src/widgets/icon.cpp: Remove not-enough-room-for-icon warning
274  
275         * src/dialogs/text-edit.cpp src/dialogs/dialog-events.cpp: Do not eat key events in the text view
277 2004-03-15  Peter Moulder  <pmoulder@mail.csse.monash.edu.au>
279         * src/widgets/gradient-vector.cpp
280         (sp_gradient_vector_widget_load_gradient, sp_gradient_vector_color_dragged):
281         Cleanup: Convert to table-driven style.
283         * src/style.cpp (sp_style_read_from_object): Additional check.
285         * src/rect-context.cpp: Cleanup: Coding Style conformance,
286         move declarations to first use.
288         * src/sp-gradient.cpp (sp_gradient_rebuild_vector): Add assertion.
290 2004-03-15  Ted Gould <ted@gould.cx>
292         * src/extension/extension.cpp:  Adding in some comments for my
293           previous checkin and also adding in the integer functions that
294           I forgot (but aren't used yet).
296 2004-03-14  Jon Phillips <jon@jonphillips.info>
298         * src/toolbox.cpp src/verbs.cpp src/interface.cpp
299         share/icons/icons.svg: Added all the icons in the VIEW
300         menu. They might need some tweaking, but its a start. Also
301         cleaned up some coding conventions for these files.
303 2004-03-14  Bryce Harrington <bryce@bryceharrington.com>
305         * src/view.cpp:  Adding an accumulator function for checking
306           return values of shutdown signal handlers, so that if any one of
307           them returns a value indicating an abort of the shutdown, the
308           shutdown process will be aborted.
310 2004-03-14  Ted Gould <ted@gould.cx>
312         * src/extension/extension.cpp, src/extension/extension.h,
313           src/extension/internal/ps.cpp: Adding in parameters for extensions.
314           This will make it so that extensions can have easy settings that
315           are used.  They are not currently persistent - but that will be
316           a future feature.
318 2004-03-14  MenTaLguY <mental@rydia.net>
320         * src/ast/*: more AST sketching
322         * src/xml/repr.cpp: existing listeners were getting dropped when new
323           listeners were added; this fix makes the behavior documented in
324           bug #896706 a little worse, but fixes bug #915913
326         * src/sp-use.cpp: SPUse does not need to manually detach its child
327           anymore, so now it doesn't
329         * src/sp-object.cpp: detach our SPRepr listener before we start
330           releasing our children, which makes listener removal faster (since
331           we are then always removing from the beginning of the listener
332           list -- i.e. removing in roughly the order in which they were added)
333           This should help bug #896706 a little more.
335         * src/event-context.cpp, src/node-context.cpp, src/rect-context.cpp,
336           src/sp-object.cpp, src/sp-offset.cpp, src/dialogs/desktop-properties.cpp,
337           src/dialogs/xml-tree.cpp, src/widgets/sp-widget.cpp,
338           src/widgets/sp-xmlview-attr-list.cpp, src/widgets/sp-xmlview-tree.cpp,
339           src/xml/repr-private.h, src/xml/repr-util.cpp, src/xml/repr.cpp,
340           src/xml/repr.h:
341           SPObjects now ::write() immediately on attribute changes, if those
342           changes are "interactive" (i.e. from the XML editor); this fixes
343           the problem with SPStar's points= attribute updating (bug #910142)
345         * src/sp-clippath.cpp, src/sp-mask.cpp, src/sp-namedview.cpp,
346           src/sp-root.cpp, src/sp-symbol.cpp:
347           simplified SPObject::remove_child handlers, focusing particularly
348           on making them not rely on the repr still being attached
350         * src/sp-object.cpp: SPObject::remove_child is now invoked after
351           the repr has been removed (fixes bug #916188)
353         * src/text-context.cpp: don't unparent the repr if it's already
354           been unparented (fixes bug #915435)
356 2004-03-14  rejon <jon@protofunk.org>
358         * src/toolbox.cpp share/icons/icons.svg: Cleaned the file up to coding
359           standards. I also have begun to add new icons to our program.
361 2004-03-13  MenTaLguY <mental@rydia.net>
363         * src/document.cpp: bumped the update limit on documents a bit
364           (bug #896076)
366         * src/sp-text.cpp: SPString now copes with parents that don't have style
367                            information (comment on bug #896706)
369         * src/xml/repr.cpp, src/xml/repr-private.h:
370           adding listeners is now O(1), which should make files which make heavy
371           use of <use> more tolerable; I decided to add an extra "last" pointer
372           rather than just prepending to the list (which would have reversed
373           its order, and make the common case for removal traverse the entire
374           list -- removal is still O(N) overall, but at least this way we usually
375           hit the best-case) (bug #896076)
377 2004-03-11  bulia byak <bulia@users.sourceforge.net>
379         * src/sp-item.h src/sp-item.cpp: Restore i2root_affine: same as i2doc but
380         without c2p, fixes 914039
382         * src/selection-chemistry.cpp: Grouping z-order fix
384         * src/path-chemistry.cpp: Combine/Break Apart fixes: preserve z-order and
385         parent, diagnostics, multiple selected, cleanup, fixes
387         * src/libnrtype/nr-type-directory.cpp: Fix win32 memory hog (unfreed
388         g_ascii_tolower in ink_strstr), implement caching of looked-up faces
390 2004-03-10  bulia byak <bulia@users.sourceforge.net>
392         * src/sp-offset.cpp: Coalesce threshold depends on item size (less transform),
393         guarding against invalid item bbox, comments
395         * src/sp-text.cpp: TODO comment for effective_dx/dy
397         * src/splivarot.cpp src/preferences-skeleton.h: Inset/Outset handle multiple
398         selections, preserve z-order and grouping; Simplify handles multiple
399         selections, preserves z-order and grouping, threshold taken from prefs,
400         accelerated
402         * src/node-context.cpp src/text-context.cpp: Disregard groups when clicking
404         * src/shortcuts.cpp: Ctrl+/ for division, ctrl-alt-/ for slice (cut path),
405         bigger window for keys
407         * src/rect-context.cpp src/rect-context.h: Knotholder, signals and listeners,
408         selection by click, tolerance, Esc deselects
410         * src/toolbox.cpp: Rect toolbar: Spinbuttons cosmetics, keys, defocusing,
411         tooltips, fixes
413         * src/shortcuts.cpp: Ctrl+e zooms to window, export is ctrl+shift+e now
415         * src/selection-chemistry.cpp: Z-order fixes: Raise rewritten, diagnostics,
416         relative raise/lower only for overlapping objects
418         * src/verbs.cpp: raise/lower commands named more consistently
420         * src/sp-item.cpp src/sp-item.h: Sorting function for items
422         * src/selection-chemistry.cpp: fix for 910017
424         * src/splivarot.cpp: Remove fill for slice
426 2004-03-09  rejon <jon@protofunk.org>
428         * samples: Moved the contents of samples into the proper share dirs.
430         * share/tutorials/tutorial.svg: Moved the default tutorial.svg to this
431           location.  It was in the wrong place.
433         * share/tutorials/elementsofdesign.svg src/help.cpp src/interface.cpp:
434           Added the textual gloss of this new tutorial. I need to add some
435           more graphics to it. But I just wanted to first of all flesh out
436           the document so that others could chunk in graphics and so
437           forth.
439 2004-03-09  MenTaLguY  <mental@rydia.net>
441         * src/ast/*: more AST work
443         * src/sp-text.cpp: fixed uninitialized variable
445         * src/sp-text.cpp: rewrote recursive character-counting algorithm
447 2004-03-08  MenTaLguY  <mental@rydia.net>
449         * src/sp-text.cpp: fixes for initialization and updating of SPString
451 2004-03-07  MenTaLguY  <mental@rydia.net>
453         * src/sp-item.cpp: the item's arenaitems shouldn't be destroyed until
454           its children have had a chance to clean up
456         * src/sp-object.cpp: fix sp_object_reorder() to correctly handle
457           next == NULL
459         * src/sp-item.cpp, src/sp-object-group.cpp, src/sp-object-repr.cpp,
460           src/sp-object.cpp, src/sp-object.h, src/sp-text.cpp, src/sp-use.cpp:
461           finished transition to SPObject::children
463         * src/sp-text.cpp: reworked SPTSpan a bit so that it copes with
464           the child changes a little better with respect to SPTSpan::string
466 2004-03-06  MenTaLguY  <mental@rydia.net>
468         * src/ast/*: initial work on AST code
470         * src/libnr/nr-convex-hull-ops.h, src/libnr/nr-convex-hull.h,
471           src/libnr/nr-matrix-fns.h, src/libnr/nr-maybe.h,
472           src/libnr/nr-rect-ops.h:
473           basic cleanups and work on NR::ConvexHull
475         * src/document.cpp, src/gradient-chemistry.cpp,
476           src/selection-chemistry.cpp, src/selection.cpp, src/sp-clippath.cpp,
477           src/sp-defs.cpp, src/sp-defs.h, src/sp-gradient.cpp, src/sp-gradient.h,
478           src/sp-item-group.cpp, src/sp-item-group.h, src/sp-item.cpp,
479           src/sp-item.h, src/sp-mask.cpp, src/sp-namedview.cpp,
480           src/sp-object-group.cpp, src/sp-object-group.h, src/sp-object-repr.cpp,
481           src/sp-object.cpp, src/sp-object.h, src/sp-pattern.cpp, src/sp-pattern.h,
482           src/sp-root.cpp, src/sp-text.cpp, src/sp-text.h,
483           src/widgets/gradient-vector.cpp:
485           children are now uniformly handled by SPObject
487 2004-03-05  bulia byak <bulia@users.sourceforge.net>
489         * src/desktop.cpp src/preferences-skeleton.h: Autoscroll now accepts
490         distance-from-edge parameter, may be negative, default is
491         options.autoscrolldistance = -10
493         * src/style.cpp src/style.h src/document.cpp: Store uri for paintsever and
494         serialize it back instead of paintserver id. find_items functions do not find
495         insensitive items by default.
497         * src/sp-item.cpp: tentative fix: do not remove style attribute if
498         write_difference fails or object has no parent
500         * src/desktop-events.cpp: transientize guide dialog
502         * splivarot.cpp, livarot/*: fred's new rasterizer, fixes
504         * src/widgets/gradient-vector.cpp: fix 906301
506         * src/dialogs/text-edit.cpp: do not rebuild text of object if not changed in the
507         dialog, fixes 906279
509         * src/selection.cpp: suppress a few meaningless warnings
511         * src/xml/repr.cpp: fix for 907056, 906222
513         * about.svg: redrawn from rejon's draft, with a highlight on lauris :)
515         * libnrtype: Full font-variant, font-weight, font-stretch support. Better family
516         and style matching algorithm. Support for generic families and multiple family
517         specifications. Xft sees all font styles, reads pfa fonts again. Font styles
518         are sorted in the list and use the native style names with Xft.
520         * src/sp-text.cpp,h src/text-context.cpp: Keys, function for adjusting linespacing
522         * keys.xml,svg,html: Linespacing keys
524 2004-03-05  Peter Moulder  <pmoulder@mail.csse.monash.edu.au>
526         * src/draw-context.cpp (fit_and_split,
527         sp_pencil_context_root_handler, spdc_add_freehand_point):
528         * src/dyna-draw-context.cpp (sp_dyna_draw_timeout_handler,
529         sp_dyna_draw_context_root_handler, fit_and_split_line,
530         fit_and_split_calligraphics):
531         Cleanups.
533         * src/Makefile.am: Fix missing backslash at end of line.
535 2004-03-05  Ted Gould  <ted@gould.cx>
536         * src/extension/impelementation/implementation.cpp,
537           src/extension/impelementation/implementation.h,
538           src/extension/impelementation/script.h,
539           src/extension/impelementation/script.cpp:
540         Adding in some more comments and doing some general cleanup
541         of the code.  It is getting better everyday.
543 2004-03-05  Ted Gould  <ted@gould.cx>
545         * src/Makefile.am: Adding back in inkview.  This was fixed by
546         Bob, but he didn't add it back in.  It's back in the build now.
547         Thanks Bob for fixing my mistakes!
549 2004-03-04  Ted Gould  <ted@gould.cx>
551         * src/extension/extension.h: Cleaning up and adding comments.
553 2004-03-04  Peter Moulder  <pmoulder@mail.csse.monash.edu.au>
555         * src/livarot/Shape.cpp (Distance): Convert to DistanceLE(p, d)
556         function returning true iff Distance(p) <= d.  (Saves 7% of total
557         inkscape CPU time for "big scribbles" test cases.)  Update callers.
559 2004-03-04  Ted Gould  <ted@gould.cx>
561         * src/extension/system.cpp, src/extension/system.h,
562           src/extension/extension.cpp, src/extension/extension.h,
563           src/extension/init.cpp, src/extension/internal/gnome.cpp,
564           src/extension/internal/ps.cpp, src/extension/internal/svg.cpp,
565           src/extension/internal/win32.cpp:
566         Making it so that an implementation is a require element to
567         build an extension.  This means that checking for one in every
568         other function is not required.  Makes a touch more sense.
570 2004-03-04  Jon A. Cruz  <jon@joncruz.org>
572         * src/file.cpp, src/interface.cpp, src/inkscape-stock.cpp,
573         src/sp-image.cpp, src/helper/png-write.cpp,
574         src/widgets/icon.cpp:
575         Fixed filename/URI translation to keep UTF-8 internally.
577 2004-03-03  Peter Moulder  <pmoulder@mail.csse.monash.edu.au>
579         * src/seltrans.cpp (sign):
580         New function to replace `FOO / fabs(FOO)' expressions in various places.
581         * src/seltrans.cpp (sp_sel_trans_stretch_request, sp_sel_trans_stretch):
582         Fix #906221.  Also change the behaviour to allow growing.
584         * src/libnr/nr-scale.h: operator[]: new versions returning writable reference.
586         * src/desktop-snap.h, src/desktop-snap.cpp
587         (sp_desktop_vector_snap_list):
588         Change final arg from NR::Point to NR::scale.  Update callers.
590 2004-03-02  Ted Gould  <ted@gould.cx>
592         * src/Makefile.am, src/print.cpp,
593           src/extension/db.cpp, src/extension/db.h, 
594           src/extension/extension.cpp, src/extension/extension.h, 
595           src/extension/system.cpp, src/extension/system.h, 
596           src/extension/init.cpp, src/extension/menu.cpp, 
597           src/extension/impelementation/Makefile.am,
598           src/extension/impelementation/implementation.cpp,
599           src/extension/impelementation/implementation.h,
600           src/extension/impelementation/script.h,
601           src/extension/impelementation/script.cpp,
602           src/extension/internal/gnome.cpp, src/extension/internal/gnome.h, 
603           src/extension/internal/ps.cpp, src/extension/internal/ps.h, 
604           src/extension/internal/svg.cpp, src/extension/internal/svg.h, 
605           src/extension/internal/win32.cpp, src/extension/internal/win32.h:
607           Turning the extensions stuff into having C++ objects instead
608           of GTK+ objects.  This affected a lot of files.
610 2004-03-02  Peter Moulder  <pmoulder@mail.csse.monash.edu.au>
612         * src/helper/curve.h, src/helper/curve.cpp
613         (sp_curve_new_from_foreign_bpath and many static functions):
614         Mark various ArtBpath[] parameters as not being written to.
616         * src/draw-context.cpp (fit_and_split): Fix to fix to edge case in
617         freehand tool.  (Hopefully to be replaced by different approach.)
619         * src/dialogs/transformation.cpp (sp_transformation_move_apply,
620         sp_transformation_scale_apply, sp_transformation_rotate_apply,
621         sp_transformation_skew_apply):
622         Remove unused `copy' parameter.  Update caller.
624         * src/dialogs/align.cpp, src/dialogs/transformation.cpp: Cleanups.
626         * src/display/nr-arena-shape.cpp (nr_arena_shape_set_path):
627         Remove affine argument (all current callers were passing NULL) and
628         unused `lieutenant' argument.  Update callers.
630         * src/selection-chemistry.h, src/selection-chemistry.cpp
631         (sp_selection_delete, sp_selection_duplicate, sp_edit_clear_all,
632         sp_edit_select_all, sp_selection_group, sp_selection_ungroup,
633         sp_selection_raise, sp_selection_raise_to_top, sp_selection_lower,
634         sp_selection_lower_to_bottom, sp_selection_cut, sp_selection_copy,
635         sp_selection_paste, sp_selection_paste_style):
636         Remove unused parameters.  Update callers.
638 2004-03-01  Nathan Hurst <njh@mail.csse.monash.edu.au>
640         * src/draw-context.cpp: Fixed edge case in freehand tool.  Added
641         comment about curve fitting.
643 2004-03-01  Peter Moulder  <pmoulder@mail.csse.monash.edu.au>
645         * src/sp-guide.cpp (sp_guide_set_property, sp_guide_get_property):
646         Minor cleanups.
648         * src/interface.h, src/interface.cpp
649         (sp_ui_new_view, sp_ui_new_view_preview): Make static.
651         * src/dyna-draw-context.cpp (sp_ddc_defaults):
652         * src/rect-context.cpp (sp_rc_defaults): 
653         Cleanup: Use table and loop instead of copy&paste.
655         * configure.in: If -Wno-unused-parameter isn't recognized (g++ 3.2 and
656         earlier) then use -Wno-unused.
658         * src/libnr/nr-point.h: NR::Point: Add explicit copy constructor and
659         operator= in the hope of fixing #907059.
661         * src/desktop-events.cpp (sp_dt_ruler_event): NR::Point'ification.
663         * src/selection.cpp (sp_selection_item_selected):
664         * src/seltrans.cpp (sp_sel_trans_stretch_request):
665         * src/display/nr-arena-shape.cpp (shape_run_A8_OR):
666         * src/livarot/PathStroke.cpp (DoJoin):
667         * src/livarot/ShapeMisc.cpp (ReFormeBezierTo):
668         Address compiler warnings.
670 2004-02-28  Jon Phillips <jon@protofunk.org>
672         * share/*: Move extensions, icons, and made a new folder screens
673         for screens that are pulled up in using inkscape.  Please test
674         this heavily as it implements the most troublesome chunks of the
675         directory reorganization.
677         * Makefile.am, Makefile.mingw, config.h.mingw, configure.in:
678         Changed to coincide with the new changes.
680 2004-02-28  Nathan Hurst <njh@mail.csse.monash.edu.au>
682         * src/nodepath.cpp,h: Moved radial to class Radial.  Moved
683         NodePath into namespace Path and partially classified.
685 2004-02-28  Peter Moulder  <pmoulder@mail.csse.monash.edu.au>
687         * src/nodepath.cpp: Mark several functions as static.
689         * src/dialogs/stroke-style.cpp: Rename DEBUG_MARKERS ifdef to
690         WITH_MARKER_GUI, and make more things conditional on it.
691         (Fixes failing assertion for the !defined case.)
693 2004-02-27  Alexander Clausen <alex@skip86.com>
695         * src/desktop-events.cpp: fix my last fix *sigh*
697         * src/inkview.cpp: fix inkview crash when none of the files 
698         on commandline exist, add very basic error reporting
700 2004-02-27  Peter Moulder  <pmoulder@mail.csse.monash.edu.au>
702         * src/dialogs/stroke-style.cpp (sp_stroke_style_set_marker_buttons):
703         Cleanup: restructure.
705         * src/dialogs/Makefile.am: in-dt-coordsys.cpp, in-dt-coordsys.h:
706         New files.
707         * src/dialogs/xml-tree.cpp (set_dt_select): Fix bug when clicked on a
708         shape that's a descendent of a <defs> node: don't try to select it
709         in the canvas.
711 2004-02-26  Peter Moulder  <pmoulder@mail.csse.monash.edu.au>
713         * src/dialogs/stroke-style.cpp:
714         Fix: free marker_xpm[i] instead of marker_xpm.
715         Misc cleanups.
717         * src/Makefile.am: New files extract-uri.cpp, extract-uri.h.
718         New unit test extract-uri-test.cpp.
719         * src/style.cpp (extract_uri): Move to src/extract-uri.cpp, and fix.
721         * src/Makefile.am (inkscapelib_src):
722         marker-status.h, marker-status.cpp: New files.
723         * src/dialogs/stroke-style.cpp, src/sp-shape.cpp, src/style.cpp:
724         Change marker debugging status messages from conditional g_message
725         to unconditional marker_status call.
727         * src/dialogs/stroke-style.cpp (marker_id_to_string):
728         Remove unused function.
730 2004-02-24  Alexander Clausen <alex@skip86.com>
732         * src/desktop-events.cpp: Fix crash when opening the guide dialog for
733         the second time
735 2004-02-24  bulia byak <bulia@users.sourceforge.net>
737         * src/helper/sodipodi-ctrlrect.cpp: A smart always-visible inversion for ctrlrect border 
739         * src/select-toolbar.cpp: Fix for 873723
741         * src/style.h src/style.cpp: write_difference only writes what is .set in the target style
743         * src/selection-chemistry.cpp: Paste style merges the style of the clipboard
744         with the object's current style
746         * src/xml/repr-io.cpp: Do not cut leading/trailing whitespace on text nodes,
747         only reject all-whitespace nodes
749         * src/pixmaps/handles.xpm src/seltrans.cpp src/knot.cpp src/nodepath.cpp
750         src/helper/sodipodi-ctrl.cpp: Changed xor compositing for ctrls, made seltrans
751         handles inverse, tweaked knot colors
753         * doc/keys-html.xsl doc/keys.html: keys.html now validates
755         * src/desktop.cpp src/desktop.h: New function to autoscroll desktop so a point
756         becomes visible
758         * src/rubberband.cpp src/select-context.cpp src/nodepath.cpp: Use the new
759         function to scroll desktop to a point
761         * src/desktop.cpp src/preferences-skeleton.h: options.autoscrollspeed 
763 2004-02-24  Peter Moulder  <pmoulder@mail.csse.monash.edu.au>
765         * src/libnr/nr-matrix.h: Add `explicit' to Matrix constructors
766         from rotate/scale/translate, to reduce the number of mysterious
767         implicit conversions used in client code.
768         Don't #include nr-rotate-ops.h, nr-scale-ops.h, nr-translate-ops.h.
770         * src/selection-chemistry.cpp (sp_selection_apply_affine):
771         Change final argument from double[6] to NR::Matrix.
772         Update callers.
773         (sp_selection_scale_relative): Change from dx,dy to NR::scale argument.
774         Update callers.
775         (sp_selection_scale, sp_selection_scale_times): Cleanup.
777         * src/libnr/Makefile.am:
778         New files nr-rotate-test.cpp, nr-scale-test.cpp, nr-translate-test.cpp.
779         * src/libnr/nr-matrix-test.cpp: Move lots of things to the new files.
780         Add tests for the operator* additions of 2004-02-23.
781         Don't #include .cpp files where linking against them suffices.
783         * src/livarot/Makefile.am (Path_test_LDADD): Fix order of libs.
785         * src/select-toolbar.cpp (sp_object_layout_any_value_changed):
786         NR::Matrix'ification.
788 2004-02-23  MenTaLguY <mental@rydia.net>
790         * src/selection-chemistry.cpp, src/selection-chemistry.h,
791           src/seltrans.cpp, src/seltrans.h, src/verbs.cpp,
792           src/dialogs/transformation.cpp, src/libnr/nr-point-fns.h,
793           src/libnr/nr-point.h, src/libnr/nr-rect.h: more NRPoint removal
795 2004-02-23  Peter Moulder  <pmoulder@mail.csse.monash.edu.au>
797         * src/sp-item-transform.cpp (sp_item_rotate_rel):
798         Use NR::Rect and .midpoint.
800         * src/dropper-context.cpp (sp_dropper_context_root_handler):
801         * src/sp-text.cpp (sp_string_set_shape):
802         Cleanup: use translate rather than setting individual matrix elements.
804         * src/libnr/nr-matrix-ops.h (operator*: Matrix*rotate, translate*scale,
805         scale*translate, Matrix*scale): New functions.
807 2004-02-22  Ted Gould <ted@gould.cx>
809         * src/extension/Makefile.am, src/extension/implementation/Makefile.am,
810         src/Makefile.am, po/POTFILES.in, po/*.po (because of previous change):
811         Okay, I screwed up.  Here are some distcheck fixes for various
812         things.  Still not entirely clean.  But these are much closer
813         than we were.
815 2004-02-22  Ted Gould <ted@gould.cx>
817         * src/modules -> src/extensions:
818         Changing the directory name so that it fits the new naming
819         conventions that we're working with.
821 2004-02-23  Peter Moulder  <pmoulder@mail.csse.monash.edu.au>
823         * src/desktop.cpp (sp_desktop_init, sp_desktop_set_display_area):
824         * src/libnrtype/nr-font.cpp (nr_font_generic_glyph_outline_get):
825         * src/libnrtype/nr-typeface.cpp (nr_font_new_default):
826         Don't use implicit NR::Matrix conversions.
828         * src/libnr/nr-translate-ops.h (operator!=): new.
830         * src/sp-item.h, src/sp-item.cpp (sp_item_bbox_desktop):
831         Add NR::Rect version.
833         * src/inkview.cpp: Address compiler warning: declare is_jar iff it is
834         defined, i.e. #ifdef WITH_INKJAR.
836         * src/desktop-snap.cpp, src/desktop.h, src/object-edit.cpp,
837         src/sp-root.cpp, src/livarot/PathConversion.cpp,
838         src/widgets/sp-color-wheel.cpp:
839         Add some #include's to reduce how much nr-matrix.h must pull in.
841         * src/desktop-affine.cpp, src/knotholder.cpp,
842         src/desktop-events.cpp, src/nodepath.cpp, src/sp-ellipse.cpp,
843         src/sp-image.cpp, src/sp-item-notify-moveto.cpp, src/sp-rect.cpp,
844         src/text-context.cpp:
845         #include libnr/nr-matrix-ops.h.
847 2004-02-22  Ted Gould <ted@gould.cx>
849         * doc/Makefile.am, po/POTFILES.in: keeping these up to date
850         for distchecks.
852 2004-02-21  Ted Gould <ted@gould.cx>
854         * extensions/txt2svg.inkmod, extensions/txt2svg.pl:
855         Adding a script that Bryce wrote that will take in text.  Plus
856         the inkscape module file to make it so that you can open text
857         files in Inkscape.
859 2004-02-21  MenTaLguY <mental@rydia.net>
861         * src/xml/repr-util.cpp, src/xml/repr.h: added RDF namespace by default
863         * src/inkscape.cpp, src/inkscape.h, src/widgets/sp-widget.cpp,
864           src/inkview.cpp: nuked global 'inkscape' variable and replaced
865           it with a module-local variable and an accessor function.
867         * src/uri.h, src/uri.c: added native filename to/from thingy
869 2004-02-20  bulia byak <bulia@users.sourceforge.net>
871         * src/text-context.cpp: [shift+]alt+arrows to kern
873         * src/sp-text.cpp,h: Complete support for dx/dy vectors, including inheritance
874         as per SVG spec. Preserve dx/dy lists in editing. Function to adjust dx/dy by
875         screen pixels.
877         * src/svg/svg-length.cpp: Function to read length in absolute units
878         only. Function to read a length into a float instead of SPSVGLength. Function
879         to read a length vector into a list of SPSVGLength's.
881         * src/sp-root.cpp src/sp-image.cpp src/sp-offset.cpp src/sp-spiral.cpp:
882         Eliminated sp_svg_length_read_ldd calls and ugly repetitive unit checks, used
883         sp_svg_length_read_[computed_]absolute instead.
885         * doc/keys.xml doc/keys.html icons/keys.svg: Updated guide and grid
886         shortcuts. Added paste in place, more notes. Added kerning keys and notes.
888         * src/libnrtype/nr-type-ft2.cpp: Crash fix, patch 895344.
889  
890         * src/sp-namedview.cpp src/sp-namedview.h: Proper showguides support, functions
891         for toggling guides and grid.
893         * src/desktop-events.cpp: Turn showguides on when creating a new guide.
894  
895         * src/verbs.cpp: Used the new toggle functions for showguides and showgrid.
897         * src/interface.cpp: Added Guides to View.
898  
899         * src/xml/repr-util.cpp: sp_repr_get_boolean fix.
901         * src/dialogs/desktop-properties.cpp: Reenabled showguides support, added
902         namedview listener to reflect outside changes to the namedview.
904 2004-02-20  Peter Moulder  <pmoulder@mail.csse.monash.edu.au>
906         * Lots of files: Refine #include's according to reorganization of
907         libnr/nr-types.h and libnr/nr-matrix.h.
909         * src/libnr/Makefile.am (libnr_a_SOURCES):
910         nr-coord.h nr-dim2.h nr-i-coord.h nr-matrix-ops.h nr-point-l.h
911         nr-point-ops.h nr-point.h nr-rect-l.h nr-rotate.h nr-rotate-ops.h
912         nr-scale-ops.h nr-scale.h nr-translate-ops.h nr-translate.h:
913         New files; code moved from nr-types.h and nr-matrix.h.
914         * src/libnr/nr-matrix.h:
915         * src/libnr/nr-types.h:
916         #include the new files.
918         * src/desktop-affine.h, src/desktop-affine.cpp
919         (sp_desktop_w2d_xy_point, sp_desktop_d2w_xy_point,
920         sp_desktop_w2doc_xy_point, sp_desktop_doc2w_xy_point,
921         sp_desktop_d2doc_xy_point, sp_desktop_doc2d_xy_point,
922         sp_desktop_root2dt_xy_point, sp_desktop_dt2root_xy_point):
923         Remove old NRPoint versions of these functions.
925         * src/select-toolbar.cpp:
926         * src/toolbox.cpp:
927         * src/widgets/spw-utilities.cpp:
928         Remove unused #include sp-item-transform.h.
930         * src/sp-item-transform.cpp (sp_item_rotate_rel): NR::Matrix'ification.
932         * src/sp-item-transform.h, src/sp-item-transform.cpp
933         (sp_item_scale_rel, sp_item_skew_rel): Remove these unused functions.
935         * src/sp-item-transform.h, src/sp-item-transform.cpp
936         (sp_item_rotate_rel, sp_item_move_rel): Change from pair of points to
937         NR::rotate and NR::translate respectively.  Update callers.
939         * src/node-context.cpp (sp_node_context_root_handler):
940         * src/rect-context.cpp (sp_rect_context_root_handler):
941         * src/zoom-context.cpp (sp_zoom_context_root_handler):
942         NR::Point'ification and var cleanup.
944         * src/event-context.cpp
945         (sp_event_context_private_root_handler, set_event_location):
946         * src/dialogs/align.cpp (sp_align_arrange_clicked): 
947         NR::Point'ification.
949         * src/desktop.h (sp_desktop_zoom_relative_keep_point,
950         sp_desktop_scroll_world): Add NR::Point version.
952 2004-02-19  Johan Ceuppens <jceuppen@easynet.be>
954         * src/inkjar/jar.cpp, src/inkjar/jar.h src/inkview.cpp:
955         inkview accepts .jar archives of SVG files on the command line.
957 2004-02-19  Peter Moulder  <pmoulder@mail.csse.monash.edu.au>
959         * src/Makefile.am: sp-item-rm-unsatisfied-cns.cpp,
960         sp-item-rm-unsatisfied-cns.h, sp-guide-attachment.h,
961         sp-item-notify-moveto.cpp, sp-item-notify-moveto.h,
962         sp-guide-constraint.h, satisfied-guide-cns.cpp,
963         satisfied-guide-cns.h, sp-item-update-cns.cpp,
964         sp-item-update-cns.h: New files.
965         * src/desktop-events.cpp (sp_dt_guide_event):
966         * src/seltrans.cpp (sp_sel_trans_ungrab):
967         * src/sp-guide.cpp (sp_guide_moveto, sp_guide_remove):
968         * src/sp-guide.h:
969         * src/sp-item.cpp (sp_item_set):
970         * src/sp-item.h:
971         Make snap-to-guide more persistent.  (Still not saved to XML though.)
973         * src/sp-spiral.cpp (sp_spiral_fit_and_draw, sp_spiral_set_shape):
974         Address NRPoint warning.
976         * src/widgets/icon.cpp (sp_icon_paint): Cleanup.
978         * src/libnr/nr-types.h: Change deprecated-cast warning from runtime
979         to compile-time.
981         * src/helper/sp-canvas.h, src/helper/sp-canvas.cpp
982         (sp_canvas_world_pt_inside_window): New function.
984 2004-02-18  MenTaLguY <mental@rydia.net>
986         * src/widgets/icon.cpp, src/widgets/icon.h: rewrote to use gdk for
987           compositing; now it looks tolerable with ANY theme!
989         * src/dialogs/item-properties.cpp: slight stabs at implementing "visible"
991         * src/libnr/nr-types.h: added warning for deprecated casts
993 2004-02-18  Peter Moulder  <pmoulder@mail.csse.monash.edu.au>
995         * src/dialogs/align.cpp (sp_align_arrange_clicked): Cleanup.
997         * src/sp-item-transform.cpp (sp_item_move_rel): NR::Matrix'ification.
999         * src/desktop-events.cpp (sp_dt_guide_event): Get guide line dialog
1000         working again: double-click on a guide to show the guide dialog.
1002         * src/utest/utest.h (UTEST_NAMED_ASSERT):
1003         Wrap this macro in static_cast<void>().
1005 2004-02-17  MenTaLguY <mental@rydia.net>
1007         * src/interface.cpp: fixed signal connection in recent items menu
1009         * src/file.cpp: fix compile and pass UTF-8 "URIs" down to module code
1011 2004-02-17  Peter Moulder  <pmoulder@mail.csse.monash.edu.au>
1013         * src/sp-guide.h, src/sp-guide.cpp (sp_guide_moveto,
1014         sp_guide_position_set):
1015         Combine into a single sp_guide_moveto routine accepting a `commit'
1016         argument.  Update callers.
1018 2004-02-16  MenTaLguY <mental@rydia.net>
1020         * src/interface.cpp: fixed bug with underscores in 'open recent' filenames
1022         * src/libnr/nr-rect.h, src/libnr/nr-types.h: moved NR::Rect to nr-rect.h,
1023           minor updates
1025         * src/libnr/nr-maybe.h: continued work on maybe implementation
1027         * src/libnr/nr-types.h, src/libnr/nr-rect.cpp, src/libnr/nr-maybe.h,
1028           src/seltrans.cpp:
1029           started on revising the NR::Rect stuff, and introduced NR::ConvexHull
1031 2004-02-16  Peter Moulder  <pmoulder@mail.csse.monash.edu.au>
1033         * src/xml/repr.cpp (sp_repr_document_root): Fix typo in most recent commit.
1035 2004-02-14  MenTaLguY <mental@rydia.net>
1037         * src/svg/svg-path.cpp: switched to locale-safe iostreams-based path
1038           serialization.
1040         * src/xml/repr-io.cpp, src/xml/repr.cpp, src/widgets/sp-xmlview-tree.cpp,
1041           src/widgets/sp-xmlview-content.cpp, src/dialogs/xml-tree.cpp:
1042           basic support for XML comments
1044 2004-02-14  bulia byak <bulia@users.sourceforge.net>
1046         * src/dialogs/dialog-events.cpp: Added UTILITY hint to sp_transientize() 
1048         * po/fr.po: Update from f.rodrigo@tuxfamily.org 
1050         * src/interface.cpp: Fix for underscore in the recent files menu, by alxrem 
1052         * src/event-context.cpp src/preferences-skeleton.h: Accelerated scrolling by Ctrl-arrows
1054         * src/event-context.cpp: Ctrl-middle-click zooms in
1056         * doc/keys.xml doc/keys-svg.xsl doc/keys-html.xsl doc/keys.html icons/keys.svg:
1057         Updated middle and right buttons scroll/zoom, cosmetics
1059         * src/shortcuts.cpp: Menu shortcut fix 
1061         * src/verbs.cpp,h: New verb: deselect 
1063         * src/selection.cpp,h: Removed unused function
1065         * src/interface.cpp: Removed Edit/Clear All, added Edit/Deselect. Comment fix
1067         * src/toolbox.cpp: Spelling fix: symmetric, not symmetrical
1069         * src/desktop.cpp,h: sp_desktop_point(): returns mouse point in document coordinates
1071         * src/selection-chemistry.cpp,h: sp_selection_paste obeys in_place parameter
1073         * src/verbs.cpp src/verbs.h src/shortcuts.cpp: Paste in place verb, shortcut 
1075         * src/interface.cpp: Paste In Place command in Edit
1077         * src/selection-chemistry.cpp: Toolbar message fix 
1079 2004-02-14  MenTaLguY <mental@rydia.net>
1081         * src/libnr/nr-types.h: added intersects() and contains() tests
1082           for points and rects
1084 2004-02-13  Peter Moulder  <pmoulder@mail.csse.monash.edu.au>
1086         * src/selection.cpp (sp_selection_snappoints):
1087         * src/sp-image.cpp (sp_image_snappoints):
1088         * src/sp-item.cpp (sp_item_private_snappoints):
1089         Don't use more than two opposite points of bounding box.
1091         * src/seltrans.cpp (sp_show_handles): Add precondition !seltrans.empty.
1092         * src/proofs: Update accordingly.
1093         * src/seltrans.cpp: Change seltrans from pointer to reference in
1094         several places.
1096 2004-02-13  Johan Ceuppens  <jceuppen@easynet.be>
1098         * src/inkjar/{jar.cpp,jar.h}: changed some file offsets,
1099         uncompressing multiple files in a jar works now. There
1100         is an improved testing program at the end of jar.cpp.
1102 2004-02-12  Peter Moulder  <pmoulder@mail.csse.monash.edu.au>
1104         * src/seltrans.cpp (sp_sel_trans_update_volatile_state):
1105         Minor cleanups.
1107         * src/desktop-snap.h, src/desktop-snap.cpp
1108         (sp_desktop_horizontal_snap, sp_desktop_vertical_snap,
1109         sp_desktop_horizontal_snap_list_scale,
1110         sp_desktop_vertical_snap_list_scale,
1111         sp_desktop_horizontal_snap_list_skew,
1112         sp_desktop_vertical_snap_list_skew):
1113         Remove these now-unused functions.
1115         * src/arc-context.cpp (sp_arc_drag):
1116         * src/rect-context.cpp (sp_rect_drag):
1117         Simplification: use sp_desktop_dim_snap instead of
1118         sp_desktop_horizontal_snap / sp_desktop_vertical_snap.
1120         * src/desktop-snap.cpp (sp_desktop_vector_snap): Minor cleanups.
1122         * src/libnr/Makefile.am, src/libnr/nr-point-fns-test.cpp:
1123         New unit test file nr-point-fns-test.cpp.
1125         * src/libnr/nr-point-fns.h, src/libnr/nr-point-fns.cpp (unit_vector):
1126         New function.
1128         * src/livarot/Path.h: Trim unnecessary includes.
1130         * src/livarot/LivarotDefs.h: #include <stdint.h> (moved from Path.h).
1132         * src/livarot/PathOutline.cpp, src/livarot/PathSimplify.cpp,
1133         src/livarot/PathStroke.cpp, src/sp-offset.cpp:
1134         #include libnr/nr-point-fns.h.
1136 2004-02-12  MenTaLguY <mental@rydia.net>
1138         * src/xml/repr-util.cpp, src/xml/repr.h: pruned some obsolete
1139           functions
1141 2004-02-12  Johan Ceuppens  <jceuppen@easynet.be>
1143         * configure.in src/Makefile.am: --with-inkjar (default no)
1144         * src/inkjar/Makefile.am src/inkjar/jar.cpp src/inkjar/jar.h:
1145         inital import of libinkjar, this can be moved to LGPL after
1146         rewriting the macros.
1148 2004-02-11  Peter Moulder  <pmoulder@mail.csse.monash.edu.au>
1150         * src/seltrans.cpp (sp_sel_trans_handle_new_event,
1151         sp_sel_trans_handle_request): NR::Point'ification.
1153         * src/seltrans-handles.cpp, src/seltrans-handles.h, src/seltrans.cpp: 
1154         Preserve constness of SPSelTransHandle's.
1156         * src/sp-item.h, src/sp-item.cpp (sp_item_set_item_transform):
1157         Make static.  Use NR::Matrix, and avoid NULL special case.
1158         Update callers.
1160         * src/sp-item.h, src/sp-item.cpp (sp_item_set_i2d_affine):
1161         Get rid of NRMatrix version.
1162         Calculate 1.25 directly rather than less accurate reciprocal of 0.8.
1164         * src/libnr/nr-matrix.h, src/libnr/nr-matrix.cpp (matrix_equalp):
1165         New function.
1166         (assert_close): Use matrix_equalp.
1168         * src/seltrans.h, src/seltrans.cpp (sp_sel_trans_transform):
1169         Get rid of non-NR::Point version.  Make affine argument const.
1170         Update callers.
1172         * src/desktop-events.cpp (sp_dt_guide_event): NR::Point'ification.
1174         * src/view.h (sp_view_set_position): Add NR::Point version.
1176         * src/desktop.h (sp_desktop_set_coordinate_status):
1177         Add NR::Point version.
1179 2004-02-09  bulia byak <bulia@users.sourceforge.net>
1181         * doc/keys.xml doc/keys-svg.xsl: Keys and Mouse Reference: source, SVG stylesheet
1182  
1183         * icons/keys.svg: Keys SVG chart (generated, do not edit)
1184  
1185         * icons/Makefile.am: Added keys.svg
1186  
1187         * src/help.cpp src/help.h src/interface.cpp: Added Keys and Mouse command
1188  
1189         * doc/keyboard-shortcuts.txt Obsoleted, removed
1191         * doc/keys-html.xsl doc/keys.html: Keys reference in HTML, stylesheet for HTML
1193         * doc/Makefile.am: updated
1194  
1195         * src/libnr/nr-pixblock.cpp: A better fix for 859364
1196  
1197         * src/libnrtype/nr-rasterfont.cpp: Reverting my previous fix for 859364, a better
1198         one is in nr-pixblock.cpp
1200         * icons/tutorial.svg: Switched to Bitstream Vera, updated tutorial
1202         * src/file.cpp: Fix for save bug 891852
1203  
1204         * src/preferences-skeleton.h: transientpolicy=1 again
1205  
1206         * src/nodepath.cpp: Ctrl-Alt-drag fix in point_line_closest()
1207  
1208         * src/select-toolbar.cpp: Small space before unit selector
1209  
1210         * src/widgets/paint-selector.cpp: Hidden buttons removed 
1212 2004-02-09  MenTaLguY <mental@rydia.net>
1214         * src/interface.cpp: disabled the autoraise checkbox on Windows
1216         * src/widgets/paint-selector.cpp, src/widgets/paint-selector.h:
1217           removed unused selector-type buttons (with Bulia)
1219 2004-02-09  Jon A. Cruz  <jon@joncruz.org>
1221         * src/widgets/sp-color-wheel.h, src/widgets/sp-color-wheel.cpp,
1222         src/widgets/sp-color-wheel-selector.h,
1223         src/widgets/sp-color-wheel-selector.cpp,
1224         src/widgets/sp-color-gtkselector.cpp,
1225         src/widgets/sp-color-notebook.cpp
1226         Added new, smaller color wheel selector.
1228 2004-02-09  Peter Moulder  <pmoulder@mail.csse.monash.edu.au>
1230         * src/desktop-affine.cpp, src/desktop-snap.cpp,
1231         src/desktop-snap.h, src/desktop.cpp, src/knotholder.cpp,
1232         src/nodepath.cpp, src/selection-chemistry.cpp, src/seltrans.cpp,
1233         src/seltrans.h, src/sp-ellipse.cpp, src/sp-image.cpp,
1234         src/sp-item.cpp, src/sp-item.h, src/sp-rect.cpp, src/sp-root.cpp,
1235         src/text-context.cpp, src/dialogs/xml-tree.cpp,
1236         src/libnr/Makefile.am, src/libnr/nr-matrix.cpp,
1237         src/libnr/nr-matrix.h, src/libnr/nr-types.h,
1238         src/libnrtype/nr-rasterfont.cpp, src/livarot/Path.h,
1239         src/livarot/PathConversion.cpp, src/livarot/PathSimplify.cpp,
1240         src/livarot/ShapeSweep.cpp, src/widgets/gradient-position.cpp,
1241         src/widgets/sp-color-wheel-selector.cpp,
1242         src/widgets/sp-color-wheel.cpp:
1243         Change matrices to be suitable for right multiplication.
1244         (Also miscellaneous cleanups as mentioned below.)
1246         * src/widgets/sp-color-wheel-selector.cpp
1247         (sp_color_wheel_selector_get_type):
1248         Address harmless warning: add value_table initializer.
1250         * src/display/nr-arena-group.h, src/display/nr-arena-group.cpp
1251         (nr_arena_group_set_child_transform): Add NR::Matrix version.
1253         * src/verbs.cpp: Add g++-2.95 portability for hash_map.
1254         (Still using hash_map, though, not yet GHashTable.)
1256         * src/uri-references.h (operator=): Remove definition, forcing link
1257         errors for accidental usage.
1259         * src/sp-chars.h, src/sp-chars.cpp (sp_chars_add_element):
1260         Add NR::Matrix version.
1262         * src/selection.cpp (sp_selection_snappoints): Performance fix: add
1263         just 4 corner points, not a thousand.
1265         * src/print.h, src/print.cpp (sp_print_bind): Add NR::Matrix version.
1267         * src/inkscape.cpp: #include sys/types.h, sys/stat.h.
1269         * src/desktop.h (SP_DESKTOP_ZOOM): Define in terms of expansion()
1270         function instead of implicit casting.
1272         * src/arc-context.cpp, src/document.cpp, src/draw-context.cpp,
1273         src/selection.cpp, src/selection.h,
1274         src/sp-ellipse.cpp, src/sp-gradient.cpp, src/sp-image.cpp,
1275         src/sp-namedview.cpp, src/sp-offset.cpp, src/sp-rect.cpp,
1276         src/sp-spiral.cpp, src/sp-star.cpp,
1277         src/sp-text.cpp, src/bonobo/canvas-translator.cpp:
1278         Cleanups: greater conformance to Coding_Style, combine declaration
1279         and first assignment of some vars.
1281 2004-02-08  MenTaLguY <mental@rydia.net>
1283         * src/interface.cpp: added "Autoraise Dialogs" menu item to toggle
1284           the transient policy thing
1286 2004-02-08 Bryce Harrington <brycehar@bryceharrington.com>
1288         * src/sp-namedview.cpp: This assert appears to serve no purpose
1289           except to cause Inkscape to crash when the user chooses to
1290           exit the app when the XML editor is open.  Commenting out the
1291           assert doesn't seem to cause any particular untoward behavior.
1293         * src/xml/: repr.cpp, repr.h: Hacking in a check to prevent
1294           deletion of the namedview entity, in order to close bug
1295           Inkscape Bug #850971.
1297 2004-02-07 Johan Ceuppens <jceuppen@easynet.be> 
1298         * src/libnrtype/nr-type-gnome.cpp src/libnrtype/nr-type-directory
1299           src/libnrtype/nr-type-xft.cpp src/widgets/font-selector.cpp 
1300           src/print.cpp src/module.h src/module.cpp
1301           modules/gnome.cpp: activated --with-gnome-print
1302           libnrtype/nr-type-primitives.h: removed possible gchar signedness
1303           bug.
1305 2004-02-07  Nathan Hurst <njh@mail.csse.monash.edu.au>
1307         * src/widgets/gradient-position.*: modified the gradient knot
1308           editor to manipulate the knots, rather than rebuilding a gradient
1309           from scratch each time.
1311 2004-02-07  MenTaLguY <mental@rydia.net>
1313         * src/xml/repr.h, src/xml/repr-util.cpp:
1315           cleaned up old code in #if 0 sections
1317         * src/display/canvas-arena.cpp, src/display/nr-arena-glyphs.cpp,
1318           src/display/nr-arena-item.cpp, src/display/nr-arena-shape.cpp,
1319           src/display/nr-arena.cpp, src/display/nr-arena.h:
1321           cleaned up old code in #if 0 sections
1323         * src/desktop-affine.cpp, src/desktop.cpp, src/draw-context.cpp,
1324           src/dropper-context.cpp, src/dyna-draw-context.cpp,
1325           src/seltrans.cpp, src/sp-root.cpp, src/sp-text.cpp,
1326           src/libnr/nr-macros.h, src/libnr/nr-types.h, src/libnr/nr-matrix.h,
1327           src/libnr/nr-matrix.cpp, src/libnrtype/nr-font.cpp,
1328           src/libnrtype/nr-rasterfont.cpp, src/livarot/PathSimplify.cpp,
1329           src/livarot/ShapeSweep.cpp:
1331           The array data member of NR::Matrix is now private; use the
1332           [] operator to access elements individually.  More matrix routines
1333           now pass by reference, and the casting operators to cast to NRMatrix
1334           no longer leak memory (by allocating temporary objects that were
1335           never freed).
1337         * src/modules/db.cpp: cleaned up some very grotty code that gcc 3.4
1338           (rightly) refused to compile
1340         * src/xml/repr-action.cpp: undo of content changes was pulling
1341           from the wrong union member (note to self: unions = evil)
1342           This fixes the problem with text editing undos yielding the wrong
1343           apparent undo order (bug #861462).
1345 2004-02-05  bulia byak <bulia@users.sourceforge.net>
1347         * src/sp-text.cpp src/sp-text.h: Function to adjust letterspacing
1349         * src/style.cpp: Comments
1351         * src/text-context.cpp: Alt+<> adjust letterspacing
1353         * src/helper/png-write.cpp: PNG comment: Software: www.inkscape.org
1355         * src/text-context.cpp: Support keypad keys, keypad +/- always zoom even when editing
1357         * src/shortcuts.cpp: Enable keypad Del
1359         * src/event-context.cpp: Enable keypad arrows with Ctrl to scroll canvas
1361         * src/zoom-context.cpp src/rect-context.cpp src/arc-context.cpp src/star-context.cpp
1362         src/spiral-context.cpp src/draw-context.cpp src/dyna-draw-context.cpp
1363         src/text-context.cpp src/dropper-context.cpp: Swallow keypad up/down keys too,
1364         preventing them from focusing the zoom field
1366 2004-02-05  Jon Phillips <kidproto@users.sf.net>
1368         *  src/dialogs/item-properties.cpp, src/dialogs/item-properties.h, 
1369            src/dialogs/object-attributes.cpp, src/dialogs/object-attributes.h, 
1370            src/dialogs/object-properties.cpp, src/dialogs/object-properties.h, 
1371            src/dialogs/sp-attribute-widget.cpp, src/dialogs/sp-attribute-widget.h, 
1372            src/dialogs/stroke-style.cpp, src/dialogs/stroke-style.h, 
1373            src/dialogs/text-edit.cpp, src/dialogs/text-edit.h, 
1374            src/dialogs/tool-options.cpp, src/dialogs/tool-options.h,
1375            src/dialogs/transformation.cpp, src/dialogs/transformation.h,
1376            src/dialogs/xml-tree.cpp, src/dialogs/xml-tree.h,
1377            src/dialogs/xml-tree.cpp, src/dialogs/xml-tree.h: Converted 
1378            the aforementioned to coding style.
1381 2004-02-04  Ted Gould <ted@gould.cx>
1383         * src/desktop-snap.cpp: Removing some unused code that had
1384         been replaced.
1386 2004-02-04  jon phillips <kidproto@user.sf.net>
1388         * COPYING, COPYING.LIB, ChangeLog, Makefile.am, Makefile.mingw, 
1389           Makefile.mingw.common, NEWS, README, autogen.sh, configure.in, 
1390           inkscape-cvs-0.ebuild, inkscape.1.in, inkscape.spec.in: 
1391           all files converted from tabs to 4 spaces and cleaned up the 
1392           coding style, tested, they build, and have committed.
1393           
1394         * extension/*: I converted all files to coding style.
1396         * src/dialogs/align.cpp, src/dialogs/align.h, 
1397           src/dialogs/desktop-properties.cpp, src/dialogs/desktop-properties.h, 
1398           src/dialogs/dialog-events.cpp, src/dialogs/dialog-events.h: Converted 
1399           the following files to use our coding convention.
1401         * src/dialogs/desktop-properties.cpp, src/dialogs/desktop-properties.h, 
1402           src/dialogs/display-settings.cpp, src/dialogs/display-settings.h, 
1403           src/dialogs/export.cpp, src/dialogs/export.h, 
1404           src/dialogs/fill-style.cpp, src/dialogs/fill-style.h: converted the 
1405           aforementioned files to new coding conventions.
1407 2004-02-04  bulia byak <bulia@users.sourceforge.net>
1409         * src/style.h src/style.cpp src/sp-text.cpp: Read-only (so far) support for
1410         letter-spacing CSS property
1412         * src/event-context.cpp src/select-context.cpp src/draw-context.cpp
1413         src/dyna-draw-context.cpp src/knotholder.cpp src/nodepath.cpp src/object-edit.cpp:
1414         Trimming #if 0
1416         * src/text-context.cpp: Trimming #if 0, removing unneeded document_done
1418         * src/spiral-context.cpp src/star-context.cpp: Trimming #if 0, enabling ctrl-drag
1420         * src/dialogs/dialog-events.cpp src/preferences-skeleton.h: Added
1421         options.transientpolicy, 1 as default
1423         * src/preferences-skeleton.h: Increased options.keyscroll
1425         * src/dialogs/xml-tree.cpp: Fix for 852619, fix for failed asserts when selecting root
1427         * src/widgets/gradient-selector.cpp: Fix for 854514, 856682 
1429 2004-02-02  Peter Moulder  <pmoulder@mail.csse.monash.edu.au>
1431         * src/desktop-snap.h, src/desktop-snap.cpp: Indicate that the snap_list
1432         functions don't modify the passed snap points.  For the wrapper versions,
1433         don't bother "copying back the new [actually unchanged] versions".
1435 2004-01-31  bulia byak <bulia@users.sourceforge.net>
1437         * src/zoom-context.cpp src/rect-context.cpp src/arc-context.cpp src/star-context.cpp
1438         src/spiral-context.cpp src/draw-context.cpp src/dyna-draw-context.cpp
1439         src/text-context.cpp src/dropper-context.cpp: Fix to swallow up/down keys in
1440         contexts so as to prevent zoom field from activation, but allow ctrl with up/down
1441         keys to scroll canvas.
1443         * src/interface.cpp: Removed New Preview, Remove Transform commands. Added Tutorial
1444         command to Help.
1446         * src/preferences-skeleton.h: Reduced default stroke width to 1 pt.
1448         * src/help.cpp src/help.h: Tutorial command.
1450         * icons/tutorial.svg: First try at the tutorial. 
1452         * icons/Makefile.am: Adding tutorial.
1454         * src/nodepath.cpp: No-nodepath crash fixes.
1456         * doc/architecture.svg: Added namedview.
1458         * doc/default.svg: Removed, now reworked into icons/tutorial.svg.
1460         * src/event-context.cpp: Swapped scrollwheel modifiers.
1462         * src/xml/repr.cpp src/xml/repr-io.cpp: Small comment fix.
1464 2004-01-31  Johan Ceuppens  <jceuppen@easynet.be>
1465         * src/verbs.cpp src/verbs.h: removed sp_fullscreen and put it in
1466         desktop.cpp and desktop.h as fullscreen
1467         * configure.in src/interface.cpp src/shortcuts.cpp src/inkscape.cpp 
1468         src/inkscape.h src/desktop.cpp src/desktop.h: 
1469         Added HAVE_GTK_WINDOW_FULLSCREEN as conditional compilation based
1470         on a function check for gtk_window_fullscreen in configure script
1472 2004-01-30  Johan Ceuppens  <jceuppen@easynet.be>
1473         * src/verbs.cpp src/verbs.h: Added fullscreen verb. Fullscreen action
1474         is in SP_VERB_IS_ZOOM.
1475         * src/interface.cpp: Added fullscreen menuitem.
1476         * src/shortcuts.cpp: Linked in fullscreen shortcut (untested)
1477         * src/inkscape.cpp src/inkscape.h
1478         * src/desktop.cpp src/desktop.h: Added is_fullscreen gboolean to
1479         SPDesktop.
1481 2004-01-30  Peter Moulder  <pmoulder@mail.csse.monash.edu.au>
1483         * src/libnr/nr-path.h, src/libnr/nr-path.cpp: Mark some functions
1484         as not modifying the matrix passed to them.
1486         * src/display/nr-arena-group.h, src/display/nr-arena-group.cpp
1487         (nr_arena_group_set_child_transform):
1488         Indicate that matrix isn't written to.
1490         * src/sp-item-transform.cpp (sp_item_rotate_rel, sp_item_scale_rel,
1491         sp_item_skew_rel),
1492         src/sp-marker.cpp (sp_marker_update, sp_marker_show_instance),
1493         src/sp-shape.cpp (sp_shape_bbox),
1494         src/sp-symbol.cpp (sp_symbol_update, sp_symbol_show, sp_symbol_print),
1495         src/display/nr-arena-shape.cpp (nr_arena_shape_update, nr_arena_shape_pick):
1496         Remove uses of nr_matrix_f_from_d.
1497         * src/libnr/nr-matrix.h, src/libnr/nr-matrix.cpp (nr_matrix_f_from_d),
1498         src/libnr/libnr.def:
1499         Remove now-unused nr_matrix_f_from_d.
1501         * src/nodepath.cpp (sp_nodepath_new),
1502         src/path-chemistry.cpp (sp_selected_path_combine, sp_selected_path_break_apart),
1503         src/selection-chemistry.cpp (sp_selection_apply_affine),
1504         src/selection.cpp (sp_selection_bbox_document),
1505         src/sp-item.cpp (sp_item_bbox_desktop, sp_item_private_snappoints),
1506         src/sp-pattern.cpp (sp_pattern_painter_new),
1507         src/modules/gnome.cpp (sp_module_print_gnome_fill),
1508         src/widgets/icon.cpp (sp_icon_image_load_svg):
1509         Remove uses of nr_matrix_d_from_f.
1510         * src/libnr/nr-matrix.h, src/libnr/nr-matrix.cpp (nr_matrix_d_from_f),
1511         src/libnr/libnr.def:
1512         Remove now-unused nr_matrix_d_from_f.
1514         * src/sp-item.h, src/sp-item.cpp (sp_item_set_i2d_affine_d,
1515         sp_item_i2doc_affine_d, sp_item_i2d_affine_d, sp_item_dt2i_affine_d):
1516         Merge _d version with non-_d version.  Update callers.
1518         * src/rubberband.h, src/rubberband.cpp (sp_rubberband_start):
1519         Add NR::Point version.
1520         Implement x,y version as call to NR::Point version.
1522 2004-01-29  Peter Moulder  <pmoulder@mail.csse.monash.edu.au>
1524         * src/desktop-snap.h, src/desktop-snap.cpp (sp_desktop_dim_snap_list):
1525         Export this function.
1526         (sp_desktop_horizontal_snap_list, sp_desktop_vertical_snap_list):
1527         Remove these now-unused functions.
1528         * src/select-context.cpp (sp_selection_moveto):
1529         Use sp_desktop_dim_snap_list instead of
1530         sp_desktop_horizontal_snap_list, sp_desktop_vertical_snap_list.
1532         * src/select-context.cpp (sp_selection_moveto): Fix what appears to be
1533         a memory leak.
1535         * src/rubberband.h, src/rubberband.cpp (sp_rubberband_move):
1536         Add NR::Point version.
1538         * src/seltrans.h (sp_sel_trans_point_desktop): Add NR::Point version.
1540         * src/seltrans.h, src/seltrans.cpp (sp_sel_trans_point_desktop,
1541         sp_sel_trans_origin_desktop): Indicate that pointer isn't written through.
1543         * src/node-context.cpp, src/select-context.cpp:
1544         Make some globals static.
1546         * src/style.cpp (sp_style_read_pfloat, SPS_READ_IFLOAT_IF_UNSET, 
1547         SPS_READ_PFLOAT_IF_UNSET): Remove these unused functions/macros.
1549 2004-01-28  MenTaLguY  <mental@rydia.net>
1551         * src/toolbox.cpp: aux toolbar now expands properly when torn off
1552         (fix for bug #874923)
1554         * src/libnr/nr-svp.cpp, src/libnr/nr-stroke.cpp,
1555         src/libnr/nr-svp-private.h, src/libnr/nr-svp.h,
1556         src/libnr/nr-svp-render.cpp, src/libnr/nr-svp-uncross.cpp:
1558         NRCoord -> NR::Coord
1560         * src/interface.cpp: removed Filters menu
1562         * src/modules/win32.cpp: the Win32 GDI uses BRGx, rather than
1563         RGBA, so we reverse the B and R bytes before blitting (fix
1564         for bug #887428)
1566 2004-01-28  Peter Moulder  <pmoulder@mail.csse.monash.edu.au>
1568         * src/seltrans.cpp: Various cleanups, including addressing some
1569         warnings, and doing some more NR::Point'ification.
1571         * src/knot.h, src/knot.cpp (sp_knot_set_position): Change from
1572         pass-by-value to pass-by-const-reference.
1574         * src/geom.cpp (sp_intersector_line_intersection): Restore
1575         definition of previous local `cross' function, but "inline" the
1576         dot(rot90(a), b) definition.  This makes the definition conform to
1577         the documentation.
1578         * src/desktop-snap.cpp (sp_intersector_a_vector_snap): Undo a recent
1579         change that adapted to the previously-introduced bug in
1580         sp_intersector_line_intersection.
1582         * icons/Makefile.am: s/icons_dir/iconsdir/g for automake.
1583         * src/dialogs/Makefile.am, src/widgets/Makefile.am:
1584         s/icons_dir/iconsdir/g for consistency with icons/Makefile.am.
1586 2004-01-27  jon phillips <jon@users.sourceforge.net>
1588         * Makefile.am: changed 'glade' globally to 'icons'
1590         * Makefile.mingw: changed 'glade' globally to 'icons'
1592         * config.h.mingw: changed 'INKSCAPE_GLADEDIR' to 'INKSCAPE_ICONS_DIR'
1594         * configure.in: changed 'glade' globally to 'icons'
1596         * Makefile.am: changed 'gladedir' to 'icons_dir', and fixed spacing, 
1597         changed 'glad_DATA' to 'icons_DATA'
1599         * glade/about_svg.tmpl: changed 'glade' globally to 'icons'
1601         * po/pl.po: changed 'glade' globally to 'icons'
1603         * src/config.h.win32: changed 'SODIPODI_GLADEDIR' to 'SODIPODI_ICONS_DIR'
1604         * src/dialogs/Makefile.am: changed 'gladedir' to 'icons_dir', changed 
1605         '-DINKSCAPE_GLADEDIR=\""$(gladedir)"\" \' to 
1606         '-DINKSCAPE_ICONS_DIR=\""$(icons_dir)"\" \'
1608         * src/dialogs/makefile.msc: changed 'gladedir' to 'icons_dir'
1610         * src/dialogs/object-properties.cpp: changed 'INKSCAPE_GLADEDIR' to 
1611         'INKSCAPE_ICONS_DIR'
1613         * src/dialogs/stroke-style.cpp: changed 'INKSCAPE_GLADEDIR' to 
1614         'INKSCAPE_ICONS_DIR'
1616         * src/widgets/Makefile.am: changed 'gladedir' to 'icons_dir'
1618         * src/widgets/icon.cpp: changed 'glade' globally to 'icons'
1620         * src/widgets/makefile.msc: changed 'gladedir' to 'icons_dir'
1623 2004-01-26  bulia byak <bulia@users.sourceforge.net>
1625         * src/inkscape.cpp: failed assertion fix 
1627         * src/shortcuts.cpp: Linked/dynamic offset shortcuts, zoom to page width 
1629         * src/preferences-skeleton.h: Add inkscape:pageopacity, borderopacity
1631         * src/attributes.cpp,h src/sp-namedview.cpp,h: Add inkscape:pageopacity
1633         * src/dialogs/desktop-properties.cpp: Get/set inkscape:pageopacity in the page
1634         background color picker; reword and rearrange labels, spacing fix
1636         * src/dialogs/export.cpp: Use inkscape:pageopacity for export background; fix crash on
1637         exit
1639         * src/file.cpp: Remove debug output when exporting
1641         * src/sp-gradient.cpp src/svg/svg-path.cpp src/libnr/nr-compose.cpp src/dir-util.cpp
1642         src/desktop.cpp: Fixes from sodipodi
1644         * src/main.cpp: Fix PNG size limits when exporting from commandline 
1646         * src/style.cpp src/style.h: currentColor support from sodipodi
1648         * src/sp-gradient.cpp: Fix for 876614 from sodipodi
1650         * src/dialogs/desktop-properties.cpp: Convert meters to cm on writing (to make
1651         svg/@height and svg/@width SVG compliant)
1653         * src/sp-rect.cpp: Fix in description
1655         * src/dialogs/text-edit.cpp: Fix bug: undo broken when font applied to more than one
1656         text object. And another bug: do not apply text, only style, when more than one text
1657         object selected.
1659         * src/widgets/font-selector.cpp: Make font and style lists scroll automatically to
1660         show selected row
1662 2004-01-26  Peter Moulder  <pmoulder@mail.csse.monash.edu.au>
1664         * config.h.win32: Remove this outdated and apparently-unused file.
1666         * src/livarot/Path-test.cpp: new file.
1667         * src/livarot/Makefile.am: New test program Path-test.
1668         Remove $(cflags) from INCLUDES.
1670         * configure.in: Adjust some things for our C to C++ transition.
1671         Add warning flags to CXXFLAGS if the compiler is g++.
1673 2004-01-26 MenTaLguY <mental@rydia.net>
1675         * src/configure.in, src/Makefile.am, src/modules/Makefile.am,
1676         src/libnrtype/Makefile.am:
1677         merged patch #847856 for autotools builds on mingw/win32
1679         * src/sp-marker.h: added a URIReference subclass for markers
1681         * src/sp-path.cpp: fixed backwards-compatiblilty thing with
1682         (ancient) Sodipodi
1684         * src/xml/repr-action.c, src/xml/repr-action.h,
1685         src/xml/repr-private.h, src/xml/repr.cpp:
1687         made SPReprDoc::is_logging a C++ bool, and fixed sp_repr_rollback()
1688         to respect the no-logging-during-rollback invariant
1690 2004-01-25 MenTaLguY <mental@rydia.net>
1692         * src/sp-object-repr.cpp, src/splivarot.cpp, src/sp-offset.cpp:
1693         changed "offset" to "inkscape:offset" for sodipodi:type
1695 2004-01-24  bryce <brycehar@bryceharrington.com>
1697         * src/dialogs/stroke-style.cpp:  Hooking up marker buttons to
1698         underlying marker style setting code, & etc.  
1700 2004-01-24  bulia byak <bulia@users.sourceforge.net>
1702         * src/document.cpp src/sp-namedview.cpp: Desensitize undo for changing document uri
1703         and for saving window geometry/viewarea into namedview
1705         * src/xml/repr-util.cpp: Increase precision in set_double_attr
1707         * src/arc-context.cpp: Call invoke_write when finishing arc, instead of setting attrs
1708         manually
1710         * src/sp-ellipse.cpp: Add write method to genericellipse; fix handling of start and
1711         end attrs; fix undo bug (877238)
1713 2004-01-24  MenTaLguY <mental@rydia.net>
1715         * src/xml/repr-action.h, src/xml/repr-action.c: made the
1716         SPReprAction::act union anonymous, and reworked the transaction
1717         log optimization code.  sp_repr_coalesce_log() should be a bit
1718         faster now, and no more strcmp()s.
1720 2004-01-23  Peter Moulder  <pmoulder@mail.csse.monash.edu.au>
1722         * src/livarot/Path.h, src/livarot/Path.cpp (Path::Affiche): remove
1723         unused function.
1724         Doing so allows removal of path_descr_moveto::pathLength field and the
1725         code for calculating its value.
1727         * src/livarot/Path.cpp (SizeForData): Change from private method to
1728         static function.
1729         Use new function roundup_div instead of `%' calculation.
1731         (Path::CloseSubpath): Remove loop that calculated pathLength.
1732         Consequently remove the no-longer-used argument.  Update callers.
1734         (Path::MoveTo, Path::LineTo, Path::CubicTo, Path::ArcTo,
1735         Path::TempBezierTo, Path::EndBezierTo, Path::IntermBezierTo,
1736         Path::BezierTo, Path::AddPoint, Path::PointAt,
1737         Path::PointAndTangentAt):
1738         Change some C-style casts to reinterpret_cast's.
1740         (Path::PointAt, Path::PointAndTangentAt): code transformations
1741         in preparation for merging some branches.
1743         * src/libnr/nr-types-test.cpp (main): Update for NR::Point .pt
1744         privateness change.
1746         * src/libnr/nr-svp-uncross.cpp (nr_segment_intersection): Mark some
1747         pointer arguments as not being written through.
1748         Add doc comment.
1750         * src/selection-chemistry.cpp (sp_matrix_d_set_rotate):
1751         Slight reduction in numerical error.
1752         (Also rename variables from `angle' to `angle_degrees' in several
1753         places.)
1755         * src/node-context.cpp (sp_node_context_root_handler):
1756         * src/object-edit.cpp (sp_arc_start_set, sp_arc_end_set,
1757         sp_spiral_inner_set, sp_spiral_outer_set):
1758         * src/select-context.cpp (sp_select_context_root_handler):
1759         * src/seltrans.cpp (sp_sel_trans_rotate_request):
1760         Fix for options.rotationsnapsperpi == 0.
1762         * src/event-context.cpp (sp_event_context_private_root_handler):
1763         Address warning.
1765 2004-01-22  bulia byak <bulia@users.sourceforge.net>
1767         * src/attributes.h src/attributes.cpp: Added pagecolor, bordercolor, borderopacity (from sodipodi), pageshadow.
1769         * src/sp-namedview.h src/sp-namedview.cpp: Added reading page attributes.
1771         * src/desktop.cpp: Added setting page and border color (from sodipodi), pageshadow taken from namedview.
1773         * src/preferences-skeleton.h: Moved pageshadow into namedview, added page and border colors to the template.
1775         * src/dialogs/desktop-properties.cpp: Added page and border color selectors (from
1776         sodipodi), moved former document settings here.
1778         * src/verbs.cpp src/verbs.h: Removed document settings, renamed editing window into document options.
1780         * src/interface.cpp: Removed document settings command.
1782         * src/dialogs/document-properties.cpp,h src/dialogs/tool-attributes.cpp,h: Removed.
1784         * src/dialogs/object-properties.cpp: Removed size and position dialog.
1786         * src/dialogs/Makefile.am: Removed unused dialogs.
1788         * src/verbs.cpp src/verbs.h: Removed unused dialog verbs.
1790         * src/dyna-draw-context.cpp: Removed debug output.
1792         * src/node-context.h: New members for tracking left, right/alt, ctrl.
1794         * src/nodepath.cpp: Reorganize [] <> code, add update_repr (oops). Fix near-zero handles behavior with <>.
1796         * src/sp-item-transform.cpp: More correct transformation writing method: use each
1797         item's transform writer instead of simply adding transform= attribute.
1799         * src/document.cpp src/document.h src/document-undo.cpp: Added
1800         sp_document_ensure_up_to_date on each undoable action, fixes bbox problems (bug
1801         879249). Added callback to reset actionkey on each selection change, so that
1802         same-key actions on different objects are not lumped together.
1804         * src/selection-chemistry.cpp: Removed spurious sp_selection_changed calls from all
1805         transformation functions, coalesced [] <> rotates and scales.
1807         * src/select-toolbar.cpp: Coalesced spinbutton moves and scales. 
1809 2004-01-21 MenTaLguY <mental@rydia.net>
1811         * src/desktop-snap.cpp, src/desktop.cpp, src/nodepath.cpp,
1812         src/object-edit.cpp, src/sp-namedview.cpp, src/sp-offset.cpp,
1813         src/splivarot.cpp, src/uri.h, src/dialogs/desktop-properties.cpp,
1814         src/libnr/nr-matrix.cpp, src/libnr/nr-matrix.h,
1815         src/libnr/nr-point-fns.cpp, src/libnr/nr-point-fns.h,
1816         src/libnr/nr-rect.cpp, src/libnr/nr-types.cpp, src/libnr/nr-types.h,
1817         src/livarot/Path.cpp, src/livarot/PathConversion.cpp,
1818         src/livarot/PathOutline.cpp, src/livarot/PathSimplify.cpp,
1819         src/livarot/PathStroke.cpp, src/livarot/Shape.cpp,
1820         src/livarot/ShapeMisc.cpp, src/livarot/ShapeSweep.cpp,
1821         src/livarot/ShapeSweepUtils.cpp:
1822         Cleanup; made data member of NR::Point private and replaced
1823         a few 'magic' [0] and [1] indices with the more meaningful NR::X
1824         and NR::Y.
1826 2004-01-20 Jon Phillips <jon@protofunk.org>
1828         * src/help.cpp: I cleaned up the code a little according to our coding 
1829         standards and have/am adding comments to the help system.
1831 2004-01-20  bulia byak <bulia@users.sourceforge.net>
1833         * src/selection-chemistry.cpp,h: New scaling utility functions
1835         * src/select-context.cpp: <> [] with modifiers to scale/rotate objects
1837         * src/nodepath.cpp,h: New functions for scaling and rotating nodes
1839         * src/node-context.cpp: <> [] with modifiers to scale/rotate nodes, left/right
1840         modifiers affect one of the two handles
1842         * src/node-context.h: New node context members for tracking left/right alt/ctrl
1844         * src/event-context.cpp: Use cursor coords when zooming by scrollwheel (fixme)
1846 2004-01-19 MenTaLguY <mental@rydia.net>
1848         * src/dialogs/xml-tree.cpp: automatically scroll tree view to show selected item
1850 2004-01-19 Jon Phillips <jon@protofunk.org>
1852         * src/desktop.cpp: Changed the document shadow to be an option. It is 
1853         option.pageshadow. I also made some wrapper code so that if the value
1854         is set to 0, then the constructor for page shadow is not 
1855         initialized.
1857 2004-01-18  bulia byak <bulia@users.sourceforge.net>
1859         * src/sp-spiral.cpp,h: Moved defines to .h
1861         * src/object-edit.cpp: Reenabled restricted ctrl-rotation of spiral and arc. Added
1862         alt-drag in spiral to lock radius. Used PI/options.rotationsnapsperpi everywhere
1863         instead of PI/4.
1865         * src/selection-chemistry.cpp,h src/select-context.cpp: Enable [ ] keys to rotate
1866         selected objects by rotationsnapsperpi. Alt [ ] rotate by angular pixels.
1868         * src/event-context.cpp src/preferences-skeleton.h src/desktop.h src/zoom-context.cpp
1869         src/select-context.cpp: Behavior fixes, simplifications, & unifications in handling
1870         dragtolerance, rubberband, and shift/ctrl+selection
1872         * src/event-context.cpp src/preferences-skeleton.h src/desktop.h: Define & use new
1873         options for scrolling distances: keyscroll, wheelscroll
1875 2004-01-18 MenTaLguY <mental@rydia.net>
1877         * src/uri.h, src/uri.cpp, src/uri-reference.h, src/uri-reference.cpp,
1878         src/sp-item.h, src/sp-item.cpp, src/sp-clippath.h,
1879         src/sp-gradient.h, src/sp-gradient.cpp, src/sp-mask.h,
1880         src/sp-item.h, src/sp-item.cpp:
1882         Reworked URIs to use libxml, and URIReferences to be specialized
1883         for particular object types.  Also switched gradients to using
1884         URIReferences.
1886 2004-01-17 Jon <jon@protofunk.org>
1888         * src/desktop.cpp: Changed the document shadow to 1 pixel. It as
1889         set to 5, which is really cheesy. I changed it in the 
1890         constructor for SP_desktop_new in the function 
1891         sp_ctrlrect_set_shadow().
1893 2004-01-17 Bryce <bryce@bryceharrington.com>
1895         * src/sp-root.cpp, src/sp-symbol.cpp:  Fixing NRMatrix's a -> &a
1896         so codebase will build.
1898         * Adding marker xpm's to Makefile.in so the button images display
1899         in the stroke style dialog (must do a make install)
1901 2004-01-17 MenTaLguY <mental@rydia.net>
1903         * src/uri.h, src/uri.cpp, src/uri-references.cpp:
1904         new Inkscape::URI implementation using libxml URI stuff
1906 2004-01-15  bulia byak <bulia@users.sourceforge.net>
1908         * src/preferences-skeleton.h: Added: tools.freehand.perncil tolerance,
1909         options.zoomincrement, rotationsnapsperpi, maxrecentdocuments
1911         * src/seltrans.cpp src/draw-context.cpp src/nodepath.cpp: Rotation snaps taken from
1912         preferences
1914         * src/inkscape.cpp: Max recent documents from prefs
1916         * src/desktop.cpp,h: New _keep_point zoom functions
1918         * src/event-context.cpp: Zoom in/out on (shift+)middle click, use
1919         options.dragtolerance, use options.zoomincrement, use _keep_point zoom functions
1921         * src/verbs.cpp: Use options.zoomincrement
1923         * src/zoom-context.cpp: Use options.zoomincrement, use _keep_point zoom functions
1925         * src/tools-switch.cpp: Fix for 865740
1927         * src/draw-context.cpp: Fix for 877188
1929         * src/nodepath.cpp: Swapped ctrl-click and ctrl-alt-click
1931         * src/knot.cpp src/knotholder.cpp src/nodepath.cpp: Knot colors, using XOR paint mode
1933         * src/widgets/widget-sizes.h src/desktop.cpp: Coord skip taken from define, limited
1934         height of the bottom bar
1936         * src/splivarot.h src/splivarot.cpp src/verbs.cpp src/verbs.h src/interface.cpp: Added
1937         dynamic and linked offsets to menu
1939         * src/knot.cpp src/select-context.cpp src/zoom-context.cpp src/draw-context.cpp:
1940         Unified within_tolerance handling; take curve fitting tolerance from preferences in
1941         freehand tool (default 10)
1943 2004-01-15  MenTaLguY <mental@rydia.net>
1945         * glade/about.svg, glade/about_svg.tmpl, samples/inkscape.logo.svg:
1946         updated to match the current standard logos from
1947         inskcape_project/artwork
1949 2004-01-15  Nathan Hurst <njh@mail.csse.monash.edu.au>
1951         * src/livarot/* an ungodly number of changes for improved use of
1952         NR::Point.  Const propagation.  Minor bugfixes.
1954 2004-01-15  Peter Moulder  <pmoulder@mail.csse.monash.edu.au>
1956         * src/widgets/paint-selector.cpp (sp_paint_selector_set_color_alpha,
1957         sp_paint_selector_get_color_alpha, sp_paint_selector_system_color_set),
1958         src/widgets/sp-color-gtkselector.cpp (ColorGtkselector::_colorChanged),
1959         src/widgets/sp-color-notebook.cpp (ColorNotebook::_colorChanged,
1960         ColorNotebook::_updateRgbaEntry), src/widgets/sp-color-selector.cpp
1961         (ColorSelector::setAlpha, ColorSelector::setColorAlpha,
1962         ColorSelector::_updateInternals):
1963         Add assertions that alpha is in [0.0, 1.0].
1965         * src/libnr/nr-types.h, src/libnr/nr-rect.cpp (NR::Rect::corner):
1966         Change argument to unsigned, thus changing remainder operator to modulo
1967         operator, thus fixing bug for "negative" arguments (-1u etc.).
1969         * src/dialogs/stroke-style.cpp (sp_stroke_style_paint_update_repr): fix
1970         bug with unsigned->float alpha conversion.
1972         * src/nodepath.cpp (angle_normalize): Remove no-longer-used function.
1974         * src/draw-context.cpp (spdc_endpoint_snap_internal): Fix for
1975         negative options.rotationsnapsperpi.
1977 2004-01-14  Peter Moulder  <pmoulder@mail.csse.monash.edu.au>
1979         * src/selection-chemistry.cpp (sp_selection_item_next,
1980         sp_selection_item_prev): cleanups, including moving some common
1981         code into new static function scroll_to_show_item.
1983         * src/widgets/font-selector.h, src/widgets/font-selector.cpp
1984         (sp_font_selector_set_font_fuzzy): Remove this unused function.
1986         * src/sp-text.cpp (sp_text_font_style_to_lookup),
1987         src/dialogs/text-edit.cpp (sp_text_edit_dialog_font_style_to_lookup):
1988         Move this duplicated function to src/libnrtype/font-style-to-pos.cpp
1989         as font_style_to_pos, rewriting & fixing its bugs in the process.
1990         Adjust callers.
1991         * src/libnrtype/font-style-to-pos.cpp, src/libnrtype/font-style-to-pos.h:
1992         New files.
1993         * src/libnrtype/Makefile.am: Mention the new files.
1994         * src/libnrtype/nr-type-pos-def.h: Make the default constructor fill in
1995         sensible values.
1996         Add constants for CSS weight numbers.
1998 2004-01-13 MenTaLguY  <mental@rydia.net>
2000         * src/object-ui.cpp: 'Fill Settings' -> 'Fill and Stroke'
2002         * src/FilePath.cpp, src/FilePath.h: removed until we can rethink
2003         the file stuff
2005 2004-01-13  Peter Moulder  <pmoulder@mail.csse.monash.edu.au>
2007         * src/libnrtype/nr-type-directory.h,
2008         src/libnrtype/nr-type-directory.cpp (nr_type_directory_lookup_fuzzy):
2009         Change second arg from char const* to NRTypePosDef.
2010         (nr_type_calculate_position) Move to nr-type-pos-def.cpp as implicit
2011         NRTypePosDef constructor from string.
2012         * src/libnrtype/nr-typeface.h: NRTypePosDef changed from struct to class.
2013         * src/libnrtype/nr-type-pos-def.h, src/libnrtype/nr-type-pos-def.cpp:
2014         new files.
2015         * src/libnrtype/Makefile.am: Mention the new files.
2017         * src/sp-text.cpp (sp_text_font_style_to_lookup): Fix segfault I
2018         introduced, reported by ishmal.
2020 2004-01-12  bulia byak <bulia@users.sourceforge.net>
2022         * src/sp-rect.cpp: Removed coordinates from rect description
2024         * src/selection-chemistry.cpp: Delete fix from sodipodi, more statusbar diagnostics
2026         * src/prefs-utils.cpp,h: New functions for setting/getting string values
2028         * src/dialogs/export.cpp: Export dialog tracks selection and document changes (fix for
2029         853849). Export area, dpi remembered in prefs. Misc fixes and cleanups
2031         * src/preferences-skeleton.h: New options for export: exportarea, defaultxdpi
2033         * src/widgets/spw-utilities.cpp,h: New function for recursively searching widgets for
2034         key/value pair
2036         * src/svg/svg-affine.cpp: Ignore whitespace at the end of transform attribute - fix
2037         for 850943 (from sodipodi)
2039         * src/select-toolbar.cpp: Correctly handle zero dimensions - fix for 871552
2041 2004-01-12  Peter Moulder  <pmoulder@mail.csse.monash.edu.au>
2043         * src/sp-gradient.cpp (sp_gradient_repr_set_vector): "Fix" a memory
2044         leak.  However, I haven't worked out how to get this code to run, in
2045         order to check that the guessed replacement code is correct.  Instead
2046         I've inserted a g_warning and a TODO comment.
2048         * src/libnrtype/nr-type-directory.cpp
2049         (nr_type_calculate_position): Fix bug where `ultra bold' and `extra
2050         bold' were getting parsed as `bold'.
2051         (nr_type_distance_family_better, nr_type_distance_position_better):
2052         Rename to nr_type_distance_family and nr_type_distance_position
2053         respectively, and return just the distance.
2054         (nr_type_distance_family): Use g_ascii_strcasecmp instead of
2055         strcasecmp/stricmp.
2056         (nr_type_distance_family): Return unsigned instead of float.
2057         (nr_type_distance_position): Use double instead of float.
2059         * src/libnrtype/nr-rasterfont.cpp
2060         (nr_rasterfont_generic_glyph_area_get,
2061         nr_rasterfont_generic_glyph_mask_render): Suppress warning:
2062         s/CLAMP/MIN/ if the type is unsigned and the lower bound is 0.
2064         * src/helper/sp-canvas.cpp (paint): Cache canvas->{x0,y0} +
2065         GTK_WIDGET(canvas)->allocation.{width,height}.
2066         Remove some commented-out variables.
2068         * src/tools-switch.cpp, src/tools-switch.h: Make some functions static.
2069         (tools_num2name): Remove unused function.
2070         (tools_isactive): Add assertion of not accessing past the end of the
2071         array.
2073         * src/knot.cpp (sp_knot_handler): Fix bug where event wasn't
2074         getting consumed.
2075         Get rid of hypot macro.
2077         * src/svg/svg-affine.cpp (sp_svg_transform_write): Add assertions
2078         that buffer overflow hasn't occurred.
2080         * src/sp-text.cpp (sp_text_font_style_to_lookup),
2081         src/dialogs/text-edit.cpp (sp_text_edit_dialog_font_style_to_lookup):
2082         Slight restructuring using g_snprintf instead of less readable (&
2083         slightly less efficient in this case) strlen/memcpy.
2085         * src/sp-metrics.h: Increase accuracy of PT_PER_CM etc.
2086         Add FIXME comment.
2088         * src/dialogs/item-properties.cpp, src/display/nr-arena-shape.cpp:
2089         Address `-Wshadow' warnings.
2091         * src/nodepath.h, src/nodepath.cpp: Make some functions static.
2092         (sp_nodepath_node_deselect) Remove unused function.
2094         * src/dialogs/align.cpp (sp_quick_align_dialog): Switch to data-driven approach.
2095         Mark some things as static.
2096         (sp_quick_align_dialog_close) Remove unused function.
2097         (sp_align_arrange_clicked) Change aligns constant array from ints to
2098         doubles.  Adjust caller.
2100 2004-01-11  Iain <iain@prettypeople.org>
2102         * src/modules/ps.cpp: Swap the Print and Cancel buttons around, and
2103         remove the separator.
2105 2004-01-11  bulia byak <bulia@users.sourceforge.net>
2107         * src/desktop.cpp,h: New functions and SPDesktop members for maintaining lists of past
2108         and future zooms. New commands for toggling rulers and scrollbars, removed old and
2109         unused toggle_borders. Zoom spinbutton editable again, coord_status uses gtk_label
2110         instead of statusbar, misc cosmetics. Reduced sizes of the window bottom
2111         stuff. Save/restore the status of rulers and scrollbars in preferences.
2113         * src/preferences-skeleton.h: New options: showrulers, showscrollbars. Added default
2114         namedview for a 640x480 new document window.
2116         * src/widgets/spinbutton-events.cpp,h: Common spinbutton callbacks.
2118         * src/widgets/Makefile.am: Added spinbutton-events.
2120         * src/select-toolbar.cpp: Remove code into spinbutton-events.
2122         * src/widgets/widget-sizes.h: Added sizes for bottom stuff: zoom field, coord status,
2123         statusbar. Misc cosmetic changes.
2125         * src/verbs.cpp,h: New verbs for next/prev zoom. New verbs for toggling rulers and
2126         scrollbars.
2128         * src/sp-namedview.cpp: Cancel past zooms at the end of window_from_document.
2130         * src/shortcuts.cpp: `, shift-` to navigate the history of zooms. Ctrl-r, Ctrl-b to
2131         toggle rulers and scrollbars.
2133         * src/interface.cpp: Added next/prev zoom commands in the view menu. Added three
2134         toggle commands (grid, rulers, scrollbars) in the view menu.
2136         * src/widgets/ruler.cpp: Use fixed smaller font size, defined in widget-sizes. 
2138 2004-01-10  bulia byak <bulia@users.sourceforge.net>
2140         * src/draw-context.cpp: Changed alt to shift for one-handle drag.
2142 2004-01-10  Peter Moulder  <pmoulder@mail.csse.monash.edu.au>
2144         * src/desktop-events.cpp, src/desktop-snap.cpp, src/draw-context.cpp,
2145         src/gradient-chemistry.cpp, src/selection-chemistry.cpp,
2146         src/seltrans.cpp, src/sp-shape.cpp:
2147         Address some `-Wshadow' warnings.
2149         * src/attributes.cpp, src/color.cpp, src/inkscape.cpp,
2150         src/interface.cpp, src/helper/units.h, src/libnrtype/nr-type-xft.cpp,
2151         src/svg/svg-color.cpp, src/widgets/gradient-vector.cpp:
2152         Address some `-Wwrite-strings' warnings.
2154         * src/document.h, src/document.cpp,
2155         src/prefs-utils.h, src/prefs-utils.cpp,
2156         src/select-toolbar.cpp,
2157         src/helper/unit-menu.h, src/helper/unit-menu.cpp,
2158         src/libnr/nr-object.h, src/libnr/nr-object.cpp:
2159         Mark some pointer function arguments as not being written through.
2161         * src/path-chemistry.cpp (sp_selected_path_combine): Fix what appears
2162         to be a memory leak.  Change string concatenation from Omega(n^2) to
2163         Omega(n).
2165 2004-01-09  bulia byak <bulia@users.sourceforge.net>
2167         * src/zoom-context.cpp: Added drag tolerance 
2169         * src/widgets/widget-sizes.h: Spinbutton steps defined here
2171         * src/widgets/spw-utilities.cpp,h: New function for recursively searching widgets for data
2173         * src/select-context.cpp: Alt-x activates aux toolbar 
2175         * src/select-toolbar.cpp: Implement esc, ctrl-z, up/down, pgup/pgdn, tab in the aux
2176         toolbar, identified default spinbutton for activating by alt-x
2178         * src/nodepath.cpp: Fix for uninitialized variable, reported by Bob Jamison 
2180         * src/draw-context.cpp: Fix for 873092; Never snap if hitting anchor
2182 2004-01-08  bulia byak <bulia@users.sourceforge.net>
2184         * src/select-context.cpp: Fixed ctrl-drag (without breaking ctrl-click) 
2186         * src/verbs.cpp: Tooltip edits
2188         * src/desktop.cpp: Changed initial statusbar message (suggested by Daniel Diaz)
2190         * src/tools-switch.cpp src/nodepath.cpp src/selection.cpp: Edited statusbar messages,
2191         made them translatable
2193 2004-01-08  Nathan Hurst  <njh@mail.csse.monash.edu.au>
2195         * src/helper, src/libnr and various: removed senescent code inside
2196         #if 0s and changed scoping of variables to be close to use.  minor
2197         performance tweeks.
2199 2004-01-08  Peter Moulder  <pmoulder@mail.csse.monash.edu.au>
2201         * src/widgets/sp-color-notebook.cpp (getCurrentSelector): Address
2202         unsignedness warning (thus fixing a minor buglet).
2204         * Too many files to list (58 .cpp files, phew!): Address `missing
2205         initializer for member _GTypeInfo::value_table' warnings.
2207         * src/toolbox.cpp, src/helper/sp-canvas.cpp: Address miscellaneous
2208         other `missing initializer' warnings.
2210         * src/libnr/nr-values.h, src/libnr/nr-values.cpp: Add `Point
2211         component_vectors[2]' global constant (moved from desktop-snap.cpp).
2213         * src/sp-namedview.cpp:
2214         Combine SPNamedview .hguides & .vguides into .guides.
2215         Combine .gridspacingx, .gridspacingy scalars into .gridspacing Point.
2216         Consequently reduce copy&paste code both here & in callers.
2218         * src/sp-guide.h, src/sp-guide.cpp (sp_guide_moveto,
2219         sp_guide_position_set): Take a scalar (.position value) as argument,
2220         not a point.
2221         (sp_guide_position_from_pt): new function.  Adapt callers.
2222         (sp_guide_description): New function.
2223         (sp_guide_compare): Remove, not used.
2224         Change SPGuide.orientation (horizontal/vertical enum) to .normal (a
2225         Point to be used with dot product), as a step towards allowing
2226         arbitrary-direction guide lines.
2228         * src/desktop-events.cpp: Adapt to SPGuide change.
2229         Remove some #if 0'ed code that would otherwise require updating.
2231         * src/desktop-snap.h, src/desktop-snap.cpp: Convert some pass-by-value
2232         Point arguments to const references.  Unexport
2233         sp_desktop_dim_snap_list_scale.  Adapt to above changes.
2235         * src/dialogs/desktop-properties.cpp: Adapt to .gridspacing change.
2237 2004-01-07  Peter Moulder  <pmoulder@mail.csse.monash.edu.au>
2239         * src/geom.h, src/geom.cpp (sp_intersector_line_intersection):
2240         change arguments from `Point' to `Point const &'.
2242         * src/libnr/nr-types.h: Move cross to its sole user, src/geom.cpp.
2244 2004-01-06  bulia byak <bulia@dr.com>
2246         * src/widgets/spw-utilities.cpp,h: Recursive font setting functions 
2248         * src/widgets/widget-sizes.h: New: defines sizes and intervals, for toolbars etc.  
2250         * src/select-toolbar.cpp src/helper/unit-menu.cpp src/toolbox.cpp,h: Use
2251         widget-sizes.h and recursive font_set
2253 2004-01-06  Peter Moulder  <pmoulder@mail.csse.monash.edu.au>
2255         * src/desktop-snap.cpp: Make the `horizontal' and `vertical'
2256         global constants be static.
2257         Similarly, make functions sp_intersector_a_vector_snap,
2258         sp_desktop_dim_snap_list static.
2260         * configure.in: Fix sigc++ checking code: add it to the existing
2261         PKG_CHECK_MODULES(INKSCAPE, ...)  list instead of modifying
2262         $CXXFLAGS,$LIBS.
2264         * distro: Remove some bashisms: change `function f {...}' to
2265         `f () {...}', and invoke self with `sh' rather than `bash'.
2267         Also change a strange-looking "tr '  ' ' '" to "tr -s ' '", as
2268         a guess as to the intended meaning.  (The actual meaning of the
2269         original is a noop.)
2271 2004-01-06  bulia byak <bulia@dr.com>
2273         * src/document-undo.cpp src/document.h: Undo and redo now return gbooleans
2275         * src/selection-chemistry.{cpp|h}: sp_undo, sp_redo: new, with statusbar
2276         diagnostics. Duplicate command adds statusbar diagnostics, places duplicate
2277         into the source's parent instead of document root
2279         * src/verbs.cpp: Use sp_undo, sp_redo. Tooltip edits
2281         * src/toolbox.cpp src/toolbox.h: New aux_toolbox_space()
2283         * src/interface.cpp: New commands in view (cycling desktops) and dialogs (hide dialogs)
2285         * src/main.cpp: Removed unneeded include
2287         * src/select-toolbar.cpp src/select-toolbar.h: New selector aux toolbar with XYWH
2288         spinbuttons (taken mostly from the size&position dialog)
2290         * src/toolbox.cpp src/toolbox.h: Removed selector aux toolbar code from here
2292         * src/helper/unit-menu.cpp: Use abbreviations in the unit menu
2294         * src/widgets/sp-widget.cpp: Added checks that the inkscape object is valid before
2295         disconnecting SPWidget from it
2297 2004-01-06 MenTaLguY <mental@rydia.net>
2299         * src/Makefile.am: removed monostd.h
2301         * src/sp-item.cpp, src/uri-reference.h, src/uri-reference.cpp:
2302         redid URI reference stuff a bit
2304 2004-01-06 Nathan Hurst <njh@mail.csse.monash.edu.au>
2306         * src/desktop-snap.{h,cpp} is now built using NR::Point.
2308 2004-01-06 Nathan Hurst <njh@mail.csse.monash.edu.au>
2310         * src/draw-context.cpp closing a segment now remains snapped.
2311         Lots of snapping fixes.
2313 2004-01-05 MenTaLguY <mental@rydia.net>
2315         * src/uri-references.cpp, src/uri-references.h,
2316         src/uri.cpp, src/uri.h, sp-item.cpp:
2317         new URI code
2319 2004-01-04 MenTaLguY <mental@rydia.net>
2321         * src/object-ui.cpp: flattened group submenu
2323         * src/uri-references.cpp: fixed initialization bug; for
2324         pre-existing references, the "release" signal wasn't being
2325         connected
2327 2004-01-04  Peter Moulder  <pmoulder@mail.csse.monash.edu.au>
2329         * src/helper/bezier-utils.cpp: Greater use of NR::Point instead of
2330         NRPoint.  (Readability improved as a result.)
2331         Get rid of now-unused sp_vector_add etc. functions.
2332         Get rid of MAXPOINTS fixed upper limit, in the process making more efficient.
2333         NewtonRaphsonFindRoot: handle the case where f'(u) <= 0. (Previously
2334         it would seek a local maximum instead of minimum in this case.)
2335         Rename lots of static functions according to our coding standards.
2336         Fix some documentation.
2337         Filter out any NaN points in the input.
2338         Change the iteration cutoff from the square of the requested error to
2339         3 * the requested error.  Change the "acceptable error" test from `<'
2340         to `<='.
2341         * src/helper/bezier_utils.h (sp_bezier_fit_cubic_full): change
2342         arguments from NRPoint to NR::Point.
2343         * src/sp-spiral.cpp: Adapt to sp_bezier_fit_cubic_full change.
2344         Greater use of NR::Point instead of NRPoint.
2346         * src/helper/curve.h, src/helper/curve.cpp (sp_curve_moveto,
2347         sp_curve_lineto, sp_curve_curveto): Add convenience wrappers that
2348         take n NR::Point's instead of 2*n gdoubles.
2350         * src/helper/curve.h, src/helper/curve.cpp: Indicate that certain
2351         functions don't modify the curve passed to them.
2353         * src/libnr/nr-types.h: operator[], operator+=, operator/=, unary operator-,
2354         operator==, operator!=: new.  Remove methods L1,L2,Linfty, move them to
2355         functions in nr-point-fns.{h,cpp}.  Rename Normalize to normalize with
2356         more sophisticated non-inline implementation in nr-types.cpp.
2357         * src/libnr/{nr-types.cpp,nr-point-fns.h,nr-point-fns.cpp}: new files.
2358         * src/libnr/nr-types-test.cpp: new unit test file.
2359         * src/libnr/Makefile.am: mention the new files.
2361         * src/Makefile.am: Add `check-recursive: all-recursive' dependency
2362         (and a comment with related discussion).
2364         * src/xml/Makefile.am: Append $(EXEEXT) to executables in TESTS.
2366         * src/verbs.cpp (sp_action_get_title): Get rid of fixed-sized buffer.
2368         * src/nodepath.cpp: Miscellaneous cleanups including fixing
2369         erroneous indentation, changing `g_list_length(foo) == 0' to `foo
2370         == NULL', removing unused function closest_of_three, specifying
2371         some functions as `static', adding doc.
2373         * src/inkscape.cpp (inkscape_remove_desktop): Change
2374         `g_slist_length (foo) == 0' to `foo == NULL'.
2376         * src/dyna-draw-context.cpp (fit_and_split_calligraphics): Fix the
2377         calculation of BEZIER_MAX_LENGTH.
2378         Add assertions that the corresponding buffers haven't been overrun.
2380 2004-01-03  Ted Gould <ted@gould.cx>
2382         * src/helper/bezier-utils.cpp, src/inkscape-stock.h:
2383         Fixing some Doxygen errors.
2385 2004-01-03  bulia byak <bulia@dr.com>
2387         * src/dialogs/dialog-events.{cpp|h}: Hide/unhide callbacks
2389         * all dialog files: Connected hide/unhide signals
2391         * src/inkscape.cpp src/inkscape.h: New functions for dialog hide, unhide, toggle
2393         * src/verbs.cpp src/verbs.h: New verb for dialog toggle
2395         * src/shortcuts.cpp: F12, quoteleft toggle dialogs
2397         * src/desktop.cpp: Zoom field width increased
2399         * src/node-context.cpp: Crash fix by Robert Crosbie
2401 2004-01-03  MenTaLguY <mental@rydia.net>
2403         * src/inkscape.cpp, src/inkscape.h, src/main.cpp:
2404         fixes to preference loading
2406         * src/uri-reference.h: documented Inkscape::URIReference
2408         * src/sp-item.cpp: fixed double hunref problem
2410         * src/sp-item.cpp, src/uri-references.h, src/uri-references.cpp:
2411         reworked Inkscape::URIReference a little
2413         * src/sp-item.cpp: masks now use Inkscape::URIReference as well
2415 2004-01-02  MenTaLguY <mental@rydia.net>
2417         * src/shortcuts.cpp: zoom in shortcut fix for german and other
2418         keyboards from schumaml
2420         * configure.in: added SigC++ 1.2 dependency
2422         * src/document-private.h, src/document.h, src/document.cpp,
2423         src/sp-item.h, src/sp-item.cpp, src/uri-reference.h,
2424         src/uri-reference.cpp: rewrote URI monitoring code using SigC++
2426         * src/inkscape.cpp: fix some portability issues
2428         * src/inkscape.cpp, src/widgets/icon.cpp, src/monostd.h: cleaning up
2429         more platform stuff
2431         * src/dir-util.cpp, src/dir-util.h, src/dialogs/export.cpp:
2432         remove sp_filename_from_path(); use g_path_from_filename instead
2434 2004-01-02  Alexander Clausen <alex@skip86.com>
2436         * src/spsvgview.cpp src/inkview.cpp src/Makefile.am: re-enabled svg viewer,
2437         renamed to inkview to avoid name clash with spsvgview from sodipodi
2439 2004-01-01  bulia byak <bulia@dr.com>
2441         * src/desktop.cpp: Pass keyboard events from desktop widget to event contexts (if
2442         there is no current item on the canvas); now all keys work regardless of mouse
2443         position, so long as the document window has focus.
2445         * src/verbs.cpp src/verbs.h: New verbs for switching desktops
2447         * src/inkscape.cpp src/inkscape.h: New functions for switching desktops
2449         * src/nodepath.cpp: Fix crash: Tab when no nodepath
2451         * src/shortcuts.cpp: Ctrl-Tab, Shift-Ctrl-Tab cycle desktops
2453         * src/node-context.cpp src/event-context.cpp src/select-context.cpp: Do not consume
2454         Ctrl-Tab/Shift-Ctrl-Tab in contexts. Explicitly run the corresponding verb in
2455         event-context.cpp because otherwise GTK gobbles it.
2457         * src/splivarot.cpp: Edits in statusbar error messages
2459 2004-01-01  MenTaLguY <mental@rydia.net>
2461         * src/document-private.h, src/document.h, src/document.cpp,
2462         src/sp-item.h, src/sp-item.cpp, src/uri-reference.h,
2463         src/uri-reference.cpp:
2464         added code to handle notifications when uri/id mappings
2465         changed
2467         * src/desktop.cpp, src/style.cpp: compilation cleanups
2469         * src/libnr/nr-types.h: documented NR::Coord and NR::ICoord
2471 2003-12-31  MenTaLguY <mental@rydia.net>
2473         * removed *S variants of NR structs
2475         * src/libnr/gen_nr_config.c: removed!
2477         * src/xml/repr.h, src/xml/repr-private.h, src/xml/repr-io.cpp,
2478         src/xml/repr.cpp: very preliminary comment support
2480         * configure.in, src/desktop.cpp, src/main.cpp: removed gtkmm
2481         dependency for now
2483 2003-12-30  bulia byak <bulia@dr.com>
2485         * src/selection-chemistry.cpp: Grouping: Statusbar messages for nothing to group or
2486         only one object, prevent crash when trying to group objects with different parents,
2487         add new group to the members' common parent rather than to the document
2488         root. Ungrouping: ungroup all groups in selection, statusbar messages for nothing to
2489         ungroup.
2491         * src/node-context.cpp src/node-context.h src/knotholder.h src/knotholder.cpp
2492         src/nodepath.h src/nodepath.cpp src/document-undo.cpp: Add repr listener in node
2493         context recreating nodepath or knotholder when the repr was changed outside of the
2494         node editor, remove the change selection signal hack in document_undo, fixes many
2495         bugs.
2497 2003-12-28  Daniel Borgmann  <spark@mayl.de>
2499         * src/main.cpp: Include gtkmm/main.h and gtkmmify the main loop
2501         * src/desktop.cpp: convert save confirmation dialog to Gtkmm
2503 2003-12-28  Peter Moulder  <pmoulder@mail.csse.monash.edu.au>
2505         * src/helper/Makefile.am: Try not to require Gnu make.
2507 2003-12-27  Alexander Clausen <alex@skip86.com>
2509         * src/interface.{h,cpp} (sp_ui_error_dialog): new function.
2511         * src/file.cpp src/main.cpp src/dialogs/export.cpp src/interface.cpp: use it
2513 2003-12-27  bulia byak <bulia@dr.com>
2515         * src/draw-context.cpp: Added drag_tolerance to bezier tool, messages to statusbar 
2517         * src/knot.cpp: Do not consume Esc when not escaping knot dragging 
2519         * src/select-context.cpp: Enable dragging objects selected within group
2521 2003-12-27  Peter Moulder  <pmoulder@mail.csse.monash.edu.au>
2523         * src/helper/bezier-utils.cpp: Simplifications & documentation.
2525 2003-12-26  bulia byak <bulia@dr.com>
2527         * src/document.cpp: added rel2abs to sp_document_set_uri, simplified
2529         * src/document.cpp: removed rel2abs into dir-util
2531         * src/dir-util.cpp src/dir-util.h: moved rel2abs and abs2rel here
2533         * src/modules/svg.cpp: Cleaned up svg_save: removed extraneous setting of docbase and
2534         docname, moved uri_set before save, added comments
2536         * src/document.h src/document.cpp src/desktop.h src/desktop.cpp: item_at_point: add
2537         into_groups; group_at_point: new
2539         * src/selection.cpp: When selecting a group, deselect all its descendants to prevent
2540         double selection
2542         * src/select-context.cpp src/select-context.h: Added ctrl-click/ctrl-shift-click to
2543         select/add to selection regardless of grouping
2545         * src/verbs.cpp: 2 more mnemo changes 
2547 2003-12-26  Nathan Hurst <njh@mail.csse.monash.edu.au>
2549         * libnr: moving towards a fully class based Point and Matrix.
2550         This change adds an initial sketch of matrix.
2552 2003-12-26  MenTaLguY <mental@rydia.net>
2554         * configure.in: added Gtkmm dependency, removed AC_FUNC_MALLOC
2556 2003-12-25  MenTaLguY <mental@rydia.net>
2558         * src/desktop.cpp: changed g_sprintf to g_strdup_printf
2560 2003-12-25  Daniel Borgmann <spark@mayl.de>
2562         * src/interface.cpp src/verbs.cpp: Fixed a few more mnemonics (mostly
2563         duplicates) and changed shortcut labels to use uppercase letters like the 
2564         rest of the world. :-)
2566 2003-12-25  Alexander Clausen <alex@skip86.com>
2568         * src/file.cpp src/main.cpp src/dialogs/export.cpp: Made error dialogs 
2569         and progressbar transient and non-resizable; made export file selector
2570         transient.
2572 2003-12-24  bulia byak <bulia@dr.com>
2574         * src/select-context.cpp: Added statusbar update in a few places
2576         * src/interface.cpp: Changed order of keyboard modifiers. Split view and object menus.
2578         * src/verbs.cpp: A couple fixes in mnemonics to better match shortcuts
2580         * samples/tux.svg: Added missing sodipodi namespace, added namedview
2582 2003-12-24  Alexander Clausen <alex@skip86.com>
2584         * src/file.cpp src/modules/system.cpp: Fix for 860199; returning NULL in
2585         sp_module_system_open when doc == NULL; added error dialog.
2587         * src/main.cpp: Add error dialog when file given on command line does not
2588         exist, and create an empty document in that case.
2590 2003-12-24  MenTaLguY <mental@rydia.net>
2592         * src/verbs.cpp: renamed 'XOR' to 'Exclude' on the menu
2594         * src/object-ui.cpp: moved object-specific menuitems out onto the
2595         main context menu, instead of sequestered in their own submenus.
2597 2003-12-24  Alexander Clausen <alex@skip86.com>
2599         * src/interface.cpp:
2600         Added partial DND (drop part only for now) for image/svg and image/svg+xml,
2601         and a tweak to make uri-dnd with konqueror work.
2603 2003-12-24  Daniel Borgmann <spark@mayl.de>
2605         * src/interface.cpp src/verbs.cpp src/object-ui.cpp src/modules/menu.cpp:
2606         Added mnemonics and some HIGification
2608         * src/verbs.cpp: New: sp_action_get_title(), get action name without
2609         underscores (for use in dialog titles or other places without mnemonics)
2611 2003-12-23  bulia byak <bulia@dr.com>
2613         * src/helper/sp-canvas.h: float-to-double fix
2615         * src/sp-namedview.h src/sp-namedview.cpp: New namedview attributes for zoom and
2616         window geometry; functions for updating them from a desktop and for setting up a
2617         desktop from these attributes
2619         * src/preferences-skeleton.h: new options.savewindowgeometry 
2621         * src/attributes.h src/attributes.cpp: New namedview attributes
2623         * src/desktop.cpp: Remove/comment out extraneous code. Float-to-double fixes, prevent
2624         sliding when zooming in at max zoom.
2626         * src/file.cpp src/main.cpp src/interface.cpp: Added document_from_window and
2627         window_from_document hooks to file opening and saving functions
2629         * src/document.cpp: New: inkscape_rel2abs() (based on g_rel2abs by Shigio Yamaguchi),
2630         store absolute filenames in document->uri. Fixed reading namedview template from
2631         preferences, fixed namedview template id, added comments.
2633         * src/nodepath.cpp: Ctrl + click node: delete node
2635         * src/desktop.cpp src/file.cpp src/file.h: New save confirm dialog (patch by spark)
2637 2003-12-23  MenTaLguY <mental@rydia.net>
2639         * src/desktop.cpp: shortened rulers to canvas dimensions for now
2641         * src/main.cpp, src/Makefile.am: renamed DATADIR to INKSCAPE_DATADIR
2642         for the remaining platforms
2644 2003-12-23  Peter Moulder  <pmoulder@mail.csse.monash.edu.au>
2646         * src/desktop-snap.h, src/desktop-snap.cpp (all functions):
2647         Indicate that the given point(s) aren't modified by these functions.
2649 2003-12-22  bulia byak <bulia@dr.com>
2651         * src/nodepath.cpp: Ctrl + Alt + click node: toggle smooth/cusp/symmetric.
2653         * src/select-context.cpp: No more snapping back to the origin because of drag
2654         tolerance (once you trespass the drag tolerance limit once, it does not affect you
2655         anymore).
2657         * src/knot.cpp: Used global drag tolerance, no snapping to the origin.
2659         * src/node-context.cpp: Click outside of nodepath deselects. Added drag tolerance for
2660         selecting non-selected paths by click. Removed drag_escaped - there's no dragging to
2661         escape in node context (only in knot).
2663 2003-12-22  bulia byak <bulia@dr.com>
2665         * src/nodepath.cpp src/nodepath.h>: restrict control handle movement with ctrl, alt,
2666         shift; utility functions for radial coordinates; fixed several crashes when nodepath
2667         operations are called but there's no nodepath
2669         * src/desktop.cpp: filled in sp_desktop_set_coordinate_status implementation, added
2670         comment
2672 2003-12-22  Peter Moulder  <pmoulder@mail.csse.monash.edu.au>
2674         * src/helper/bezier-utils.cpp (sp_darray_center_tangent,
2675         sp_darray_left_tangent, sp_darray_right_tangent),
2676         src/helper/bezier-utils.h, src/sp-spiral.h, src/sp-spiral.cpp
2677         (sp_spiral_get_tangent):
2678         Make these functions static.
2680         * src/helper/bezier-utils.cpp (GenerateBezier): Back out accidental
2681         commit of inserted g_assert(!isnan(bezier coordinate)).  (Having a NaN
2682         bezier coordinate is usually a problem, perhaps worth warning about,
2683         but it's hard to make it impossible, so it shouldn't be g_assert.)
2684         Reported by bulia byak.
2686 2003-12-22 Nathan Hurst <njh@mail.csse.monash.edu.au>
2688         * Added a new class NR::Point which will replace NRPoint
2689         throughout the code, and replace things like .cx, .cx in the
2690         circle structure.
2692 2003-12-21  MenTaLguY <mental@rydia.net>
2694         * Finally cleaned up the linker issues
2696 2003-12-21  Peter Moulder  <pmoulder@mail.csse.monash.edu.au>
2698         * src/Makefile.am (inkscapelib_src):
2699         src/livarot/Makefile.am (libvarot_a_SOURCES): 
2700         Add some header files to SOURCES, so that `make distcheck' works.
2702         * src/style.cpp (sp_style_read_ipaint): Skip leading whitespace.
2703         Fixes #853804.  Improves rendering of Dia-exported SVG.
2705 2003-12-20  Peter Moulder  <pmoulder@mail.csse.monash.edu.au>
2707         * src/sp-spiral.cpp (sp_spiral_set): Fix clamping of t0 value: change
2708         min from -1.0 to 0.0 as per all other t0 clamps and as required in some
2709         circumstances by sp_spiral_get_xy.
2710         (sp_spiral_fit_and_draw): Avoid useless adjacent dups in point sampling.
2712         (sp_spiral_fit_and_draw, sp_spiral_set_shape): Call proper tangent
2713         routine instead of trying to estimate from samples.
2714         (sp_spiral_get_tangent): New function.
2716         * src/helper/bezier-utils.cpp (sp_bezier_fit_cubic): Implement as a call
2717         to sp_bezier_fit_cubic_r.
2718         (sp_bezier_fit_cubic_full): Mark *tHat1 and *tHat2 as const.
2719         (sp_bezier_fit_cubic_full, ChordLengthParameterize): Add minimal
2720         handling for the case where the input data is a zero-length path.
2721         (NewtonRaphsonRootFind): If "improved" value is NaN or +/-inf then
2722         return the original.
2724         * src/libnr/nr-macros.h (CLAMP): Change the behaviour if the first
2725         argument is NaN: previously it would return NaN, now it returns the
2726         requested lower bound.  Document the behaviour.  Add an assertion that
2727         the requested lower bound <= the requested upper bound.
2729         * src/libnrtype/nr-type-ft2.cpp (nr_typeface_ft2_lookup): Change apparently-erroneous
2730         arguments to CLAMP, and add a FIXME comment indicating that the new arguments are
2731         just a guess as to the original intent.
2733 2003-12-20  MenTaLguY <mental@rydia.net>
2735         * src/help.cpp, glade/about_svg.tmpl, glade/about.svg:
2736         fixed version display in about box
2738         * src/desktop.cpp, src/desktop.h, src/document.cpp, src/document.h:
2739         added sp_desktop_item_at_point()
2741 2003-12-19  bulia byak <bulia@dr.com>
2743         * src/sp-item.cpp src/sp-item.h: new sp_item_get_arenaitem (by mental)
2745         * src/main.cpp src/file.cpp src/file.h src/dialogs/export.cpp: export UI improvements
2746         (patches from the tracker)
2748         * src/select-context.cpp: shift-click selection is now in root_handler, uses
2749         sp_document_item_at_point(); changed shift-rubberband selection to always select
2750         instead of toggle
2752         * src/document.h src/document.cpp: wrong order of arguments in overlap() fixed; new:
2753         sp_document_item_at_point(), uses sp_item_get_arenaitem
2755         * src/Makefile.am: fix: ps.c -> ps.cpp
2757         * src/nodepath.cpp: dragging node with ctrl+alt restricts it to the directions of its
2758         handles and their perpendiculars
2760 2003-12-19  MenTaLguY <mental@rydia.net>
2762         * Fixed most shortcut key regressions from the SPAction rework
2764         * Renamed the Inkscape class (struct really) to Inkscape::Application; we can now
2765         use the Inkscape namespace.
2767         * src/toolbox.cpp, src/helper/action.cpp, src/helper/action.h:
2768         SPActions now know their desktop, and toolbar buttons get it assigned correctly
2770         * src/desktop.cpp, src/interface.h, src/interface.cpp, src/verbs.cpp:
2771         Verbs now use the desktop associated with an action rather than SP_ACTIVE_DESKTOP
2773 2003-12-18  Jon A. Cruz <jon@joncruz.org>
2775         * fix for 859133; Reduced number of generated events.
2777 2003-12-18  Jon A. Cruz <jon@joncruz.org>
2779         * src/widgets/sp-color-gtkselector.cpp: fix for 859131; Changed descriptive name of GTK+
2780         selector.
2782 2003-12-18  MenTaLguY <mental@rydia.net>
2784         * First steps towards making actions per-view
2786 2003-12-17  Jon A. Cruz <jon@joncruz.org>
2788         * src/widgets/sp-color-notebook.cpp: fix for 859128; changed selectors to grow when
2789         given more space.
2791 2003-12-17  Jon A. Cruz <jon@joncruz.org>
2793         * Converted color selectors to C++ classes.
2795 2003-12-18  Nathan Hurst <njh@csse.monash.edu.au>
2797         * Merged NRPointF and D, similarly Matrix and Rect.
2799 2003-12-18  Peter Moulder  <pmoulder@mail.csse.monash.edu.au>
2801         * src/toolbox.cpp: re-added spiral button (reverting MenTaLguY's change).
2803 2003-12-17  bulia byak <bulia@dr.com>
2805         * src/xml/repr-io.cpp src/xml/repr.h: fix to suppress formatting whitespace when
2806         serializing text and its children
2808         * src/select-context.cpp: shift now prevents dragging objects, creating rubberband
2809         instead
2811 2003-12-17 Nathan Hurst <njh@csse.monash.edu.au>
2813         * provided some initial thoughts on how to do Points uniformly across inkscape.  geom.h
2814         * partial currying of zoom menu
2816 2003-12-17  MenTaLguY <mental@rydia.net>
2818         * src/toolbox.cpp: removed spiral button
2820 2003-12-16  bulia byak <bulia@dr.com>
2822         * src/nodepath.cpp src/nodepath.h: node drag is now restricted to hor/vert by ctrl
2824 2003-12-16  bulia byak <bulia@dr.com>
2826         * src/seltrans.cpp: fix for 860201; ctrl restricts rotation by 15 degrees (from
2827         sodipodi); used new status display function
2829         * src/sp-text.cpp: removed non-printable char error into text-context, removed
2830         extraneous assignment
2832         * src/verbs.cpp: typo fix
2834         * src/knot.cpp: in cancelling drag, use the knot's desktop instead of active; add
2835         statusbar flash
2837         * src/draw-context.cpp: changing useful messages to statusf_flash, removing useless
2838         debug output
2840         * src/nodepath.cpp: statusbar error message if joining nodes fails; expanded
2841         update_statusbar
2843         * src/select-context.cpp: statusbar flash when esc cancels selection or drag
2845         * src/selection.cpp: expanded update_statusbar
2847         * src/text-context.cpp: used statusf_flash for no-break space, added non-printable
2848         char error
2850         * src/tools-switch.cpp: added default statusbar message for each tool
2852         * src/desktop.cpp: new handler for status_set, with timeout; initialize message in
2853         statusbar
2855         * src/view.cpp src/view.h: status_set signal: added msec, removed isdefault; added
2856         _flash and _error functions for temporary statusbar display; added docs
2858 2003-12-14  Ted Gould <ted@gould.cx>
2860         * src/widgets/button.cpp, src/helper/action.h, src/helper/action.cpp,
2861         src/verbs.h, src/verbs.cpp, src/toolbox.cpp, src/shortcuts.h,
2862         src/shortcuts.cpp, src/interface.h, src/interface.cpp:
2863         Adding in a sp_verb_t to identify verbs to make later conversions
2864         easier.  Also adding an arguement to the perform function of
2865         SPActionEventVector so that data can be passed to modules (when
2866         they're converted to action/verb).
2868 2003-12-14  MenTaLguY <mental@rydia.net>
2870         * src/view.h, src/view.c: added new utility things for setting status
2872         * src/draw-context.c, src/text-context.c, src/view.c, src/view.h:
2873         retired sp_status_display() and sp_status_clear()
2875 2003-12-14  bulia byak <bulia@dr.com>
2877         * src/verbs.h src/verbs.c: changed 'offset' to 'outset' (more logical), added simplify
2878         path command
2880         * src/interface.c: added sp_key_name to make shortcuts more readable, added simplify
2881         path command, regrouped commands more logically
2883         * src/shortcuts.c: changed shortcuts for boolean ops, readability, minor cleanups
2885         * src/inkscape.c: increased max length of recent documents list to 15, fixed trimming
2886         the list
2888         * src/seltrans.c: fixed crash when scaling very small objects at max zoom
2890 2003-12-12  MenTaLguY <mental@rydia.net>
2892         * doc/Makefile.am, Makefile.am, configure.in: include doc/
2893         subdirectory in distribution tarballs
2895         * src/widgets/icon.c: final tweaks for getting icon highlights
2896         right on buttons (temporary hack, hopefully)
2898         * src/splivarot.cpp: compilation fix
2900         * src/widgets/sp-color-notebook.c: minor tweak so selector menu
2901         is a little more obvious
2903 2003-12-12  bulia byak <bulia@dr.com>
2905         * src/svg/svg-path.c src/desktop.h src/libnr/gen_nr_config.c src/libnr/nr-object.c
2906         src/libnr/nr-types.h: made all floats doubles and all shorts ints in libnr; maximum
2907         zoom is increased to 256; SVG paths are stored with 8 digits precision (was 6)
2909 2003-12-11  bulia byak <bulia@dr.com>
2911         * src/node-context.c adding node edit statusbar updates
2913         * src/selection.c: update statusbar only if selector is active
2915         * src/tools-switch.c: update statusbar when selector is activated
2917         * src/nodepath.c src/nodepath.h: function for node edit statusbar display; fixes for
2918         several tab-cycling and node-deleting bugs
2920         * src/sp-path.c: added description for SPPath (used in statusbar display)
2922         * src/draw-context.c: moved some messages from console to statusbar
2924         * src/view.c src/view.h: utility functions for statusbar display
2926         * src/text-context.c: statusbar display for unimode
2928 2003-12-10  Ted Gould <ted@gould.cx>
2930         * configure.in: Changing to 0.37cvs
2932 2003-12-10  bulia byak <bulia@dr.com>
2934         * src/verbs.c: SELECT_ALL is now tool-sensitive, comments
2936         * src/shortcuts.c: ctrl-a for the SELECT_ALL global verb; h and v for flips
2938         * src/interface.c: split edit menu into edit and object
2940         * src/node-context.c: removed ctrl-a, now taken care of by the global verb
2942         * src/nodepath.c: select_all silently returns if given null arg
2944         * doc/keyboard-shortcuts.txt: new shortcuts from wiki
2946 2003-12-09  bulia byak <bulia@dr.com>
2948         * src/helper/png-write.c: fix for png comments (from sodipodi)
2950         * src/nodepath.c: fix for 856700, 856686; a better control point positioning for
2951         join_segment
2953         * src/shortcuts.c: fix default shortcut for star tool
2955         * src/prefs-utils.c src/prefs-utils.h: new *_limited functions to get data guarding
2956         against through-the-roof values
2958         * src/select-context.c src/node-context.c: using *_limited functions to get preference
2959         values
2961         * src/document-undo.c: fix in sp_document_maybe_done to combine same-key steps
2963         * src/selection-chemistry.c src/nodepath.c: put subsequent same-direction arrow-key
2964         movements into one undo step
2966         * src/sp-text.c src/sp-text.h: removed the preservews argument of sp_text_insert
2968         * src/text-context.c src/text-context.h: if there's no text object selected, keys are
2969         not consumed; fixed passing unconsumed keys to parent context; any non-hex-digit now
2970         cancels unimode
2972         * src/dialogs/transformation.c: re-fixing pjrm's fix properly
2974 2003-12-08  bulia byak <bulia@dr.com>
2976         * src/sp-text.c: fixed typing non-ascii chars; copied (with fixes) treatment of
2977         xml:space from sodipodi 0.33
2979         * src/sp-text.h: small fix from sodipodi 0.33
2981         * src/text-context.c: copied sp_text_context_preedit_reset and related code from
2982         sodipodi 0.33; xml:space='preserve' is added to newly created text objects; esc
2983         deselects; uncatched keys are passed on; misc fixes
2985 2003-12-08 MenTaLguY <mental@rydia.net>
2987         * src/widgets/button.c: put errors to rest for now
2989         * src/document-undo.c: removed code to limit undo list length
2991 2003-12-07 MenTaLguY <mental@rydia.net>
2993         * src/widgets/button.c: fixed unsignedness warning
2995 2003-12-06  bulia byak <bulia@dr.com>
2997         * src/dialogs/align.c: tooltip fix (from sodipodi)
2999         * src/libnr/nr-stroke.c: fix for 853827, rendering of short paths (from sodipodi)
3001         * src/sp-text.c src/sp-text.h src/text-context.c: enabled home/end in text (from sodipodi)
3003         * src/document-undo.c: increased MAX_UNDO to 512
3005         * src/file.c src/dialogs/export.c: fix for 851012: the smallest possible exported png
3006         is now 1x1
3008         * src/widgets/font-selector.c: fix for 851789: no exponential display in font size field
3010 2003-12-06 MenTaLguY <mental@rydia.net>
3012         * src/desktop.c: permit the canvas widget to take keyboard focus
3014         * src/widgets/button.c, src/widgets/button.h: reworked perform
3015         callback as separate callback, so we can use
3016         g_signal_handlers_{un,}block...() on it rather than the stupid
3017         semaphore counter thing I had originally.
3019         Also switched to sp_icon_new() instead of sp_icon_new_scaled(), as
3020         otherwise the small icons were too small (but the large icons are
3021         now smaller than they could be... darn it... ><)
3023 2003-12-05 Bryce W. Harrington <brycehar@bryceharrington.com>
3025         * style.*, sp-path.*, sp-shape.*, more:  Hooking up preliminary
3026         support for path markers (arrowheads).  Also adding
3027         documentation, fixing if statement style, etc.
3029 2003-12-05 MenTaLguY <mental@rydia.net>
3031         * src/widgets/icon.c, src/widgets/button.c, src/widgets/button.h, src/toolbox.c:
3032         Reworked SPButton to derive from GtkToggleButton.
3034         * src/svg/svg-length.c, src/helper/units.c: removed #ifdef WIN32 insanity
3036         * src/Makefile.am, src/extension.c,
3037         src/extension.h, src/extensions-skeleton.h,
3038         src/main.c, src/inkscape.c, src/toolbox.c: Removed dead code left
3039         over from first extensions implementation
3041         * configure.in, src/main.c: removed freebsd-specific test and just check for fpsetmask() instead
3043         * src/verbs.c: fixed quit icon
3045 2003-12-04  bulia byak <bulia@dr.com>
3047         * src/toolbox.c: added convert to curves button, cosmetic changes in aux toolbar
3049         * src/text-context.c: made text editing via xml editor undoable
3051         * src/nodepath.c: new functions to duplicate node, fixes to node_break and selection
3052         functions, new (presently unused) functions for saving/restoring node selection
3054         * src/node-context.c: shift-d to duplicate node, all keys now work regardless of capslock
3056         * src/document-undo.c: temp fix: undo emits selection_changed signal for node editor
3057         to update display
3059         * src/selection.c: new function without arguments to emit change_selection signal
3061         * src/selection.h: new function without arguments to emit change_selection signal
3063         * src/nodepath.h: new functions to duplicate node, new (presently unused) functions
3064         for saving/restoring node selection
3066 2003-12-04  MenTaLguY <mental@rydia.net>
3068         * src/desktop.c: rearranged toolbars so aux toolbar is topmost
3069         * src/toolbox.c: made toolbars detachable
3071 2003-12-02  bulia byak <bulia@dr.com>
3073         * src/file.c: made open and save dialogs modal and transient
3075 2003-12-02  bulia byak <bulia@dr.com>
3077         * src/interface.c: removed tool attributes command
3078         * src/preferences-skeleton.h: added branch for export dialog
3079         * src/file.c: made import dialog transient
3080         * src/verbs.c: changed some dialog names and tooltips
3081         * src/shortcuts.c: changed shortcuts for transform and text dialogs
3082         * src/dialogs/display-settings.c: fixed dialog title
3083         * src/dialogs/export.c: made unsinkable, remembering size and position, added label
3084         for filename
3086 2003-11-30 MenTaLguY <mental@rydia.net>
3088         * src/xml/repr-io.c, src/attributes.c, src/attributes.h,
3089         src/sp-object.h, src/sp-object.c: merged basis for Oka's
3090         xml:space support
3092         * src/toolbox.c: made tool buttons larger, aux buttons smaller
3094         * src/document-undo.c: fixed bug with undo/redo past the
3095         beginning/end of the undo history
3097 2003-11-29  bulia byak <bulia@dr.com>
3099         * src/selection-ch emistry.c src/selection-chemistry.h src/verbs.c src/verbs.h
3100         src/shortcuts.c src/interface.c: new function, verb, shortcut (shift-ctrl-v), menu
3101         command: paste style (apply the style of copied object to selection). If more than
3102         one object is copied, the first one in the clipboard list is taken as the source of
3103         the style.
3105 2003-11-30  Peter Moulder  <pmoulder@mail.csse.monash.edu.au>
3107         * src/style.c (sp_style_merge_from_parent): Fix some
3108         unsigned-related bugs with "font-weight=lighter",
3109         "font-stretch=narrower", "opacity=...".
3111         * src/modules/system.c (sp_module_system_save): Partial fix for
3112         unrecognized filetype: show a CRITICAL warning instead of
3113         segfaulting due to uninitialized var.
3115         * src/document.c (sp_document_new), file.c (file_open_ok,
3116         sp_file_open_dialog, sp_file_save_dialog, sp_file_do_import),
3117         main.c (sp_main_console), src/module.c (sp_module_finalize,
3118         sp_module_input_finalize, sp_module_input_build,
3119         sp_module_output_finalize, sp_module_output_build),
3120         src/sp-anchor.c (sp_anchor_set), src/sp-image.c (sp_image_set),
3121         src/sp-text.c (sp_string_release, sp_string_read_content,
3122         sp_string_set_shape), src/sp-use.c (sp_use_release), src/style.c
3123         (sp_style_unref, sp_style_merge_property,
3124         sp_style_merge_from_parent, sp_text_style_unref,
3125         sp_style_read_istring), src/bonobo/embeddable-document.c
3126         (sp_bonobo_stream_read, sp_embeddable_document_ps_save),
3127         src/dialogs/stroke-style.c (sp_stroke_style_scale_line),
3128         src/dialogs/text-edit.c (sp_text_edit_dialog_text_changed),
3129         src/helper/sodipodi-ctrl.c (sp_ctrl_build_cache),
3130         src/modules/ps.c (sp_ps_print_image),
3131         src/widgets/font-selector.c (sp_font_preview_set_phrase),
3132         src/widgets/gradient-image.c (sp_gradient_image_size_allocate),
3133         src/xml/repr-action.c (coalesce_chgattr, coalesce_chgcontent,
3134         free_action), src/xml/repr.c (repr_finalize, sp_repr_merge):
3135         Minor cleanup: replace `if (POINTER_EXPR) g_free (POINTER_EXPR)'
3136         with the simpler (more readable) `g_free (POINTER_EXPR)'.
3138 2003-11-29 Kees Cook <inkscape@outflux.net>
3140         * src/utest/.cvsignore: adding "Makefile"
3141         * src/desktop.c: sp_desktop_pop_event_context could use uninit'd *ec
3142         * src/desktop.h: missing declaration of sp_desktop_zoom_page_width
3143         * src/libnrtype/nr-rasterfont.c: give *spx and srs default values
3144         * dialogs/dialog-events.c: remove unused *w and *dtw
3146 2003-11-29 MenTaLguY <mental@rydia.net>
3148         * src/interface.c: switched to GNOME HIG menu style
3150         * src/toolbox.c: gave the aux toolbox a fixed (minimum) size so
3151         the workspace will jiggle less as different tools are selected.
3153         * src/utest/Makefile.am, src/utest/utest.c, src/utest/utest.h,
3154         src/xml/Makefile.am: turned the utest stuff into a giant .h
3155         file again, which hopefully won't confuse things like the .inc
3156         extension did.
3158 2003-11-29  bulia byak <bulia@dr.com>
3160         * shortening tooltips, new verb and menu command for zoom to page width 
3162 2003-11-29 Bryce Harrington <brycehar@bryceharrington.com>
3164         * README:  Updating "Sodipodi" to "Inkscape", removing some
3165         obviously obsolete bits.
3167         * inkscape.1.in, inkscape.pod:  Totally rewriting manpage from
3168         scratch.  The old one appeared to be for some other application,
3169         because it was just a list of options, 90% of which aren't
3170         implemented.  I chose to do it in POD for convenience, but hand
3171         edited the 1.in file to remove bits about "Perl Documentation",
3172         etc.
3174         * General:  Some fixes to recently added code that broke the g++
3175         compile.
3177 2003-11-29  Peter Moulder  <pmoulder@mail.csse.monash.edu.au>
3179         * src/utest/Makefile.am, src/utest/utest.c, src/utest/utest.inc,
3180         src/utest/utest.h, src/xml/Makefile.am, src/xml/repr-action-test.c:
3181         Split utest.inc into utest.h and utest.c.  Update users.
3183         Make utest.c,utest.h formatting conform more to doc/coding-style.txt.
3185         Have utest.c built into libutest.a (see src/utest/Makefile.am
3186         comments).
3188         * src/xml/repr-action.c (reverse_log): Add doc comment.  Rename some vars.
3190         * src/xml/repr-action.c (sp_repr_replay_log, sp_repr_undo_log),
3191         src/xml/repr-action.h, src/document-undo.c (sp_document_cancel,
3192         sp_document_redo, sp_document_undo): Remove the unused doc
3193         argument to sp_repr_replay_log, sp_repr_undo_log.  Update callers.
3195 2003-11-28  Peter Moulder  <pmoulder@mail.csse.monash.edu.au>
3197         * extensions/ai_input.inkmod, extensions/dia.inkmod,
3198         extensions/svgz_input.inkmod, extensions/svgz_output.inkmod:
3199         Change the filename extension from `foo' to `.foo'; i.e. the
3200         filename must end in `.foo' to be considered a match, rather
3201         than merely ending in `foo'.
3203         It appears that the sole users of this data are in src/system.c
3204         (open_internal, save_internal).
3206         I've found no documentation needing updating, according to
3207         `rgrep -i extension doc'.
3209         * src/system.c (open_internal, save_internal): Minor effec tweaks:
3210         fewer strlen calculations.
3212         * src/dialogs/transformation.c: Fix uninitialized-var bug.
3214 2003-11-28 MenTaLguY <mental@rydia.net>
3216         * src/document.c, src/document-undo.c, src/document-private.h:
3217         renamed SPDocumentPrivate::undo_size to ::history_size.  Fixed
3218         long-standing undo bug, where maybe_done() would neglect to
3219         start a new transaction if the previous transaction log were
3220         empty.
3222         * src/xml/repr-action-test.c, src/utest/utest.inc: made test
3223         control structure a little clearer (hopefully) by hiding it.
3224         Also some initial Doxygenification of the unit testing stuff.
3226         * src/Makefile.am: added utest/ subdir
3228         * doc/architecture.svg: reworked architecture diagram a bit
3230         * doc/class-hierarchy.dia: added first shot at documenting the
3231         class hierarchy in Dia
3233         * src/modules/svg.c, src/modules/win32.c: change "...with
3234         xmlns:sodipodi namespace" to "...with extension namespaces"
3236         * src/xml/repr-action.c: fixed log optimizer to check
3237         SPReprAction::type before coalescing adjacent actions
3239 2003-11-27 Bryce <bryce@osdl.org>
3240         * doc/architecture.svg: Added architecture.svg to try to capture
3241         the subsystems at a block layer level.  Defining colors, working
3242         up basic structure, etc.
3243         * Adding defines, functions, etc. for allowing markers into
3244         inkscape-stock.h, sp-marker.*, sp-path.c, sp-shape.h, style.*,
3245         and dialogs/stroke-style.c
3246         * Added some new UI utility functions to spw-utilities.* and
3247         changed dialog/stroke-style.c to use them, in order to simplify
3248         redundancies in the code a bit.
3250 2003-11-27 MenTaLguY <mental@rydia.net>
3252         * src/desktop.c: the coord status bar area should not have a
3253         resize handle
3255 2003-11-27 bulia byak <bulia@dr.com>
3257         * all dialogs remember size and position across sessions
3258         * all dialogs are unsinkable (re-transientizing to the current document)
3259         * all dialogs are closeable by ctrl-f4 and ctrl-w, defocusable by esc
3260         * dialogs titles unified, added shortcut display in the titles
3262 2003-11-27 MenTaLguY <mental@rydia.net>
3264         * src/utest/Makefile.am, src/utest/utest.inc: new minimalist
3265         unit testing framework
3267         * src/xml/Makefile.am, src/xml/repr-action-test.c: some tests
3268         for the XML transaction stuff
3270         * src/desktop.c: reshuffled the widgets, switched to an embedded
3271         toolbox, switched to using real GtkStatusbars for the status bar,
3272         and (for the present) nuked the body of
3273         sp_desktop_set_coordinate_status() since it had been #ifdeffed
3274         out for ages anyway
3276         * src/desktop.h: removed another constant #ifdef
3278         * src/widgets/button.c: lobotomized toggle buttons temporarily,
3279         so multiple windows having independent tool states wouldn't confuse
3280         toolboxes :/ .. the real fix is to rework SPAction and friends
3281         to not be so global-minded
3283         * src/event-context.h: changed sp_ui_generic_menu to
3284         sp_ui_context_menu
3286         * src/interface.c: reworked the menu structure and introduced
3287         sp_ui_main_menubar to create the menubar; changed sp_ui_generic_menu
3288         to sp_ui_context_menu
3290         * src/main.c: remove the floating toolbox
3292         * src/shortcuts.c: remove shortcuts related to the floating toolbox
3294         * src/verbs.c, src.verbs.h: removing floating toolbox verb
3296         * src/widgets/sp-toolbox.c,
3297         src/widgets/sp-toolbox.h,
3298         src/widgets/Makefile.am: nuked floating toolbox window
3300 2003-11-25 bulia byak <bulia@dr.com>
3302         * src/select-context.c src/preferences-skeleton.h: new option: drag tolerance
3304 2003-11-25 bulia byak <bulia@dr.com>
3306         * src/dialogs/dialog-events.c src/dialogs/dialog-events.h: new callback and utility
3307         functions for defocusing
3308         * src/widgets/sp-color-selector.c src/widgets/dash-selector.c
3309         src/dialogs/stroke-style.c: spinbuttons, text fields defocus on enter
3311 2003-11-24 bulia byak <bulia@dr.com>
3313         * src/dialogs/display-settings.c src/display/canvas-arena.c: cursor tolerance now
3314         stored in preferences, default changed to 2.0
3316 2003-11-24 bulia byak <bulia@dr.com>
3318         * src/preferences-skeleton.h: new group for global interface options
3319         * src/prefs-utils.h src/prefs-utils.c: new functions for double attributes
3320         * src/select-context.c src/node-context.c: nudge distance (without alt) is taken from preferences (default 1 mm)
3322 2003-11-24 bulia byak <bulia@dr.com>
3324         New keys in node editor:
3325         * esc deselects and cancels rubberband and node dragging
3326         * ctrl-a selects all nodes
3327         * tab and shift-tab cycle through nodes of the current shape
3329 2003-11-23 Bryce Harrington <bryce@osdl.org>
3331         * Added include for document.h to knot.c for declaring
3332         sp_document_undo, as g++ didn't like not having it declared. 
3334 2003-11-22 bulia byak <bulia@dr.com>
3336         * unified handling of arrow keys in selector and node editor
3337         * lots of new keys for switching tools and calling dialogs
3338         * space works as temporary selector toggle
3339         * new: tools-switch.{c,h} utilities for switching tools
3340         * cleaned up zoom shortcts (1-5)
3341         * keys for toggling grid (#) and guides (|)
3342         * esc deselects, cancels rubberband selection, dragging or transformation 
3343         (in selector)
3344         * quit (ctrl-q) now works everywhere
3345         * new document is opened on startup if none was given on command line
3346         * closing last open document shuts down the program
3347         * floating toolbox is at most one copy, as are other dialogs
3348         * toolbox command is moved to the dialogs menu, ctrl-` as shortcut
3349         * document windows closeable by ctrl-f4
3350         * cleaned up status line messages, changed "items" to "objects"
3351         * quit confirmation dialog appears near the cursor and is transient
3352         * fix: killing quit confirmation dialog was interpreted as No instead 
3353         of Cancel
3354         * preferences are now saved in case of a crash
3355         * preferences are saved on exit
3356         * new: prefs-utils.{c,h} utilities for handling preferences
3357         * misc fixes
3358         * misc shortcuts
3360 2003-11-18 Ted Gould <ted@gould.cx>
3362         * src/modules/system.c: Passed the wrong pointer.  Fix is by
3363         Robert Crosbie.
3365 2003-11-18 Ted Gould <ted@gould.cx>
3367         * src/widgets/sp-toolbox.c: Adding in an include for gtkimage.h
3368         to get the stock functions.  This fixes the build under g++.
3370 2003-11-18 Ted Gould <ted@gould.cx>
3372         * src/modules/extension.c: Changing mkstemp to g_mkstemp for
3373         compatibility.
3375 2003-11-17 Kees Cook <inkscape@outflux.net>
3377         * configure.in: SF Patch #843537: more cast corrections from joncruz
3379 2003-11-17 Ted Gould <ted@gould.cx>
3381         * src/modules/init.c: Changing the process for handeling a directory
3382         that doesn't exist.  Now passing out a warning, and then returning.
3383         The warning is on the command line so most users won't have to deal
3384         with it (it _shouldn't_ happen anyway ;)  Fixes: #843333.
3386 2003-11-17 Kees Cook <inkscape@outflux.net>
3388         * SF Patch #841940: autoconf update from joncruz
3389         * SF Patch #842949: lpr fixes from Lynn Kerby
3390         * SF Patch #842951: variable declaration fixes in interface.c
3391         * SF Patch #842953: small color picker update from John Bintz
3392         * SF Patch #842955: additional Darwin updates from Peter
3393         * Fixed stroke style literal string bug that caused warnings
3394         * SF Patch #842958: updated inkscape.desktop.in slightly
3395         * SF Patch #843170: freetype include corrections
3396         * SF Patch #843326: fixups for g++ compilation from joncruz
3397         * Adding some more missing "extern C" sections for g++ compiles
3398         * Small type corrections to quite g++ during -Wall
3399         * Changed all the #endif // __cplusplus into a standard C comment
3401 2003-11-16  MenTaLguY <mental@rydia.net>
3403         * src/document.c: reworked sp_desktop_items_*in_box family to be layer-aware
3405 2003-11-16  Kees Cook <inkscape@outflux.net>
3407         * Cleaned up "desactivate" into "deactivate"
3408         * Fixed GDK_SCROLL event from mouse wheel scrolling
3409         * Cleaned up .cvsignore entries for fewer cvs warnings
3411 2003-11-16  MenTaLguY <mental@rydia.net>
3413         * dialogs/xml-tree.c: events should not be intercepted for the XML dialog
3415 2003-11-16  MenTaLguY <mental@rydia.net>
3417         * src/version.c: ME R DUM.  Had the arguments to sscanf() reversed.
3419 2003-11-16  Ted Gould <ted@gould.cx>
3421         * Updating everything so that it builds under g++ again.  Much
3422         of the updates were to the recently checked in modules code.
3424 2003-11-16  MenTaLguY <mental@rydia.net>
3426         * New version code (version.c/version.h)
3427         * Introduced inkscape namespace in parallel with sodipodi namespace
3428         * Fixed a lot of attribute enum names to reflect sodipodi versus inkscape namespaces
3429         * src/document.c: new version processing, plus namespace fixes
3430         * SP_OBJECT_WRITE_INKSCAPE is now SP_OBJECT_WRITE_EXT
3431         * Inkscape and Sodipodi versions are tracked separately
3432         * First crack at layers!  set inkscape:groupmode to "layer" or "group" depending on how you want a group to behave
3433         * A little dead code removal
3435 2003-11-15  MenTaLguY <mental@rydia.net>
3437         * Mege Jon's improved src/help.c patch from the mailing list (with some temporary cruft of my own that I hope he'll forgive me for)
3439 2003-11-14  Ted Gould <ted@gould.cx>
3441         * Fixed up the module code alot.  Now extentions are usable with
3442         a XML file in the /usr/share/inkscape/modules directory.
3444 2003-11-12  Jon Cruz <jon@joncruz.org>
3445         * Fix warnings due to missing casts - nr-rasterfont.c (840539)
3446         * Fix warnings due to missing casts - desktop-snap.c (840543)
3447         * Fix warnings due to missing casts - help.c (840545)
3449 2003-11-11  Robert Crosbie <swingincelt@hotmail.com>
3451         * Remove kde option from configure (840504)
3452         * Remove icon hash from sp_icon_new_full (840506)
3454 2003-11-11  magnethead <magnethead@mindspring.com>
3456         * src/dialogs/transformation.c (sp_transformation_dialog_new):
3457         Removed images from tabs
3458         * src/dialogs/object-properties.c (sp_object_properties_dialog):
3459         Removed images from tabs
3461 2003-11-11  Ted Gould <ted@gould.cx>
3463         * Starting 0.36 development
3465 2003-11-10  Ted Gould <ted@gould.cx>
3467         * Release 0.35
3469 2003-11-08  Bryce Harrington <brycehar@bryceharrington.com>
3470         * Updated About dialog
3471         * Fixed bug on Editing Windows dialog
3473 2003-11-08  Manny the Gnome
3474         * Remove KDE dialog option
3476 2003-11-06 Bulia Byak
3477         * Add cursor-key support
3479 2003-10-19  MenTaLguY  <mental@rydia.net>
3481         * src/xml/repr-io.c (sp_repr_svg_read_node): handle CDATA
3482         sections properly
3484         * Most of the tree.  Unsodipodified pretty much everything I could
3485         find.  New temporary icons, etc etc...
3487 2003-10-23  Ted Gould  <ted@gould.cx>
3489         * src/*/Makefile.am: Changing the include paths to make distcheck
3490         get closer to passing.
3492 2003-10-22  Ted Gould  <ted@gould.cx>
3494         * configure.in: Changing version to 0.32-hydra1.  This is after
3495         much discussion and serious contemplation (okay, we never really
3496         got out the magic eight ball).
3498 2003-10-22  Ted Gould  <ted@gould.cx>
3500         * src/dialogs/desktop-properties.c, src/widgets/spw-utilities.c,
3501         src/widgets/spw-utilities.h: Cleaning up desktop properties by
3502         abstracting things into functions.  This patch was written by
3503         Bryce Harrington and is tracker entry #822497.
3505 2003-10-21  Ted Gould  <ted@gould.cx>
3507         * src/interface.c: Changing it so there is an Open Recent menu on
3508         the Sodipodi menu and the toolbar menu.  This removes some clutter
3509         in the menu.  This is tracker entry #820223 and the author is
3510         unknown.
3512 2003-10-21  Ted Gould  <ted@gould.cx>
3514         * src/dialogs/text-edit.c: Make it so that changes can be applied
3515         to multiple blocks of text.  This patch was submitted by Petr
3516         Kovar and is tracker #816676.
3518 2003-10-17  Ted Gould  <ted@gould.cx>
3520         * src/dialogs/object-properties.c: Applying a patch by Lynn Kerby
3521         which is tracker number 799363.  This makes it so that if just
3522         the units are changed the object does not get updated.
3524 2003-10-16  Ted Gould  <ted@gould.cx>
3526         * src/Makefile.am: Adding the modules to the linking of the
3527         spsvgview executable.  This fixes the KDE build.  This was tracker
3528         issue 819963 but unfortunately we don't know who submitted it.
3530 2003-10-15  Ted Gould  <ted@gould.cx>
3532         * configure.in: Adding a -hydra to the version number.
3534 2003-10-15  Ted Gould  <ted@gould.cx>
3536         * Changelog: Applying the patch from Mental to do transactions
3537         in the XML.  It is tracker number: 819745.  More info to follow
3538         which is (written by Mental)
3540         * src/document-private.h: removed old SPAction struct and 
3541         modified SPDocumentPrivate to use new SPReprAction type
3543         * src/document-undo.c: removed all sp_action stuff,
3544         sp_document_priv_done(), and all repr callbacks
3545         (sp_document_set_sensitive): start/suspend transactions on Repr 
3546         document
3547         (sp_document_done): now just a wrapper for
3548         sp_document_maybe_done(), of which it is a special case
3549         (sp_document_maybe_done): use new transaction facility, and 
3550         properly trim undo list size to MAX_UNDO
3551         (sp_document_cancel): new SPDocument method for aborting (and 
3552         undoing) current operation
3553         (sp_document_undo, sp_document_redo): rewritten for transactions
3555         * src/document.c (sp_document_init): updated SPDocumentPrivate
3556         initialization
3557         (sp_document_destroy): clean up partial action list
3558         (sp_document_idle_handler): removed undo stack warning
3559         (sp_document_warn_undo_stack): removed
3561         * src/document.h: added sp_document_cancel()
3563         * src/sp-object.c (sp_object_invoke_build): minor cleanup
3564         (sp_object_repr_child_added, sp_object_repr_remove_child, 
3565         sp_object_repr_order_changed, sp_object_repr_attr_changed,
3566         sp_object_repr_content_changed): removed calls to document 
3567         callbacks
3569         * src/dialogs/xml-tree.c: enabled delete button for _all_ 
3570         attributes [I later plann on enabling/disabling it based on
3571         a call to the repr's change_attr veto callback]
3572         (after_tree_move): roll back the transaction if the node
3573         didn't want to be moved
3574         (on_attr_select_row_enable): used to be 
3575         on_attr_select_row_enable_if_not_id()
3576         (cmd_indent_node, cmd_unindent_node): removed usage of 
3577         sp_repr_move in favor of simple operations with transactions
3579         * src/widgets/sp-xmlview-tree (repoint_nodes): no longer needed
3580         (add_node): switched to an if cascade instead of a switch 
3581         statement, since SP_REPR_TYPE (repr) is no longer an integer
3582         (tree_move): use simple operations instead of sp_repr_move
3584         * src/xml/Makefile.am: added sp-action.c to build
3586         * src/xml/repr-action.c, src/xml/repr-action.h: transaction
3587         logging facility for reprs using linked lists of SPReprAction
3588         structs (conceptually, logs)
3590         * src/xml/repr-private.h: introduced SPReprClass for different
3591         node types and added SPRepr::doc field for doc pointer.
3592         SPReprDoc is now a proper subclass of SPRepr.
3594         * src/xml/repr-util.c (sp_repr_move, sp_repr_transfer_ids):
3595         removed
3597         * src/xml/repr.c: added logging macros and SPRepr subclassing
3599         * src/xml/repr.h: removed sp_repr_move()
3601 2003-10-09  Ted Gould  <ted@gould.cx>
3603         * src/libnrtype/nr-type-directory.c: Applying a patch to
3604         fix the compile from Vitaly Lipatov.
3606 2003-10-08  Ted Gould  <ted@gould.cx>
3608         * glade/icons.svg src/nodepath.c src/nodepath.h
3609         src/toolbox.c src/dialogs/node-edit.c src/dialogs/node-edit.h:
3610         Adding another patch from Bob Jamison which is in the tracker
3611         under 819054.  This patch adds an alternate join function.  It
3612         also adds this function to the tool box with an icon.
3614 2003-10-08  Ted Gould  <ted@gould.cx>
3616         * src/.cvsignore: Adding in spsvgview for cleaner diff's
3618 2003-10-08  Ted Gould  <ted@gould.cx>
3620         * src/dialogs/item-properties.c: Submitting a patch from
3621         Bob Jamison which is in the tracker under 819043.  This adds
3622         the ID to the item properties dialog.
3624 2003-10-06  Ted Gould  <ted@gould.cx>
3626         * Changelog: Start of the hydra-october branch
3628 2003-10-06  Lauris Kaplinski  <lauris@kaplinski.com>
3630         * src/libarikkei/Makefile.am: New stuff from ariariki
3632         * src/libnrtype/nr-type-xft.c (nr_type_read_xft_list): Moved here
3634         * src/libnrtype/nr-type-directory.c (nr_type_build): From ariariki
3635         (nr_type_read_private_list): Use libarikkei tokenizer
3636         (nr_type_register): Made public
3638         * src/libnrtype/Makefile.am: Added libarikkei stuff
3640         * configure.in: Added libarikkei/Makefile
3642 2003-09-18  Mitsuru Oka <oka@mediasite.co.jp>
3644         * Initial IA-64 Linux support.
3646         * libnr/nr-object.h defined new type NRType.
3648         * src/desktop.c ... src/modules/win32.h ... many files:
3649         modified all of the unsigned int GObject type by GType and
3650         unsigned int NRObject type by NRType.
3652 2003-08-17  Lauris Kaplinski  <lauris@kaplinski.com>
3654         * src/libnrtype/nr-type-ft2.c (nr_typeface_ft2_setup): Check whether font
3655         has assigned code points on BMP private area
3656         (nr_typeface_ft2_lookup): Map BMP private area directly to glyph index only
3657         if it is free, use planes F and 10 for direct mapping
3659 2003-08-17  Danilo Å egan  <dsegan@gmx.net>
3661         * configure.in: Added "sr" and "sr@Latn" to ALL_LINGUAS.
3663 2003-07-23  Dmitry G. Mastrukov  <dmitry@taurussoft.org>
3665         * configure.in: Added Belarusian to ALL_LINGUAS.
3667 2003-07-21  Christian Neumair  <chris@gnome-de.org>
3669         * src/verbs.c: Fix another typo (preciely->precisely).
3671 2003-07-21  Christian Neumair  <chris@gnome-de.org>
3673         * src/widgets/paint-selector.c: Fix a typo (colospace->Colorspace).
3675 2003-07-15  Masatake YAMATO  <jet@gyve.org>
3677         * src/helper/sp-ctrlline.h: Fix a typo(x2->x1).
3679 2003-07-12  Yukihiro Nakai  <ynakai@redhat.com>
3681         * src/text-context.c (sptc_preedit_changed): New signal handler
3682         (sp_text_context_setup): Connect "preedit_changed" signal
3683         (sp_text_context_root_handler): Return TRUE (needed for Gtk+ IM)
3685         * src/verbs.c (sp_verbs_init): Wrap action name and tip into _()
3687 2003-07-11  Lauris Kaplinski  <lauris@kaplinski.com>
3689         * src/event-context.c (sp_event_context_private_root_handler): Handle
3690         GDK_SCROLL (thanks to Tomas Znamenacek)
3692         * src/xml/repr-util.c (sp_xml_dtoa): Do not print trailing zeroes
3694         * src/xml/repr.c (sp_repr_document_new): Removed ATTLIST xmlns:xlink
3696         * src/libnr/nr-svp-private.h: New file
3698 2003-07-09  Lauris Kaplinski  <lauris@kaplinski.com>
3700         * src/libnr/nr-stroke.c: Implement most functionality
3702         * src/libnr/nr-svp-uncross.c (nr_svl_uncross_full): Process some corner cases
3703         properly
3705 2003-07-07  Masatake YAMATO  <jet@gyve.org>
3707         * src/shortcuts.c (sp_shortcut_table_load): set shortcut
3708         for SP_VERB_EDIT_SELECT_ALL.
3710         * src/selection-chemistry.[ch] (sp_edit_select_all): New function.
3712         * src/verbs.c (sp_verb_action_edit_perform): Added case
3713         SP_VERB_EDIT_CLEAR_ALL and SP_VERB_EDIT_SELECT_ALL.
3714         (SP_VERB_IS_EDIT): Extended to SP_VERB_EDIT_SELECT_ALL.
3716 2003-07-04  Lauris Kaplinski  <lauris@kaplinski.com>
3718         * src/svg/svg-length.c (sp_svg_length_set): New method
3720         * src/sp-spiral.c (sp_spiral_write): Write path here
3722         * src/sp-image.c (sp_image_repr_read_image): Treat NULL docbase as current directory
3724         * src/sp-gradient.c (sp_gradient_write): Merged code with flatten_attribute
3725         (sp_lineargradient_write): Ditto
3726         (sp_radialgradient_write): Ditto
3728         * src/rect-context.c (sp_rect_context_root_handler): Get motion hints
3730         * src/helper/sp-canvas.c (SP_CANVAS_UPDATE_PRIORITY): Use higher priority
3732         * src/document.c (SP_DOCUMENT_UPDATE_PRIORITY): Use higher priority
3734 2003-06-30  Lauris Kaplinski  <lauris@kaplinski.com>
3736         * src/libnrtype/nr-type-ft2.c (nr_typeface_ft2_glyph_outline_get): Do not
3737         load outlines multiple times, fixes serious memleak
3739 2003-06-28  Lauris Kaplinski  <lauris@kaplinski.com>
3741         * src/dialogs/text-edit.c (sp_text_edit_dialog): Added line spacing combo
3742         (sp_text_edit_dialog_update_object): Update line spacing
3743         (sp_text_edit_dialog_read_selection): Update control
3745         * src/sp-text.c (sp_text_set): Parse "sodipodi:linespacing"
3746         (sp_text_set_shape): Use line spacing
3748         * src/attributes.c: Added "sodipodi:linespacing"
3750 2003-06-27  Lauris Kaplinski  <lauris@kaplinski.com>
3752         * src/dialogs/desktop-properties.c (sp_dtw_border_layer_toggled): New callback
3753         (sp_desktop_dialog_new): Added border layer
3754         (sp_dtw_update): Track border layer
3756         * src/spsvgview.c: Implement slideshow
3758         * src/sp-namedview.c (sp_namedview_set): Track borderlayer
3760         * src/desktop.c (sp_desktop_new): Add page border directly to
3761         main group
3762         (sp_dt_namedview_modified): Track border layer
3764         * src/attributes.c: Added "borderlayer"
3766 2003-06-22  Lauris Kaplinski  <lauris@kaplinski.com>
3768         * src/sp-pattern.c (sp_pattern_update): Implemented, patterns show up again
3769         (sp_pattern_painter_new): Painter is not GObject anymore, fixes crash
3770         (sp_pattern_painter_free): Ditto
3772         * src/sp-root.c: Removed namedview tracking
3774         * src/sp-object-repr.c (sp_object_type_lookup): Do not register GUI types
3775         (sp_object_type_register): New method
3777         * src/sp-namedview.c (sp_document_namedview): Moved it here to clean
3778         up dependency chain
3780         * src/sp-item-group.c (sp_item_group_get_child_by_name): New method
3782         * src/main.c (sp_main_gui): Register GUI object types
3783         (sp_main_console): Ditto
3785         * src/document.c (sp_document_create): Check for namedview using name only
3787         * src/Makefile.am (spsvgview_SOURCES): Uncommented spsvgview
3789         * src/libnr/nr-object.c: Use listener arrays instead of lists
3791 2003-06-20  Lauris Kaplinski  <lauris@kaplinski.com>
3793         * configure.in: Version 0.33pre
3795 2003-06-19  Masatake YAMATO  <jet@gyve.org>
3797         * src/dialogs/desktop-properties.c (sp_color_picker_clicked): Enable "Close"
3798         button.
3799         (sp_color_picker_window_close): New function.
3801 2003-06-18  Lauris Kaplinski  <lauris@kaplinski.com>
3803         * src/dialogs/object-properties.c (sp_object_properties_dialog_destroy): Disconnect
3804         signals here, fixes crash
3806 2003-06-18  Masatake YAMATO  <jet@gyve.org>
3808         * src/toolbox.c (sp_toolbox_*_create): passed tt to 
3809         sp_toolbox_new.
3811         * src/dialogs/align.c (sp_align_add_button): passed a 
3812         GtkTooltips object to sp_button_new_from_data.
3813         (sp_quick_align_dialog): created a new GtkTooltips object
3814         and passed it to sp_align_add_button.
3816         * src/widgets/sp-toolbox.c (sp_toolbox_new): passed a
3817         GtkTooltips object to sp_button_new_from_data.
3818         Fix a spelling miss.
3820         * src/widgets/sp-toolbox.h (sp_toolbox_new): passed a 
3821         GtkTooltips object.
3823 2003-06-17  Lauris Kaplinski  <lauris@kaplinski.com>
3825         * src/sp-image.c (sp_image_set): Fix potential crash
3826         (sp_image_update): Move code here, so canvas items do not dereference
3827         destroyed pixbuf data
3829         * src/seltrans.c (sp_sel_trans_handle_request): Reverse shift behaviour for
3830         rotation (thanks to Pat)
3832 2003-06-16  Lauris Kaplinski  <lauris@kaplinski.com>
3834         * src/verbs.c: Added 'print direct' option
3836         * src/interface.c (sp_ui_file_menu): Added print direct if needed
3838         * src/toolbox.c (sp_toolbox_file_create): Compose print + print direct if needed
3840 2003-06-15  Lauris Kaplinski  <lauris@kaplinski.com>
3842         * src/modules/ps.c (sp_module_print_plain_setup): Added bitmap/ps choice and
3843         preferred bitmap resolution selector
3844         (sp_module_print_plain_finish): If user prefers bitmap printing, composite
3845         full page from NRArena here
3847 2003-06-13  Lauris Kaplinski  <lauris@kaplinski.com>
3849         * src/event-context.c (sp_event_context_private_root_handler): Removed
3850         desktop dialog double-click binding
3852         * src/widgets/icon.c (sp_icon_new_scaled): New method
3853         (sp_icon_new_full): Refactored static method
3854         (sp_icon_image_load_svg): Use scale factor
3856         * src/xml/repr-io.c (sp_repr_do_read): Unref node after attaching
3857         (sp_repr_svg_read_node): Ditto
3859         * src/xml/repr.c (sp_repr_document_new): Ditto
3861 2003-06-12  Lauris Kaplinski  <lauris@kaplinski.com>
3863         * src/modules/ps.c: Ported Ascii85 filter from The GIMP
3865 2003-06-09  Lauris Kaplinski  <lauris@kaplinski.com>
3867         * src/modules/kde.cpp (sp_kde_get_save_filename): New method
3868         (sp_kde_get_write_filename): New method
3869         (sp_kde_get_open_filename): Use dir/filter/title
3871         * src/file.c (sp_file_open_dialog): Use KDE file dialog if WITH_KDE
3872         (sp_file_save_dialog): Ditto
3873         (sp_file_import): Ditto
3875 2003-06-05  Lauris Kaplinski  <lauris@kaplinski.com>
3877         * src/print.c: Only high-level stuff
3879         * src/modules/gnome.c: Moved gnome print frontend here
3881         * src/modules/ps.*: Moved plain print frontend here
3883 2003-05-25  Lauris Kaplinski  <lauris@kaplinski.com>
3885         * src/sp-item.h: Removed ::menu and ::knot_holder virtual methods
3887         * src/object-edit.c: New file, collect all knotholder methods from
3888         item implementations here
3890         * src/object-edit.h (sp_item_knot_holder): New file
3892         * src/object-ui.c: New file, collect all Gtk related methods from
3893         object implementations here
3895         * src/object-ui.h (sp_object_menu): New file
3897 2003-05-24  Lauris Kaplinski  <lauris@kaplinski.com>
3899         * src/print.c (sp_print_preview_document): Use ::set_preview if present
3901         * src/module.h: Added virtual methof for setting preview
3903         * src/helper/kde.cpp (sp_module_print_kde_finish): Got working
3904         (sp_module_print_kde_set_preview): New method
3906 2003-05-18  Hans Breuer  <hans.breuer.org>
3908         * src/monostd.h : (new file) some defines and includes
3909         mostly to make up the WIN32 lack of unistd.h
3911         * config.h.win32 src/makefile.msc src/*/makefile.msc :
3912         (new files) to build Sodipodi on win32 with M$ toolchain
3914         * src/winmain.c : (new file) WinMain in it's own file simply 
3915         calling main()
3916         * src/main.c : build the common main() for win32 too
3918         * src/sodipodi.rc : (new file) to compile in the application
3919         icon on win32
3921         * src/file.c : use G_DIR_SEPARATOR[_S] instead of '/' ["/"]
3922         make the file selection work better on win32
3924         * src/sp-image.c : read images defined by xlink:href="file://...
3926         * src/sodipodi.c : #inculed "monostd.h" to get S_ISDIR and 
3927         S_ISREG on win32
3929         * src/libnr/nr-values.h : when building as DLL exporting 
3930         variables is quite ugly. Define some constant matrices as
3931         static for win32 to avoid exporting.
3933         * src/libnrtype/nr-type-directory.c : #include <io.h> 
3934         for win32::open() etc.
3936         * src/libnrtype/nr-type-w32.c : #ifdef HANGUL_CHARSET,
3937         older SDK headers don't have it
3939         * src/libnrtype/nr-type-w32.H : #define WIN32_LEAN_AND_MEAN
3940         before including <windows.h> to reduce namespace pollution
3942         * src/svg/svg-length.c : #include <config.h> to get WIN32
3944         * src/widgets/icon.c : S_ISREG, S_ISDIR
3946         * src/xml/sp-xml.def src/svg/sp-svg.def
3947         src/libnr/sp-libnr.def src/libnrtype/sp-libnrtype.def :
3948         (new files) to export functios from modules built as DLLs
3950         * src/helpers/gnome-utils.c(gnome_uri_list_extract_filenames) :
3951         use g_filename_from_uri()
3952         * src/toolbox.c src/interface.c : don't leak the uri list
3954         * src/xml/repr-util.c : use g_strcasecmp for portability
3955         * src/svg/svg-length.c : ... and g_snprintf
3957 2003-05-18  Lauris Kaplinski  <lauris@kaplinski.com>
3959         * src/sp-item.c (sp_item_invoke_print): Only if item is printable
3961         * src/display/nr-arena-item.c (nr_arena_item_set_visible): New method
3962         (nr_arena_item_invoke_render): Honour visibility
3964         * src/dialogs/item-properties.c (sp_item_widget_printability_toggled): Implement
3966         * src/sp-item.c (sp_item_set): Added "sodipodi:printable" attribute
3968 2003-05-14  Lauris Kaplinski  <lauris@kaplinski.com>
3970         * src/widgets/button.c (sp_button_set_composed_tooltip): Add primary shortcut
3971         dynamically to tooltip
3973 2003-05-13  Lauris Kaplinski  <lauris@kaplinski.com>
3975         * src/toolbox.c (sp_maintoolbox_create_toplevel): Use sp_window_new
3977         * src/helper/window.c: New file, implement shortcut processing
3979         * src/helper/window.h: New file
3981 2003-05-12  Lauris Kaplinski  <lauris@kaplinski.com>
3983         * src/text-context.c (sp_text_context_forget_text): Set object to
3984         NULL before destroying, so resulting selection::changed does not mess up
3986         * src/selection-chemistry.c: Removed undo and redo frontends
3988         * src/shortcuts.c: Moved shortcut code here
3990 2003-05-11  Lauris Kaplinski  <lauris@kaplinski.com>
3992         * src/zoom-context.c: Removed bogus zoom ui handlers
3994         * src/sodipodi.c (sodipodi_init): Initialize some shortcuts
3996         * src/toolbox.c (sp_toolbox_button_clicked): New callback
3997         (sp_toolbox_button_new_from_verb): New method
3998         (sp_toolbox_zoom_create): Use verbs
4000         * src/interface.c (sp_ui_menu_activate): Universal callback
4001         (sp_ui_menu_append_item_from_verb): New method
4002         (sp_ui_view_menu): Use verbs for zoom menu items
4004         * src/event-context.c (sp_event_context_private_root_handler): Use actions for
4005         certain keycodes
4007         * src/verbs.c: New file
4009         * src/verbs.h: New file
4011         * src/helper/action.c: New file
4013         * src/helper/action.h: New file
4015 2003-05-07  Lauris Kaplinski  <lauris@kaplinski.com>
4017         * src/libnr/nr-svp-uncross.c (nr_svl_uncross_full): Break slice endpoints if
4018         there can be potential crossing
4020 2003-05-06  Lauris Kaplinski  <lauris@kaplinski.com>
4022         * src/libnr/nr-svp-render.c (nr_svp_render): Fix some running sum problems
4024 2003-05-04  Lauris Kaplinski  <lauris@kaplinski.com>
4026         * src/libnrtype/nr-rasterfont.c (nr_rasterfont_generic_glyph_mask_render): Render
4027         using NRSVP and mask OR
4028         (nr_rasterfont_ensure_glyph_slot): Build NRSVP
4030 2003-05-03  Lauris Kaplinski  <lauris@kaplinski.com>
4032         * src/helper/Makefile.am: Removed art-utils.h
4034         * src/libnr/nr-svp.c (nr_svl_build_finish_segment): New helper
4035         (nr_svl_build_moveto): Ditto
4036         (nr_svl_build_lineto): Ditto
4037         (nr_svl_build_curveto): New helper
4038         (nr_svl_from_art_vpath): Use NRSVLBuild
4039         (nr_svl_from_art_bpath): New method
4041 2003-05-02  Lauris Kaplinski  <lauris@kaplinski.com>
4043         * sodipodi.desktop.in: Updated by Michael Terry
4045 2003-05-01  Lauris Kaplinski  <lauris@kaplinski.com>
4047         * src/svg/svg-length.c (sp_svg_number_write_d): Fixed rounding overflow
4049 2003-05-01  Christian Schaller <Uraeus@gnome.org>
4050         * Fixed up desktop.in file to conform to latest freedesktop standard
4051         * Fixed up spec.in file to actually work
4052         * Added missing extensions-skeleton.h to makefile
4053         * Added spec file to EXTRA_DIST
4055 2003-05-01  Lauris Kaplinski  <lauris@kaplinski.com>
4057         * src/display/nr-arena-item.c (nr_arena_item_children): Return correct
4058         value (thanks to MentaLguY)
4060 2003-04-29  Lauris Kaplinski  <lauris@kaplinski.com>
4062         * src/libnr/nr-svp.h: Use more compact format for segments
4064         * src/libnr/nr-svp.c (nr_svp_from_svl): Use max segment length
4066 2003-04-28  Lauris Kaplinski  <lauris@kaplinski.com>
4068         * src/libnr/nr-svp-render.c (nr_svp_render): New method
4069         (nr_pixblock_render_svp_mask_or): New method
4070         (nr_pixblock_render_svl_mask_or): Renamed old one
4071         (nr_svl_render): Ditto
4073         * src/libnr/nr-svp.c (nr_svp_point_wind): Implement
4074         (nr_line_point_distance2): Helper
4075         (nr_svp_point_distance): Ditto
4076         (nr_svp_from_svl): New method, implemented packed format and
4077         renamed old one to S(orted)V(ertex)L(ist)
4078         (nr_svp_free): Ditto
4080         * src/display/nr-arena-shape.h: Port all basics to NRSVP
4082 2003-04-27  Lauris Kaplinski  <lauris@kaplinski.com>
4084         * src/knotholder.c (knot_ungrabbed_handler): Flush object here
4086         * src/xml/repr-util.c (sp_xml_dtoa): Take '-' into accounti if
4087         copying integral part
4089         * src/svg/svg-length.c (sp_svg_length_update): New method
4091         * src/sp-spiral.c (sp_spiral_update): New method
4093         * src/sp-star.c (sp_star_update): New method
4095         * src/sp-ellipse.c (sp_genericellipse_update): Use generic ::set_shape
4097         * src/sp-rect.c (sp_rect_update): Use generic ::set_shape
4099 2003-04-24  Lauris Kaplinski  <lauris@kaplinski.com>
4101         * src/libnr/nr-svp-uncross.c (nr_svp_uncross_full): Concat segment start only if
4102         within epsilon, snap intersection point at yslice, if close
4104 2003-04-23  Lauris Kaplinski  <lauris@kaplinski.com>
4106         * src/widgets/sp-color-slider.c (sp_color_slider_paint): Use proper style painters,
4107         so Gdk/Gtk crash bug does not show up anymore
4109         * src/xml/repr-io.c (sp_repr_read_file): Substitute entities (by MentaL)
4110         (sp_repr_read_mem): Ditto
4112         * src/style.c (sp_style_merge_from_style_string): Complain only if not the end
4113         of the style string (thanks to MenTaL)
4115 2003-04-22  Lauris Kaplinski  <lauris@kaplinski.com>
4117         * src/print.c (sp_module_print_plain_begin): Magic by MenTaL
4119         * src/libnr/nr-svp-uncross.c (nr_svp_uncross_full): Works properly now for
4120         all stress-tests except zap.
4122 2003-04-18  Lauris Kaplinski  <lauris@kaplinski.com>
4124         * src/display/nr-arena-shape.c (nr_arena_shape_update): Switch fill
4125         completely to new renderer
4126         (nr_arena_shape_render): Ditto, but use masks as before
4128         * src/libnr/nr-svp-uncross.c (nr_svp_uncross_full): Pass most stress-tests
4130 2003-04-15  Lauris Kaplinski  <lauris@kaplinski.com>
4132         * src/libnr/nr-svp-render.c (nr_pixblock_render_svp_mask_or): new method
4133         (nr_pixblock_render_svp_rgba): Frontend, implement for all pixblock modes
4134         (nr_svp_run_A8_OR): Run callback implementation
4135         (nr_svp_run_R8G8B8): Ditto
4136         (nr_svp_run_R8G8B8A8P_EMPTY): Ditto
4137         (nr_svp_run_R8G8B8A8P_R8G8B8A8P): Ditto
4138         (nr_svp_run_R8G8B8A8N_R8G8B8A8N): Ditto
4139         (nr_svp_render): Implement using generic run callbacks
4141 2003-04-14  Lauris Kaplinski  <lauris@kaplinski.com>
4143         * src/libnr/nr-svp-render.c (nr_pixblock_render_svp_rgba): Do runs properly,
4144         skip if coverage stays 0
4146 2003-04-13  Lauris Kaplinski  <lauris@kaplinski.com>
4148         * src/libnr/nr-svp-render.c: Moved here from old arena code
4150         * src/libnr/nr-svp-render.h: Ditto
4152         * src/libnr/nr-svp.c: Ditto
4154         * src/libnr/nr-svp.h: Ditto
4156         * src/display/nr-arena-shape.h: Optional experimental new renderer
4158         * src/libnrtype/nr-typeface.h: Port to NRObject
4160         * src/display/canvas-arena.c (sp_canvas_arena_init): Use active object
4161         listener instead of g-signals
4162         (sp_canvas_arena_destroy): Ditto
4164         * src/display/nr-arena.h: Derive from NRActiveobject
4166         * src/display/nr-object.c (nr_object_delete): proper lifecycle management
4167         (nr_object_setup): Ditto, automatic object
4168         (nr_object_release): Ditto
4169         (nr_active_object_get_type): Added NRActiveObject
4171         * src/display/nr-object.h: Added NRActiveObject
4173 2003-04-12  Lauris Kaplinski  <lauris@kaplinski.com>
4175         * src/display/nr-object.c: Reimplement in standalone way
4177         * src/display/nr-object.h: Reimplement in standalone way
4179 2003-04-06  Lauris Kaplinski  <lauris@kaplinski.com>
4181         * src/sp-marker.c (sp_marker_show_dimension): Reimplement
4182         (sp_marker_show_instance): Ditto
4184         * src/display/nr-arena-shape.c (nr_arena_shape_finalize): Detach markers
4186         * src/sp-shape.c (sp_shape_update_marker_view): Test orientation
4188 2003-03-25  Lauris Kaplinski  <lauris@kaplinski.com>
4190         * src/display/nr-arena-item.c: Removed ::event signal
4192         * src/display/nr-object.h: Frontend for future glib-free object system
4194 2003-03-21  Lauris Kaplinski  <lauris@kaplinski.com>
4196         * src/sp-shape.c (sp_shape_update): Update marker properly
4197         (sp_shape_set_marker): Parse all three marker types
4199         * src/sp-marker.c (sp_marker_update): Set reference point in child2parent matrix
4200         (sp_marker_show_dimension): Copy and set arena items properly
4201         (sp_marker_show_instance): Set base transfoarm and scale by line width if needed
4203 2003-03-17  Lauris Kaplinski  <lauris@kaplinski.com>
4205         * src/uri-references.c (sp_uri_reference_resolve): Allow '_' and
4206         '-' in xlink names.
4208 2003-03-15  Lauris Kaplinski  <lauris@kaplinski.com>
4210         * src/display/nr-arena-item.h: Made opacity 8-bit integer
4212 2003-03-12  Lauris Kaplinski  <lauris@kaplinski.com>
4214         * src/sp-marker.c (sp_marker_update): Do it properly
4215         (sp_marker_write): Do it properly (almost)
4217 2003-03-11  Lauris Kaplinski  <lauris@kaplinski.com>
4219         * src/print.c (sp_module_print_plain_class_init): Use correct destructor
4221         * src/sp-marker.c (sp_marker_set): Implement all attributes
4223 2003-03-09  Lauris Kaplinski  <lauris@kaplinski.com>
4225         * src/sp-object-repr.c (sp_object_type_lookup): Added marker type
4227         * src/sp-marker.h: New file
4229         * src/sp-marker.c: New file
4231         * src/display/nr-arena-image.c (nr_arena_image_render): Use pixblock
4232         area instead the active area (that may be bigger)
4234         * src/helper/kde.cpp: Added SPModulePrintKDE object
4235         (sp_kde_get_module_print): Contructor
4237         * src/print.c: Port to modules, add KDE option
4239         * src/module.c (sp_module_register): Check for id, fix crash
4240         (sp_module_unregister): Ditto
4241         (sp_module_print_get_type): Implement SPModulePrint
4243         * src/document.h: Renamed private to priv to be nice with c++
4245         * src/Makefile.am (kdeldadd): Added LIB_KDEPRINT
4247         * configure.in: Enable modules by default
4249 2003-03-04  MenTaLguY  <mental@rydia.net>
4251         * src/desktop.c: changed zoom_status to a spin button with logarithmic increment and a handy context menu
4252         (sp_dtw_zoom_*): added various event handlers for the new zoom spin button
4253         (sp_desktop_zoom_page): factored out code duplicated with zoom-context.c
4254         (sp_desktop_zoom_selection): ditto
4255         (sp_desktop_zoom_drawing): ditto
4256         (sp_desktop_widget_init): removed unused SPDesktopWidget::zoom member and replaced zoom label with a spin button
4258         * src/desktop.h: removed unused SPDesktopWidget::zoom member, added new sp_desktop_zoom_* methods
4260         * src/zoom-context.c (sp_zoom_drawing): factored out code to desktop.c
4261         (sp_zoom_page): NRRectD -> NRRectF, factored out code to desktop.c
4262         (sp_zoom_selection): factored out code to desktop.c
4264 2003-03-06  Lauris Kaplinski  <lauris@kaplinski.com>
4266         * src/helper/Makefile.am: Compile KDE module if needed
4268         * src/main.c (sp_main_gui): Initialize/shutdown KDE module if WITH_KDE
4270         * src/file.c (sp_file_open_dialog): Use KDE file dialog, if WITH_KDE
4272         * src/Makefile.am: Add KDE libraries if needed
4274         * configure.in: Added --with[out]-kde configuration option
4276         * autogen.sh: Added (again) libtoolize
4278         * acinclude.m4: KDE specific autostuff
4280         * src/helper/kde.cpp: New file
4282         * src/helper/kde.h: New file
4284         * src/helper/kde-private.h: SPKDEBridge sefinition for moc preprocessor
4286 2003-03-03  Lauris Kaplinski  <lauris@kaplinski.com>
4288         * src/widgets/sp-color-slider.h: Use LGPL
4290         * src/widgets/sp-color-slider.c: Use LGPL
4292         * src/libnr/nr-rect.h: Use sensible NULL/empty semantics for union and intersection
4294         * src/libnr/nr-rect.c: Ditto
4296         * src/libnr/gen_nr_config.c: Generate basic typedefs (borrowed fromlibart)
4298         * src/display/nr-arena-item.c (nr_arena_item_invoke_update): Cleanup
4299         (nr_arena_item_invoke_render): Ditto
4301 2003-03-01  Lauris Kaplinski  <lauris@kaplinski.com>
4303         * src/modules/*: Various module implementations by Ted Gould
4305         * extensions/*: Put various unsorted extensions stuff here
4307         * src/module.c: New file
4309         * src/module.h: New file
4311         * src/draw-context.c (sp_draw_context_root_handler): Use 'a' instead of '+'
4312         as append/new toggle
4313         (spdc_concat_colors_and_flush): Cut continuation tolerance to avoid extra points at corners
4314         (spdc_pen_set_point): Draw line segments if appropriate
4316 2003-02-25  Lauris Kaplinski  <lauris@kaplinski.com>
4318         * src/main.c (main): Use bind_textdomain_codeset to force utf-8 encoding
4319         (sp_main_console): Init gdk if WITH_XFT
4321         * src/file.c (sp_export_get_rows): Do not set EMPTY flag on pixblock, or background
4322         will be forgotten
4324 2003-02-24  Lauris Kaplinski  <lauris@kaplinski.com>
4326         * src/dialogs/align.c (sp_quick_align_dialog): Added "distribute" tab
4327         (sp_align_distribute_h_clicked): New method
4328         (sp_align_distribute_v_clicked): Ditto
4330         * configure.in: Removed PACKAGE_LOCALE_DIR definition
4332         * src/Makefile.am (INCLUDES): Set PACKAGE_LOCALE_DIR here
4334         * configure.in: Skip xft checking if fontcofig present
4336 2003-02-23  Lauris Kaplinski  <lauris@kaplinski.com>
4338         * src/print.c (sp_print_fill): Use new paint server signature (does it work?)
4340         * src/document.c (sp_document_idle_handler): Use new flags signature
4341         (sp_document_ensure_up_to_date): Ditto
4343         * src/sp-shape.c (sp_shape_modified): Removed style_modified, instead set
4344         style here, if flags indicate the need
4346         * src/sp-text.c (sp_tspan_update): Calculate relative distances here
4347         (sp_text_update): Ditto
4349         * src/sp-object.h: Split update and modified flags, involves changes in
4350         most places actually using them
4352         * src/gradient-chemistry.c (sp_gradient_ensure_private_normalized): Recycle
4353         available gradients, instead of always creating new
4354         (sp_gradient_ensure_radial_private_normalized): Ditto
4356         * configure.in: Version 0.32pre
4358 2003-02-22  Lauris Kaplinski  <lauris@kaplinski.com>
4360         * src/sp-text.c (sp_text_set_shape): Honour single dx and dy attributes
4362         * configure.in: Added check for fontconfig to retrieve nonstandard include directories
4364 2003-02-21  Lauris Kaplinski  <lauris@kaplinski.com>
4366         * src/sp-image.c (sp_image_set): Set canvas item properties in ::update
4367         (sp_image_update): Implement
4369         * src/dialogs/fill-style.c (sp_fill_style_widget_paint_changed): Set CMYK before RGB
4371         * src/dialogs/stroke-style.c (sp_stroke_style_paint_changed): Set CMYK before RGB
4373 2003-02-20  Lauris Kaplinski  <lauris@kaplinski.com>
4375         * src/sp-gradient.c (sp_gradient_rebuild_vector): Fix crash if 2 stops coincide
4377         * src/libnrtype/nr-rasterfont.c (nr_rasterfont_generic_glyph_mask_render): Get real
4378         bounding box, clip to pixblock area for SVP glyphs
4380         * src/sp-polygon.c (sp_polygon_write): Write points always
4382 2003-02-18  Lauris Kaplinski  <lauris@kaplinski.com>
4384         * src/dialogs/export.c (sp_export_dialog): Default to document name + png
4385         (sp_export_spinbutton_new): Pack more functions here
4387         * src/sp-chars.c (sp_chars_update): Implement
4389         * src/sp-text.c (sp_tspan_update): Implement
4391         * Makefile.am: Port back to glib gettext
4393         * configure.in: Port back to glib gettext
4395         * autogen.sh: Copied working version from The Gimp
4397         * src/helper/sp-canvas.c (sp_canvas_paint_rect): Try to fit area into pixelstore
4398         instead of using default image size always
4400 2003-02-17  Lauris Kaplinski  <lauris@kaplinski.com>
4402         * src/sp-path.h: Turned SPPath/SPShape hierachy upside down, so they make sense
4403         now, when we do not derive text and clippath from SPPath anymore
4405         * src/sp-shape.h: Ditto
4407 2003-02-16  Lauris Kaplinski  <lauris@kaplinski.com>
4409         * src/file.c (file_open_ok): Set directory if OK clicked on it (thanks to Aron Rubin)
4410         (file_import_ok): Ditto
4412         * src/sp-ellipse.c (sp_round): Fix sp_round
4414 2003-02-15  Lauris Kaplinski  <lauris@kaplinski.com>
4416         * src/widgets/paint-selector.c (sp_paint_selector_system_color_set): New method
4417         (sp_paint_selector_set_mode_color): Added 'get from dropper' checkbox
4419         * src/dialogs/object-properties.c (sp_object_properties_color_set): Handler
4420         of system 'color_set' signal, used for getting color value from dropper
4422         * src/dialogs/stroke-style.c (sp_stroke_style_paint_system_color_set): New method
4424         * src/dialogs/fill-style.c (sp_fill_style_widget_system_color_set): New method
4426         * src/toolbox.c (sp_toolbox_draw_create): Added dropper tool
4428         * src/sodipodi.c (sodipodi_class_init): Added 'color_set' signal
4429         (sodipodi_set_color): Frontend to signal
4430         (sodipodi_init_config): Use config_name instead of hardcoded 'preferences'
4432         * src/dropper-context.c (sp_dropper_context_root_handler): Scale colors
4433         to [0.0 - 1.0] range and signal hub
4435         * src/widgets/menu.c: New file, implement sensible menu API
4437         * src/widgets/menu.h: New file
4439 2003-02-13  Lauris Kaplinski  <lauris@kaplinski.com>
4441         * src/dropper-context.h: New file
4443         * src/dropper-context.c: New file
4445 2003-02-11  Lauris Kaplinski  <lauris@kaplinski.com>
4447         * src/desktop.c (sp_desktop_widget_init): Create tooltips, enable sticky zoom
4448         (sp_desktop_widget_size_allocate): Calculate sticky zoom by area instead of MIN (x, y)
4450         * src/helper/sp-canvas.h: Added floating point scroll coordinates
4452         * src/helper/sp-canvas.c (scroll_to): Preserver floating point coordinates
4454         * src/display/nr-arena-group.c (nr_arena_group_set_child_transform): Do
4455         not force full update if not needed
4457         * src/display/nr-arena-item.c (nr_arena_item_set_clip): Do not force
4458         full update if not needed
4459         (nr_arena_item_set_mask): Ditto
4460         (nr_arena_item_set_transform): Ditto
4462 2003-02-09  Lauris Kaplinski  <lauris@kaplinski.com>
4464         * src/libnr/nr-gradient.c (nr_lgradient_render_R8G8B8A8N_EMPTY): New shortcut
4466         * src/libnr/nr-gradient.h: Made x0 and x0 integers - this introduces possible
4467         upt to 0.7 pixel error, but other rendering parts are not exact anyways
4469         * src/sp-paint-server.h: Fill function signature change
4471 2003-02-08  Lauris Kaplinski  <lauris@kaplinski.com>
4473         * src/libnr/nr-gradient.c (nr_rgradient_render_generic_symmetric): Special
4474         case NR_PIXBLOCK_MODE_R8G8B8A8N and full opacity
4476         * src/sp-gradient.c (sp_radialgradient_set): Initialize focal point to center if unset
4478         * src/libnr/nr-gradient.c (nr_lgradient_render_R8G8B8A8N): Special-cased full opacity
4480         * configure.in: 0.30.1
4482         * src/libnrtype/nr-rasterfont.c (nr_rasterfont_ensure_glyph_slot): Use
4483         32 bit integer bbox initially before deciding whether it fits in 16 bit
4485 2003-02-08  gettextize  <bug-gnu-gettext@gnu.org>
4487         * Makefile.am (SUBDIRS): Add intl, m4.
4488         (EXTRA_DIST): Add config.rpath.
4489         * configure.in (AC_OUTPUT): Add intl/Makefile, po/Makefile.in, m4/Makefile.
4491 2003-02-07  Lauris Kaplinski  <lauris@kaplinski.com>
4493         * src/help.c (sp_help_about): Make default window size the same as document
4495         * src/style.c: Use custom winding rule and stroke parameter enumerations
4497         * src/enums.h: Define winding rules and stroke parameters
4499 2003-02-06  Lauris Kaplinski  <lauris@kaplinski.com>
4501         * src/sp-rect.c (sp_rect_rx_set): Set ::set value(s)
4502         (sp_rect_ry_set): Ditto
4504         * src/sp-item.c (sp_item_update): Set arena item transform here
4506         * src/dialogs/fill-style.c (sp_fill_style_widget_update_repr): Made non-recursive
4507         (sp_fill_style_widget_update): Ditto
4509         * src/sp-shape.c (sp_shape_write_transform): Working path tranformation optimizer
4511         * src/widgets/sp-color-slider.c (sp_color_slider_adjustment_value_changed): Add
4512         some extra pixels around arrow dirtified area
4513         (sp_color_slider_paint): Use gtk_draw_box instead of gtk_draw_shadow
4514         (sp_color_slider_realize): Attach style
4516 2003-02-04  Lauris Kaplinski  <lauris@kaplinski.com>
4518         * src/sodipodi.c (sodipodi_load_config): Generic method by Bryce
4519         (sodipodi_load_preferences): Frontend, same
4520         (sodipodi_load_extensions): Ditto
4521         (sodipodi_get_repr): Test for "extensions"
4522         (sodipodi_init_config): Generic method by Bryce
4523         (sodipodi_init_preferences): Frontend by Bryce
4524         (sodipodi_init_extensions): Ditto
4526         * src/toolbox.c (sp_toolbox_extension_create): Implemented by Bryce
4528         * src/extension.c: New file by Bryce Harrington
4530         * src/extension.h: New file by Bryce Harrington
4532         * src/extensions-skeleton.h: Ditto
4534         * src/sp-mask.c: support maskContentUnits
4536         * src/nodepath.c (create_curve): Do not add 50 to y (why was it here?)
4538         * src/sp-item-group.c (sp_group_update): Propagate only if update flag set
4540         * src/sp-item.c (sp_item_set): Set clippath and mask bbox
4541         (sp_item_update): Ditto
4543         * src/sp-clippath.c (sp_clippath_build): Implement
4544         (sp_clippath_set): Ditto, clipPathUnits attribute
4545         (sp_clippath_update): Ditto
4546         (sp_clippath_show): Use bbox if needed
4547         (sp_clippath_set_bbox): New method
4549 2003-02-03  Lauris Kaplinski  <lauris@kaplinski.com>
4551         * src/sp-item.c (sp_item_release): Release mask
4552         (sp_item_mask_release): New handler
4553         (sp_item_mask_modified): Ditto
4554         (sp_item_set): Parse mask
4555         (sp_item_show): Show mask
4556         (sp_item_private_hide): Hide mask
4558         * src/display/nr-arena-item.c (nr_arena_item_invoke_render): Do masking
4559         (nr_arena_item_private_dispose): Release mask
4560         (nr_arena_item_invoke_update): Update mask
4561         (nr_arena_item_set_mask): New method
4563         * src/sp-root.c (sp_root_build): Do not check for xmlns:sodipodi to determine
4564         version, as this is set automatically in xml loader
4566         * src/slideshow.h: New file
4568         * src/slideshow.c: New file
4570 2003-02-02  Lauris Kaplinski  <lauris@kaplinski.com>
4572         * src/sp-rect.c (sp_rect_set): Accept 0.0 as valid for x, y, width and height
4573         (sp_rect_write): Use 0.0 as default for rx, ry
4575         * src/rect-context.c (sp_rect_finish): Use ::write to be sure
4577         * src/display/nr-arena-shape.c (nr_arena_shape_clip): OR masks
4579         * src/sp-defs.c (sp_defs_update): Implement
4580         (sp_defs_modified): Ditto
4582         * src/sp-clippath.c (sp_clippath_update): Implement
4583         (sp_clippath_modified): Ditto
4584         (sp_clippath_show): Fix
4585         (sp_clippath_hide): Implement
4587         * src/sp-item.c (sp_item_set): Fix clippath
4588         (sp_item_show): Ditto
4589         (sp_item_private_hide): Ditto
4590         (sp_item_display_key_new): New method
4592         * src/sp-item.h: Use new signature for ::show and ::hide
4594 2003-02-01  Daniel Yacob  <locales@geez.org>
4596         * configure.in: Added "am" (Amharic) to ALL_LINGUAS.
4598 2003-02-01  Lauris Kaplinski  <lauris@kaplinski.com>
4600         * src/sp-use.c (sp_use_init): Set width and height default to 100%
4601         (sp_use_set): Ditto
4602         (sp_use_bbox): use child transform
4603         (sp_use_update): Calculate relative lengths, set new viewport
4605         * src/sp-object.c: Removed ::dispose and some commented out code
4607         * src/sp-symbol.c: New file
4609         * src/sp-symbol.h: New file
4611         * src/enums.h: New file
4613         * src/xml/repr-io.c (sp_repr_svg_read_node): Return if entity declaration
4615         * src/sp-root.c (sp_root_init): Set correct default viewport values
4616         (sp_root_build): Read 'x', 'y', 'version', 'preserveAspectRatio'
4617         (sp_root_set): Parse added attributes, accept percentages for x, y, width, height
4618         (sp_root_update): Set up proper transformations to support aspect ratios
4620         * src/sp-item.h: Added viewPort and item2viewPort transformation to item context
4622         * src/document.c (sp_document_ensure_up_to_date): Set initial viewport
4623         and identity transforms in item context
4624         (sp_document_idle_handler): Ditto
4626         * src/attributes.h: Added 'version' and 'preserveAspectRatio'
4628 2003-01-31  Masatake YAMATO  <jet@gyve.org>
4630         * src/main.c (POPT_TABLEEND): Define if it is not defined in
4631         popt.h. copied from forntline.
4633 2003-01-30  Lauris Kaplinski  <lauris@kaplinski.com>
4635         * src/helper/guideline.c (sp_guideline_render): Do not round int
4637         * src/interface.c (sp_ui_close_view): Get widget pointer before killing object
4639 2003-01-28  Lauris Kaplinski  <lauris@kaplinski.com>
4641         * configure.in: Version 0.30pre
4643         * src/sp-image.c (sp_image_bbox): Calculate bbox properly
4645 2003-01-28  gettextize  <bug-gnu-gettext@gnu.org>
4647         * Makefile.am (SUBDIRS): Add intl, m4.
4648         (EXTRA_DIST): Add config.rpath.
4649         * configure.in (AC_OUTPUT): Add intl/Makefile, po/Makefile.in, m4/Makefile.
4651 2003-01-28  Lauris Kaplinski  <lauris@kaplinski.com>
4653         * src/libnrtype/codepages.h: Win9x codepage declarations
4655         * src/main.c (WinMain): Use new toplevel toolbox constructor
4657         * src/text-context.c (sp_text_context_root_handler): Added Gdk_U to unimode
4659         * src/libnrtype/nr-type-w32.c: Implement ANSI charset and styles
4661         * src/libnrtype/nr-type-directory.c (nr_type_directory_build): Honour
4662         stretch attribute in searches
4664         * src/toolbox.c (sp_maintoolbox_create_toplevel): Broke constructor
4665         into two parts to allow multiple toolboxes
4667         * src/interface.c (sp_ui_view_show_toolbox): New method
4668         (sp_ui_view_dock_toolbox): Ditto
4669         (sp_ui_view_remove_toolbox): Ditto
4670         (sp_ui_view_menu): Added menu items for creating toolboxes
4671         (sp_create_window): Pack toplevel hbox into window
4673 2003-01-26  Lauris Kaplinski  <lauris@kaplinski.com>
4675         * src/helper/art-utils.c (sp_vpath_from_bpath_transform_closepath): Moved
4676         array expansion to the right place (thanks to Lynn Kerby)
4678 2003-01-25  Lauris Kaplinski  <lauris@kaplinski.com>
4680         * src/dialogs/xml-tree.c (sp_xml_tree_dialog): Allow horizontal scrollbar
4681         so we do not expand window infinitely
4683         * src/sp-use.c (sp_use_update): Implemented by MenTaLguY
4684         (sp_use_modified): Ditto
4686         * src/libnr/nr-path.c (nr_curve_bbox): Implement fast and exact bbox (thanks to Nathan)
4687         (nr_curve_bbox_wind_distance): Use exact bbox
4689 2003-01-25  Nathan Hurst  <Nathan.Hurst@infotech.monash.edu.au>
4691         * src/desktop-snap.c: Fixed vector snapping code, replaced horizontal and
4692         vertical snapping with generic vector versions
4694 2003-01-21  Lauris Kaplinski  <lauris@kaplinski.com>
4696         * src/nodepath.c (create_curve): Use NR_MATRIX_DF_TRANSFORM_X (Thanks to
4697         MenTaLguY for finding these NRPointF/ArtPoint mismatches)
4699 2003-01-20  Lauris Kaplinski  <lauris@kaplinski.com>
4701         * src/libnrtype/nr-type-gnome.c (nr_typeface_gnome_new): Ditto
4703         * src/print.c (sp_print_preview_document): Fix gnome-print support
4704         (sp_print_document): Ditto
4706         * src/libnrtype/nr-type-xft.c (nr_type_xft_init): Added ebug printout
4708         * src/widgets/button.c (sp_button_button_press): Do not grab mouse
4709         (sp_button_button_release): Ditto
4711 2003-01-19  Lauris Kaplinski  <lauris@kaplinski.com>
4713         * src/desktop.c (sp_dtw_status_frame_size_request): Always request minimum size
4715         * configure.in: Define GETTEXT_PACKAGE properly (Thanks to Christian Rose)
4717         * src/libnrtype/nr-type-xft.c (nr_type_xft_init): Removed CORE, so Xft fontlist
4718         should now be read properly with Debian PPC and or fontconfig systems
4720 2003-01-15  MenTaLguY  <mental@rydia.net>
4722         * src/sp-object.c (sp_object_get_unique_id): don't include namespace prefix when generating ids
4724 2003-01-15  MenTaLguY  <mental@rydia.net>
4726         * src/widgets/sp-xmlview-tree.c (add_node): tree nodes associated with elements pretend they initially have a NULL id
4727         (element_attr_changed): display elements with a NULL id properly
4729 2003-01-15  MenTaLguY  <mental@rydia.net>
4731         * src/xml/repr-private.h: added SPXMLNs structure
4733         * src/xml/repr.h: added decls for sp_xml_ns_uri_prefix() and sp_xml_ns_prefix_uri()
4735         * src/xml/repr-io.c: improved handling of namespace prefixes
4736         (sp_repr_qualified_name): added hashtable to keep track of NS prefixes used
4737         (sp_repr_read_node): Ditto
4738         (sp_repr_do_read): Ditto + replaced if cascade with calls to sp_xml_ns_uri_prefix()
4739         (sp_repr_set_xmlns_attr): helper to set xmlns attributes
4741         * src/xml/repr-util.c: added namespaces list
4742         (sp_xml_ns_register_defaults): procedure to initialize namespace mapping list
4743         (sp_xml_ns_auto_prefix): helper routine to automatically select a "good" prefix for a given namespace URI
4744         (sp_xml_ns_uri_prefix): returns a prefix to use for a given namespace URI, registering a mapping automatically if necessary
4745         (sp_xml_ns_prefix_uri): returns the namespace URI registered for a given prefix
4747 2003-01-13  MenTaLguY  <mental@rydia.net>
4749         * src/desktop.c (sp_dtw_desktop_shutdown): rearranged close confirmation buttons according to the Gnome HIG
4751 2003-01-18  Lauris Kaplinski  <lauris@kaplinski.com>
4753         * src/seltrans.c (sp_sel_trans_grab): Build array of selected item transformations
4754         (sp_sel_trans_transform): Use original transforms to avoid rounding errors
4755         (sp_sel_trans_ungrab): Release array
4757         * src/dialogs/transformation.c: Implemented scaling percentages
4759 2003-01-17  Lauris Kaplinski  <lauris@kaplinski.com>
4761         * src/draw-context.c (spdc_set_startpoint): Snap startpoint (thanks to Nathan)
4762         (sp_pen_context_root_handler): Ditto
4764         * src/dialogs/transformation.c: Implement simple move dialog
4766 2003-01-16  Lauris Kaplinski  <lauris@kaplinski.com>
4768         * src/helper/guideline.c (sp_guideline_new): Changed signature, fixes
4769         granular new guideline placement bug
4770         (sp_guideline_render): Use normal rounding, so guideline and object are aligned
4772         * src/sp-item.h: Changed the signature of ::snappoints, this forced me to
4773         use NRPoints near everywhere else too
4775 2003-01-15  Lauris Kaplinski  <lauris@kaplinski.com>
4777         * src/draw-context.c (spdc_endpoint_snap): Make Ctrl to restrict directions
4778         to multitudes of 15 degrees (thanks to Nathan Hurst)
4780 2003-01-13  Lauris Kaplinski  <lauris@kaplinski.com>
4782         * src/file.c (sp_file_open_dialog): Rearrange
4783         (sp_file_save_dialog): Ditto
4784         (sp_file_save_document): Ditto
4786 2003-01-13  MenTaLguY  <mental@rydia.net>
4788         * src/toolbox.c (sp_maintoolbox_create): turned off user resizing of toolbox so it autoresizes properly
4790 2003-01-13  MenTaLguY  <mental@rydia.net>
4792         * src/toolbox.c (sp_maintoolbox_create): turned off user resizing of toolbox so it autoresizes properly
4795         * src/print.c (sp_print_plain_bind): Move generic PS code here
4796         (sp_print_plain_release): Ditto
4797         (sp_print_plain_fill): Ditto
4798         (sp_print_plain_stroke): Ditto
4799         (sp_print_plain_image_R8G8B8A8_N): Ditto
4800         (sp_print_document): Implement very-very simple non-gnome print dialog
4802 2003-01-12  Lauris Kaplinski  <lauris@kaplinski.com>
4804         * src/main.c: Made --without-popt working
4806 2003-01-11  MenTaLguY  <mental@rydia.net>
4808         * src/xml/repr-io.c: removed bogus ATTLIST from DOCTYPE
4809         (sp_repr_read_file): factored out duplicated code into sp_repr_do_read + added parameter for default namespace
4810         (sp_repr_read_mem): factored out duplicated code into sp_repr_do_read + added parameter for default namespace
4811         (sp_repr_do_read): merged duplicated code from sp_repr_read_* family
4812         (sp_repr_do_read): insert xmlns decls for common namespaces
4813         (sp_repr_qualified_name): basic namespace handling for SVG, XLink, and Sodipodi namespaces
4814         (sp_repr_read_node): added parameter for default namespace
4815         (sp_repr_read_node): removed dead code and broken re-addition of xmlns declarations (xlink?)
4816         (repr_quote_write): UTF8 is ASCII-compatible -- removed inaccurate comment
4818         * src/xml/repr.h: added SP_*_NS_URI macros
4820         * src/document.c (sp_document_new): SVG is default NS
4821         (sp_document_new_from_mem): SVG is default NS
4823         * src/file.c (file_import_ok): SVG is default NS
4825         * src/interface.c (sp_ui_import_one_file): SVG is default NS
4827         * src/sodipodi.c (sodipodi_init): no default NS
4828         (sodipodi_load_preferences): no default NS
4830 2003-01-11  Lauris Kaplinski  <lauris@kaplinski.com>
4832         * configure.in: Check for xft
4834         * src/libnrtype/Makefile.am: Added xft_sources
4836         * src/libnrtype/nr-type-directory.c (nr_type_read_xft_list): Load xft typefaces
4838         * src/libnrtype/nr-type-xft.h: New file
4840         * src/libnrtype/nr-type-xft.c: New file
4842 2003-01-10  MenTaLguY  <mental@rydia.net>
4844         * src/dialogs/item-properties.c (sp_item_widget_new): made unimplemented controls insensitive
4846 2003-01-04  MenTaLguY  <mental@rydia.net>
4848         * src/text-context.c (sp_text_context_finalize): folded back
4849         into sp_text_context_finish
4850         (sp_text_context_root_handler): Gtk IM now gets first refusal of
4851         key press _and_ release events; toggling "unicode mode" now triggers an
4852         IM reset; "unicode mode" bypasses IM entirely
4855 2003-01-04  Lauris Kaplinski  <lauris@kaplinski.com>
4857         * src/text-context.c (sp_text_context_root_handler): Moved IM back to
4858         beginning (thanks to MenTaLguY for pointing this out)
4860         * src/sp-object.c (sp_object_invoke_update): Merge styles only if parent changed
4862         * src/sp-text.c (sp_text_update): Implement
4864         * src/sp-text.c (sp_string_modified): Chain invocation so style gets updated
4866         * src/widgets/sp-xmlview-content.c: Port to GtkTextView
4868         * src/dialogs/xml-tree.c: Port to GtkTextView
4870         * src/text-context.c (sp_text_context_root_handler): Consume xdigits in unicode mode
4872         * configure.in: Removed GTK_ENABLE_BROKEN
4874         * src/dialogs/text-edit.c: Use GtkTextView/Buffer
4876         * src/xml/repr-util.c (sp_repr_transfer_ids): Helper by MenTaLguY
4877         (sp_repr_move): Ditto
4879 2003-01-03  Lauris Kaplinski  <lauris@kaplinski.com>
4881         * src/dialogs/xml-tree.c: Updated (MenTaLguY)
4883         * src/dialogs/item-properties.c (sp_item_widget_new): Added slider (MenTaLguY)
4885         * src/text-context.c (sp_text_context_setup): Set up Gtk IM (thanks to MenTaLguY)
4886         (sp_text_context_setup_text): Move code here (MenTaLguY)
4887         (sp_text_context_root_handler): Process Gtk IM (MenTaLguY)
4888         (sptc_commit): Gtk IM signal handler (MenTaLguY)
4890         * src/sp-text.c (sp_text_insert): Replace < 32 and not whitespace with space
4892         * src/selection.c (SP_SELECTION_UPDATE_PRIORITY): Set Gtk - 11
4894         * src/document.c (SP_DOCUMENT_UPDATE_PRIORITY): Set GTK - 12
4896 2003-01-01  Lauris Kaplinski  <lauris@kaplinski.com>
4898         * src/widgets/button.c (sp_button_paint_arrow): Draw something
4900 2002-12-29  Lauris Kaplinski  <lauris@kaplinski.com>
4902         * src/event-context.c (sp_event_context_private_root_handler): Pan with
4903         Shift+Button3 too (useful with windows and < 3 button mice)
4905         * src/toolbox.c (sp_toolbox_file_create): Mek print buttons insensitive
4907         * src/sp-text.c (sp_text_write_transform): Fixed it
4909         * src/main.c (sp_do_export_png): Initialize y0
4911         * src/file.c (sp_export_png_file): Use pixelstore, export min 64 rows at once,
4912         fix miscalculated rowstride
4914 2002-12-28  Lauris Kaplinski  <lauris@kaplinski.com>
4916         * src/libnrtype/nr-type-directory.c (nr_type_read_w32_list): Use
4917         windows native fonts, if applicable
4919         * src/libnrtype/nr-type-w32.h: New file
4921         * src/libnrtype/nr-type-w32.c: New file
4923 2002-12-27  Lauris Kaplinski  <lauris@kaplinski.com>
4925         * src/print.c (sp_print_image_R8G8B8A8_N): Implement direct PS version
4927 2002-12-26  Lauris Kaplinski  <lauris@kaplinski.com>
4929         * src/print.c (sp_print_bpath): Helper
4930         (sp_print_bind): Implement non-gnome-print version
4931         (sp_print_release): Ditto
4932         (sp_print_fill): Ditto
4933         (sp_print_stroke): Implement non-gnome-print version
4935         * src/widgets/icon.c (sp_icon_image_load): Generic image loader
4937         * src/desktop.c (sp_desktop_widget_update_zoom): Make working again
4939         * src/widgets/button.c: New file
4941         * src/widgets/button.h: New file
4943         * src/toolbox.c (sp_toolbox_draw_create): Port to brand new SPButton
4945 2002-12-17  Lauris Kaplinski  <lauris@kaplinski.com>
4947         * src/desktop.c (sp_desktop_widget_init): Some cleanup
4949         * src/widgets/ruler.c: Moved to widgets subdir
4951         * src/widgets/ruler.h: Moved to widgets subdir
4953 2002-12-16  Lauris Kaplinski  <lauris@kaplinski.com>
4955         * configure.in: --with[out]-gnome-print argument, thanks to MentaLguY
4957 2002-12-15  Lauris Kaplinski  <lauris@kaplinski.com>
4959         * src/sp-guide.c (sp_guide_set): Fixed horiz/vert
4961         * src/desktop-events.c (sp_dt_ruler_event): Fixed
4962         (sp_dt_guide_event): Fixed
4964         * src/helper/guideline.h: Renamed to avoid conflict with SPGuide object,
4965         several signature changes
4967         * src/helper/guideline.c: Ditto, removed properties
4969         * src/helper/sp-canvas.c (sp_canvas_window_to_world): Oops, was meant to be y0
4970         (sp_canvas_world_to_window): Ditto
4972 2002-12-14  Lauris Kaplinski  <lauris@kaplinski.com>
4974         * src/dialogs/desktop-properties.c: Fully functional color picker
4976         * src/display/nr-arena-item.h: Ported rendering from NRBuffer to NRPixBlock,
4977         involves changes in most Arena objects. Added NO_CACHE flag to rendering.
4979 2002-12-13  Lauris Kaplinski  <lauris@kaplinski.com>
4981         * src/widgets/paint-selector.c (sp_paint_selector_style_button_add): Changed
4982         SODIPODI_GLADEDIR -> SODIPODI_PIXAMPDIR (Thanks to Ted Gould)
4984 2002-12-11  Lauris Kaplinski  <lauris@kaplinski.com>
4986         * src/sp-guide.c (sp_guide_class_init): Removed translatability of properties
4988         * src/knot.c (sp_knot_class_init): Removed translatability of properties
4990         * src/helper/sp-guide.c (sp_guideline_class_init): Removed translatability
4991         from properties (who needs this?)
4993         * src/widgets/icon.h: New file, use as frontend to image loading
4995         * src/widgets/icon.c: New file
4997         * src/document.c (sp_document_create): Generic method, implement
4998         constructors as frontends
5000         * src/sodipodi.c (sodipodi_dispose): Only unref documents and let
5001         them manage list
5003         * glade/icons.svg: New icon definition file
5005 2002-12-08  Lauris Kaplinski  <lauris@kaplinski.com>
5007         * src/dialogs/align.c (sp_align_arrange_clicked): Collected all
5008         arrangement methods into generic one
5009         (create_base_menu): Compact
5010         (sp_align_add_menuitem): New helper
5011         (sp_quick_align_dialog): Use value matrix instead of different callbacks
5013 2002-12-07  Lauris Kaplinski  <lauris@kaplinski.com>
5015         * src/helper/sp-canvas.c (sp_canvas_expose): Free rects
5017         * src/attributes.h: Added animation-specific attributes
5019         * src/sp-animation.c: New file, only skeleton at moment
5021         * src/sp-animation.h: New file
5023 2002-12-06  Masatake YAMATO  <jet@gyve.org>
5025         * tools-version.sh: print the path to the tools.
5027 2002-12-06  Lauris Kaplinski  <lauris@kaplinski.com>
5029         * src/sp-root.c (sp_root_update): Implement
5031         * src/sp-rect.c (sp_rect_update): Implement
5032         (sp_rect_set): Request update instead of setting shape immediately
5034         * src/sp-item-group.c (sp_group_update): Implement
5036         * src/sp-object.h: Replaced ::read_attr with ::set, signature change.
5037         This involves modification in all subclasses as well.
5039         * src/attributes.h: New file. We enumerate/define all allowed attributes
5040         and properties, to save few string compares later.
5042         * src/attributes.c: New file
5044 2002-12-04  Lauris Kaplinski  <lauris@kaplinski.com>
5046         * src/sp-object.c (sp_object_request_update): New method. We implement
5047         separate ::update cascade that precedes ::modified, and is meant to
5048         be used for building item states (styles, paths and so on). In many
5049         aspects it shares code path with ::modified.
5050         (sp_object_invoke_update): Ditto
5052 Wed Dec  4 01:05:05 2002  Mitsuru Oka  <oka326@parkcity.ne.jp>
5054         * src/widget/sp-menu-button.c: Fixed to work well.
5056         * src/toolbox.c: enable draw buttons.
5057         Comment out signal_connect_after.
5059 2002-12-03  Lauris Kaplinski  <lauris@kaplinski.com>
5061         * src/sp-item.h: Replaced libart transforms and bboxes with libnr ones -
5062         this involves changes almost every file there.
5064         * src/main.c: Added POPT_AUTOHELP
5066 2002-12-03  Masatake YAMATO  <jet@gyve.org>
5068         * tools-version.sh (TOOLS): Added automake-1.6 and
5069         aclocal-1.6. Suggested by MenTaLguY.
5070         (srcdir): remove version number from grep pattern.
5072 2002-12-02  Lauris Kaplinski  <lauris@kaplinski.com>
5074         * src/helper/sp-canvas.h: Made scrolling offsets integers
5076         * src/helper/sp-canvas.c (scroll_to): Scroll instead of draw
5078         * tools-version.sh (ENVPATTERN): Added FLAGS
5080 2002-12-02  Masatake YAMATO  <jet@gyve.org>
5082         * distro, tools-version.sh: New files.
5083         distro comes from distro-0.8.1(http://distro.pipfield.ca/).
5084         distro and tools-version.sh should be included only in CVS version
5085         of sodipodi.
5087         * autogen.sh: Call tools-version.sh.
5089 2002-12-02  Lauris Kaplinski  <lauris@kaplinski.com>
5091         * src/dialogs/desktop-properties.c: Partial color picker implementation
5093 2002-12-01  Lauris Kaplinski  <lauris@kaplinski.com>
5095         * src/dialogs/text-edit.c: GtkObject/GObject cleanup
5097         * src/file.c: Ditto
5099         * TODO: Update with 0.29 tasks
5101         * src/sp-gradient.c: GtkObject/GObject cleanup
5103         * src/widgets/sp-widget.c: Ditto
5105         * src/widgets/gradient-selector.c: Ditto
5107         * src/widgets/gradient-vector.c: Ditto
5109         * src/widgets/gradient-position.c: Ditto
5111         * src/widgets/gradient-image.c: Ditto
5113         * src/dialogs/fill-style.c: Ditto
5115 2002-11-30  Lauris Kaplinski  <lauris@kaplinski.com>
5117         * src/view.h: Derive directly from GObject
5119 2002-11-30  Masatake YAMATO  <jet@gyve.org>
5121         * configure.in (ENABLE_AUTOTRACE): Comment out autotrace/frontline
5122         checking till frontline becomes gtk+2 based.
5124 2002-11-30  Lauris Kaplinski  <lauris@kaplinski.com>
5126         * src/selection.h: Inherit directly from GObject
5128         * src/event-context.h: Inherit directly from GObject
5130         * src/helper/sp-canvas.c (sp_canvas_item_dispose): Set xform to NULL
5132         * src/display/canvas-arena.c (sp_canvas_arena_destroy): Fixed typo, so
5133         multiple destroys are allowed
5135         * src/nodepath.c: Removed external cursor pointers
5137         * src/knot.c (sp_knot_set_property): Ref new cursors
5139         * src/document.c (sp_document_get_type): Inherit directly from GObject
5141 2002-11-29  Lauris Kaplinski  <lauris@kaplinski.com>
5143         * src/knot.c (sp_knot_handler): Signature change, return correct value as it should
5145         * src/helper/sp-canvas.c (scroll_to): Blit window, unless explicitly forbidden
5146         (sp_canvas_size_allocate): Update onlu changed areas
5148         * src/sp-item.c (sp_item_invoke_bbox): Signature change
5150         * src/desktop.c (sp_desktop_widget_update_rulers): Reenabled it
5151         (sp_desktop_set_display_area): Only update canvas root if zoom factor changes
5152         (sp_desktop_update_scrollbars): Working
5154         * src/helper/sp-canvas.c (paint): use full visible are for clipping, fixed
5155         type on specifying area dimensionf in event
5156         (sp_canvas_get_viewbox): New method
5158         * src/desktop.c (sp_desktop_set_display_area): New method, replaces show_region
5159         (sp_desktop_get_display_area): Replacement for ...
5160         (sp_desktop_zoom_absolute): Use generic sp_desktop_set_visible_area
5161         (sp_desktop_zoom_relative): Ditto
5163 2002-11-28  Lauris Kaplinski  <lauris@kaplinski.com>
5165         * configure.in: ... and everyting else - merged SODIPODI_GTK2_BRANCH
5167         * po/Makevars: Added this
5169 2002-11-28  gettextize  <bug-gnu-gettext@gnu.org>
5171         * Makefile.am (SUBDIRS): Add intl, m4.
5172         (EXTRA_DIST): Add config.rpath.
5173         * configure.in (AC_OUTPUT): Add intl/Makefile, po/Makefile.in, m4/Makefile.
5175 2002-11-27  gettextize  <bug-gnu-gettext@gnu.org>
5177         * Makefile.am (SUBDIRS): New variable.
5178         (ACLOCAL_AMFLAGS): New variable.
5179         (EXTRA_DIST): New variable.
5180         * configure.in (AC_OUTPUT): Add intl/Makefile, po/Makefile.in, m4/Makefile.
5182 2002-11-25  Lauris Kaplinski  <lauris@kaplinski.com>
5184         * configure.in: Version 0.29pre
5186 2002-11-25  Lauris Kaplinski  <lauris@kaplinski.com>
5188         * src/display/nr-arena-glyphs.c (nr_arena_glyphs_group_add_component): Skip
5189         if zero-sized valid path
5191         * src/libnr/nr-path.c (nr_path_matrix_f_bbox_f_union): Allow NULL path member
5192         (nr_path_matrix_f_point_f_bbox_wind_distance): Ditto
5193         (nr_path_duplicate_transform): Ditto
5195         * src/libnrtype/nr-typeface.h: Added family member to definition
5197         * src/libnrtype/nr-type-directory.c (nr_type_register): Use family from def
5199         * src/libnrtype/nr-type-ft2.c (nr_type_ft2_build_def): Set family member
5201         * src/libnrtype/nr-type-gnome.c (nr_type_gnome_build_def): Set family member
5203 2002-11-23  Lauris Kaplinski  <lauris@kaplinski.com>
5205         * src/dyna-draw-context.c: Clamp drag to [0.0 1.0]
5207 2002-11-23  Masatake YAMATO  <jet@gyve.org>
5209         * src/node-context.c: Inlucde document.h.
5210         (sp_node_context_stamp): New function.
5211         (sp_node_context_root_handler): Do stamp if space key
5212         is pressed during dragging.
5214         * src/nodepath.c (stamp_repr): New function.
5215         (node_event): Do stamp if the space key is pressed.
5216         (node_ctrl_event): New function.
5217         (sp_nodepath_node_new): Connected node_ctrl_event to n->p.knot::event.
5218         Connected node_ctrl_event to n->n.knot::event. 
5220         * src/helper/bezier-utils.c (sp_bezier_fit_cubic_full): Fix memry leaks(u, uPrime).
5221         This leaks are reported by Michel Schinz <Michel.Schinz@epfl.ch>.
5223 2002-11-22  Lauris Kaplinski  <lauris@kaplinski.com>
5225         * src/libnrtype/nr-type-gnome.c (nr_typeface_gnome_lookup): Added all
5226         glyphs to 0xe000 private plane as well.
5228         * src/widgets/gradient-selector.c (sp_gradient_selector_set_spread): Set
5229         position widget spread as well
5230         (sp_gradient_selector_spread_activate): Ditto
5232 2002-11-21  Lauris Kaplinski  <lauris@kaplinski.com>
5234         * src/helper/curve.c (sp_curve_closepath): Reinitialize pointers, as we may
5235         have reallocated path in helper
5237         * src/knotholder.h: Added hook for knot ungrabbing
5239         * src/knotholder.c (knot_ungrabbed_handler): Implement
5240         (sp_knot_holder_destroy): Free list items
5242         * src/sp-ellipse.c (sp_arc_start_set): Use genericellipse closed marker
5243         (sp_arc_end_set): Ditto
5244         (sp_arc_set_elliptical_path_attribute): Ditto
5246         * autogen.sh: Added '--intl' to gettextize flags, seems to be safe for
5247         older gettexts as well
5249         * src/dialogs/xml-tree.c (on_tree_select_row): Remove extra blockade
5250         counting (thanks to MenTaLguY)
5251         (on_tree_unselect_row): Ditto
5253 2002-11-20  Masatake YAMATO  <jet@gyve.org>
5255         * src/seltrans.c (sp_sel_trans_init): Set null to
5256         stamp_cache.
5257         (sp_sel_trans_ungrab): Clear stamp_cache.
5258         (sp_sel_trans_stamp): If available, use stamp_cache.
5259         Else build stamp_cache. l0 is removed. Don't
5260         free the list here.
5262         * src/seltrans.h: Included glib.h.
5263         (struct _SPSelTrans): added new field stamp_cache.
5265 2002-11-20  Lauris Kaplinski  <lauris@kaplinski.com>
5267         * src/interface.c (sp_ui_dialog_menu): Do not bring up > 1 transform dialogs at once
5269         * src/seltrans.c (sp_sel_trans_stamp): Reversing still was not correct,
5270         replaced it with explicit sort
5272 2002-11-20  Masatake YAMATO  <jet@gyve.org>
5274         * src/seltrans.c (sp_sel_trans_stamp): The order of
5275         selections is reversed before stamping.
5277         The bug was reported by Michel Schinz <Michel.Schinz@epfl.ch>.
5279 2002-11-19  Lauris Kaplinski  <lauris@kaplinski.com>
5281         * src/desktop.c (sp_desktop_prepare_shutdown): New method, allowing us nice
5282         cleanup before ::destroy is invoked
5283         (sp_dtw_desktop_shutdown): Prepare desktop for shutdown
5285         * src/sp-text.c (sp_text_is_empty): Treat unicode private plane as graphical
5287         * src/libnrtype/nr-type-ft2.c (nr_typeface_ft2_lookup): Use private plane
5288         direct index, if no unimap
5289         (nr_typeface_ft2_new): Set unimap flag according to whether we have
5290         unicode mapping table or not
5292 2002-11-18  Lauris Kaplinski  <lauris@kaplinski.com>
5294         * configure.in (FREETYPE_LIBS): Added direct freetype check
5296         * src/widgets/dash-selector.c (sp_dash_selector_menu_item_new): Use created
5297         GC, as widget is not mapped yet
5298         (sp_dash_selector_new): Load stroke definitions from preferences
5300 2002-11-17  Lauris Kaplinski  <lauris@kaplinski.com>
5302         * src/helper/sodipodi-ctrl.c (sp_ctrl_build_cache): Cleaned up bitmap build
5304 2002-11-17  Masatake YAMATO  <jet@gyve.org>
5306         * src/dialogs/xml-tree.c (sp_xml_tree_dialog): Added small
5307         space between attribute name text field and set attribute 
5308         button.
5310 2002-11-17  Lauris Kaplinski  <lauris@kaplinski.com>
5312         * src/dialogs/xml-tree.c (sp_xml_tree_dialog): Cleanup by MenTaLguY
5314         * src/widgets/sp-xmlview-attr-list.c (event_attr_changed): Clamping string
5315         width to 64[+3], thanks to MenTaLguY
5317 2002-11-16  Lauris Kaplinski  <lauris@kaplinski.com>
5319         * src/helper/sp-canvas.c (sp_canvas_motion): Get pointer if motion hints are requested
5321         * src/select-context.c (sp_select_context_item_handler): Use motion hints
5323         * src/dialogs/text-edit.c (sp_text_edit_dialog_read_selection): Kill annoying
5324         warning about position > length
5326         * src/style.h (SP_SCALE24_FROM_FLOAT): Use temporary (double) cast
5327         (SP_SCALE24_TO_FLOAT): Ditto
5329         * src/dialogs/xml-tree.c (cmd_set_attr): Use gal unicode wrappers
5331         * src/widgets/sp-xmlview-attr-list.c (event_attr_changed): Use gal unicode wrappers
5333         * src/widgets/sp-xmlview-content.c (event_content_changed): Use gal unicode wrappers
5334         (sp_xmlview_content_changed): Ditto
5336         * src/widgets/sp-xmlview-tree.c (element_attr_changed): Use gal unicode wrapper
5337         (text_content_changed): Ditto
5339         * src/dialogs/xml-tree.c: Sorted out includes a bit
5340         (set_tree_desktop): Comment aout transient, as some WMs do not do it proper
5341         (on_desktop_selection_changed): Set/release block
5342         (on_tree_unselect_row): Ditto
5343         (on_tree_select_row): Ditto
5344         (get_dt_select): Use selection helper methods
5346 2002-11-15  Lauris Kaplinski  <lauris@kaplinski.com>
5348         * src/libnrtype/nr-type-gnome.c (nr_typeface_gnome_glyph_outline_get): Use
5349         metrics properly
5351         * src/libnrtype/nr-type-ft2.c (nr_typeface_ft2_ensure_slot_v): Implement for
5352         font missing vertical metrics
5353         (nr_typeface_ft2_ensure_outline): Ditto
5355         * src/libnrtype/nr-type-directory.c (nr_type_read_private_list): Read face
5356         number from proper place
5358         * src/libnrtype/nr-font.c (nr_font_generic_glyph_area_get): Implement
5360         * src/sp-text.c (sp_string_calculate_dimensions): Use metrics properly
5361         (sp_string_set_shape): Ditto
5363         * src/print.c (sp_print_stroke): Print dash
5365 2002-11-14  Lauris Kaplinski  <lauris@kaplinski.com>
5367         * src/file.c (sp_file_exit): Close all views before exiting
5369         * src/interface.c (sp_ui_close_view): Destroy viewwidget properly
5370         (sp_ui_close_all): New method
5372         * src/sp-rect.c (sp_rect_write_transform): Adjust dash in addition to stroke width
5374         * src/display/nr-arena-shape.c (nr_arena_shape_update): Only dash if
5375         total dash length is >= 1.0 pixels
5377         * src/dialogs/stroke-style.c (sp_stroke_style_line_update_repr): Divide
5378         dash values by line width
5379         (sp_stroke_style_scale_line): Multiply dash values by line width
5380         (sp_stroke_style_line_update): Ditto
5382         * src/widgets/dash-selector.c (sp_dash_selector_set_dash): Use 1/1000 of
5383         total dash distance as delta
5385         * src/sp-gradient.c (sp_gradient_write): Set xlink:href attribute
5386         (sp_stop_write): Do it the right way
5388 2002-11-13  Lauris Kaplinski  <lauris@kaplinski.com>
5390         * src/style.c (sp_style_read_dash): Allow comma separators
5391         (sp_style_read): Read dash presentation attributes
5393         * src/widgets/dash-selector.c: New file
5395         * src/widgets/dash-selector.h: New file
5397         * src/dialogs/stroke-style.c (sp_stroke_style_line_widget_new): Added dash
5398         pattern selector
5399         (sp_stroke_style_line_update): Update dash
5400         (sp_stroke_style_line_update_repr): Ditto
5401         (sp_stroke_style_line_dash_changed): Callback
5403 2002-11-12  Lauris Kaplinski  <lauris@kaplinski.com>
5405         * src/dialogs/xml-tree.c: Naviagtion buttons, better layout and other
5406         improvements by MenTaLguY <mental@rydia.net>
5408 2002-11-12  Masatake YAMATO  <jet@gyve.org>
5410         * configure.in: required frontline-0.5.4.
5411         You can get both autotrace and frontline from
5412         http://sourceforge.net/autotrace.
5413         (AC_PROG_AS): wrapped by ifdef.
5414         Missing to add ChangeLog before commiting.
5416 2002-11-11  Lauris Kaplinski  <lauris@kaplinski.com>
5418         * src/libnr/nr-gradient.c (nr_rgradient_render_generic_symmetric): Fix
5419         array read overflow
5420         (nr_rgradient_render_generic_optimized): Ditto
5422         * src/widgets/paint-selector.c (sp_paint_selector_write_lineargradient): Normalize
5423         gradient transform and recalculate positions before applying
5424         (sp_paint_selector_write_radialgradient): Ditto
5426         * src/widgets/gradient-selector.c (sp_gradient_selector_set_mode): New method
5427         (sp_gradient_selector_init): Added units and spread optionmenu
5429         * src/widgets/gradient-position.c (sp_gradient_position_motion_notify): Comment
5430         out nonuniform placement, as it did not work correctly
5432         * src/libnr/nr-matrix.c (nr_matrix_d_invert): Fix really silly bug generating identities
5433         (nr_matrix_f_invert): Ditto
5435         * src/dialogs/stroke-style.c (sp_stroke_style_paint_update): Set gradient props
5437         * src/dialogs/fill-style.c (sp_fill_style_widget_update): Set gradient props
5439         * src/sp-gradient.h: Changed units enumeration, so 0 is default
5441         * src/display/nr-arena-shape.c (nr_arena_shape_pick): Re-enable SVP based check,
5442         only do winding check, if object is filled
5444         * src/file.c: Removed printing code, only frontends remain
5446         * src/print.c (sp_print_document): Implement
5447         (sp_print_document_to_file): Ditto
5449         * src/sp-gradient.c (sp_gradient_ensure_colors): Fixed writing last color
5450         outside of allocated color vector
5452 2002-11-10  Lauris Kaplinski  <lauris@kaplinski.com>
5454         * configure.in: Commented out AM_PROG_AS, as there is not such macro
5455         in my installation
5457         * src/libnrtype/nr-typeface.h: Signature change for outline unref
5459         * src/libnrtype/nr-type-gnome.c (nr_typeface_gnome_glyph_outline_get): Implemented
5460         vertical metrics outline
5461         (nr_typeface_gnome_glyph_advance_get): Ditto for advance
5463         * src/libnrtype/nr-type-directory.c: Cleaned up a lot, now we can hopefully
5464         work with multiple font sources
5466         * src/libnrtype/nr-type-directory.h: Moved namelist to nr-type-primitives
5468         * src/libnrtype/nr-type-primitives.c: New file
5470         * src/libnrtype/nr-type-primitives.h: New file
5472         * src/libnrtype/nr-type-ft2.c: New file
5474         * src/libnrtype/nr-type-ft2.h: New file
5476 2002-11-09  Masatake YAMATO  <jet@gyve.org>
5478         * configure.in (AM_CONDITIONAL(USING_OAF)): moved to toplevel.
5479         (AM_PROG_AS): used to check gas/as.
5481         * src/toolbox.c (sp_update_draw_toolbox): tooltips
5482         are added to the buttons.
5483         (gtk_event_box_new_with_image_file_and_tooltips) 
5484         (gtk_event_box_force_draw_parent): New functions.
5486         * src/widgets/sp-menu-button.c (sp_menu_button_draw_arrow): New function.
5487         (sp_menu_button_draw): used sp_menu_button_draw_arrow.
5488         (sp_menu_button_expose): ditto.
5490 2002-11-06  Masatake YAMATO  <jet@gyve.org>
5492         * src/helper/curve.c (sp_curve_new_from_bpath): Initialize substart
5493         field.
5494         (sp_curve_reverse): assert if bs->code is ART_MOVETO_OPEN 
5495         or ART_MOVETO.
5497         Added functions that converts multiple items to curves.
5498         * src/path-chemistry.c (sp_selected_item_to_curved_repr): 
5499         Use sp_selected_item_to_curved_repr0.
5500         (sp_selected_path_to_curves0): New function.
5501         (sp_selected_path_to_curves): New function.
5502         (SP_TOCURVE_*): Placeholders.
5504 2002-11-05  Lauris Kaplinski  <lauris@kaplinski.com>
5506         * src/dialogs/export.c: Made glade-free dialog
5508         * src/file.c (sp_export_png_file): Make filename const
5510         * configure.in (CFLAGS): Added GCC warnings
5512 2002-11-03  Lauris Kaplinski  <lauris@kaplinski.com>
5514         * src/dialogs/node-edit.c: Removed unused glade stuff
5516 2002-11-04  Masatake YAMATO  <jet@gyve.org>
5518         * src/dialogs/xml-tree.c (sp_xml_tree_dialog): Added vpaned
5519         between sp_xmlview_attr_list_new and text fields.
5521 2002-11-03  Lauris Kaplinski  <lauris@kaplinski.com>
5523         * Makefile.am (SUBDIRS): Removed macros
5525         * autogen.sh: Made self-contained
5527         * configure.in: Removed macros
5529         * src/widgets/sp-xmlview-tree.c: new file by MenTaLguY
5531         * src/widgets/sp-xmlview-content.c: new file by MenTaLguY
5533         * src/widgets/sp-xmlview-attr-list.c: new file by MenTaLguY
5535         * src/libnrtype/nr-type-directory.c: Parsing works for normal fonts
5537 2002-11-02  Masatake YAMATO  <jet@gyve.org>
5539         * README: removed GYVE.
5541         * doc/keybindings.txt: added a item for stamping.
5543         * doc/architecture.txt: Fix a typo in a document.
5544         / is forgotten in a sample svg.
5546         * src/rect-context.c (sp_rect_context_config_widget): Fix a typo in a 
5547         label.
5549 2002-11-01  Lauris Kaplinski  <lauris@kaplinski.com>
5551         * src/desktop.h: s/GtkEventBoxClass/SPViewClass/; thanks to MenTaLguY
5553         * configure.in (have_gnome_print): Gnome-print support can be disabled
5555         * src/libnrtype/Makefile.am (INCLUDES): SODIPODI_GNOME_PRINT_CFLAGS
5557         * src/Makefile.am (sodipodi_LDADD): Added SODIPODI_GNOME_PRINT_LIBS
5558         (INCLUDES): Same for CFLAGS
5560 2002-10-31  Lauris Kaplinski  <lauris@kaplinski.com>
5562         * src/widgets/font-selector.c (struct _SPFontSelector): Use NRNameListss
5563         (sp_font_selector_init): Setup family namelist
5564         (sp_font_selector_family_select_row): Setup style namelist
5565         (sp_font_selector_set_font): Use namelist
5567         * src/libnrtype/nr-type-directory.c (nr_type_directory_lookup): New method
5568         (nr_type_directory_style_list_get): Return list of full names
5570         * src/libnrtype/nr-typeface.h: Added full name, removed generic style query
5572 2002-10-31  Masatake YAMATO  <jet@gyve.org>
5574         * src/sp-image.c (autotrace_dialog): invokeed frontline_init
5575         if it is defined. in-cvs version of frontline defines 
5576         frontline_init.
5578 2002-10-27  Lauris Kaplinski  <lauris@kaplinski.com>
5580         * src/helper/curve.c (sp_bpath_clean): Fixed warning (thanks to MenTaLguY)
5582 2002-10-26  Lauris Kaplinski  <lauris@kaplinski.com>
5584         * src/dialogs/text-edit.c (sp_text_edit_dialog_update_object): Make
5585         style srings lowercase before applying
5587         * src/dialogs/desktop-properties.c (sp_desktop_dialog_new): Added
5588         togglebutton for showing/hiding page border
5590         * src/desktop.c (sp_dt_namedview_modified): Show/hide page border
5592         * src/sp-namedview.c (sp_namedview_read_attr): Listen to "showborder"
5594 2002-10-25  Lauris Kaplinski  <lauris@kaplinski.com>
5596         * src/dialogs/item-properties.c: Removed libglade dependency
5598 2002-10-23  Lauris Kaplinski  <lauris@kaplinski.com>
5600         * configure.in: Added check for popt.h
5602         * src/dialogs/align.c: Removed libglade dependency
5604         * src/toolbox.c: Removed libglade dependency
5606 2002-10-22  Lauris Kaplinski  <lauris@kaplinski.com>
5608         * src/toolbox.c (sp_toolbox_button_new): Helper
5609         (sp_toolbox_toggle_button_new): Ditto
5610         (sp_toolbox_file_create): Degladeified method
5612         * src/file.c (sp_file_export_dialog): Frontend
5614         * src/toolbox.c (sp_toolbox_toggle_button_new): Helper
5615         (sp_toolbox_draw_create): Use previous
5617         * src/main.c: #include <desktop.h>
5619 Mon Oct 21 13:31:41 2002  Mitsuru Oka  <oka326@parkcity.ne.jp>
5621         * configure.in: Fixed dependency bug.
5622         Removed --with/without-gnome-xml2 config option.
5624 2002-10-21  Lauris Kaplinski  <lauris@kaplinski.com>
5626         * src/widgets/sp-toolbox.c: Removed whole gtk.h inclusion
5628         * src/toolbox.c: Added missing headers
5630         * src/print.c (sp_print_image_R8G8B8A8_N): Implement
5631         (sp_print_preview): Remove root transform
5632         (sp_print_fill): Do not apply ctm twice
5634 Mon Oct 21 02:11:08 2002  Mitsuru Oka  <oka326@parkcity.ne.jp>
5636         * autogen.sh: Fixed package version in echo message.
5638         * configure.in: Rewrite using PKG_CHECK_MODULES.
5639         It reduced verbose package checks.
5641         * src/main.c: Removed unused GNOME headers.
5643         * src/sp-ellipse.c: Ditto.
5645         * src/sp-image.c: Ditto.
5647         * src/toolbox.c: Ditto.
5649         * src/dialogs/align.c: Ditto.
5651         * src/dialogs/desktop-properties.c: Ditto.
5653         * src/dialogs/display-settings.c: Ditto.
5655         * src/dialogs/document-properties.c: Ditto.
5657         * src/dialogs/object-attributes.c: Ditto.
5659         * src/dialogs/object-properties.c: Ditto.
5661         * src/dialogs/stroke-style.c: Ditto.
5663         * src/dialogs/text-edit.c: Ditto.
5665         * src/dialogs/tool-attributes.c: Ditto.
5667         * src/dialogs/tool-options.c: Ditto.
5669         * src/helper/units.c: Ditto.
5671         * src/widgets/font-selector.c: Ditto.
5673         * src/widgets/gradient-selector.c: Ditto.
5675         * src/widgets/paint-selector.c: Ditto.
5677         * src/widgets/sp-color-selector.c: Ditto.
5679         * src/selection.c: Renamed release handler.
5681         * src/sp-gradient.c: Fixed non existence destroy signal bug.
5683         * src/sp-item.c: Ditto.
5685         * src/style.c: Ditto.
5687         * src/widgets/gradient-image.c: Ditto.
5689         * src/widgets/gradient-vector.c: Ditto.
5691         * src/sp-object.c: Cleanup.
5693 Sun Oct 20 12:22:03 2002  Mitsuru Oka  <oka326@parkcity.ne.jp>
5695         * autogen.sh: Specify automake version to 1.6.1.
5697         * configure.in: Cleanup.
5699         * src/desktop-events.c: Cleanup and removed unused gnome header.
5701         * src/desktop.c: Ditto.
5703         * src/draw-context.c: Ditto.
5705         * src/dyna-draw-context.c: Ditto.
5707         * src/event-context.c: Ditto.
5709         * src/rect-context.c: Ditto.
5711         * src/spiral-context.c: Ditto.
5713         * src/star-context.c: Ditto.
5715         * src/file.c: Ditto.
5717         * src/help.c: Ditto.
5719         * src/main.c: Ditto.
5721         * src/sp-anchor.c: Ditto.
5723         * src/sp-item-group.c: Ditto.
5725         * src/sp-item.c: Ditto.
5727         * src/sp-rect.c: Ditto.
5729         * src/sp-shape.c: Ditto.
5731         * src/sp-spiral.c: Ditto.
5733         * src/sp-star.c: Ditto.
5735         * src/interface.c: Ditto.
5736         We lost icon for sp_about function.
5738         * src/sp-image.c: Cleanup and removed unused gnome header.
5739         Replaced by GtkDialog.
5741         * src/document.c: Ditto.
5743         * src/sodipodi.c: Ditto.
5745         * src/sp-namedview.c: Fixed bug that SPGuide was unrefed by
5746         gtk_object_unref.
5748         * src/sp-object.c: Fixed up release/disopse/finalize policy.
5749         We now got works again.
5750         (sp_object_class_init): Fixed object signal handler connection bug
5751         at release signal creation.
5753         * src/sp-pattern.c: Moved to g_object_unref.
5755         * src/sp-root.c (sp_root_release): Check if namedviews is NULL.
5757         * src/sp-text.c: Moved to g_object_unref.
5758         Removed unused gnome dependency.
5760         * src/svg-view.c: Moved to g_object_unref and
5761         g_object_get/set_data.
5763         * src/toolbox.c: Reverted from SPWrap to GtkTable.
5764         It's not a time to use SPWrap.
5766         * src/dialogs/export.c: Moved arena object to GObject functions.
5768         * src/dialogs/item-properties.c: Moved to g_object_unref.
5770         * src/dialogs/xml-tree.c: Cleanup.
5772         * src/display/nr-arena-glyphs.c: Moved from finalize to dispose.
5774         * src/display/nr-arena-group.c: Ditto.
5776         * src/display/nr-arena-image.c: Ditto.
5778         * src/display/nr-arena-item.c: Ditto.
5780         * src/display/nr-arena-shape.c: Ditto.
5782         * src/display/nr-arena.c: Ditto.
5784         * src/xml/sp-color-selector.c (sp_color_selector_init): Added
5785         GINT_TO_POINTER cast.
5787 2002-10-20  Lauris Kaplinski  <lauris@kaplinski.com>
5789         * src/libnr/nr-compose-transform.c (nr_R8G8B8A8_P_R8G8B8A8_P_R8G8B8A8_N_TRANSFORM):
5790         Use mmx subcomposers if needed
5792         * src/libnr/nr_mmx_R8G8B8A8_P_R8G8B8A8_P_R8G8B8A8_N_TRANSFORM.S: New file
5794 2002-10-19  Lauris Kaplinski  <lauris@kaplinski.com>
5796         * src/libnr/nr-compose-transform.c (nr_R8G8B8A8_P_R8G8B8A8_P_R8G8B8A8_N_TRANSFORM_0):
5797         Split composer
5798         (nr_R8G8B8A8_P_R8G8B8A8_P_R8G8B8A8_N_TRANSFORM_n): Ditto
5800 2002-10-18  Lauris Kaplinski  <lauris@kaplinski.com>
5802         * src/libnr/nr_mmx_R8G8B8A8_P_EMPTY_A8_RGBAP.S: new file
5804         * src/libnr/nr-path.c (nr_path_matrix_f_bbox_f_union): Moved bpath
5805         bbox calculation here
5806         (nr_curve_bbox): Rearrange comparisons
5808 Thu Oct 17 15:25:43 2002  Mitsuru Oka  <oka326@parkcity.ne.jp>
5810         * Removed macros directory.
5812         * Makefile.am, autogen.sh, configure.in: Corresponding changes.
5814 2002-10-17  Lauris Kaplinski  <lauris@kaplinski.com>
5816         * src/helper/sp-canvas.c: Use idle priority lower than Gtk redraw
5818         * src/display/nr-arena-shape.c (nr_arena_shape_pick): Use libnr
5819         distance7wind calculation, if item is not at render state
5820         (nr_arena_shape_update): Only update bbox, if render state is not
5821         needed. This gave us approximately 10x faster dragging of comlex shapes
5823         * src/libnr/nr-path.c (nr_line_wind_distance): New helper method
5824         (nr_curve_bbox_wind_distance): Ditto
5825         (nr_path_matrix_f_point_f_bbox_wind_distance): Fast method to find
5826         bbox and/or wind and/or distance to bezier path
5828 2002-10-16  Lauris Kaplinski  <lauris@kaplinski.com>
5830         * src/print.h: New file, frontend to printing
5832         * src/print.c: New file, frontend to printing
5834 2002-10-15  Davide Puricelli  <evo@debian.org>
5836         * debian/*: Updated
5838 2002-10-15  Lauris Kaplinski  <lauris@kaplinski.com>
5840         * src/sp-item.c (sp_item_invoke_print): Rename, signature change
5842         * src/sp-item.h: SPItem::print signature change
5844         * src/forward.h: Added SPPrintContext
5846         * src/libnr/testnr.c (main): Fill mask with blocks of transparent, opaque
5847         and random data. This should be closer to reality and (surprise!) gives better
5848         performance numbers too!
5850         * src/libnrtype/nr-typeface.c: Moved everyting to virtual method vector
5852 Sun Oct 13 20:54:15 2002  Mitsuru Oka  <oka326@parkcity.ne.jp>
5854         * autogen.sh: Come from GNOME2.
5856 Sun Oct 13 20:27:04 2002  Mitsuru Oka  <oka326@parkcity.ne.jp>
5858         * src/desktop-events.c, src/desktop.c,
5859         src/dialogs/object-properties.c:
5860         Moved gnome_pixmap_new_from_file to gtk_image_new_from_file.
5862         * src/draw-context.c: Replaced finalize with destory.
5864         * src/sp-polygon.c: Fixed property bug which did not work
5865         correctly.
5867         * src/widgets/sp-wrap-box.c, src/widgets/sp-wrap-box.h,
5868         src/widgets/sp-hwrap-box.c, src/widgets/sp-hwrap-box.h,
5869         src/widgets/sp-vwrap-box.c, src/widgets/sp-vwrap-box.h: New files.
5871         * src/widgets/test-wrapbox.c: New file.
5873         * src/widgets/Makefile.am: Added wrapbox stuffs.
5875         * src/widgets/.cvsignore: Added test-wrapbox.
5877         * src/widgets/sp-toolbox.c: Used g_signal_new instead of
5878         gtk_signal_new, because we need accumulater to control signal
5879         handler flow, and previous codes are not perfect.
5881 Sun Oct 13 04:18:41 2002  Mitsuru Oka  <oka326@parkcity.ne.jp>
5883         * src/sodipodi.c, sodipodi.h: sodipodi_get_elapsed_time()
5884         was useless, so removed.
5886         * src/knot.c: Replaced finalize with dispose.
5887         use GDK_CURRENT_TIME instead of sodipodi_get_elapsed_time().
5889         * src/select-context.c: Use GDK_CURRENT_TIME instead of
5890         sodipodi_get_elapsed_time().
5892         * src/style.c: Replaced destroy with release.
5894         * src/text-context.c: Replaced finalize with destory,
5895         because it's not a direct subclass of GObject.
5896         Replaced noisy gtk_signal_disconnect_by_data with
5897         g_signal_handlers_disconnect_matched.
5899         * src/toolbox.c: Use normal gtk_menu_item_set_submenu instead of
5900         original gtk_menu_popup callback.
5902         * src/sp-object.c: Fixed illegal signal emission.
5904         * src/selection.c:
5906         * src/dialogs/fill-style.c: Added required headler files.
5908         * src/dialogs/item-properties.c: Depressed warning.
5910         * src/display/canvas-arena.c: Use GDK_CURRENT_TIME instead of
5911         sodipodi_get_elapsed_time().
5913         * src/helper/sp-guide.c: Cleanup.
5915         * src/widgets/sp-menu-button.c: Use GDK_CURRENT_TIME instead of
5916         sodipodi_get_elapsed_time().
5917         Changed popup style.
5919 2002-10-13  Lauris Kaplinski  <lauris@kaplinski.com>
5921         * src/helper/sp-canvas.c (uta_clear): Experimental method
5922         (paint): Return, if events pending (commented out)
5923         (do_update): Return value
5924         (idle_handler): Use update return value
5926         * src/libnr/testnr.c: Speed test
5928         * src/libnr/nr_mmx_R8G8B8_R8G8B8_R8G8B8A8_P.S: New file
5930         * src/helper/sp-canvas-util.c (sp_canvas_clear_buffer): Be quick
5932         * src/helper/sp-canvas.h: Moved update flags back here
5934         * src/display/canvas-arena.c (sp_canvas_arena_update): Sort updates according to affine (again)
5936         * src/libnr/have_mmx.S: New file (copied from gdk-pixbuf)
5938         * configure.in (use_mmx_asm): Check for mmx
5940         * src/libnr/nr-compose.c (nr_R8G8B8A8_P_R8G8B8A8_P_A8_RGBA32): Use mmx if present
5942         * src/libnr/nr_mmx_R8G8B8A8_P_R8G8B8A8_P_A8_RGBAP.S: Assembler code
5944 2002-10-11  Lauris Kaplinski  <lauris@kaplinski.com>
5946         * src/helper/sp-canvas.h: Changed object type to SPCanvas, cleanup
5948         * src/helper/sp-canvas.c: Ditto
5950 2002-10-10  Lauris Kaplinski  <lauris@kaplinski.com>
5952         * src/helper/sp-canvas.c: Local version of praised GnomeCanvas
5954         * src/helper/sp-canvas.h: Local version of praised GnomeCanvas
5956         * src/libnr/nr-gradient.c (nr_rgradient_render_generic_symmetric): Optimize
5958 2002-10-09  Lauris Kaplinski  <lauris@kaplinski.com>
5960         * src/libnr/nr-blit.c (nr_blit_pixblock_mask_rgba32): New method
5962         * src/libnr/nr-gradient.c (nr_rgradient_renderer_setup): Do r == 0 correctly
5963         (nr_rgradient_render_generic_optimized): Optimize
5964         (nr_rgradient_render_block_end): New method
5966         * configure.in: Version 0.28pre
5968 2002-10-09  Lauris Kaplinski  <lauris@kaplinski.com>
5970         * configure.in: Version 0.27
5972         * src/text-context.c (sp_text_context_root_handler): Only turn off unimode,
5973         if there really is string associated with key
5975 2002-10-09  Masatake YAMATO  <jet@gyve.org>
5977         * src/sp-image.c (load_splines): changed the order
5978         of arguments. this change is for frontline-0.5.3.
5980         * configure.in: required frontline-0.5.3.
5981         To build sodipodi with frontline you have to get:
5982         http://autotrace.sourceforge.net/snapshots/autotrace-0.30.8.tar.gz
5983         http://autotrace.sourceforge.net/frontline/frontline-0.5.3.tar.gz
5985 2002-10-08  Lauris Kaplinski  <lauris@kaplinski.com>
5987         * src/widgets/gradient-position.c (sp_gradient_position_motion_notify): Do
5988         not mess with lineargradient skew
5990         * src/sp-ellipse.c (sp_arc_modified): Continue upstream
5992 Mon Oct  7 01:41:23 2002  Mitsuru Oka  <oka326@parkcity.ne.jp>
5994         * Merged from HEAD branch.
5996 2002-10-07  Lauris Kaplinski  <lauris@kaplinski.com>
5998         * src/sp-text.c: Moved frontends here
6000         * src/dialogs/node-edit.h: Moved declarations here
6002         * src/desktop.c (sp_desktop_widget_view_position_set): Use grid placement
6003         (sp_desktop_widget_namedview_modified): Read grid placement
6004         (sp_desktop_widget_update_rulers): Use grid placement
6005         (sp_desktop_set_coordinate_status): Disable, until sorted out
6007         * src/widgets/font-selector.c (sp_font_selector_set_font): Implement
6009         * src/libnrtype/nr-rasterfont.c (nr_rasterfont_ensure_glyph_slot): Oops, alloc
6010         and clear the right number of blocks
6012         * src/libnr/nr-compose.c (nr_R8G8B8_R8G8B8_A8_RGBA32): Implement
6013         (nr_R8G8B8_EMPTY_A8_RGBA32): Implement
6015         * src/libnr/nr-blit.c (nr_blit_pixblock_mask_rgba32): Implement
6017         * src/widgets/font-selector.c (sp_font_preview_expose): Implement
6018         (sp_font_preview_set_font): Ditto
6020         * src/libnr/nr-pixblock-pattern.h: New file
6022         * src/libnr/nr-pixblock-pattern.c: New file
6024 2002-10-06  Lauris Kaplinski  <lauris@kaplinski.com>
6026         * src/toolbox.c (sp_toolbox_draw_create): Do not expand/fill use correct name for text
6028         * sodipodi.spec.in: Update to cleaner version by Dag Vieers
6030         * src/sp-text.c (sp_text_is_empty): New method
6031         (sp_string_release): Use ::release, not ::destroy
6032         (sp_tspan_release): Ditto
6033         (sp_text_release): Ditto
6035         * src/text-context.c (sp_text_context_selection_changed): Forget text
6036         (sp_text_context_forget_text): New method, remove empty text item
6038         * src/sp-text.c (sp_tspan_build): Ensure there is always text child
6040         * src/sp-item-group.c (sp_group_bbox): Do not set bbox to 0,0,0,0
6042         * src/select-context.c (sp_select_context_root_handler): Set grabbed to NULL on release
6044         * src/path-chemistry.c (sp_selected_path_combine): Use item2root transform
6045         (sp_selected_path_break_apart): Ditto
6047         * src/sp-item.c (sp_item_i2root_affine): New method
6049         * src/widgets/gradient-position.c (sp_gradient_position_motion_notify): Reset
6050         gradient relative transform to symmetric rectilinear if dragging
6052         * src/style.c (sp_style_merge_ipaint): Use "release" signal
6053         (sp_style_read_ipaint): Ditto
6055         * src/sp-pattern.c (sp_pattern_read_attr): Use "release" signal
6057         * src/sp-item.c (sp_item_read_attr): Use "release" signal
6059         * src/sp-image.c (autotrace_dialog): Connect "release" instead of "destroy"
6061         * src/sp-gradient.c (sp_gradient_href_release): Use "release" instead of "destroy"
6063 2002-10-06  suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
6065         * src/libnr/Makefile.am (libnr_a_SOURCES): added
6066         nr-gradient.h. (nr-gradient.c appeared twice.)
6068 2002-10-04  Masatake YAMATO  <jet@gyve.org>
6070         * src/widgets/font-selector.c: Inlucded stdlib.h for atof.
6072 2002-10-05  Lauris Kaplinski  <lauris@kaplinski.com>
6074         * src/libnr/nr-gradient.c (nr_rgradient_renderer_setup): Use different base renderers
6075         (nr_rgradient_render_block_symmetric): Split frontend
6076         (nr_rgradient_render_block_optimized): Ditto
6077         (nr_rgradient_render_generic_optimized): Asymmetric renderer
6079         * src/sp-object.c (sp_object_invoke_release): new frontend
6080         (sp_object_detach): release object
6081         (sp_object_detach_unref): Ditto
6083         * src/sp-object.h: Added ::release virtual method
6085         * src/sp-object.c (sp_object_invoke_shutdown): New method
6087 2002-10-04  Lauris Kaplinski  <lauris@kaplinski.com>
6089         * src/sp-item-group.c (sp_item_group_ungroup): Rewrite it, so it moves
6090         all non-items to main <defs> node, preserving logical order and building
6091         objects in correct sequence
6093         * src/desktop-affine.c: Methods for root coordinate system, fixes misplacement bug
6095         * src/libnrtype/nr-rasterfont.c: Made working
6097         * src/libnrtype/nr-font.c (nr_font_new_default): Do linking
6098         (nr_font_unref): Ditto
6100         * src/libnrtype/nr-type-directory.c (nr_typeface_unref): Moved here, implemented list
6102         * src/display/nr-arena-glyphs.c (nr_arena_glyphs_update): Port to rfont
6103         (nr_arena_glyphs_pick): Ditto (placeholder)
6104         (nr_arena_glyphs_set_path): Ditto
6105         (nr_arena_glyphs_fill_mask): Ditto
6107         * src/libnr/nr-matrix.h (NR_MATRIX_DF_EXPANSION): New macro
6108         (NR_MATRIX_DF_EXPANSION2): Ditto
6110 2002-10-03  Lauris Kaplinski  <lauris@kaplinski.com>
6112         * src/sp-text.c (sp_text_set_shape): Make document insensitive temporarily
6114         * src/text-context.c (sp_text_context_root_handler): Allow entering
6115         unicode mode by Ctrl-u
6117 2002-10-02  Lauris Kaplinski  <lauris@kaplinski.com>
6119         * src/sp-chars.c (sp_chars_add_element): Signature change
6120         (sp_chars_show): Ditto
6122         * src/display/nr-arena-glyphs.c (nr_arena_glyphs_group_add_component): Signature change
6124         * src/libnrtype/nr-rasterfont.c (nr_rasterfont_new): Set it up
6125         (nr_rasterfont_unref): Release glyph slots
6126         (nr_rasterfont_render_glyph_mask): Implement
6127         (nr_rasterfont_ensure_glyph_slot): New helper
6129         * src/sp-text.c: Port to new chars signature
6131         * src/sp-chars.h: Use font instead of typeface
6133         * src/libnr/nr-gradient.c (nr_lgradient_render_block): Signature change
6134         (nr_lgradient_renderer_setup): Use generic base class
6135         (nr_rgradient_renderer_setup): Ditto
6136         (nr_rgradient_render_block): Signature change
6138         * src/libnr/nr-render.h: New file
6140 2002-10-01  Lauris Kaplinski  <lauris@kaplinski.com>
6142         * src/dialogs/text-edit.c (sp_text_edit_dialog_update_object): Use libnrtype
6143         (sp_text_edit_dialog_read_selection): Ditto
6144         (sp_text_edit_dialog_font_changed): Ditto
6146         * src/libnrtype/nr-type-directory.h: Implement NRNameList
6148         * src/libnrtype/nr-type-directory.c (nr_type_directory_lookup_fuzzy): Force lowercase
6149         (nr_type_directory_family_list_destructor): Implement
6150         (nr_type_directory_family_list_get): Ditto
6151         (nr_type_directory_style_list_destructor): Ditto
6152         (nr_type_directory_style_list_get): Ditto
6154         * src/widgets/font-selector.c: New file
6156         * src/widgets/font-selector.h: New file
6158         * src/libnrtype/nr-rasterfont.c: New file
6160         * src/libnrtype/nr-rasterfont.h: New file
6162         * src/libnr/nr-matrix.c (nr_matrix_f_set_scale): Correct signature
6164         * src/sp-text.c (sp_font_get_glyph_bbox): Use libnrtype
6165         (sp_font_get_glyph_advance): Ditto
6166         (sp_font_get_glyph_bbox_lr2tb): Ditto
6167         (sp_string_calculate_dimensions): Ditto
6168         (sp_string_set_shape): Ditto
6170         * src/sp-chars.c (sp_chars_destroy): Use libnrtype
6171         (sp_chars_bbox): Ditto
6172         (sp_chars_show): Ditto
6173         (sp_chars_clear): Ditto
6174         (sp_chars_add_element): Ditto
6175         (sp_chars_normalized_bpath): Ditto
6176         (sp_chars_do_print): Ditto
6178         * src/sp-chars.h (sp_chars_set_paintbox): Use libnrtype
6180         * src/libnrtype/nr-type-gnome.h: Placeholder
6182         * src/libnrtype/nr-type-directory.c: New file
6184         * src/libnrtype/nr-type-directory.h: New file
6186         * src/libnrtype/nr-font.c: New file
6188         * src/libnrtype/nr-font.h: New file
6190         * src/libnrtype/nr-typeface.c: New file
6192         * src/libnrtype/nr-typeface.h: New file
6194         * src/Makefile.am (SUBDIRS): Added libnrtype
6196         * src/libnr/nr-path.h: Placeholder
6198 2002-09-30  Lauris Kaplinski  <lauris@kaplinski.com>
6200         * src/widgets/gradient-position.c (spgp_clip_line): New method
6201         (spgp_draw_rect): Ditto
6203 Sun Sep 29 14:17:31 2002  Mitsuru Oka  <oka326@parkcity.ne.jp>
6205         * src/knot.c, knot.h: Moved SPKnot from subclass of GtkObject
6206         to GObject.
6208         * src/knotholder.c: Ditto
6210         * src/seltrans.c: Ditto
6212         * src/selection.c: Migrated dispose to destroy for remainder.
6214         * src/desktop-events.c: Fixed to connect signal handler correctly.
6216         * src/desktop.c: Fixed to add button correctly.
6218         * src/sp-use.c: Depressed gchar * warnings.
6220         * src/sp-guide.c: Indented.
6222 2002-09-29  Lauris Kaplinski  <lauris@kaplinski.com>
6224         * src/sp-gradient.c (sp_gradient_set_gs2d_matrix_f): Oops, write the right transform
6226         * src/widgets/gradient-position.c: Use new sensible internals
6228         * src/widgets/gradient-position.h: Ported to ne internals
6230         * src/widgets/paint-selector.c (sp_paint_selector_set_mode_gradient): Removed
6231         separate linear/radial optionmenu
6233         * src/widgets/gradient-selector.c (sp_gradient_selector_set_gs2d_matrix_f): New method
6234         (sp_gradient_selector_get_gs2d_matrix_f): Ditto
6235         (sp_gradient_selector_set_rgradient_position): Implement
6236         (sp_gradient_selector_init): Pax buttons under vector
6238         * src/widgets/gradient-position.c: New positioning syntax, lots of radial stuff
6240         * src/libnr/nr-matrix.h (NR_MATRIX_DF_TRANSFORM_X): Convenience macro
6241         (NR_MATRIX_DF_TRANSFORM_Y): Ditto
6243         * src/dialogs/object-properties.c (sp_object_properties_dialog): Shorten string
6245         * src/dialogs/stroke-style.c (sp_stroke_style_paint_update): Use new
6246         gradient widgets syntax
6247         (sp_stroke_style_paint_dragged): Ditto
6248         (sp_stroke_style_paint_changed): Ditto
6250         * src/dialogs/fill-style.c (sp_fill_style_widget_update): Use new gradient
6251         widgets syntax for bbox, transform, position
6252         (sp_fill_style_widget_paint_dragged): Ditto, use helper
6253         (sp_fill_style_widget_paint_changed): Ditto
6255         * src/sp-gradient.c (sp_gradient_get_gs2d_matrix_f): New method
6256         (sp_gradient_set_gs2d_matrix_f): Ditto
6257         (sp_gradient_write): Implement
6258         (sp_lineargradient_write): Ditto
6259         (sp_radialgradient_write): Ditto
6261         * src/select-context.c (sp_select_context_root_handler): Process button
6262         release only if grabbed
6264 2002-09-28  Lauris Kaplinski  <lauris@kaplinski.com>
6266         * src/widgets/gradient-vector.c (sp_gvs_rebuild_gui_full): Do not add id label
6268         * src/widgets/paint-selector.c (sp_paint_selector_init): Added radial button
6269         (sp_paint_selector_set_style_buttons): Set radial
6270         (sp_paint_selector_set_mode_gradient): Set correct button
6272         * glade/Makefile.am (pixmaps): Added fill_radial.xpm
6274 Sat Sep 28 14:35:21 2002  Mitsuru Oka  <oka326@parkcity.ne.jp>
6276         * src/toolbox.c: Use gtk_window_set_resizable() instead of
6277         gtk_window_set_policy(), because it is deprecated in GTK+2.
6279         * src/file.c: Depressed warning on gnome_print_master_perview_new.
6281         * src/sp-object.h, sp-object.c: Added destroy signal and
6282         remove dispose signal.
6284         * src/selection.c, sp-gradient.c, style.c,
6285         src/widgets/gradient-vector.c: Moved dispose to destroy.
6287         * src/sp-guide.c: Added property.
6289         * src/helper/sp-guide.c: Added property.
6291         * src/sp-namedview.c: Moved gtk_object_unref to g_object_unref.
6293         * src/dialogs/text-edit.c: Removed some GNOME dependencies.
6295         * src/helper/gnome-utils.h gnome-utils.c: New file.
6296         Utilities to help to remove GNOME libraries.
6298         * src/interface.c: Moved some GNOME functions to gnome-utils.h.
6300 2002-09-27  Lauris Kaplinski  <lauris@kaplinski.com>
6302         * src/widgets/paint-selector.c (sp_paint_selector_get_gradient_position_floatv): Set radial
6304         * src/libnr/nr-pixblock-pixel.c (nr_compose_pixblock_pixblock_pixel): Kill
6305         division by zero, if fg and bg are both fully transparent
6307         * src/dialogs/fill-style.c (sp_fill_style_widget_update): Implement radial
6308         (sp_fill_style_widget_paint_dragged): Ditto
6309         (sp_fill_style_widget_paint_changed): Ditto
6311         * src/sp-gradient.c (sp_radialgradient_set_position): New method
6313         * src/gradient-chemistry.c (sp_gradient_ensure_radial_private_normalized): New method
6314         (sp_gradient_get_radial_private_normalized): Ditto
6315         (sp_item_force_fill_radialgradient_vector): Ditto
6316         (sp_item_force_stroke_radialgradient_vector): Ditto
6318 2002-09-27  Lauris Kaplinski  <lauris@kaplinski.com>
6320         * src/widgets/paint-selector.c (sp_paint_selector_set_gradient_radial): New method
6322         * src/widgets/gradient-position.c (sp_gradient_position_set_mode): New method
6323         (sp_gradient_position_update): Setup linear/radial renderer as needed
6325         * src/widgets/gradient-selector.c (sp_gradient_selector_set_mode): New method
6326         (sp_gradient_selector_set_lgradient_position): Renamed method
6327         (sp_gradient_selector_set_rgradient_position): Ditto
6328         (sp_gradient_selector_get_lgradient_position_floatv): Renamed method
6329         (sp_gradient_selector_get_rgradient_position_floatv): Ditto
6331         * src/libnr/nr-pixblock-pixel.c (nr_compose_pixblock_pixblock_pixel): Fixed
6332         R8G8B8 target to render channels separately
6334         * src/sp-gradient.c (sp_gradient_from_position_xy): Made gradient method,
6335         changed signature, added gradientTransform to list
6336         (sp_gradient_to_position_xy): Ditto
6338         * src/libnr/nr-pixblock-pixel.c: New file
6340         * src/libnr/nr-pixblock-pixel.h: New file
6342         * src/libnr/nr-gradient.c (nr_lgradient_renderer_setup): Use gradientspace
6343         (nr_lgradient_render_block): Use generic renderer, if no specific one
6344         (nr_lgradient_render_generic): Implement
6346         * src/sp-gradient.c (sp_gradient_render_vector_block_rgb): Compose correctly
6348         * src/libnr/nr-blit.c (nr_compose_pixblock_pixblock_pixel): Generic pixel composer
6350 2002-09-26  Masatake YAMATO  <jet@gyve.org>
6352         * src/select-context.c (sp_select_context_root_handler):
6353         used sp_canvas_item_grab where I want to receive key_press event.
6354         (sp_select_context_item_handler): Ditto.
6356 2002-09-26  Lauris Kaplinski  <lauris@kaplinski.com>
6358         * src/libnr/nr-gradient.c: New file
6360         * src/libnr/nr-gradient.h: New file
6362         * src/sp-gradient.c (sp_lineargradient_painter_new): Construct libnr renderer
6363         (sp_lg_fill): Use it
6364         (sp_radialgradient_painter_new): Construct renderer
6365         (sp_rg_fill): Use it
6367         * src/sp-shape.c (sp_shape_print): Clear pixelstore
6369         * src/sp-chars.c (sp_chars_print_bpath): Clear pixelstore before each rendering
6371         * src/sp-gradient.c (sp_rg_fill): Oops, moved declaration before statements
6372         (sp_rg_fill): Ditto
6374 2002-09-25  Lauris Kaplinski  <lauris@kaplinski.com>
6376         * src/libnr/nr-compose.c (nr_R8G8B8A8_N_EMPTY_R8G8B8A8_P): Oops, evil bug
6378         * src/libnr/nr-rect.c (nr_rect_d_matrix_d_transform): New method
6379         (nr_rect_f_matrix_f_transform): Ditto
6381         * src/sp-object-repr.c (sp_object_type_lookup): Added <pattern>
6383         * src/sp-pattern.h: New file
6385         * src/sp-pattern.c: New file
6387         * src/Makefile.am (sodipodi_SOURCES): Added sp-pattern.[c,h]
6389         * src/sp-gradient.c (sp_rg_fill): Implement, seems correct although SLOW
6390         (sp_radialgradient_painter_new): Implement, except viewport percentages
6391         (sp_radialgradient_read_attr): Initialize right numbers
6392         (sp_radialgradient_init): Ditto
6394 Tue Sep 24 01:01:21 2002  Mitsuru Oka  <oka326@parkcity.ne.jp>
6396         * src/interface.c (sp_ui_menu_append_item): Fixed to work well,
6397         even if label is exist and stock is not exist.
6399         * src/widgets/sp-menu-button.c (sp_menu_button_menu_position):
6400         Modified for popup menu calculation.
6402         * src/widgets/sp-toolbox.c: Added GTK_SIGNAL_FUNC cast.
6404 2002-09-24  Masatake YAMATO  <jet@gyve.org>
6406         * src/select-context.c (sp_select_context_root_handler,
6407         sp_select_context_item_handler): used GDK_space instead
6408         of GDK_BUTTON_2. Added Lauris's event mask code after 
6409         grabbing an item.
6411         * src/seltrans.c (sp_sel_trans_handle_stamp): removed.
6412         (sp_seltrans_handle_event): handled "pressing space" as 
6413         stamping.
6414         (gdk/gdkkeysyms.h): included.
6416         * src/knot.c (sp_knot_class_init): removed "stamped" signal 
6417         again.
6418         (sp_knot_handler): didn't emit stamped anymore.
6420 2002-09-24  Lauris Kaplinski  <lauris@kaplinski.com>
6422         * src/libnr/nr-matrix.c (nr_matrix_d_set_scale): new method
6423         (nr_matrix_f_set_scale): Ditto
6425         * src/sp-use.c (sp_use_href_changed): Use unref instead of destroy
6426         (sp_use_destroy): Ditto
6428         * src/seltrans.c (sp_sel_trans_scale): Allow scaling in one dimension,
6429         if it is > 0.0
6430         (sp_sel_trans_scale_request): Snap in one dimension, if > 0.0
6432         * src/sp-path.c (sp_path_bbox): Allow empty bboxen
6434         * src/helper/art-utils.c (sp_bpath_matrix_d_bbox_d_union): Union always,
6435         even if computed bbox is empty
6437 Mon Sep 23 01:37:09 2002  Mitsuru Oka  <oka326@parkcity.ne.jp>
6439         * src/widgets/sp-menu-button.c: Clean up code.
6441         * src/widgets/sp-menu-button.c (sp_menu_button_menu_position):
6442         In GTK+2, button widget share its window among toplevel window,
6443         so I fixed offset calculation.
6445         * src/knot.c: Clean up unused marshaller.
6447         * src/knotholder.c: Ported.
6449 2002-09-23  Lauris Kaplinski  <lauris@kaplinski.com>
6451         * src/helper/sp-canvas-util.c (sp_canvas_item_grab): new method to
6452         circumvent GnomeCanvas bug
6454         * src/knot.c (sp_knot_handler): Use sp_canvas_item_grab
6456 2002-09-23  Masatake YAMATO  <jet@gyve.org>
6458         * src/knot.c (sp_knot_class_init): Added "stamped" signal
6459         (sp_knot_handler): Emit it
6461         * src/select-context.c (sp_select_context_item_handler): Do stamping
6462         (sp_select_context_root_handler): Ditto
6464         * src/seltrans.c (sp_sel_trans_stamp): new method
6465         (sp_show_handles): Connect "stamped" signal
6466         (sp_sel_trans_handle_stamp): new handler
6468 2002-09-23  Lauris Kaplinski  <lauris@kaplinski.com>
6470         * src/seltrans.c (sp_seltrans_handle_event): Just here for my debugging
6472         * src/knot.c (sp_knot_handler): No ungrabbing, added TOP CANVAS HACK,
6473         so we can now get key events and do not kill Gdk
6475         * configure.in: Version 0.27pre
6477 Sun Sep 22 22:06:57 2002  Mitsuru Oka  <oka326@parkcity.ne.jp>
6479         * src/desktop.c: add destroy call for GtkDialog.
6481         * src/sp-object.c, sp-polyline.c, style.c,
6482         src/display/canvas-area.c, src/widgets/gradient-image.c,
6483         gradient-vector.c: Ported and fixed.
6485         * src/sp-ruler.c: Bug fixed that
6486         misspelling s/GtkHRuler/SPHRuler/ and s/GtkVRuler/SPVRuler/.
6488         * src/widgets/sp-menu-button.c, sp-menu-button.h, src/toolbox.c:
6489         Found duplicated signal "activate".
6490         So, renamed SPMenuButton::activate to "activate-item" and
6491         did corresponding change for toolbox.c.
6493         * src/helper/sp-ctrlline.c: Avoid to duplicated free call for ctrlline->svp.
6495 2002-09-22  Lauris Kaplinski  <lauris@kaplinski.com>
6497         * configure.in: Version 0.26
6499         * src/main.c: #include <locale.h>, thanks to Masatake
6501 Sun Sep 22 22:21:14 2002  Mitsuru Oka  <oka326@parkcity.ne.jp>
6503         * src/sp-ruler.c: Bug fixed that
6504         misspelling s/GtkHRuler/SPHRuler/ and s/GtkVRuler/SPVRuler/.
6506 Sat Sep 21 03:02:21 2002  Mitsuru Oka  <oka326@parkcity.ne.jp>
6508         * Now, sodipodi can build and start up again (but often cause segv).
6510         * src/display/canvas-arena.c, nr-arena-glyphs.h, nr-arena.c:
6511         Ported.
6513         * src/dialogs/export.c, text-edit.c: Ported.
6515         * src/widgets/sp-color-slider.c, sp-menu-button.c: Ported.
6517         * src/*.c, *.h: Ported.
6519         * glade/*.glade: conveted to glade-2.
6521 2002-09-21  Lauris Kaplinski  <lauris@kaplinski.com>
6523         * src/dialogs/fill-style.c (sp_fill_style_widget_new): Fill rule selector
6524         (sp_fill_style_widget_update): Update fill rule selector
6525         (sp_fill_style_widget_update_repr): Ditto
6526         (sp_fill_style_widget_fill_rule_activate): Set fill-rule
6528         * src/document.c (sp_document_new): Do not set style
6530         * src/xml/repr.c (sp_repr_merge): Duplicate node without id key
6532         * src/sp-path.c (sp_path_build): Set fill to none for old version open path
6534         * src/bonobo/embeddable-document.c (sp_embeddable_document_pf_load): New
6535         document constructor signature, thanks to Ted Gould
6536         (sp_embeddable_document_ps_load): Ditto
6537         (sp_embeddable_document_new): Ditto
6539         * src/help.c (sp_help_about): use sp_text_set_repr_multiline
6541         * src/style.c (sp_style_write_difference): Rewind pointer
6543         * src/sp-ellipse.c (sp_genericellipse_set_shape): Request modified
6544         (sp_arc_modified): Implement, write path attribute
6546 2002-09-20  Lauris Kaplinski  <lauris@kaplinski.com>
6548         * src/sp-object.c (sp_object_private_write): Duplicate repr if needed
6550         * src/xml/repr-util.c (sp_repr_set_double_default): New method
6552         * src/sp-rect.c (sp_rect_write): Set default on radiuses
6554         * src/sp-root.c (sp_root_write): Set namespaces here
6556         * src/xml/repr.c (sp_repr_document_new): Set doctype and comment
6558         * src/xml/repr-io.c (sp_repr_read_file): Set doctype and comment if SVG
6559         (sp_repr_read_mem): Ditto
6560         (sp_repr_save_stream): Save doctype and comment
6562 Thu Sep 19 19:24:04 2002  Mitsuru Oka  <oka326@parkcity.ne.jp>
6564         * src/sp-marshal.*, src/Makefile.am: Removed old marshaller codes.
6566 2002-09-19  Lauris Kaplinski  <lauris@kaplinski.com>
6568         * src/sp-text.c (sp_string_set_shape): Update position array
6569         (sp_text_get_cursor_coords): New method
6570         (sp_text_set_shape): Set tspan position to text, if unset; Limit block
6571         to tspans with unspecified role
6572         (sp_text_insert_line): Implement
6574         * src/text-context.c (sp_text_context_setup): Set blink to 250ms
6575         (sp_text_context_selection_modified): Implement, update cursor position
6576         (sp_text_context_selection_changed): Ditto
6577         (sp_text_context_root_handler): Cursor placement, insertion and deletion
6578         work as they should
6580         * src/display/nr-arena-shape.c (nr_arena_shape_update): Do not try to
6581         fill paths consisting of single lineto
6583         * src/gradient-chemistry.c (sp_gradient_ensure_private_normalized): Only keep
6584         if hrefcount == 1 (fixed bug)
6586         * src/style.c (sp_style_read): Only parse CMYK if RGBA present
6588 2002-09-18  Lauris Kaplinski  <lauris@kaplinski.com>
6590         * src/sp-ellipse.c (sp_arc_set_elliptical_path_attribute): Lay 2PI arcs as 2 segments
6591         (sp_arc_write): Write SVG <ellipse> if it really is one
6593         * src/style.c (sp_style_write_ienum): We compare computed values, to
6594         avoid unnecessary setting of attributes
6595         (sp_style_merge_from_parent): Set only computed values for everything
6597         * src/helper/art-utils.c (sp_vpath_from_bpath_closepath): New method,
6598         borrowed relevant helpers from libart code
6600         * src/display/nr-arena-shape.c (nr_arena_shape_update): Closeall if filled,
6601         limit min width to 0.125 instead of cutting it to 0
6603 2002-09-17  Lauris Kaplinski  <lauris@kaplinski.com>
6605         * src/event-context.c (sp_event_context_destroy): Do not disconnect
6606         desktop signal, as there is no such
6607         (sp_event_context_new): Do not connect desktop signal
6609         * src/draw-context.c (sp_pencil_context_root_handler): Changed grabbing only
6610         to happen, if pointer is moved button-down. This changed irritating
6611         double-click total grab problem.
6612         (sp_pen_context_root_handler): Ditto
6614         * src/display/nr-arena-group.c (nr_arena_group_update): Multiply
6615         with group second transformation
6617         * src/display/nr-arena-group.h: Added child_affine member
6619         * src/sp-root.c (sp_root_read_attr): Use NRMatrixD for viewbox
6620         (sp_root_show): Implement, apply viewBox
6621         (sp_root_bbox): Ditto
6622         (sp_root_print): Ditto
6624         * src/sp-item.c (sp_item_i2doc_affine): Apply viewBox
6626 Tue Sep 17 13:50:40 2002  Mitsuru Oka  <oka326@parkcity.ne.jp>
6628         * src/dialogs/stroke-style.c: A few fix from my office.
6630 Mon Sep 16 21:31:33 2002  Mitsuru Oka  <oka326@parkcity.ne.jp>
6632         * src/display/*: Really done.
6634         * src/*: Half done, but partially adhock.
6636 Mon Sep 16 14:22:10 2002  Mitsuru Oka  <oka326@parkcity.ne.jp>
6638         * Start migration to GTK+2 environment.
6640         * Makefile.am, configure.in, acconfig.h: Use pkgconfig, GLib2,
6641         Pango, GTK+2, GNOME2, etc.
6643         * src/dialogs/*: Done.
6645         * src/display/*: Done.
6647         * src/helper/*: Done.
6649         * src/svg/*: Done.
6651         * src/widgets/*: Done.
6653         * src/xml/*: Done.
6655         * src/*: Partialy done.
6657 2002-09-16  Lauris Kaplinski  <lauris@kaplinski.com>
6659         * src/helper/png-write.c (sp_png_get_block_stripe): Helper
6660         (sp_png_write_rgba): Use striped writer
6661         (sp_png_write_rgba_striped): New method
6663         * src/dialogs/export.c (sp_export_get_rows): Renderer
6664         (sp_export_do_export): Use striped exporter
6666         * src/file.c: Added <time.h> - Thanks to Masatake for finding it
6668 2002-09-15  Lauris Kaplinski  <lauris@kaplinski.com>
6670         * src/display/nr-arena-image.c (nr_arena_image_render): Use libnr
6671         transformed composition methods
6673         * src/libnr/nr-compose-transform.c: New file
6675         * src/libnr/nr-compose-transform.h: New file
6677 2002-09-15  Masatake YAMATO  <jet@gyve.org>
6679         * src/toolbox.c (sp_maintoolbox_drag_data_received): made
6680         it a static scoped function.
6681         (sp_maintoolbox_create): Connected sp_maintoolbox_drag_data_received
6682         to maintoolbox. (glade based version is obsoleted.)
6684         * src/toolbox.c (sp_maintoolbox_drag_data_received): removed 
6685         declaration.
6687 2002-09-15  Lauris Kaplinski  <lauris@kaplinski.com>
6689         * src/file.c (sp_file_save_as): Added "file type" optionmenu
6690         (sp_file_save_type_activate): Helper
6691         (file_save_ok): Save plain SVG if needed
6693         * src/sp-namedview.c (sp_namedview_write): Implement
6695         * src/sp-text.c (sp_text_write): Implement
6697         * src/sp-use.c (sp_use_write): implement
6699         * src/sp-root.c (sp_root_write): Implement
6701         * src/sp-polyline.c (sp_polyline_write): Implement
6703         * src/sp-line.c (sp_line_write): Implement
6705         * src/sp-image.c (sp_image_write): Implement
6707         * src/sp-gradient.c (sp_stop_write): Implement
6709         * src/sp-defs.c (sp_defs_write): Implement
6711         * src/sp-clippath.c (sp_clippath_write): Implement
6713         * src/sp-anchor.c (sp_anchor_write): Implement
6715         * src/sp-polygon.c (sp_polygon_write): new ::write syntax
6717         * src/sp-spiral.c (sp_spiral_write): New ::write syntax
6719         * src/sp-star.c (sp_star_write): New ::write syntax
6721         * src/sp-ellipse.c (sp_ellipse_write): New ::write syntax
6722         (sp_circle_write): Ditto
6723         (sp_arc_write): Ditto
6725         * src/sp-rect.c (sp_rect_write): New ::write syntax
6727         * src/sp-shape.c (sp_shape_write): New ::write syntax
6729         * src/star-context.c (sp_star_finish): New ::write syntax
6731         * src/spiral-context.c (sp_spiral_finish): New ::write syntax
6733         * src/knotholder.c (knot_moved_handler): new ::write syntax
6735         * src/sp-object.c (sp_object_invoke_write): Renamed and enhanced
6736         ::write_repr method, can now construct trees and write plain SVG
6738         * src/sp-item-group.c (sp_group_write): Implement
6740 2002-09-14  Lauris Kaplinski  <lauris@kaplinski.com>
6742         * src/toolbox.c (sp_maintoolbox_menu_button_press): Construct main
6743         menu here dynamically
6745         * src/main.c (sp_main_console): Hide documents for nongui, slideshow
6747         * src/interface.c (sp_ui_file_menu): Recent list
6748         (sp_ui_main_menu): Ditto
6749         (sp_menu_append_recent_documents): New helper
6751         * src/help.c (sp_help_about): Hide document from list
6753         * src/file.c (sp_file_open): New method
6754         (sp_file_open_dialog): Renamed old sp_file_open
6756         * src/sodipodi.c (sodipodi_add_document): Emit "new_document"
6757         (sodipodi_remove_document): Emit "destroy_document", update recent list
6758         (sodipodi_segv_handler): Truncate filenames to sensible part
6760         * src/toolbox.c (sp_maintoolbox_open_one_file_with_check): Use sp_file_open
6762 2002-09-13  Lauris Kaplinski  <lauris@kaplinski.com>
6764         * src/draw-context.c (sp_pencil_context_root_handler): Clear anchors
6765         (spdc_finish_endpoint): Ditto
6766         (spdc_pen_finish): Ditto
6768         * src/document.h: Moved uri/base/name to main structure
6770         * src/draw-context.c (sp_pen_context_finish): Call parent method, fixes
6771         habit of crashing after using pen
6773 2002-09-12  Lauris Kaplinski  <lauris@kaplinski.com>
6775         * src/libnr/*: Started composing sensible library at last
6777         * src/document.c: Fix DTD typo
6779         * src/main.c (sp_main_gui): Moved setting LC_NUMERIC after gnome init
6780         (sp_main_console): Set LC_NUMERIC to "C" here too
6782 2002-09-11  Lauris Kaplinski  <lauris@kaplinski.com>
6784         * configure.in: Version 0.26pre
6786         * src/display/Makefile.am (libspdisplay_a_SOURCES): Removed fill.[c,h] and stroke.[c,h]
6788 2002-09-11  Lauris Kaplinski  <lauris@kaplinski.com>
6790         * src/node-context.c (sp_node_context_item_handler): Do not
6791         select, if rubberband has been dragged
6793         * src/widgets/sp-menu-button.c (sp_menu_button_draw): Implement,
6794         draw small indication arrow here
6795         (sp_menu_button_expose): Ditto
6797         * src/helper/curve.c (sp_bpath_clean): New method
6798         (sp_curve_new_from_bpath): Clean bpath, if not good
6799         (sp_curve_new_from_static_bpath): Ditto
6800         (sp_curve_new_from_foreign_bpath): Ditto
6802         * src/macros.h: Some new macros
6804         * src/sp-object.c (sp_object_modified): Oops! Replaced '&&' with '&',
6805         this fixed super-slow rendering during drag bug
6807 2002-09-10  Lauris Kaplinski  <lauris@kaplinski.com>
6809         * src/selection-chemistry.c (sp_group_cleanup): Helper
6810         (sp_edit_cleanup): New method
6812         * src/path-chemistry.c (sp_path_cleanup): New method
6814         * src/draw-context.c (sp_draw_context_finish): Implement
6816         * src/seltrans.c (sp_sel_trans_ungrab): Do not set identity
6818         * src/sp-item-transform.c: Do not set identity transform
6820         * src/sp-text.c (sp_text_write_transform): Do not write identity
6822         * src/sp-rect.c (sp_rect_write_transform): Do not write identity
6824         * src/xml/repr.c (sp_repr_remove_listener_by_data): Oops, removed excess step
6826         * src/sp-shape.c (sp_shape_build): Force style rewrite for old versions
6828         * src/view.c (sp_view_widget_view_destroy): handler
6829         (sp_view_widget_set_view): Connect "destroy"
6831         * src/main.c (sp_do_export_png): Move exporting code here, implement
6832         --export-width, --export-height, --export-backround arguments
6834         * src/helper/nr-plain-stuff.c (nr_render_r8g8b8a8_r8g8b8a8_alpha): Implement
6835         using internal composer
6837         * src/sp-item.c (sp_item_paint): Render buffer instead of copy
6839 2002-09-09  Masatake YAMATO  <jet@gyve.org>
6841         * src/sp-image.c (autotrace_dialog): Used 
6842         gtk_signal_connect_object_while_alive and 
6843         gtk_signal_connect_object instead of gtk_signal_connect_while_alive
6844         and gtk_signal_connect.
6845         (object_destroyed): Removed.
6846         (load_trace_result): ask the user whehter loading or net.
6848         * configure.in (AM_PATH_FRONTLINE): Check the version of frontline(>= 0.5.1).
6850 2002-09-09  Zbigniew Chyla  <cyba@gnome.pl>
6852         * src/draw-context.c, src/dyna-draw-context.c, src/select-context.c,
6853         src/spiral-context.c, src/star-context.c,
6854         src/dialogs/tool-attributes.c, src/dialogs/tool-options.c,
6855         src/dialogs/xml-tree.c: Added <config.h>
6857 2002-09-09  Lauris Kaplinski  <lauris@kaplinski.com>
6859         * src/gradient-chemistry.c (sp_gradient_ensure_private_normalized): Normalize
6860         if flag is set, but hrefcount > 1
6861         (sp_item_force_fill_lineargradient_vector): Check for hrefcount
6862         (sp_item_force_stroke_lineargradient_vector): Ditto
6864         * src/interface.c: Added <config.h>
6866         * glade/toolbox.glade: Fixed non-ASCII character
6868 2002-09-08  Lauris Kaplinski  <lauris@kaplinski.com>
6870         * src/dialogs/export.c (sp_export_do_export): Fixed affine
6872         * src/main.c (sp_main_console): Fixed affine
6874         * src/toolbox.c (sp_maintoolbox_create): Construct main window by hand
6876         * src/interface.c (sp_ui_main_menu): New method
6878         * src/help.c (sp_help_about): Use document width and height
6880         * src/svg-view.c (sp_svg_view_rescale): Use pixel coords
6881         (sp_svg_view_widget_size_request): Ditto
6883         * src/spiral-context.c (sp_spiral_context_config_widget): Implement
6884         (sp_spiral_context_setup): Ditto
6885         (sp_spiral_context_set): Ditto
6887         * src/star-context.c (sp_star_context_config_widget): Implement
6889         * src/desktop.c (sp_desktop_new): Use repr key for initial select context
6891         * src/select-context.c (sp_select_context_config_widget): Implement
6892         (sp_select_context_transform_toggled): Helper
6893         (sp_select_context_show_toggled): Ditto
6895         * src/display/nr-arena-shape.c (nr_arena_shape_update): Do not stroke,
6896         if width < 0.125
6898         * src/display/nr-arena-glyphs.c (nr_arena_glyphs_group_update): Use paintbox
6899         (nr_arena_glyphs_group_set_paintbox): New method
6900         (nr_arena_glyphs_update): Do not stroke if width < 0.125
6901         (nr_arena_glyphs_render): Do not render here
6902         (nr_arena_glyphs_fill_mask): New helper
6903         (nr_arena_glyphs_stroke_mask): Ditto
6904         (nr_arena_glyphs_group_update): Create painters here
6905         (nr_arena_glyphs_group_render): Render here
6907         * src/dialogs/tool-attributes.c (sp_tool_attributes_dialog_setup): Added
6908         SPSelectContext
6910         * src/dialogs/stroke-style.c (sp_stroke_style_paint_update): Use new gradient
6911         position widget logic
6912         (sp_stroke_style_paint_dragged): Ditto
6913         (sp_stroke_style_paint_changed): Ditto
6915         * src/dialogs/fill-style.c (sp_fill_style_widget_update): Use new gradient
6916         position widget logic
6917         (sp_fill_style_widget_paint_dragged): Ditto
6918         (sp_fill_style_widget_paint_changed): Ditto
6920         * src/sp-shape.c (sp_shape_show): Calculate and set paintbox
6921         (sp_shape_modified): Ditto
6923         * src/sp-gradient.c (sp_lineargradient_from_position): New method
6924         (sp_lineargradient_to_position): Ditto
6926         * src/sp-chars.c (sp_chars_print_bpath): Implement via nr plain buffers
6927         (sp_chars_set_paintbox): New method
6929         * src/seltrans.c (sp_sel_trans_shutdown): Destroy handles and canvasitems
6931         * src/seltrans.h: Added modifieable parameters
6933         * src/selection.c (sp_selection_bbox_document): New method
6935         * src/select-context.c (sp_select_context_set): Implement this
6937         * src/arc-context.c (sp_arc_finish): Oops, set sodipodi namespace
6939 2002-09-07  Lauris Kaplinski  <lauris@kaplinski.com>
6941         * src/style.c (sp_length_differ): Oops, if units differ check value
6943         * src/sp-paint-server.h: painter contructor signature change
6945         * src/display/nr-arena-shape.c: Remove group stuff
6946         (nr_arena_shape_set_paintbox): New method
6948         * src/display/nr-arena-shape.h: Remove group stuff
6950         * src/sp-object.c (sp_object_get_style_property): read presentation attr
6952         * src/sp-chars.c (sp_chars_style_modified): Use nr_arena_glyphs_group
6953         (sp_chars_show): Ditto
6954         (sp_chars_clear): Ditto
6955         (sp_chars_add_element): Ditto
6957         * src/sp-shape.c (sp_shape_modified): Set paintbox
6958         (sp_shape_style_modified): Use single nr_arena_shape
6959         (sp_shape_show): Ditto
6960         (sp_shape_remove_comp): Ditto
6961         (sp_shape_add_comp): Ditto
6963         * src/macros.h: Add total silencing
6965         * src/sp-gradient.c (sp_lineargradient_painter_new): Implement userSpaceOnUse
6966         except percentages (still not clear, what to do with those), but do
6967         bbox correctly
6969 2002-09-06  Lauris Kaplinski  <lauris@kaplinski.com>
6971         * src/dialogs/text-edit.c (sp_text_edit_dialog_update_object): Generic method
6972         (sp_text_edit_dialog_set_default): New method
6973         (sp_text_edit_dialog_read_selection): Read defaults if no text
6974         (sp_text_edit_dialog_text_changed): Update default button
6975         (sp_text_edit_dialog_font_changed): Ditto
6976         (sp_text_edit_dialog_any_toggled): Ditto
6977         (sp_ted_get_selected_text_item): Helper
6979         * src/dialogs/tool-options.c (sp_tool_options_dialog_setup): Implement
6980         using sp_event_context_config_widget
6982         * src/event-context.h: Added ::config_widget virtual method
6984         * src/event-context.c (sp_event_context_config_widget): New method
6986         * src/dyna-draw-context.c (sp_dyna_draw_context_config_widget): new method
6988 2002-09-05  Lauris Kaplinski  <lauris@kaplinski.com>
6990         * src/dialogs/stroke-style.c (sp_stroke_style_paint_construct): Handler
6991         (sp_stroke_style_paint_attr_changed): Ditto
6992         (sp_stroke_style_repr_get_style): Helper
6993         (sp_stroke_style_paint_update_repr): For SPRepr associated styles
6994         (sp_stroke_style_paint_changed): Write bare repr if needed
6995         (sp_stroke_style_line_construct): Handler
6996         (sp_stroke_style_line_attr_changed): Ditto
6997         (sp_stroke_style_line_update_repr): Alternate parser
6998         (sp_stroke_style_width_changed): Write repr if needed
6999         (sp_stroke_style_any_toggled): Ditto
7001         * src/dialogs/object-properties.c (sp_object_properties_dialog): build
7002         optionmenu for choosing between selection/tools
7004         * src/dialogs/fill-style.c (sp_fill_style_widget_new): Attach attr_changed
7005         (sp_fill_style_repr_get_style): Helper
7006         (sp_fill_style_widget_update_repr): Repr-associated version updater
7007         (sp_fill_style_widget_paint_changed): Write repr instead of item list if needed
7009         * src/widgets/sp-widget.c (spw_repr_attr_changed): Repr callback
7010         (sp_widget_new_global): Build from sodipodi
7011         (sp_widget_new_repr): Build from repr
7012         (sp_widget_construct_global): Constructor
7013         (sp_widget_construct_repr): Ditto
7015         * src/style.c (sp_style_new): New method
7016         (sp_style_read): Move evrything here
7017         (sp_style_read_from_object): Frontend
7018         (sp_style_read_from_repr): Ditto
7020 2002-09-04  Lauris Kaplinski  <lauris@kaplinski.com>
7022         * src/sp-path.c (sp_path_build): Update SODIPODI-PATH-NODE-TYPES attribute
7024 2002-09-03  Lauris Kaplinski  <lauris@kaplinski.com>
7026         * src/sp-text.c (sp_text_set_shape): Oooooooops, use MAX for bbox other corner
7028         * src/document.c (sp_document_new): Set docname attribute after build
7030         * src/sp-text.c (sp_text_find_version): Helper
7031         (sp_text_build): Build tspans etc. if 0.0 < version < 0.25
7033         * src/sp-ellipse.c (sp_arc_find_version): Helper
7034         (sp_arc_build): Per-version attributes
7035         (sp_arc_read_attr): Ditto
7037         * src/document.c (sp_document_new): Delay namespaces etc. to determine version
7038         (sp_document_new_from_mem): Ditto
7040         * src/document.h: Bring some members here
7042 2002-09-02  Lauris Kaplinski  <lauris@kaplinski.com>
7044         * src/dialogs/stroke-style.c (sp_stroke_style_line_update): Make insensitive, if not stroked
7046         * src/sp-rect.c (sp_rect_write_transform): Adjust stroke width, if scale changes
7048         * src/sp-text.c: Port to SPSVGUnits
7050         * src/sp-root.c: Port to SPSVGLength, use pixels as basic units from now on
7052         * src/sp-rect.c: Port to SPSVGLength
7054         * src/sp-image.c: Port to SPSVGLength
7056         * src/sp-gradient.c: Port to SPSVGLength
7058         * src/sp-ellipse.c: Port to SPSVGLength
7060         * src/file.c (sp_do_file_print_to_printer): Fix px/pt ratio
7061         (sp_do_file_print_preview): Ditto
7063         * src/document.c (sp_document_width): Fix px/pt ratio
7064         (sp_document_height): Ditto
7065         (sp_document_new): Add sodipodi:version
7066         (sp_document_new_from_mem): Ditto
7068         * src/desktop.c (sp_desktop_init): Fix px/pt ratio in doc2dt matrix
7070         * src/svg/svg-length.c (sp_svg_length_read): New method
7071         (sp_svg_length_read_lff): Ditto
7072         (sp_svg_length_unset): Ditto
7074         * src/svg/svg-types.h: New file
7076         * src/dialogs/Makefile.am (libspdialogs_a_SOURCES): Added tool-options.[c,h]
7078 2002-08-30  Lauris Kaplinski  <lauris@kaplinski.com>
7080         * src/sp-text.c (sp_text_set_shape): Do layouting here, so we can handle blocks
7082         * src/dialogs/text-edit.c (sp_text_edit_dialog): Layout radiobuttons
7083         (sp_text_edit_dialog_apply): Do layout
7084         (sp_text_edit_dialog_read_selection): Ditto
7086         * src/sp-text.c (sp_font_get_glyph_bbox): New helper
7087         (sp_font_get_glyph_advance): Ditto
7088         (sp_font_get_glyph_bbox_lr2tb): Ditto
7089         (sp_string_calculate_dimensions): Do vertical dimension correctly
7090         (sp_string_set_shape): Ditto
7092 2002-08-29  Lauris Kaplinski  <lauris@kaplinski.com>
7094         * src/sp-text.c (sp_string_calculate_dimensions): New method
7096         * configure.in: Rewind required gnome-print version to 0.29
7098         * src/sp-object.h: Added viewport and user flags
7100         * src/style.c: Added functional 'text-anchor' property
7102         * src/style.h: Added functional 'text-anchor' property
7104         * src/svg/svg-color.c (sp_svg_read_color): Read rgb(r,g,b) variants
7106         * src/style.c: Created new IEnum type with immediate and computed members,
7107         ported font-style, font-variant, font-weight, font-stretch to it
7109         * src/sp-text.c (sp_string_set_shape): Use computed 'font-style' value
7111         * glade/Makefile.am (glade_DATA): Removed text-dialog.glade
7113         * src/dialogs/text-edit.c: Get rid of glade
7115 2002-08-28  Lauris Kaplinski  <lauris@kaplinski.com>
7117         * src/display/canvas-arena.c: Ref active item, so it does not disappear
7119         * src/style.c: Implement SPIFontSize and various helpers for it
7121         * src/sp-text.c: New font size type
7123         * src/sp-shape.c: 24-bit opacity scale
7125         * src/sp-item.c (sp_item_read_attr): Reread style for font-size
7127         * src/sp-image.c: 24-bit opacity scale
7129         * src/sp-chars.c: 24-bit opacity scale
7131         * src/gradient-chemistry.c: 24-bit opacity scale
7133         * src/file.c (sp_do_file_print_preview): Ensure up-to-date
7134         (sp_do_file_print_to_printer): Ditto
7136 2002-08-27  Lauris Kaplinski  <lauris@kaplinski.com>
7138         * src/dialogs/export.c (sp_export_do_export): Fix affine (one more time)
7140         * src/sp-item.c (sp_item_paint): Ensure document is up-to-date
7142         * src/sp-chars.c (sp_chars_print_bpath): Use new transformed bpath bbox
7143         (sp_chars_bbox): Ditto
7145         * src/sp-path.c (sp_path_bbox): Use new transformed bpath bbox
7147         * src/helper/art-utils.c (sp_bpath_matrix_d_bbox_d_union): New method
7148         (sp_bpath_segment_bbox_d): Helper
7150 2002-08-26  Lauris Kaplinski  <lauris@kaplinski.com>
7152         * src/dialogs/text-edit.c (sp_text_dialog_apply): Oops, set size, not some crap here
7154         * src/sp-chars.c (sp_chars_do_print): New direct method
7155         (sp_chars_print_bpath): Helper
7157         * src/gradient-chemistry.c (sp_item_repr_set_style_gradient): Set recursive
7159 2002-08-25  Lauris Kaplinski  <lauris@kaplinski.com>
7161         * src/text-context.c (sp_text_context_finalize): Do not use desktop here
7162         (sp_text_context_finish): Implement, release desktop stuff here
7164         * src/sp-text.c (sp_text_normalized_bpath): New method
7165         (sp_text_print): Implement, still needs SPChars method
7167         * src/sp-chars.c (sp_chars_normalized_bpath): New method
7169         * src/path-chemistry.c (sp_selected_path_to_curves): Convert the new text object
7171         * src/interface.c (sp_ui_file_menu): Use helpers, the right export dialog
7173         * src/draw-context.c (sp_pen_context_finish): Flush object
7174         (sp_pen_context_root_handler): Added 'BackSpace', should work OK now
7176         * src/event-context.c (sp_event_context_finish): New method and virtual method
7178         * src/desktop.c (sp_desktop_set_event_context): Finish eventcontext
7180         * src/helper/curve.c (sp_curve_backspace): New method
7182 2002-08-24  Lauris Kaplinski  <lauris@kaplinski.com>
7184         * src/helper/curve.c (sp_curve_append): Handle open/closed end and start
7186         * src/preferences-skeleton.h: Added pen tool, made AI style default
7188         * src/draw-context.c (sp_draw_context_setup): Set attach
7189         (sp_draw_context_root_handler): React to '+' key
7190         (spdc_set_attach): Set/clear append mode
7191         (spdc_attach_selection): Renamed
7192         (spdc_detach_selection): New method
7193         (spdc_reset_white): Only need white, not all colors
7194         (sp_pencil_context_root_handler): Destroy green anchor on release
7195         (sp_pen_context_setup): Handle "mode" attribute
7196         (sp_pen_context_set): Ditto
7197         (sp_pen_context_root_handler): Has now AI style (default) and click-click modes
7198         (spdc_pen_set_ctrl): Handle modes
7199         (spdc_pen_finish): New method
7201 2002-08-23  Lauris Kaplinski  <lauris@kaplinski.com>
7203         * src/dialogs/sp-attribute-widget.h: It can now be attached to mere SPRepr too
7205         * src/dialogs/sp-attribute-widget.c (sp_attribute_widget_new_repr): New constructor
7206         (sp_attribute_widget_set_repr): New method
7207         (sp_attribute_table_new_repr): New constructor
7208         (sp_attribute_table_set_repr): New method
7210         * src/star-context.c (sp_star_context_set): Attribute reader
7211         (sp_star_context_setup): parse attributes
7213         * src/marshal.c (sp_marshal_NONE__STRING_BOOL): New method
7215         * src/interface.c (sp_ui_dialog_menu): Tool attributes menu
7217         * src/event-broker.c: Added event context node location
7219         * src/dyna-draw-context.c (sp_dyna_draw_context_set): Attribute reader
7220         (sp_dyna_draw_context_setup): Parse attributes
7222         * src/draw-context.h: Added selection member
7224         * src/view.c (sp_view_set_position): Frontend to virtual method
7225         (sp_view_set_status): Ditto
7227         * src/view.h: Added virtual methods for marking status and position
7229         * src/desktop.c (sp_desktop_widget_view_status_set): Moved status to
7230         parent container, where it belongs
7231         (sp_desktop_widget_view_position_set): Same for position
7232         (sp_desktop_widget_new): Listen status and position signals
7234         * src/dialogs/tool-attributes.c: New file
7236         * src/dialogs/tool-attributes.h: New file
7238 2002-08-20  Lauris Kaplinski  <lauris@kaplinski.com>
7240         * src/dyna-draw-context.c: Removed control knot, as we do not attach to anything
7242         * src/xml/repr.c (sp_repr_unref): Implemented launching destroy listener
7244         * src/xml/repr-private.h: Added destroy listener
7246 2002-08-19  Lauris Kaplinski  <lauris@kaplinski.com>
7248         * src/sodipodi.c (sodipodi_segv_handler): Do better names and inform user about these
7250         * src/selection-chemistry.c (sp_item_list_common_parent_group): Helper
7251         (sp_selection_raise): Made it to work with all item combinations
7252         (sp_selection_lower): Ditto, do not lower under non-items
7254         * src/sp-item-group.c (sp_group_order_changed): Fix item order calculation
7256 2002-08-18  Lauris Kaplinski  <lauris@kaplinski.com>
7258         * src/document-undo.c (sp_document_order_changed): Set correct action type
7260 2002-08-17  Lauris Kaplinski  <lauris@kaplinski.com>
7262         * src/selection-chemistry.c (sp_selection_ungroup): Use method from item group
7264         * src/sp-item-group.c (sp_item_group_ungroup): Preserve order and styles
7266         * src/style.c (sp_style_read_from_object): Synchronized with new style structure
7267         (sp_style_merge_property): Ditto
7268         (sp_style_merge_from_object_parent): Ditto
7269         (sp_style_merge_ipaint): Renamed
7270         (sp_style_write_string): New write semantics
7271         (sp_style_write_difference): New method
7272         (sp_text_style_write): New write semantics
7273         (sp_style_read_ifloat): Rename
7274         (sp_style_read_iscale30): Ditto
7275         (sp_style_read_ienum): Ditto
7276         (sp_style_read_istring): Ditto
7277         (sp_style_read_ipaint): Ditto
7278         (sp_style_write_ifloat): Signature, semantics and name change
7279         (sp_style_write_iscale30): Ditto
7280         (sp_style_write_ienum): Ditto
7281         (sp_style_write_istring): Ditto
7282         (sp_style_write_ipaint): Ditto
7283         (sp_paint_differ): Helper
7285         * src/style.h: Renamed inherited types, changed miterlimit to ifloat
7287         * src/color.c (sp_color_is_equal): New method
7289         * src/style.c (sp_style_merge_from_style_string): Accept (although warn)
7290         properties without end marker
7292         * src/dialogs/export.c (sp_export_do_export): Use correct transformation
7294         * src/main.c: Added command-line export functionality
7295         (main): Cleanup
7296         (sp_main_gui): Broke GUI-specific stuff here
7297         (sp_main_console): Same for console mode, implement export, use current dor for print
7299 2002-08-16  Lauris Kaplinski  <lauris@kaplinski.com>
7301         * src/toolbox.c (sp_maintoolbox_create): Moved draw toolbox to separate method
7302         (sp_toolbox_draw_set_object): Callback
7303         (sp_toolbox_draw_create): New method, create MenuButtons
7304         (sp_update_draw_toolbox): Use MenuButtons
7306         * src/event-broker.c: Added pen context, use pencil and pen instead of draw
7308         * src/draw-context.c: Break draw context into parent, pencil and pen
7310         * src/draw-context.h: Ditto
7312         * src/widgets/sp-menu-button.h: New file
7314         * src/widgets/sp-menu-button.c: New file, implement something similar to
7315         GtkOptionmenu, but with some sodipodi-specific sugar
7317         * glade/draw_pen.xpm: New file
7319         * src/draw-context.c (sp_draw_context_finalize): Destroy pen controls
7320         (sp_draw_context_setup): Setup pen controls
7321         (sp_draw_context_root_handler): Do pen stuff
7322         (spdc_pen_set_point): New helper
7323         (spdc_pen_set_ctrl): Ditto
7324         (spdc_pen_finish_segment): Ditto
7326         * src/helper/sp-ctrlline.c (sp_ctrlline_set_rgba32): New method
7328 2002-08-15  Lauris Kaplinski  <lauris@kaplinski.com>
7330         * src/toolbox.c (sp_update_draw_toolbox): Freehand keeps undo/redo sensitive now
7332         * src/document.c (sp_document_ensure_up_to_date): New method
7334         * src/draw-context.c (sp_draw_context_setup): Read selection data
7335         (sp_draw_context_root_handler): Use colors for freehand, place green anchor
7336         (spdc_selection_changed): Use read_selection
7337         (spdc_selection_modified): Ditto
7338         (spdc_read_selection): New method
7339         (spdc_add_freehand_point): Ditto
7340         (spdc_concat_colors_and_flush): Check, whehter green anchor exist, do contiguous append
7341         (fit_and_split): Use continious append
7342         (sp_draw_anchor_destroy): Signature change
7344 2002-08-14  Lauris Kaplinski  <lauris@kaplinski.com>
7346         * src/draw-context.c (sp_draw_context_destroy): Do not destroy start and end anchors
7347         (sp_draw_context_selection_modified): Save white curves in desktop coordinates
7348         (sp_draw_context_root_handler): Use state indicator, change addline modes on release
7349         (spdc_concat_colors_and_flush): Use continuous append
7350         (spdc_flush_white): Translate everything to item coordinates here
7352         * src/draw-context.h: Replace booleans with single state indicator
7354         * src/helper/curve.c (sp_curve_transform): New method
7355         (sp_curve_append_continuous): New method
7357 2002-08-12  Lauris Kaplinski  <lauris@kaplinski.com>
7359         * src/draw-context.c (spdc_finish_endpoint): Cleanup
7360         (spdc_flush_white): Do concat, create object if needed, do red->white transform if needed
7361         (spdc_clear_red_data): Helper
7363         * src/draw-context.h: Member rename
7365         * src/helper/curve.c (sp_curve_append): Append the whole curve, not just last segment
7366         (sp_curve_concat): Set lengths etc. correctly, fixes draw crash
7368 2002-08-08  Lauris Kaplinski  <lauris@kaplinski.com>
7370         * src/dialogs/text-edit.c (sp_text_dialog_apply): Why there were strdups here?
7372         * src/style.c (sp_style_read_from_object): Cleanup font-family and font-size
7373         (sp_style_merge_property): Ditto
7374         (sp_style_merge_from_object_parent): Ditto
7375         (sp_text_style_write): Ditto
7376         (sp_style_read_inherited_float): New helper
7377         (sp_style_read_inherited_string): Ditto
7378         (sp_style_write_inherited_float): Ditto
7379         (sp_style_write_inherited_string): Ditto
7381         * src/sp-text.c (sp_text_set_repr_text_multiline): Set roles and line positions
7383 2002-08-07  Lauris Kaplinski  <lauris@kaplinski.com>
7385         * src/sp-text.c (sp_text_read_attr): Request relayout
7386         (sp_text_child_added): Ditto
7387         (sp_text_remove_child): Ditto
7388         (sp_text_modified): Check, whether relayout is needed
7389         (sp_text_request_relayout): Helper
7391         * src/style.c (sp_style_merge_from_object_parent): Inherit font size (still wrong)
7393         * src/text-context.c (sp_text_context_root_handler): Allow control key
7394         to be passed, send nonbreaking space for Ctrl+Space
7396         * src/sp-text.c (sp_string_set_shape): Try to collect spaces across item boundaries
7397         (sp_tspan_set_shape): Ditto
7398         (sp_text_set_shape): Ditto
7400 2002-08-05  Lauris Kaplinski  <lauris@kaplinski.com>
7402         * src/text-context.c (sp_text_context_root_handler): Use sp_text_append
7404         * src/sp-text.c (sp_text_append): New method
7406 2002-07-31  Lauris Kaplinski  <lauris@kaplinski.com>
7408         * src/text-context.c (sp_text_context_finalize): Use it instead of ::destroy
7409         (sp_text_context_setup): Create cursor
7410         (sp_text_context_root_handler): Show cursor
7411         (sp_text_context_selection_changed): Update cursor
7412         (sp_text_context_timeout): Blink handler
7414         * src/text-context.h: Added cursor
7416 2002-07-30  Lauris Kaplinski  <lauris@kaplinski.com>
7418         * src/Makefile.am (sodipodi_SOURCES): Added macros.h
7420         * src/sp-text.c (sp_text_write_transform): Do multiline transforming
7421         the right way
7423         * src/macros.h: New file for useful macros
7425 2002-07-29  Lauris Kaplinski  <lauris@kaplinski.com>
7427         * src/sp-text.c (sp_tspan_build): Get attributes at right place, read role as well
7428         (sp_tspan_read_attr): Parse "sodipodi:role" attribute
7429         (sp_text_append_line): New method
7431         * src/sp-text.h: Specify role for <tspan> element
7433 2002-07-26  Lauris Kaplinski  <lauris@kaplinski.com>
7435         * src/sp-text.c (sp_string_set_shape): Changed signature, pass layout and currentpoint
7436         (sp_tspan_set_shape): New method
7437         (sp_text_build): Use normal order, as shape will be set asynchronously
7438         (sp_text_read_attr): Request update everywhere
7439         (sp_text_child_added): Fix bug, now keep old children in list
7440         (sp_text_set_shape): New method, nothing interesting yet
7442         * src/text-context.c (sp_text_context_selection_changed): Set active object
7443         to NULL, if nothing selected
7445 2002-07-24  Lauris Kaplinski  <lauris@kaplinski.com>
7447         * src/sp-object.c (sp_object_modified): Merge style with parent if needed,
7448         moved style_modified after signal
7450         * src/sp-text.c (sp_tspan_modified): Include style flag in cascade
7451         (sp_text_modified): Ditto
7452         (sp_string_modified): Re-enable it (although this is probably not correct)
7454         * src/style.c (sp_style_merge_from_object_parent): Merge writing mode
7456         * src/sp-item-group.c (sp_group_modified): Include style flag in cascade
7458         * src/sp-gradient.c (sp_gradient_modified): Include style flag in cascade
7460 2002-07-22  Lauris Kaplinski  <lauris@kaplinski.com>
7462         * src/style.c (sp_style_new_from_object): Renamed sp_style_new
7463         (sp_style_read_from_object): Use SP_SCALE30 for opacity, new paint structure
7464         (sp_style_merge_property): Ditto
7465         (sp_style_merge_from_object_parent): Renamed sp_style_merge_from_object,
7466         read only from immediate parent (which should have merged from ancestors itself)
7467         (sp_style_write_string): Use SP_SCALE30 for opacity, new paint structure
7468         (sp_style_clear): Ditto
7469         (sp_style_set_opacity): Ditto
7470         (sp_style_read_inherited_scale30): New method
7471         (sp_style_write_inherited_scale30): Ditto
7472         (sp_style_read_inherited_paint): Renamed, parse "inherit" value
7473         (sp_style_write_inherited_paint): Ditto, write it
7474         (sp_style_merge_inherited_paint): Do hunref here
7475         (sp_style_set_fill_color_rgba): Do hunref instead of gtk_object_unref, new structure
7476         (sp_style_set_fill_color_cmyka): Ditto
7477         (sp_style_set_stroke_color_rgba): Ditto
7478         (sp_style_set_stroke_color_cmyka): Ditto
7479         (sp_style_read_color_cmyk): Helper method here
7480         (sp_style_merge_from_style_string): Renamed method
7482         * src/style.h: Created new 30-bit scaled value type, used for opacity
7483         Renamed SPPaint to SPInheritedPaint
7485 Sat Jul 13 19:47:16 2002 Davide Puricelli <evo@debian.org>
7487         * po/ja.po: Updated, thanks Junichi Uekawa <dancer@netfort.gr.jp>
7489 Sat Jul 13 05:52:15 2002  Mitsuru Oka  <oka326@parkcity.ne.jp>
7491         * src/sp-item-group.c (sp_group_bbox): Fixed group selection bug -
7492         thanks to Ted Gould and his bug report.
7494 2002-05-20  Lauris Kaplinski  <lauris@ximian.com>
7496         * src/xml/repr-io.c (sp_repr_svg_read_node): Add namespaces back -
7497         thanks to Pawel
7499         * src/dialogs/xml-tree.c: Complete refactoring by Pawel Palucha
7501         * src/document.c (sp_document_lookup_id): Check values
7503 2002-04-21  Masatake YAMATO  <jet@gyve.org>
7505         * src/toolbox.c (sp_maintoolbox_open_files): Use 
7506         gnome_uri_list_extract_filenames.
7508         * src/interface.c (sp_ui_import_files): Ditto.
7510 2002-04-19  Lauris Kaplinski  <lauris@ximian.com>
7512         * src/text-context.c (sp_text_context_root_handler): Port to new
7513         text object (incomplete)
7514         (sp_text_context_selection_changed): Ditto
7516         * src/sp-text.c: Lot of new stuff, shows something on screen at last
7518         * src/sp-object.c (sp_object_modified): Do not allow reentrancy
7519         - think SPText will like it
7521         * src/sp-item.c: Removed sp_item_update and virtual method
7523         * src/sp-item-group.c: Removed ::update method
7525 2002-04-17  Lauris Kaplinski  <lauris@ximian.com>
7527         * src/sp-rect.c (sp_rect_rx_set): Make argument const, kill warning
7528         (sp_rect_ry_set): Ditto
7530 2002-04-12  Lauris Kaplinski  <lauris@ximian.com>
7532         * src/sp-text.h: Broke into SPText, SPTSpan and SPString objects
7534         * src/sp-text.c (sp_text_build): Build <tspan> and TEXT elements
7536         * src/forward.h: Moved SPText and SPTSpan here
7538 2002-04-08  Lauris Kaplinski  <lauris@ximian.com>
7540         * src/sp-item.h: Changed ::bbox signature
7542         * src/sp-item.c (sp_item_invoke_bbox): New generic method
7543         (sp_item_bbox_desktop): renamed old method
7545         * src/display/nr-arena-glyphs.c: Ditto
7547         * src/display/nr-arena-glyphs.h: New file
7549         * src/sp-chars.c (sp_chars_get_type): Change parent class
7550         (sp_chars_class_init): Ditto
7551         (sp_chars_destroy): New elements structure
7552         (sp_chars_style_modified): New virtual method
7553         (sp_chars_bbox): Ditto
7554         (sp_chars_show): Ditto
7555         (sp_chars_print): Ditto (not implemented)
7556         (sp_chars_clear): New structure
7557         (sp_chars_add_element): Ditto
7559         * src/sp-chars.h: Derive directly from item instead of shape
7561         * src/dialogs/align.c (sp_quick_align_arrange): New bbox logic
7563         * src/dialogs/export.c (sp_export_drawing): New bbox logic
7565 Sun Apr  7 01:37:29 2002  Mitsuru Oka  <oka326@parkcity.ne.jp>
7567         * src/style.c: (sp_style_read_from_object): Fixed to work stroke-cmyk.
7569         * src/sp-item.c: (sp_item_read_attr): Ditto
7571 2002-04-06  Lauris Kaplinski  <lauris@ximian.com>
7573         * src/xml/repr-io.c (sp_repr_read_file): Use new signature
7574         (sp_repr_read_mem): Ditto
7575         (sp_repr_qualified_name): New method
7576         (sp_repr_svg_read_node): Signature change, create text nodes
7578         * src/xml/repr-util.c (sp_xml_document_createTextNode): New method
7579         (sp_xml_document_createElement): Ditto
7580         (sp_xml_document_createElementNS): Ditto
7581         (sp_xml_node_get_Document): Ditto
7582         (sp_xml_element_setAttributeNS): Ditto
7584         * src/xml/repr.c (sp_repr_new_from_code): Set type
7586         * src/svg/svg-length.c (sp_svg_read_number_f): New method with right signature
7587         (sp_svg_read_number_d): Ditto
7589         * src/style.c (sp_style_privatize_text): New method
7590         (sp_style_merge_property): Moved text properties here
7592         * src/sp-text.c (sp_text_init): No properties
7593         (sp_text_build): No style anymore
7594         (sp_text_style_modified): New virtual method
7595         (sp_text_font_weight_to_gp): Helper
7596         (sp_text_font_italic_to_gp): Ditto
7597         (sp_text_set_shape): Use style properties, hackish support for vertical writing
7599         * src/sp-text.h: Removed properties from object, as these are handled by style
7601 2002-04-04  Lauris Kaplinski  <lauris@ximian.com>
7603         * src/helper/canvas-bpath.c (sp_canvas_bpath_init): Can be filled now
7604         (sp_canvas_bpath_destroy): Ditto
7605         (sp_canvas_bpath_update): Ditto
7606         (sp_canvas_bpath_render): Ditto
7607         (sp_canvas_bpath_point): Ditto
7608         (sp_canvas_bpath_set_fill): New method
7609         (sp_canvas_bpath_set_stroke): Name change
7611         * src/display/nr-arena-shape.c (nr_arena_shape_render): No real_opacity
7612         anymore
7614         * src/sp-shape.c (sp_shape_print): No real opacity anymore
7616         * src/dyna-draw-context.c (sp_dyna_draw_context_setup): Port to
7617         canvas bpath instead of canvas shape
7618         (clear_current): Ditto
7619         (fit_and_split_line): Ditto
7620         (fit_and_split_calligraphics): Ditto
7621         (draw_temporary_box): Ditto
7623         * src/draw-context.c (sp_draw_context_setup): Port to new canvas bpath
7624         (fit_and_split): Ditto
7626         * src/dialogs/item-properties.c: Removed #ifdef 0 code
7628         * src/style.c (sp_style_new): Require object validity
7629         (sp_style_merge_property): Moved actual code to new method
7630         (sp_style_merge_from_string): Does not clear style anymore, thus name change
7631         (sp_style_paint_server_modified): Use sp_object_request_modified
7632         (sp_style_set_fill_color_rgba): Request modified
7633         (sp_style_set_fill_color_cmyka): Ditto
7634         (sp_style_set_stroke_color_rgba): Ditto
7635         (sp_style_set_stroke_color_cmyka): Ditto
7636         (sp_style_set_opacity): Ditto
7637         (sp_style_property_index): New enumerated property codes
7639         * src/sp-shape.c (sp_shape_style_modified): Renamed method
7641         * src/sp-item.c (sp_item_read_attr): Use sp_object_request_modified
7642         (sp_item_style_modified): Renamed method, otherwise same
7644         * src/sp-item-group.c (sp_group_class_init): No ::style_changed anymore
7646         * src/sp-object.c (sp_object_request_modified): Accept style modification
7647         flag (but not alone)
7648         (sp_object_modified): Ditto, invoke ::style_changed if needed
7650         * src/sp-object.h (SP_OBJECT_STYLE_MODIFIED_FLAG): New flag - we now
7651         collect style modifications into single-step async apply too
7653 Sun Mar 31 19:09:25 2002  Mitsuru Oka  <oka326@parkcity.ne.jp>
7655         * src/sp-rect.c (sp_rect_*_set): Fixed a little.
7657 2002-03-22  Davide Puricelli <evo@debian.org>
7659         * Updated debian/ directory, synced with Debian unstable.
7661 2002-03-18  Lauris Kaplinski <lauris@ximian.com>
7663         * configure.in: Disabled frontline check, until I find time
7664         to make it to work without frontline too
7666 2002-03-18  Masatake YAMATO  <jet@gyve.org, masata-y@maa.spacetown.ne.jp>
7668         * src/toolbox.h (sp_maintoolbox_drag_data_received): New
7669         declaration.
7671         * src/toolbox.c (sp_maintoolbox_open_one_file) 
7672         (sp_maintoolbox_open_files, sp_maintoolbox_drag_data_received): 
7673         New functions.
7674         (sp_maintoolbox_create): Invoked gtk_drag_dest_set 
7675         against ui.
7676         (toolbox_drop_target_info, toolbox_drop_target_entries,
7677         ENTRIES_SIZE, ntoolbox_drop_target_entries): New constants
7678         and macros for DnD.
7680         * src/interface.c (sp_ui_import_one_file, sp_ui_import_files) 
7681         (sp_ui_drag_data_received): New functions.
7682         (sp_create_window): sp_ui_drag_data_received is connected
7683         to "drag_data_received" of ui. Invoked gtk_drag_dest_set 
7684         against ui.
7685         (nui_drop_target_entries, ENTRIES_SIZE, ui_drop_target_entries,
7686         ui_drop_target_info): New constants and macros for DnD.
7688         * glade/toolbox.glade: sp_maintoolbox_drag_data_received is
7689         connected to drag_data_received of maintoolbox.
7691 2002-03-18  Masatake YAMATO  <jet@gyve.org, masatake@maa.sst.ne.jp>
7693         * configure.in (ENABLE_AUTOTRACE): Check Frontline.
7695         * acconfig.h: Added ENABLE_AUTOTRACE.
7697         * src/sp-image.c: Added code that supports Frontline.
7698         New codes are wrapped by ENABLE_AUTOTRACE. 
7700 Tue Mar 19 02:30:40 2002  Mitsuru Oka  <oka326@parkcity.ne.jp>
7702         * New SPRect rx, ry editing feature in node context.
7704         * src/sp-rect.c (sp_rect_rx_get): New method for KnotHolder
7705         (sp_rect_rx_set): Ditto
7706         (sp_rect_ry_get): Ditto
7707         (sp_rect_ry_set): Ditto
7708         (sp_rect_knot_holder): Ditto
7709         (sp_rect_write_repr): New method
7710         (sp_rect_glue_set_shape): Ditto
7712 2002-03-14  Stanislav Visnovsky  <visnovsky@nenya.ms.mff.cuni.cz>
7714         * configure.in: Added "sk" to ALL_LINGUAS.
7716 Sun Mar 10 21:00:01 2002  Mitsuru Oka  <oka326@parkcity.ne.jp>
7718         * src/document.c (sp_document_partial_items_in_box):
7719         New method. Return list of items, that the parts of the item
7720         containd in box.
7722         * select-context.h: Add button_press_shift attribute
7724         * select-context.c: (sp_select_context_root_handler):
7725         New feature to select items which is partially contained in
7726         rubberband box with shift key.
7728 Wed Mar  6 01:52:09 2002  Mitsuru Oka  <oka326@parkcity.ne.jp>
7730         * Support open/closed arc feature. We can edit it on node edit.
7732         * src/sp-ellipse.c (sp_genericellipse_side): New method to
7733         determine point is inside or outside.
7734         (sp_arc_start_set): Add is_closed feature
7735         (sp_arc_end_set): Ditto
7737         * src/sp-ellipse.h: Add SPArc::is_closed attribute
7739         * src/preferences-skeleton.h: Modified arc style
7741         * src/arc-context.c: Ditto
7744 2002-03-05  Lauris Kaplinski  <lauris@ximian.com>
7746         * src/display/nr-arena-shape.c (nr_arena_shape_pick): Use delta (tolerance)
7748         * src/display/canvas-arena.c (sp_canvas_arena_update): Use global delta (tolerance)
7749         (sp_canvas_arena_point): Ditto
7750         (sp_canvas_arena_event): Ditto
7752         * src/display/nr-arena-item.c (nr_arena_item_invoke_pick): Changed
7753         virtual method signature
7755         * src/dialogs/display-settings.c (sp_display_dialog_cursor_tolerance_changed): Implement
7756         (sp_display_dialog_new): Create pick tolerance spinbutton
7758         * src/view.c (sp_view_shutdown): New method and signal
7759         (sp_view_request_redraw): New virtual method
7761         * src/sodipodi.c (sodipodi_refresh_display): Use sp_view_request_redraw
7763         * src/interface.c (sp_ui_delete): Use sp_view_shutdown
7764         (sp_ui_menu_append_item): Helper
7765         (sp_ui_file_menu): New method
7766         (sp_ui_edit_menu): Ditto
7767         (sp_ui_selection_menu): Ditto
7768         (sp_ui_view_menu): Ditto
7769         (sp_ui_event_context_menu): Ditto
7770         (sp_ui_dialog_menu): Ditto
7771         (sp_ui_generic_menu): Ditto
7773         * src/file.c (sp_file_exit): Use sodipodi_exit method
7775         * src/event-context.c (sp_event_root_menu_popup): Use sp_ui_generic_menu
7777         * src/desktop.c (sp_desktop_request_redraw): New virtual method implementation
7778         (sp_desktop_widget_set_focus): Do that widget method instead
7780         * src/desktop-events.c (sp_dt_ruler_event): Do not use desktop->owner
7782         * src/Makefile.am (INCLUDES): -DSODIPODI_PIXMAPDIR
7784 Mon Mar  4 01:23:05 2002  Mitsuru Oka  <oka326@parkcity.ne.jp>
7786         * src/sp-ellipse.c (sp_genericellipse_normalize): Fixed start and
7787         end arg conditions.
7788         (sp_arc_start_set): Added per pi/4 radian constraint with control key.
7789         (sp_arc_end_set): Ditto
7791 Sun Mar  3 03:40:07 2002  Mitsuru Oka  <oka326@parkcity.ne.jp>
7793         * Merged from ge-arc-branch
7795         * src/sp-ellipse.h (SPArc): New class
7797         * src/sp-ellipse.c (sp_arc_*): New methods
7799         * src/arc-context.c: New event context for SPArc. Mainly it is
7800         renamed from ellipse-context.c.
7801         So we should remove ellipse-context.c later.
7803         * src/arc-context.h: Ditto
7805         * glade/draw_arc.xpm: New pixmap file for draw arc tool.
7806         Now, we does not need draw_ellipse.xpm.
7808         * src/pixmaps/cursor-arc.xpm: Ditto
7810 2002-02-25  Lauris Kaplinski  <lauris@ximian.com>
7812         * src/helper/curve.c (sp_curve_append): Do not requite non-empty curves
7814         * src/draw-context.c (fit_and_split): Commetn out boundary checks
7816         * src/document.c (sp_document_idle_handler): Bring up uncommited undo
7817         warning, if compiled with debug
7818         (sp_action_print_pending_list): Debug method
7819         (sp_document_warn_undo_stack): Ditto
7821         * src/document-private.h: Moved idel_id into base struct
7823 2002-02-23  Lauris Kaplinski  <lauris@ximian.com>
7825         * src/helper/units.c (sp_points_get_units): New method
7826         (sp_units_get_points): Ditto
7828         * src/dialogs/object-properties.c: Made layout dynamic
7830         * src/document-undo.c (sp_document_private_done): New static method
7831         (sp_document_done): Just a wrapper
7832         (sp_document_maybe_done): Implement the real thing
7834         * src/document-private.h: Moved document definition here
7836 2002-02-21  Lauris Kaplinski  <lauris@ximian.com>
7838         * src/dialogs/stroke-style.c (sp_stroke_style_any_toggled): Handle
7839         cap/join style changes
7840         (sp_stroke_style_widget_new): Create cap/join togglebuttons
7841         (sp_stroke_style_widget_update): Set cap/join selector activity
7842         (sp_stroke_style_set_join_buttons): New method
7843         (sp_stroke_style_set_cap_buttons): Ditto
7845 2002-02-19  Lauris Kaplinski  <lauris@ximian.com>
7847         * src/dialogs/stroke-style.c: New file
7849         * src/dialogs/stroke-style.h: New file
7851         * src/helper/units.c (sp_distance_get_units): New method
7852         (sp_distance_get_points): Ditto
7854         * src/helper/units.h: Moved SPDistance here
7856         * src/style.h: Moved SPDistance to units.h
7858         * src/display/nr-arena-shape.c (nr_arena_shape_render): Render gradient
7859         strokes as well
7861         * src/dialogs/object-properties.c: Start rewriting to use dynamic
7862         fill/stroke widgets instead of original glade dialog
7864         * src/dialogs/stroke-style.h: New file
7866         * src/dialogs/stroke-style.c: New file
7868         * src/gradient-chemistry.c (sp_style_change_property): Reimplement,
7869         hopefully the correct way now
7871         * src/widgets/gradient-position.c (sp_gradient_position_update): Pre
7872         build local renderer here 
7874         * src/helper/nr-gradient.c (nr_lgradient_renderer_setup_r8g8b8a8): Do
7875         not allocate renderer, allow using static ones too
7876         (nr_lgradient_renderer_setup_r8g8b8): Ditto
7878         * src/widgets/paint-selector.c (sp_paint_selector_set_style_buttons): Do not
7879         activate pattern and fractal fill buttons
7881 2002-02-18  Lauris Kaplinski  <lauris@ximian.com>
7883         * src/widgets/paint-selector.c: Lot of rearrangements everywhere -
7884         I am too tired to write all these down. Basically we have one frontend
7885         megawidget SPPaintSelector, that interfaces to colors, gradient and more.
7887 2002-02-10  Lauris Kaplinski  <lauris@ximian.com>
7889         * src/desktop.c (sp_desktop_widget_destroy): Removed stale signal
7890         disconnect (no idea what it was originally for)
7892 2002-02-09  Lauris Kaplinski  <lauris@ximian.com>
7894         * configure.in: Removed rbuf, frgba, new font checks and arena switch
7896         * src/sp-namedview.c (sp_namedview_setup_grid_item): Grid settings are
7897         always in points, units are there just for user preference
7898         (sp_namedview_read_attr): Ditto
7900         * src/desktop-snap.c (sp_desktop_horizontal_snap): Read snap distances
7901         from new desktop members
7902         (sp_desktop_vertical_snap): Ditto
7903         (sp_desktop_vector_snap): Ditto
7904         (sp_desktop_circular_snap): Ditto
7906         * src/desktop-handles.c (sp_desktop_canvas): Update to new desktop structure
7908         * src/sodipodi.c (sodipodi_activate_desktop_private): Default method
7909         implementation to chain activation signal on desktop
7910         (sodipodi_deactivate_desktop_private): Ditto
7912         * src/desktop.c (sp_desktop_new): Owner does not have document pointer
7913         any more, so had to change signature here
7914         (sp_desktop_widget_init): Moved activation signals to public constructor
7915         (sp_dtw_desktop_activate): Activation signal handler
7916         (sp_dtw_desktop_deactivate): Ditto
7917         (sp_desktop_widget_new): Use desktop "activate" and "deactivate" signals
7918         instead of sodipodi ones, signature change
7919         (sp_desktop_class_init): Added "activate" and "deactivate" signals
7921         * src/dialogs/display-settings.c: Removed glade, made mostly dynamic
7923         * src/sodipodi.c (sodipodi_remove_desktop): Emit "destroy_desktop" if
7924         destroyed one was not active too
7925         (sodipodi_refresh_display): Convenience method
7927 2002-02-08  Lauris Kaplinski  <lauris@ximian.com>
7929         * src/dialogs/document-properties.c: Do not use glade anymore, made
7930         everything dynamic
7932         * src/helper/canvas-grid.c (sp_grid_hline): Use helpers from ctrlrect
7933         (sp_grid_vline): Ditto
7934         (sp_cgrid_render): Render real grid instead of dots
7936         * src/xml/repr-util.c (sp_repr_get_boolean): Saner conveninence method
7937         (sp_repr_get_int): Ditto
7938         (sp_repr_get_double): Ditto
7939         (sp_repr_set_boolean): Ditto
7940         (sp_repr_set_int): Ditto
7941         (sp_repr_set_double): Ditto
7943         * src/svg/svg-length.c (sp_svg_read_length): Added meter
7945         * src/dialogs/sp-attribute-widget.c (sp_attribute_widget_changed): Kill warning
7946         (sp_attribute_widget_set_object): Ditto
7947         (sp_attribute_widget_object_modified): Ditto
7948         (sp_attribute_table_set_object): Ditto
7949         (sp_attribute_table_object_modified): Ditto
7950         (sp_attribute_table_entry_changed): Ditto
7952         * src/dialogs/desktop-properties.c: Do not use glade anymore, made
7953         everything dynamic
7955         * src/sp-namedview.c (sp_namedview_init): Do not init distances here,
7956         as ::build invokes full reread anyways
7957         (sp_namedview_read_attr): Use saner structure and read measured distances
7958         (sp_namedview_setup_grid_item): Convert distances to points here
7959         (sp_str_to_bool): Convenience stuff (should be moved to some central place)
7960         (sp_nv_read_length): Ditto
7961         (sp_nv_read_opacity): Ditto
7963         * src/sp-namedview.h: Use real units for distances, some cleanup
7965         * src/desktop-snap.c (sp_desktop_horizontal_snap): Ported to namedview
7966         changed internals
7967         (sp_desktop_vertical_snap): Ditto
7968         (sp_desktop_vector_snap): Ditto
7969         (sp_desktop_circular_snap): Ditto
7971 2002-02-04 Frank Felfe <innerspace@iname.com>
7973         * src/sp-item.c (sp_item_distance_to_svg_bbox): Fix compilation error
7975 2002-02-03  Lauris Kaplinski  <lauris@ximian.com>
7977         * src/helper/units.c: Fix userspace/device confusion
7979         * src/sp-gradient.c (sp_stop_read_attr): Convert percentages to dimensionless
7980         units
7982         * src/gradient-chemistry.c (sp_gradient_vector_release_references): New
7983         method to prepare gradient vector for deletion
7985         * src/dialogs/gradient-vector.c (sp_gradient_vector_selector_init): Connect
7986         button dialogs
7987         (sp_gvs_rebuild_gui_full): Set selection to current active gradient
7988         (sp_gvs_gradient_edit_clicked): From old gradient selector
7989         (sp_gvs_gradient_add_clicked): Ditto
7990         (sp_gvs_gradient_delete_clicked): Ditto
7992 2002-02-02  Kjartan Maraas  <kmaraas@gnome.org>
7994         * glade/object_props.glade: Fix a typo. s/Mitter/Miter/
7996 2002-01-27  Lauris Kaplinski  <lauris@ximian.com>
7998         * src/bonobo/Makefile.am (INCLUDES): Remove excess -I
8000 2002-01-21  Lauris Kaplinski  <lauris@ximian.com>
8002         * src/sp-item.c (sp_item_distance_to_svg_viewport): New method
8003         (sp_item_distance_to_svg_bbox): Ditto
8004         (sp_item_style_changed): Use generic distance conversion method
8006         * src/helper/units.c: New file, ported from libgnomeprint, we collect
8007         all unit management into here
8009         * src/helper/units.h: New file
8011         * src/svg/svg-length.c (sp_svg_write_percentage): New unit logic
8012         (sp_svg_read_length): Ditto
8014         * src/helper/unit-menu.c: Ported widget from libgnomeprint
8016         * src/helper/unit-menu.h: Ported widget from libgnomeprint
8018         * src/dialogs/text-edit.c (sp_text_read_selection): New unit logic
8020         * src/dialogs/object-properties.c (sp_object_properties_apply_stroke): New
8021         unit logic
8023         * src/dialogs/gradient-selector.c (sp_gradient_widget_new): Use
8024         SPGradientVectorSelector here
8026         * src/style.c (sp_style_read_from_string): New unit logic
8027         (sp_style_write_string): Ditto
8028         (sp_style_init): Ditto
8030         * src/sp-text.c (sp_text_read_attr): New unit logic
8032         * src/sp-star.c (sp_star_read_attr): New unit logic
8034         * src/sp-spiral.c (sp_spiral_read_attr): New unit logic
8036         * src/sp-shape-style.c (sp_stroke_read): New unit logic
8038         * src/sp-root.c (sp_root_read_attr): New unit logic
8040         * src/sp-rect.c (sp_rect_read_attr): New unit logic
8042         * src/sp-namedview.c (sp_namedview_read_attr): New unit logic
8044         * src/sp-item.c (sp_item_style_changed): New unit logic
8046         * src/sp-image.c (sp_image_read_attr): New unit logic
8048         * src/sp-ellipse.c (sp_circle_read_attr): New unit logic
8050         * src/dyna-draw-context.c (sp_dyna_draw_context_setup): New unit logic
8051         (fit_and_split_line): Ditto
8052         (fit_and_split_calligraphics): Ditto
8054         * src/desktop-events.c (sp_dt_simple_guide_dialog): Use new unit widget
8055         (guide_dialog_apply): Ditto
8057 2002-01-13  Wang Jian  <lark@linux.net.cn>
8059         * configure.in(ALL_LINGUAS): Added zh_CN for Simplifed Chinese.
8061 2002-01-05  Mitsuru Oka  <oka326@parkcity.ne.jp>
8063         * src/helper/bezier-utils.c (BEZIER_DEBUG): inhibit debug messages.
8065 2002-01-04  Zbigniew Chyla  <cyba@gnome.pl>
8067         * src/desktop.c (sp_desktop_widget_init, sp_desktop_widget_set_title,
8068         sp_desktop_widget_shutdown): Marked strings for translation.
8070         * src/document.c (sp_document_new, sp_document_new_from_mem): Ditto.
8072 2002-01-01  Zbigniew Chyla  <cyba@gnome.pl>
8074         * configure.in: Added "AC_PROG_INTLTOOL(0.11)" line.
8076         * Makefile.am: Use intltool.
8078         * GNOME_Sodipodi.oaf.in: New, copied from GNOME_Sodipodi.oafinfo.
8080         * sodipodi.desktop.in: New, generated from sodipodi.desktop.
8082         * GNOME_Sodipodi.oafinfo, sodipodi.desktop: Removed.
8084         * glade/Makefile.am (glade_DATA): Removed *.c.
8086         * glade/*.c: Removed.
8088         * .cvsignore: Added intltool-*, sodipodi.desktop, GNOME_Sodipodi.oaf.
8090         * src/bonobo/svg-doc-factory.c, src/desktop.c, src/dialogs/align.c,
8091         src/dialogs/display-settings.c, src/dialogs/document-properties.c,
8092         src/dialogs/fill-style.c, src/dialogs/gradient-selector.c,
8093         src/dialogs/gradient-vector.c, src/dialogs/item-properties.c,
8094         src/dialogs/object-attributes.c, src/dialogs/object-properties.c,
8095         src/help.c, src/helper/unit-menu.c, src/main.c, src/sodipodi.c,
8096         src/sp-anchor.c, src/sp-image.c, src/sp-item-group.c, src/sp-rect.c,
8097         src/sp-shape.c, src/sp-spiral.c, src/sp-star.c, src/sp-text.c,
8098         src/widgets/sp-color-selector.c: Added missing #include <config.h>.
8100 2001-12-30  Lauris Kaplinski  <lauris@localhost.localdomain>
8102         * src/widgets/sp-color-selector.c (sp_color_selector_adjustment_changed): Set
8103         updating flag here, so we get single "changed" signal whatever happens
8105         * src/sp-gradient.c (sp_gradient_repr_set_vector): Allow setting our
8106         own vector too here
8108         * src/sp-object.h (SP_OBJECT_NEXT): New macro
8110         * src/gradient-chemistry.c (sp_gradient_ensure_vector_normalized): Should
8111         work as intended now
8112         (sp_gradient_ensure_private_normalized): Ditto
8113         (sp_gradient_repr_set_link): Set NULL link too
8115 2001-12-30  Mitsuru Oka  <oka326@parkcity.ne.jp>
8117         * src/sp-spiral.c src/sp-star.c:
8118         Revert to previous cx, cy attribute implementation.
8119         Because SVG standard shape introduce cx, cy,
8120         so we coordinate to that policy.
8122         * src/sp-spiral.c (sp_spiral_get_polar): New function
8123         (sp_spiral_is_invalid): New function to protect attributes
8124         consistency. sp_spiral_read_attr use it.
8126 2001-12-29  Mitsuru Oka  <oka326@parkcity.ne.jp>
8128         * src/knotholder.c src/knotholder.h
8129         (sp_knot_holder_add_full): New method
8131         * src/sp-spiral.c: Removed cx, cy attribute,
8132         so we use item matrix for that.
8133         Fixed up debug code.
8135         * src/sp-star.c src/sp-star.h src/star-context.c:
8136         Removed cx, cy attribute
8138 2001-12-29  Mitsuru Oka  <oka326@parkcity.ne.jp>
8140         * src/knotholder.c (knot_moved_handler):
8141         Lauris found a incorrect invert matrix bug. I just fixed it.
8143 2001-12-28  Simos Xenitellis  <simos@hellug.gr>
8145         * configure.in: Added "el" (Greek) to ALL_LINGUAS.
8147 2001-12-28  Lauris Kaplinski  <lauris@localhost.localdomain>
8149         * src/sp-gradient.c: Lot of changes due to class member rearrangement
8150         (sp_gradient_repr_flatten_attributes): New method
8151         (sp_gradient_repr_set_vector): Ditto
8153         * src/sp-gradient.h: Moved gradientUnits and gradientTransform to
8154         base SPGradient class, added ::flatten_attributes virtual method
8156         * src/gradient-chemistry.c (sp_gradient_ensure_vector_normalized): Works
8157         now for lonely gradients as well
8159         * src/desktop-events.c (guide_dialog_apply): Flush undo
8160         (guide_dialog_delete): Ditto
8161         (sp_dt_guide_event): Ditto
8163         * src/widgets/sp-color-selector.c: Added 'rrggbbaa' hex value entry,
8164         use SPColor helpers instead of doing conversions here, added some
8165         generic color methods and renamed/changed signature of old ones.
8167         * src/widgets/sp-color-slider.c (sp_color_slider_paint): Update arrow
8168         the right way
8170         * src/helper/nr-plain-stuff.c (nr_render_rgba32_rgb): Use computed channels
8171         instead of plain color ones
8173         * src/helper/nr-plain-stuff-gdk.c (nr_gdk_draw_rgba32_solid): New method
8175         * src/text-context.c (sp_text_context_setup): Some XIM handling
8176         (sp_text_context_destroy): Ditto
8177         (sp_text_context_root_handler): Ditto
8179         * src/sp-gradient.c: Killed gcc 3 warnings
8181         * src/draw-context.c: Started rewriting of drawing context, added 4-member
8182         path cache (instead of 2 in old version), the goal is to make selection
8183         continuation and pen tool
8185         * src/draw-context.h: New members in class
8187         * src/color.c (sp_color_get_colorspace_class): Broke colorspace descriptor
8188         into class (process | spot) and type (rgb | cmyk), added new methods and
8189         renamed old one accordingly
8190         (sp_color_get_colorspace_type): Ditto
8191         (sp_color_rgb_to_hsv_floatv): Convenience method
8192         (sp_color_hsv_to_rgb_floatv): Ditto
8193         (sp_color_rgb_to_cmyk_floatv): Ditto
8194         (sp_color_cmyk_to_rgb_floatv): Ditto
8196         * src/color.h: New convenience macros and methods
8198         * configure.in (have_bonobo): Made --without-bonobo default
8200         * src/widgets/sp-color-preview.c: New file, implement simple
8201         color preview object, a la the one in Gtk+ color selector
8203         * src/widgets/sp-color-preview.h: New file
8205 2001-12-21  Mitsuru Oka  <oka326@parkcity.ne.jp>
8207         * src/sp-spiral.*, spiral-context.c
8208         (sp_spiral_inner_*, sp_spiral_outer_*, sp_spiral_knot_holder):
8209         Add SPKnotHolder codes
8210         (sp_spiral_set_shape, sp_spiral_fit_and_draw):
8211         Fixed some drawing bugs
8213         * src/dyna-draw-context.*, sp-shape.c, sp-star.c:
8214         Clean up codes
8216 2001-12-15  Lauris Kaplinski  <lauris@ximian.com>
8218         * src/helper/canvas-bpath.h: New file
8220         * src/helper/canvas-bpath.c: New file
8222         * src/helper/Makefile.am (libspchelp_a_SOURCES): Added
8223         canvas-bpath.[c,h]
8225         * src/helper/curve.c (sp_curve_ref): Signature change
8226         (sp_curve_unref): Ditto
8228         * src/display/Makefile.am (nr_sources): Removed stale files
8230         * src/helper/bezier-utils.c (sp_bezier_fit_cubic): Added argument
8231         checks, signature change, cleanup
8232         (sp_bezier_fit_cubic_r): Ditto
8233         (sp_bezier_fit_cubic_full): Ditto
8235         * src/helper/bezier-utils.h: Changed fit method signatures
8237         * src/draw-context.c (fit_and_split): Use new sp_bezier_fit signature
8239         * src/dyna-draw-context.c (fit_and_split_line): Use new sp_bezier_fit
8240         signature
8241         (fit_and_split_caligraphics): Ditto
8243 2001-12-07  Lauris Kaplinski  <lauris@ximian.com>
8245         * src/sodipodi.c (sodipodi_application_new): Catch SIGFPE and SIGILL as well
8247         * src/sp-gradient.c (sp_gradient_write_colors): Skip, if integer stop
8248         values coincide (fixes div 0 bug with gradients)
8250 2001-11-25 Duarte Loreto <happyguy_pt@hotmail.com>
8252         * Added Alvaro Lopes <alvieboy@alvie.com> portuguese translation to configure.in (ALL_LINGUAS)
8254 01-11-19  Lauris Kaplinski  <lauris@ximian.com>
8256         * src/preferences-skeleton.h: Removed '%' from opacity
8258 2001-11-12  Lauris Kaplinski  <lauris@ximian.com>
8260         * src/display/canvas-arena.c (sp_canvas_arena_render): Try to fit
8261         buffer, instead of just using 64x64 rectangles
8263         * src/sp-rect.c: Remove Gtk+ arguments
8265         * src/display/nr-arena-image.c (nr_arena_image_update): Request
8266         rendering previous area
8268 2001-11-11  Lauris Kaplinski  <lauris@ximian.com>
8270         * src/sp-rect.c (sp_rect_write_transform): Scale rx and ry
8271         (sp_rect_menu): Implement
8272         (sp_rect_rect_properties): Implement
8274         * src/dialogs/object-properties.c (sp_object_properties_apply_fill): Use
8275         float value, not percentage
8276         (sp_object_properties_apply_stroke): Ditto
8278         * src/file.c (file_save_ok): Update relative image references
8280         * src/sp-image.c (sp_image_destroy): Unregister resource
8281         (sp_image_build): Register resource
8283         * src/sp-spiral.c (sp_spiral_menu): Implement
8284         (sp_spiral_spiral_properties): Generic attributes dialog
8286 2001-11-10  Lauris Kaplinski  <lauris@ximian.com>
8288         * src/sp-anchor.c (sp_anchor_menu): New method
8289         (sp_anchor_link_properties): Ditto
8290         (sp_anchor_link_follow): Ditto
8291         (sp_anchor_link_remove): Ditto
8293         * src/sp-star.c (sp_star_menu): New method
8294         (sp_star_star_properties): Ditto
8296         * src/sp-item.c (sp_item_create_link): New method
8298         * src/sp-item-group.c (sp_item_group_ungroup): Ungroup anchors too
8300         * src/forward.h: Added SPAnchor
8302         * src/dialogs/sp-attribute-widget.h: New file, implement generic
8303         asynchronous attribute widget, and table of attribute widgets
8305         * src/dialogs/sp-attribute-widget.c: New file
8307         * src/dialogs/object-attributes.h: New file, implement generic
8308         asynchronous object attribute dialog
8310         * src/dialogs/object-attributes.c: New file
8312         * src/display/Makefile.am (INCLUDES): Added SODIPODI_CFLAGS
8314         * src/sp-anchor.c: New file, implement SVG <a> element. Actual event
8315         code is pure experimental and need some serious thinking.
8317         * src/sp-anchor.h: Ditto
8319         * src/svg-view.c (arena_handler): Forward arena events to SPEvents
8321         * src/sp-object-repr.c (sp_object_type_lookup): parse <a> as anchor
8323         * src/sp-item.h: Added ::event virtual method plus some test code
8325         * src/sp-item.c (sp_item_event): New method
8327         * src/desktop.c (sp_desktop_new): Moved drawing behind all other layers
8328         (sp_desktop_document_resized): Resize page frame
8330         * src/helper/sodipodi-ctrlrect.h: More complex structure to represent
8331         page frame as well
8333         * src/helper/sodipodi-ctrlrect.c (sp_ctrlrect_hline): New render method
8334         (sp_ctrlrect_vline): Ditto
8335         (sp_ctrlrect_area): Ditto
8336         (sp_ctrlrect_render): Use more complex structure
8337         (sp_ctrlrect_update): Ditto
8338         (sp_ctrlrect_set_area): New method
8339         (sp_ctrlrect_set_color): Ditto
8340         (sp_ctrlrect_set_shadow): Ditto
8342 2001-11-09  Lauris Kaplinski  <lauris@ximian.com>
8344         * src/display/nr-arena-image.c (nr_arena_image_update): Implemented
8345         explicit geometry
8346         (nr_arena_image_set_geometry): New method
8348         * src/sp-image.c: Implemented "x", "y", "width", "height"
8349         (sp_image_read_attr): Ditto
8350         (sp_image_bbox): Ditto
8351         (sp_image_print): Ditto
8352         (sp_image_show): Ditto
8353         (sp_image_write_transform): Implement
8355         * src/file.c (file_import_ok): Try to load pixbuf and set
8356         "width" and "height" attributes
8358         * src/desktop.c: Some cleanups of View/Widget structure
8360         * src/desktop.h: Ditto
8362         * glade/Makefile.am (images): Added about.svg
8364 2001-11-08  Lauris Kaplinski  <lauris@ximian.com>
8366         * src/svg/svg-affine.c (sp_svg_write_affine): Write scale and
8367         translate, if everything can be represented by these
8369         * src/sp-text.c (sp_text_write_transform): Implement
8371         * src/sp-rect.c (sp_rect_write_transform): Implement
8373         * src/sp-item.c (sp_item_write_transform): New class and virtual
8374         method pair, to allow object to optimize representation (i.e.
8375         rects can set x,y,width,height instead of just transformation
8377         * src/seltrans.c (sp_sel_trans_ungrab): Use sp_item_write_transform
8379         * src/selection-chemistry.c: Use sp_item_write_transform
8381         * src/help.c (sp_help_about): Set title string to "Sodipodi VERSION"
8383         * src/Makefile.am (INCLUDES): Define SODIPODI_VERSION
8385         * src/xml/repr-io.c (repr_write): Avoid newlines in content
8387         * src/view.c: Sorted out lot os signalling stuff
8389         * src/svg-view.c: Lot of work, basically works
8391         * src/sp-root.c (sp_root_modified): Call parent method as well
8393         * src/interface.c (sp_ui_new_view_preview): New method
8394         (sp_create_window): Sort out editable/non-editable views
8396         * src/help.c (sp_help_about): Create about maunally (not much here yet)
8398         * src/desktop.c: Use ::document_resized virtual method
8400 2001-10-31  Lauris Kaplinski  <lauris@ximian.com>
8402         * src/dialogs/text-edit.c (sp_text_read_selection): Use gal
8403         utf8/editable methods
8404         (sp_text_dialog_apply): Ditto
8405         (sp_text_dialog_text_changed): Ditto
8407         * src/sp-text.c (sp_text_set_shape): Use correct utf8 methods
8409         * src/display/nr-arena-image.c (nr_arena_image_class_init): Use
8410         correct parent class
8412 2001-10-31  Mitsuru Oka <oka326@parkcity.ne.jp>
8414         * src/knotholder.c:
8415         Removed unnecessary ref/unref.
8416         Added sp_object_invoke_write_repr() to reflect item changes to repr
8418         * src/sp-object.c: Added new virtual function SPObject::write_repr()
8420         * src/sp-object.h: Ditto
8422         * src/sp-shape.c (sp_shape_write_repr): Added
8424         * src/sp-star.c (sp_star_write_repr): Added.
8425         Moved subclass of SPShape to SPPolygon
8427         * src/star-context.c: Ditto
8429 2001-10-30 Mitsuru Oka <oka326@parkcity.ne.jp>
8431         * src/knotholder.c: New file
8432         We can manage plural SPKnot in one SPKnotHolder.
8433         SPKnotHolder is created by SPItem::knot_holder virtual function.
8434         Moving SPKnot is propageted to another SPKnot.
8435         * src/knotholder.h: Ditto
8437         * src/node-context.c: Added SPKnotHolder
8438         * src/node-context.h: Ditto
8440         * src/sp-item.c: Added knot_holder virtual function.
8441         * src/sp-item.h: Ditto
8443         * src/sp-shape.c: Added set_shape virtual function.
8444         It is used to build bpath from extra shape attributes.
8446         * src/sp-shape.h: Ditto
8448         * src/sp-star.c: Added knot_holder and set_shape implementations.
8449         (sp_star_build_repr): Modified function name.
8450         * src/sp-star.h: Ditto
8452         * src/sp-spiral.c: Added set_shape implementation.
8453         (sp_spiral_build_repr): Modified function name.
8454         * src/sp-spiral.h: Ditto
8456         * src/star-context.c: Modified build_repr function name.
8457         * src/spiral-context.c: Ditto
8459 2001-10-29  Lauris Kaplinski  <lauris@ximian.com>
8461         * src/desktop.c (sp_desktop_coordinate_status): Free allocated memory
8463         * src/display/nr-arena-shape.c (nr_arena_shape_group_add_component): Unref
8464         item once it is added
8466 2001-10-29 Mitsuru Oka <oka326@parkcity.ne.jp>
8468         * src/desktop.c:
8469         Added gtk_object_unref() after *_add_child to fix memory leaks.
8471         * src/document: Ditto
8473         * src/selection-chemistry.c: Ditto
8475         * src/sp-item-group.c: Ditto
8477         * src/sp-clippath.c, src/sp-use.c: Ditto
8478         Missing to add ChangeLog before commiting.
8480 2001-10-23  Mitsuru Oka <oka326@parkcity.ne.jp>
8482         * src/sp-star.*, src/sp-spiral.*, src/star-context.* and
8483         spiral-context.*:
8484         Add SPStar, SPStarContext, SPSpiral and SPSpiralContext classes.
8485         SPStar and SPSpiral behave as new shape and they can convert to
8486         bezier curves. More works are required.
8488         * glade/draw_star.xpm, glade/draw_spiral.xpm, src/pixmaps/cursor-star.xpm,
8489         src/pixmaps/cursor-spiral.xpm:
8490         Add toolbox icon and mouse cursor for star and spiral.
8492         * src/helper/bezier-utils.*:
8493         Add lowlevel APIs and reformat source code.
8495         * src/xml/repr-io.c:
8496         Fix repr_write() to generate more short SVG.
8497         New code support <foo /> tags generation.
8499         * src/xml/repr-util.c, src/xml/repr.*, src/sodipodi.c:
8500         Add new SPRepr APIs sp_repr_lookup_child(), sp_repr_overwrite (),
8501         and sp_repr_document_overwrite ()
8502         Now, we can merge ~/.sodipodi/preferences into preferences_skeleton.
8504 2001-10-23  Lauris Kaplinski  <lauris@ximian.com>
8506         * src/file.c (sp_file_new): Use new signatures
8507         (file_open_ok): Ditto
8509         * src/interface.c (sp_create_window): New signature
8511         * src/desktop.c: Break desktop functionality into SPView/SPViewWidget
8512         parts, wrap most of the old code in ugly way, but we can go on
8513         cleaning it up method-by-method
8515         * src/desktop.h: Ditto
8517         * src/view.h: New file
8519         * src/view.c: New file, we implement abstract base classes for
8520         all document views (editable, noneditable, widget, non-widget)
8521         here
8523         * src/svg-view.h: New file
8525         * src/svg-view.c: New file, implementing SVG preview
8527         * src/marshal.h: New file
8529         * src/marshal.c: New file
8531 2001-10-20  Lauris Kaplinski  <lauris@ximian.com>
8533         * src/sp-root.c (sp_root_read_attr): Removed desktop->document coordinate
8534         setup from here - it has to be done in desktop instead
8536 2001-10-19  Frank Felfe <innerspace@iname.com>
8538         * src/widgets/sp-toolbox.*: patch from MenTaLguY <mental@rydia.net>
8539         change seperate button into toggle button and add arrow to 
8540         hide button indicating state of toolbox
8542         * src/path-chemistry.c (sp_selected_path_to_curves): apply to all paths in selection
8544         * src/selection-chemistry.c (sp_selection_delete): remove widget text
8546         * src/desktop.c (sp_desktop_set_focus): make canvas catch key events
8548         * src/desktop-events.c (sp_desktop_root_handler): don't grab focus here
8550 2001-10-18  Lauris Kaplinski  <lauris@ximian.com>
8552         * src/display/nr-arena-image.c (nr_arena_image_render): Use right
8553         pixel coposers
8555         * configure.in: Version 0.25
8557 2001-10-18  Lauris Kaplinski  <lauris@ximian.com>
8559         * src/sp-item-group.c: Removed paint virtual method implementation
8561         * src/sp-image.c: Ditto
8563         * src/sp-shape.c: Ditto
8565         * src/sp-use.c: Ditto
8567         * src/sp-item.c (sp_item_paint): Ported to NRArena/::show()
8569         * src/sp-item.h: Removed ::paint()
8571         * samples: Removed extra sample files (these are in clipart distribution)
8573 2001-10-17  Lauris Kaplinski  <lauris@ximian.com>
8575         * src/display/nr-arena*: Merged NR_ARENA branch into HEAD.
8576         NRArena is new experimental display list engine, that replaces
8577         most canvas stuff for SVG items (old canvas code is still
8578         used for controls etc.).
8579         It is less integrated with Gtk widgetry, and should also allow reuse
8580         of code for paint-server type things (patterns, symbols etc.).
8581         NRArena rendering also allows higher-level graphic stuff, from
8582         masking to filters, to be implemented.
8584 2001-10-13  Mitsuru Oka <oka326@parkcity.ne.jp>
8586         * src/dynadraw-context.c: Removed rotating brush bug
8588         * src/draw-context.h: Removed duplicate bezier-fitting code
8590 2001-10-12  Lauris Kaplinski  <lauris@ximian.com>
8592         * src/sp-clippath.c: New file
8594         * src/sp-clippath.h: New file
8596         * src/sp-object-group.c (sp_objectgroup_build): Check child type
8597         (sp_objectgroup_child_added): Ditto
8599         * src/sp-object-group.h: Removed useless 'tranparent' member
8601 2001-10-07  Lauris Kaplinski  <lauris@ximian.com>
8603         * src/display/nr-primitives.c (nr_irect_union): New method
8605         * src/helper/nr-buffers.h: New file
8607         * src/helper/nr-buffers.c: New file
8609         * src/helper/nr-plain-stuff.c (nr_render_rgba32_rgba32): New method
8611 2001-10-06  Lauris Kaplinski  <lauris@ximian.com>
8613         * src/sp-item.c (sp_item_read_attr): Query presentation attributes
8615         * src/style.c (sp_style_read_from_object): Added some presentation attributes
8617 2001-10-05  Lauris Kaplinski  <lauris@ximian.com>
8619         * src/sp-use.c (sp_use_build): Reinclude, change 'href' to 'xlink:href'
8621         * src/sp-object.c (sp_object_style_changed): Use SP_OBJECT_MODIFIED_FLAG
8623         * src/document.c (sp_document_new): Force "height" and "width" attributes,
8624         if not present already
8625         (sp_document_new_from_mem): Ditto
8627 2001-10-04  Lauris Kaplinski  <lauris@ximian.com>
8629         * src/xml/repr-io.c (sp_repr_save_stream): Correct header
8631 2001-10-02  Peter Moulder <pmoulder@csse.monash.edu.au>
8633         * src/xml/repr-io.c (repr_quote_write): New method, quotes
8634         special chars correctly for xml
8635         (repr_write): Use repr_quote_write
8637 2001-10-02  Lauris Kaplinski  <lauris@ximian.com>
8639         * src/dyna-draw-context.c: Stroking by Mitsuru Oka
8641         * src/helper/bezier-utils.h: New file by Motsuru oka
8643         * src/helper/bezier-utils.c: Ditto
8645         * src/sp-shape.c (sp_shape_print): Translate gradients the right way
8647 2001-10-01  Lauris Kaplinski  <lauris@ximian.com>
8649         * src/sp-shape.c (sp_shape_print): Use rule for clip and fill
8650         (sp_shape_paint): Use winding rule
8652 2001-09-30  Lauris Kaplinski  <lauris@ximian.com>
8654         * src/style.c (sp_style_write_string): Write rule
8655         (sp_style_read_from_string): Parse rule
8657         * src/style.h: Made rule libart enum
8659         * src/display/path-archetype.c (sp_path_at): Search by rule
8660         (sp_path_at_new): Rewind with rule
8661         (sp_pat_equal): Compare rules
8663         * src/display/path-archetype.h: Added rule argument
8665         * src/display/cpath-component.c (sp_cpath_comp_new): Init rule
8666         (sp_cpath_comp_update): Use rule
8667         (sp_cpath_comp_change): Ditto
8669         * src/display/cpath-component.h: Added rule member
8671         * src/display/canvas-shape.c (sp_canvas_shape_update): Set fill rule
8673 2001-09-29  Lauris Kaplinski  <lauris@ximian.com>
8675         * src/selection-chemistry.c (sp_selection_lower_to_bottom): Do not lower
8676         behind non-items (i.e. base <defs> object)
8677         (sp_selection_lower): Ditto
8679         * configure.in: Version 0.24.1
8681         * src/document.c (sp_document_new): Set xmlns:xlink
8682         (sp_document_new_from_mem): Ditto
8684         * src/sp-defs.c (sp_defs_destroy): Correct list emptying
8686         * src/dialogs/gradient-selector.c (sp_gradient_selector_add_vector_clicked): unref repr
8688         * src/gradient-chemistry.c (sp_object_ensure_fill_gradient_normalized): unref repr
8690         * src/helper/art-utils.c (art_rgb_run_rgba): Fix 255/256 bug
8692         * src/display/canvas-shape.c (sp_canvas_shape_render): Removed #ifdef 0 code
8694         * src/widgets/gradient-image.c (sp_gradient_image_expose): Draw grabage
8695         using fresh new nr functions
8696         (sp_gradient_image_update): Ditto (not used)
8698         * src/helper/nr-plain-stuff.h: New file
8700         * src/helper/nr-plain-stuff.c: New file
8702         * src/helper/nr-plain-stuff-gdk.h: New file
8704         * src/helper/nr-plain-stuff-gdk.c: New file
8706 2001-09-27  Lauris Kaplinski  <lauris@ximian.com>
8708         * src/dialogs/object-properties.c (sp_object_properties_dialog): Create
8709         dynamic fill page
8711         * src/sp-shape.c (sp_shape_print): Print gradients (somewhat)
8712         (sp_shape_paint): Paint gradients (somewhat)
8714         * src/document.c (sp_document_new_from_mem): Use fresh namespace
8716         * src/xml/repr-io.c (sp_repr_save_stream): Write fresher descriptor
8718         * src/widgets/gradient-position.c: New file and widget
8720         * src/widgets/gradient-position.h: New file and widget
8722         * src/dialogs/gradient-selector.c (sp_gradient_widget_new): Make
8723         delete vector inactive, shorter button names, create gradient
8724         positioning widget
8725         (sp_gradient_selector_load_selection): Update positioning widget
8726         (sp_gradient_selection_position_dragged): Implement
8727         (sp_gradient_selection_position_changed): Implement
8729         * src/sodipodi.c (sodipodi_segv_handler): Abort on recursion
8731 2001-09-26  Lauris Kaplinski  <lauris@ximian.com>
8733         * src/sp-text.c (sp_text_read_attr): Use unit-loading method for x & y
8735 2001-09-25  Christopher R. Gabriel  <cgabriel@cgabriel.org>
8737         * sodipodi.1.in: new man page
8738         * configure.in: Likewise
8739         * Makefile.am (man_MANS): Likewise
8741 2001-09-24 Frank Felfe <innerspace@iname.com>
8743         * src/helper/sodipodi-ctrl.*: New ctrl-shapes
8745         * src/knot.*: Ditto
8747         * src/pixmaps/cursor-node-d.xpm: New file
8749         * src/pixmaps/cursor-node-m.xpm: New file
8751         * src/pixmaps/cursor-select-d.xpm: New file
8753         * src/pixmaps/cursor-select-m.xpm: New file
8755         * src/pixmaps/handles.xpm: New file
8757         * src/sp-cursor.* (sp_cursor_new_from_xpm): New function
8759         * src/seltrans.c: Use new ctrl-shapes and cursors
8761         * src/seltrans-handles.*: Use new ctrl-shapes 
8763         * src/select-context.c (sp_node_context_class_init): Init cursors and handle pix
8765         * src/nodepath.* (node_event): Redirect key events
8766         (node_key): New key handler
8767         (sp_node_selected_break): Handle first and last node
8768         (node_ctrl_moved): Update ctrlline after setting coords
8769         (sp_nodepath_node_new): Use new ctrl-shapes and cursors
8771         * src/node-context.c (sp_node_context_class_init): Init cursors
8773 2001-09-22  Mitsuru Oka <oka326@parkcity.ne.jp>
8775         * src/dynadraw-context.c: New file
8777         * src/dynadraw-context.h: New file
8779         * src/event-context.c (sp_event_context_set_dynahand): New handler
8781 2001-09-21  Lauris Kaplinski  <lauris@ximian.com>
8783         * src/svg/svg-path.c: Quick port of latest librsvg path code
8785 2001-09-19  Lauris Kaplinski  <lauris@ximian.com>
8787         * src/document.c (sp_document_destroy): Remove document
8788         (sp_document_new): Add document
8789         (sp_document_new_from_mem): Ditto
8791         * src/sodipodi.c (sodpodi_remove_document): New method
8792         (sodpodi_add_document): Ditto
8793         (sodipodi_segv_handler): Not very intelligent signal handler
8795 2001-09-18  Lauris Kaplinski  <lauris@ximian.com>
8797         * src/dialogs/gradient-selector.c (sp_gradient_selector_add_vector_clicked): 
8798         New handler
8799         (sp_gradient_selector_delete_vector_clicked): Ditto (empty)
8800         (sp_gradient_selector_load_selection): New method
8802         * src/desktop.c (sp_desktop_init): Typo fix
8804 2001-09-17  Lauris Kaplinski  <lauris@ximian.com>
8806         * src/dialogs/gradient-vector.c (sp_gradient_vector_widget_destroy): Handler
8807         (sp_gradient_vector_gradient_destroy): Ditto
8808         (sp_gradient_vector_gradient_modified): Ditto
8809         (sp_gradient_vector_color_dragged): Ditto
8810         (sp_gradient_vector_color_changed): Ditto
8811         (sp_gradient_vector_widget_load_gradient): Connect/disconnect signals,
8812         handle NULL gradient etc.
8814         * src/sp-gradient.c (sp_gradient_set_vector): New method
8816         * src/widgets/gradient-image.c (sp_gradient_image_update): New method
8817         (sp_gradient_image_gradient_modified): Handler
8818         (sp_gradient_image_gradient_destroy): Ditto
8819         (sp_gradient_image_set_gradient): New method
8820         (sp_gradient_image_unrealize): Implement
8821         (sp_gradient_image_realize): Ditto
8823 2001-09-16  Lauris Kaplinski  <lauris@ximian.com>
8825         * src/dialogs/gradient-selector.c (sp_gradient_widget_new): Added buttons
8826         (sp_gradient_selector_edit_vector_clicked): Handler
8828         * src/sp-defs.c (sp_defs_build): Use attach method
8830 2001-09-15  Lauris Kaplinski  <lauris@ximian.com>
8832         * src/sp-gradient.c: Added radial gradient
8834         * src/sp-gradient.h: Ditto
8836         * src/sp-paint-server.c (sp_paint_server_destroy): Do not leak painters
8838         * src/gradient-chemistry.c (sp_gradient_ensure_vector_normalized): New method
8839         (sp_item_force_fill_lineargradient_vector): Ditto
8841         * src/sp-object.h (SP_OBJECT_STYLE): New macro
8843 2001-09-14  Lauris Kaplinski  <lauris@ximian.com>
8845         * src/zoom-context.c (sp_zoom_2_to_1): Noop if no active desktop
8846         (sp_zoom_1_to_2): Ditto
8848 2001-09-07  Lauris Kaplinski  <lauris@ximian.com>
8850         * src/sp-header.c: New file, implements document header, consisting
8851         of nested <defs> nodes, for different resource definitions
8853         * src/sp-header.h: New file
8855         * src/forward.h: Added SPHeader forward typedefs
8857 2001-09-05  Lauris Kaplinski  <lauris@ximian.com>
8859         * src/document.c (sp_document_del_repr): Moved here, commented out
8860         (sp_document_add_repr): Moved here, made non-item compatible
8862         * src/style.c (sp_style_object_destroyed): Catcher method
8863         (sp_style_new): Signature change
8864         (sp_style_ref): Ditto
8865         (sp_style_unref): Ditto
8867         * src/sp-paint-server.c (sp_paint_server_destroy): Removed insane
8868         paint server referencing by painters and replaced it witw (a bit)
8869         less insane stale painter maintenance
8870         (sp_paint_server_painter_new): Ditto
8871         (sp_paint_server_painter_free): Ditto
8872         (sp_painter_free): Ditto
8873         (sp_painter_stale_fill): Ditto
8875         * src/sp-object.c (sp_object_invoke_build): Added verbose error
8877         * src/style.c (sp_style_paint_server_destroy): Implemented signal-based
8878         paintserver spying, instead of hardrefing it
8879         (sp_style_paint_server_changed): Ditto
8880         (sp_style_merge_paint): Ditto
8882         * src/sp-object.c (sp_object_ref): Wrapper method for debugging
8883         (sp_object_unref): Ditto
8884         (sp_object_attach_reref): Convenience connect method
8885         (sp_object_detach_unref): Ditto
8887 2001-09-04  Lauris Kaplinski  <lauris@ximian.com>
8889         * src/sp-shape.c (sp_shape_print): Do not fill open paths
8891         * src/document.c (sp_document_add_resource): Implemented simple
8892         named resource lists
8893         (sp_document_remove_resource): Ditto
8894         (sp_document_get_resource_list): Ditto
8896 2001-09-03  Lauris Kaplinski  <lauris@ximian.com>
8898         * src/sp-gradient.c: Added middle SPGradient class and morphed
8899         LinearGradient accordingly
8901         * src/sp-gradient.h: Added middle SPGradient Class
8903         * src/forward.h: Declare stops and gradients here
8905         * src/dialogs/gradient-vector.c: New file
8907         * src/dialogs/gradient-vector.h: New file
8909         * src/bonobo/embeddable-document.c (sp_embeddable_document_ps_save):
8910         Kill warning
8912         * src/select-context.c: Kill warning
8914 2001-08-31  Lauris Kaplinski  <lauris@ximian.com>
8916         * src/forward.h: typedef SPDefs[Class] here
8918         * src/sp-root.h: Added pointer to root-level <defs> node
8920         * src/sp-gradient.c (sp_stop_get_type): Fixed type on type init
8922 2001-08-30  Lauris Kaplinski  <lauris@ximian.com>
8924         * src/document.c (sp_document_new): Use fill-opacity 0.5, not 50%
8926 2001-08-21  Lauris Kaplinski  <lauris@ximian.com>
8928         * src/dialogs/fill-style.c: Implement CMYK/RGB colorspace switching
8930         * src/widgets/sp-color-selector.c: Implement CMYK read/set methods
8932         * src/widgets/sp-color-slider.c (sp_color_slider_adjustment_value_changed): Set
8933         local value, even if arrow is not visible
8935         * src/color.c: New file
8937         * src/color.h: New file
8939         * src/sp-item.c (sp_item_read_attr): Check for "fill-cmyk"
8941         * src/style.c (sp_style_read_from_object): Parse "fill-cmyk" (quick hack)
8943 2001-08-20  Lauris Kaplinski  <lauris@ximian.com>
8945         * src/svg/svg-path.c (svg_parse_path_data): Kill warning
8947         * src/widgets/sp-color-selector.c: New file & class
8949         * src/widgets/sp-color-slider.c: New file & class
8951         * src/sp-object.c (sp_object_style_changed): New virtual method
8953 2001-08-13  Lauris Kaplinski  <lauris@ximian.com>
8955         * src/selection-chemistry.c (sp_selection_copy): Use prepend/reverse
8956         (sp_item_compare_order): New method
8957         (sp_item_list_sort_by_visual_order): New method
8959         * src/sp-path.c (sp_path_read_attr): Req modification
8961         * src/sp-item.c (sp_item_toggle_sensitivity): Call document::done
8962         (sp_item_reset_transformation): Ditto
8963         (sp_item_read_attr): Request modifiaction for style change
8965         * src/sp-object.h (SP_OBJECT_PARENT): Added convenience macros
8967 2001-08-01  Lauris Kaplinski  <lauris@ximian.com>
8969         * src/document-undo.c (sp_document_undo): Fresh logic
8970         (sp_document_redo): Ditto
8971         (sp_document_child_added): Real listener
8972         (sp_document_child_removed): Ditto
8973         (sp_document_attr_changed): Ditto
8974         (sp_document_content_changed): Ditto
8975         (sp_document_order_changed): Ditto
8976         (sp_document_add_repr): Fresh logic, use only as wrapper
8977         (sp_document_del_repr): Ditto
8978         (sp_document_clear_undo): Use new logic, free actions at last
8979         (sp_document_clear_redo): Ditto
8980         (sp_action_list_undo): New functions, plus handful children
8981         (sp_action_list_redo): Ditto
8982         (sp_action_new): New function
8983         (sp_action_free): Ditto
8984         (sp_action_free_list): Ditto
8986 2001-07-31  Lauris Kaplinski  <lauris@ximian.com>
8988         * src/xml/repr.c (sp_repr_ref): Return referenced repr
8989         (sp_repr_unref): Ditto
8990         (sp_repr_duplicate): Cleanup
8991         (sp_repr_set_content): Ditto, new handler signatures
8993         * src/xml/repr-private.h: Lot of signature changes
8995 2001-07-30  Lauris Kaplinski  <lauris@ximian.com>
8997         * src/sp-item-group.c: #include <config.h> for i18n
8999         * src/sp-item.c: Ditto
9001         * src/event-context.c: Ditto
9003         * src/toolbox.c: Ditto
9005 2001-07-25  Lauris Kaplinski  <lauris@ximian.com>
9007         * src/document-undo.c (sp_document_maybe_done): New function
9009 2001-07-19  Lauris Kaplinski  <lauris@ximian.com>
9011         * src/dialogs/sp-widget.c (sp_widget_modify_selection): New function
9012         (sp_widget_show): Connect "modify_selection"
9013         (sp_widget_hide): Disconnect by data
9014         (sp_widget_new): New function
9015         (sp_widget_class_init): Added signals
9016         (sp_widget_change_selection): Emit signal
9017         (sp_widget_set_selection): Ditto
9019         * src/sodipodi.c (sodipodi_selection_modified): New function
9020         (sodipodi_class_init): Added "modify_selection" signal
9022         * src/selection.c (sp_selection_idle_handler): Signal sodipodi
9024         * src/document.c (sp_document_class_init): Added "modified" signal
9025         (sp_document_idle_handler): Emit modified signal
9027         * src/seltrans.c (sp_sel_trans_sel_modified): New function
9029         * src/sp-item.c (sp_item_set_item_transform): New function
9031         * src/sp-object.c (sp_object_class_init): Add "modified" signal
9032         (sp_object_request_modified): New function
9033         (sp_object_modified): New base method
9035         * src/sp-object.h (SP_OBJECT_UNSET_FLAGS): Added modifiaction state flags
9036         and handlers for scheduling and emitting modifiaction signal
9038         * src/selection.c (sp_selection_class_init): Added "modified" signal
9039         (sp_selection_destroy): Remove pending idle, if present
9040         (sp_selection_selected_item_modified): Added handler for object signal
9041         (sp_selection_idle_handler): Emit our own modified signal in idle loop
9043         * src/selection.h: Added idle id and ::modified virtual member
9045 2001-07-17  Lauris Kaplinski  <lauris@ximian.com>
9047         * src/sp-namedview.c (sp_namedview_get_name): Initialize exception
9049         * src/sp-item-group.c (sp_item_group_ungroup_activate): New function
9050         (sp_item_group_ungroup): Implement this
9052         * src/sp-item.c (sp_item_select_this): New function
9053         (sp_item_private_menu): Added "Select this"
9054         (sp_item_properties): Select item
9056         * src/desktop.c (sp_desktop_menu_popup): Use new signature
9058         * src/event-context.c (sp_event_root_menu_popup): Use desktop
9059         in signature instead of widget
9061         * src/sp-object.c (sp_object_getAttribute): Return NULL, if
9062         exception is not clear
9063         (sp_object_setAttribute): Ditto
9064         (sp_object_removeAttribute): Ditto
9066 2001-07-08  Lauris Kaplinski  <lauris@ximian.com>
9068         * src/xml/repr-io.c (sp_repr_svg_read_node): Preserve namespaces for
9069         everything but "svg"
9071 2001-07-07  F.J.Franklin  <F.J.Franklin@sheffield.ac.uk>
9073         * src/svg/svg-color.c (sp_svg_read_color): Accept ';' as
9074         terminator
9076         * src/sp_image.c (sp_image_repr_read_dataURI): New function
9077         (sp_image_repr_read_b64): New function
9078         (sp_image_read_attr): Accept embedded data
9080         * configure.in: Added --with-libwmf switch
9082         * src/xml/repr-io.c (sp_repr_read_file): Read *.wmf using libwmf
9083         (sp_wmf_convert): New function
9084         (sp_wmf_image_name): New function
9086 2001-07-07  Frank Felfe  <innerspace@iname.com>
9088         * src/desktop.h: Added number field
9090         * src/desktop.c (sp_desktop_new): Initialize number from
9091         namedview viewcount
9092         (sp_desktop_set_title): Compose name from uri, nameview and number
9094         * src/document.c (sp_document_set_uri): New method
9096         * src/file.c (file_save_ok): Set ducument uri
9098         * src/interface.c (sp_create_window): Set desktop title
9100         * src/select-context.c (sp_select_context_root_handler): Added
9101         backward cycling
9103         * src/selection-chemistry.c (sp_selection_item_next): Cleared
9104         list mess
9105         (sp_selection_item_prev): New function
9107         * src/sp-item-group.c (sp_item_group_item_list): New function
9109         * src/sp-namedview.h: Added viewcount field
9111         * src/sp-namedview.c (sp_namedview_get_name): New method
9113         * doc/keybindings.txt: Added Shift-Tab
9115 2001-06-07  Lauris Kaplinski  <lauris@ximian.com>
9117         * configure.in: Version 0.24
9119         * src/sp-item.c (sp_item_read_attr): Quick noscale hack
9120         for style stroke widths
9122         * src/display/canvas-shape.c (sp_canvas_shape_update): Use
9123         stroke_width as well ;)
9125 2001-05-24  Lauris Kaplinski  <lauris@ximian.com>
9127         * src/seltrans-handles.*: Make structs const
9129         * src/seltrans.*: Make view type variable, move it to
9130         header for adding GUI later
9132 2001-05-23  Frank Felfe  <innerspace@iname.com>
9134         * src/desktop-snap.*: Implement circualr and list snapping
9136         * src/sp-item.*: New virtual function ::snappoints()
9138         * src/seltrans.c: New structure
9140         * src/sp-rect.c (sp_rect_snappointss): Implement
9142         * src/sp-ellipse.c (sp_ellipse_snappoints): Ditto
9144         * src/sp-text.c (sp_text_snappoints): Ditto
9146         * src/sp-image.c (sp_image_snappoints): Ditto
9148 2001-05-18  Lauris Kaplinski  <lauris@ximian.com>
9150         * configure.in: Version 0.23 final
9152         * src/sp-gradient.c (sp_lg_fill): Do opacity
9154         * src/document-undo.c (sp_document_redo): Fixed bug in redoing
9155         order changes
9157 2001-05-17  Lauris Kaplinski  <lauris@ximian.com>
9159         * src/toolbox.c (sp_maintoolbox_create): Show toolbox, if
9160         it already exists and reference sodipodi
9161         (sp_maintoolbox_close): Hide toolbox
9163         * glade/Makefile.am (glade_DATA): Added item.glade, item.c
9165         * configure.in: Version 0.23
9167         * src/dialogs/display-settings.h: New file
9169         * glade/Makefile.am (glade_DATA): Added display.glade, display.c
9171 2001-05-06  Lauris Kaplinski  <lauris@ximian.com>
9173         * configure.in (use_arena): Added with-arena flag
9175         * acconfig.h: Added ARENA
9177 2001-04-16  Jesus Bravo Alvarez  <jba@pobox.com>
9179         * configure.in: Added gl (Galician) to ALL_LINGUAS
9181 2001-04-14  Lauris Kaplinski  <lauris@ximian.com>
9183         * everywhere (TM): Changed the basic structure of Reprs (they are
9184         not GtkObjects any more) and SPObjects (they have own list sequence
9185         instead of using GLists)
9187 2001-04-06  Lauris Kaplinski  <lauris@ximian.com>
9189         * src/sp-item-group.c (sp_item_group_ungroup): New method
9191         * src/draw-context.c (set_to_accumulated): Transform path instead of
9192         setting initial transform, so clear transform does not do interesting
9193         things for freehand curves ;-)
9195 2001-04-04  Lauris Kaplinski  <lauris@ximian.com>
9197         * src/file.c (sp_file_open): Do not connect "delete_event"
9198         (sp_file_save_as): Ditto
9199         (sp_file_import): Ditto, do not use static widget pointer
9200         (sp_file_export): Ditto
9201         (sp_file_save_document): Clear "modified" attribute
9202         (file_save_ok): Ditto
9204         * src/svg/svg.h: #include glib.h instead of full gtk.h
9206         * src/svg/svg-stroke.c: #include string.h, kill warning
9208         * src/svg/svg-font.c: Ditto
9210         * src/sp-shape-style.c: Ditto
9212         * src/sp-metrics.h: #include gtkruler.h intead of full gtk.h
9214         * src/zoom-context.c (sp_zoom_page): Get document from desktop
9215         instead of using ACTIVE_DOCUMENT
9217         * src/slide-context.c: New file, implement slideshow context
9219         * src/main.c (main): Create slideshow, if requested
9221 2001-03-22  Lauris Kaplinski  <lauris@ximian.com>
9223         * src/svg/Makefile.am (INCLUDES): Add SODIPODI_CFLAGS
9225 2001-03-21  Lauris Kaplinski  <lauris@ximian.com>
9227         * src/sodipodi.h: Remove Sodipodi typedef
9229         * src/forward.h: Typedef Sodipodi here
9231         * src/dialogs/sp-widget.c: New file
9233         * src/dialogs/sp-widget.h: New file, implement abstract base class for
9234         configuration widgets
9236         * glade/Makefile.am (pixmaps): Added guide_dialog.png
9238         * src/dialogs/document-properties.c (sp_document_dialog_delete): New function, or
9239         we crash if user closes dialog
9241         * src/dialogs/desktop-properties.c (sp_desktop_dialog_delete): New function, or
9242         we crash if user closes window
9244         * src/draw-context.c (sp_draw_context_root_handler): Do not crash for zero
9245         length lines PLEEAAAASSSSEEEEE!
9247         * src/selection-chemistry.c (sp_selection_group): Use copy/del/add to make
9248         undo system happy
9250 2001-03-20  Frank Felfe  <innerspace@iname.com>
9252         * src/nodepath.c (node_ctrl_moved) : set coorinate status
9254         * src/seltrans.c (sp_sel_trans_handle_new_event) : set coordinate status
9256         * src/sp-guide.* : new functions sp_guide_set, sp_guide_remove
9258         * src/helper/unit-menu.h : add abbreviation string into unitdesc
9260         * src/event-context.c (set_event_location) : set coordinate status
9261         popup desktop-properties on double click
9263         * src/desktop.* : new functions for statusbars
9264         (sp_desktop_indicator_*) : make indicator only show when decorations are visible
9266         * src/desktop-events.* : new guideline dialog
9267         small changes in sp_dt_ruler_event, sp_dt_guide_event
9269         * src/*_context.c (sp_*_context_root_handler) : make desktop->acetate
9270         grab mouse events during drawing
9272         * glade/guide_dialog.png: New file
9274 2001-03-20  Lauris Kaplinski  <lauris@ximian.com>
9276         * src/sp-item-group.c (sp_group_menu): Add "Ungroup" item (does nothing at moment)
9278         * src/display/canvas-bgroup.c (sp_canvas_bgroup_point): Test sensitivity and stickyness
9279         (sp_canvas_bgroup_set_sensitive): New function
9281         * src/display/canvas-shape.c (sp_canvas_shape_point): Test sensitivity and stickyness
9282         (sp_canvas_shape_set_sensitive): New function
9284         * src/sp-item-group.c (sp_group_read_attr): Read "insensitive" too
9286         * src/sp-shape.c (sp_shape_read_attr): Read "insensitive" too
9288         * src/sp-item.c (sp_item_private_menu): Set menuitem label depending on sensibility
9290         * src/desktop.c (sp_desktop_init): Bind "event" to manipulate sticky state
9292         * src/display/canvas-image.c (sp_canvas_image_point): Check for
9293         SP_CANVAS_STICKY_FLAG
9295         * src/desktop.c (sp_desktop_event): New function, Set SP_CANVAS_STICKY_FLAG if
9296         user holds Shift key
9298 2001-03-09  Lauris Kaplinski  <lauris@ximian.com>
9300         * glade/Makefile.am (pixmaps): Added all pixmaps to dist
9302         * configure.in: Version 0.22
9304 2001-03-09  Frank Felfe  <innerspace@iname.com>
9306         * src/desktop.c (sp_desktop_update_scrollbars): Cleanup
9308         * src/event-context.c (sp_event_context_private_root_handler): Use
9309         Gdk keysyms instead of numeric values. Add moving/panning keybindings,
9310         space for root menu popup
9311         (sp_event_root_menu_popup): Pop menu on space
9313         * select-context.c (sp_select_context_root_handler): Use Gdk keysyms
9314         instead of numeric values
9316         * selection-chemistry.c (sp_selection_move_screen): New function
9317         (sp_selection_item_next): New function
9319         * doc/keybingings.txt: New keybingings
9321 2001-03-09  Lauris Kaplinski  <lauris@ximian.com>
9323         * src/nodepath.c (node_event): Update repr after deletion
9325         * src/file.c (file_open_ok): Destroy widget instead of hiding
9326         (file_open_cancel): New function
9327         (sp_file_open): Connect new cancel handler
9328         (file_save_ok): Exit from private main loop
9329         (file_save_cancel): New function
9330         (sp_file_save_as): Connect new cancel handler, enter private loop
9331         (file_import_cancel): New function
9332         (sp_file_import): Connect new cancel handler
9333         (file_export_cancel): New function
9334         (sp_file_export): Connect new cancel handler
9336 2001-03-08  Lauris Kaplinski  <lauris@ximian.com>
9338         * src/interface.c (sp_ui_delete): New function presenting close
9339         dialog box if needed
9340         (sp_ui_close_view): Use sp_ui_delete ()
9341         (sp_create_window): Connect "delete_event" and set window title
9343         * src/file.c (sp_file_save_document): New function
9345         * src/document-undo.c (sp_document_done):  Set "modified" attribute
9347         * src/file.c (file_save_ok): Clear "modified" attribute
9349 2001-03-07  Lauris Kaplinski  <lauris@ximian.com>
9351         * doc/keybindings.txt: Register node editing keystrokes
9353         * src/desktop.c (sp_desktop_new): Do not grab focus here
9355         * src/helper/sodipodi-ctrl.c: Added shape argument type
9356         (sp_ctrl_class_init): Ditto
9357         (sp_ctrl_init): Ditto
9358         (sp_ctrl_set_arg): Ditto
9359         (sp_ctrl_update): New logic, keep node absolute size always odd number
9360         (sp_ctrl_point): Ditto
9361         (draw_line): New function
9362         (draw_point): New function
9363         (sp_ctrl_render): New logic, draw diamond shape
9365         * src/desktop-events.c (sp_desktop_root_handler): Grab focus on
9366         acetate enter notify
9368         * src/knot.c (sp_knot_set_arg): Set shape attribute
9369         (sp_knot_handler): Grab focus on enter notify
9370         (sp_knot_update_ctrl): Set shape
9371         (sp_knot_set_ctrl_state): New function
9373         * src/node-context.c (sp_node_context_root_handler): Process keypresses
9375         * src/nodepath.c (sp_nodepath_node_new): Connect "event" and set knot shape
9376         (node_clicked): Toggle type on Ctrl-click
9377         (node_event): New signal handler for keypresses
9378         (sp_nodepath_set_node_type): Set knot shape
9380 2001-02-21  Michael Meeks  <michael@ximian.com>
9382         * configure.in: depend on Bonobo >= 0.37.
9384 2001-02-21  Lauris Kaplinski  <lauris@ximian.com>
9386         * configure.in: Commented out GNOME_PRINT_CHECK
9388 2001-02-19  Lauris Kaplinski  <lauris@ximian.com>
9390         * src/desktop.c (sp_desktop_connect_item): New function
9392         * src/sp-item.c (sp_item_view_new_prepend): View list management
9393         (sp_item_view_list_remove): Ditto
9395         * src/sp-item.h: SPItemView - new object encapsulating view. I also induced
9396         changes in almost all source files
9398         * src/sp-item-group.h: New file
9400         * src/bonobo/embeddable-drawing.c (sp_embeddable_drawing_get_type):
9401         Use new bonobo object stuff
9402         (sp_embeddable_drawing_factory): Ditto
9404         * src/bonobo/embeddable-desktop.c (sp_embeddable_desktop_get_type):
9405         Use new bonobo object stuff
9406         (sp_embeddable_desktop_factory): Ditto
9408         * src/bonobo/embeddable-document.c (sp_embeddable_document_get_type):
9409         Use new bonobo object stuff
9410         (sp_embeddable_document_new): Ditto
9412 2001-02-17  Lauris Kaplinski  <lauris@ximian.com>
9414         * src/sp-object.c (sp_object_getAttribute): New function
9415         (sp_object_setAttribute): New function
9416         (sp_object_removeAttribute): New function
9418 2001-02-11  Lauris Kaplinski  <lauris@ximian.com>
9420         * configure.in: Added es to ALL_LINGUAS
9422 2001-02-07  Lauris Kaplinski  <lauris@ximian.com>
9424         * src/dialogs/object-properties.c: Added channel sliders
9425         * glade/object_props.glade: Ditto
9426         * samples/mangatips6.svg: New file
9427         * samples/mangatips7.svg: New file
9428         * samples/mangatips8.svg: New file
9429         * samples/mangatips9.svg: New file
9430         * samples/mangatips10.svg: New file
9432 2001-02-06  Lauris Kaplinski  <lauris@ximian.com>
9434         * samples/mangatips3.svg: New file
9435         * samples/mangatips4.svg: New file
9436         * samples/mangatips5.svg: New file
9438 2001-01-29  Fatih Demir <kabalak@gmx.net>
9440         * src/widgets/.cvsignore: Added this.
9442 2001-01-26  Lauris Kaplinski  <lauris@ximian.com>
9444         * configure.in: Version 0.21
9446 2001-01-24  Lauris Kaplinski  <lauris@ximian.com>
9448         * src/document-undo.c (sp_document_add_repr): Do not expect repr
9449         always correspond to item
9451         * src/toolbox.c (sp_maintoolbox_create): Save edit/undo/redo widgets
9452         (sp_update_draw_toolbox): Unsensitize undo/redo for draw and node
9453         contexts
9455 2001-01-09  Lauris Kaplinski  <lauris@ximian.com>
9457         * src/desktop (sp_desktop_change_document): Update namedviews aslo
9459 2001-01-09  Lauris Kaplinski  <lauris@ximian.com>
9461         * samples/mangatips1.svg: New file
9462         * samples/mangatips2.svg: New file
9464         * src/xml/Makefile.am: Use SODIPODI_CFLAGS
9466 2001-01-08  Frank Felfe  <innerspace@iname.com>
9468         * desktop.*: use gnomeappbar in desktop-window,
9469         use gtk_combo_text widget from libgal
9471         * src/desktop-events.c: use gnomeappbar
9473         * src/event-context.c: global keybindings
9475         * src/select-context.c: keybindings
9477         * src/text-context.c: filter Ctrl-keys for keybindings
9479         * src/interface.c: connect to focus-in-event from desktop-window
9481         * glade/toolbox.glade: keybindings for the maintoolbox-menu
9483         * doc/keybindings.txt
9485 2001-01-08  Lauris Kaplinski  <lauris@helixcode.com>
9487         * src/selection-chemistry.c (sp_selection_rotate_90): Brought
9488         function here from toolbox.c and renamed
9490         * glade/toolbox.glade: Use sp_selection_rotate_90
9492         * src/desktop_snap.* (sp_desktop_circular_snap): New function
9494         * src/rect-context.c (sp_rect_context_destroy): Finish object, if exists
9496         * src/ellipse-context.c: (sp_ellipse_context_destroy): Ditto
9498 2001-01-04  Lauris Kaplinski  <lauris@helixcode.com>
9500         * src/helper/sodipodi-ctrlrect.*: Draw by hand instead of using
9501         libart. That fixed ugly-ugly freezing bug in Mandrake
9503         * src/preferences-skeleton.h: New file, encoding default preferences
9505         * glade/sodipodi.glade: Changes _Uus to _New in menu ;)
9507         * src_sodipodi.* (sodipodi_load_preferences): New function
9508         (sodipodi_save_preferences): New function
9509         (sodipodi_get_repr): New function for retrieving data from preferences
9510         DOM tree.
9512         * src/draw-context.c (set_to_accumulated): Use style preferences
9513         * src/rect-context.c (sp_rect_drag): Ditto
9514         * src/ellipse-context.c (sp_ellipse_drag): Ditto
9515         * src/text-context.c (sp_text_context_root_handler): Ditto
9516         (sp_text_complete): ungrab keyboard
9518         * src/toolbox.c (sp_toolbox_create): Use preferences
9520 2001-01-02  Lauris Kaplinski  <lauris@helixcode.com>
9522         * src/widgets/sp-toolbox.*: general toolbox implementation
9524         * src/toolbox.c: Use SPToolBox widget, load and save toolbox states
9526         * src/sodipodi.* (sodipodi_set_key): New function for setting
9527         preference values into xml tree
9528         (sodipodi_get_key): Ditto
9529         (sodipodi_set_key_as_number): Ditto
9530         (sodipodi_get_key_as_number): Ditto
9532         * src/xml/repr-io.c (sp_repr_read_file): Load whatever element node as root
9533         (sp_repr_read_mem): Ditto
9535 2000-12-31  Michael Meeks  <michael@helixcode.com>
9537         * src/xml/repr-io.c (sp_repr_save_file): split into
9538         (sp_repr_save_stream): here.
9540         * src/bonobo/embeddable-document.c (sp_embeddable_document_pf_load),
9541         (sp_embeddable_document_pf_save): update signatures for new persistfile API.
9543 2000-12-30  Lauris Kaplinski  <lauris@helixcode.com>
9545         * src/main.c (main): Reenable command-line filenames
9547         * src/sodipodi.* (sodipodi_application_new): New function
9549 2000-12-29  Michael Meeks  <michael@helixcode.com>
9551         * src/bonobo/embeddable-document.c (sp_embeddable_document_factory): upd.
9553         * Makefile.am (oafdir): kill gnorba bits, update naming.
9555         * src/bonobo/svg-doc-factory.c (sp_svg_doc_factory_init): upd.
9556         (sp_svg_factory): new multi factory.
9558         * GNOME_Sodipodi.oafinfo: add, rename stuff.
9560         * configure.in (have_bonobo): require bonobo >= 0.30
9562 2000-12-28  Christopher R. Gabriel  <cgabriel@softwarelibero.org>
9564         * configure.in (ALL_LINGUAS): 'it'
9566 2000-12-27  Lauris Kaplinski  <lauris@helixcode.com>
9568         * src/display/nr-svp-uncross.c: Lot of clenaup
9570         * src/display/nr-svp-render: Comment out printouts
9572         * src/display/nr-primitives.h: #define NR_COORD_TOLERANCE
9574 2000-12-26  Lauris Kaplinski  <lauris@helixcode.com>
9576         * src/display/nr-svp-uncross.c (nr_svp_uncross_full): more cases -
9577         rays, intersection - some cleanups
9579         * src/display/nr-svp-render.c (nr_svp_render_rgb_rgba): Cleanups
9581 2000-12-25  Lauris Kaplinski  <lauris@helixcode.com>
9583         * src/display/nr-primitives.h: Move NRCoord and NRPoint here
9584         * src/display/nr-primitives.c: NRDRect methods
9586         * src/display/nr-svp.*: Rewrite. NRSVP is now simple ordered
9587         segment and we use linked (sorted) lists for describing more
9588         complex geometries
9589         * src/display/nr-svp-uncross.*: Ditto, partial implementation
9590         * src/display/nr-svp-render.* Ditto. Works.
9592 2000-12-21  Lauris Kaplinski  <lauris@helixcode.com>
9594         * src/display/nr-svp-render.c: Lot's of cleanup
9596 2000-12-20  Lauris Kaplinski  <lauris@helixcode.com>
9598         * src/display/nr-svp-render.c (nr_svp_render_rgb_rgba): It
9599         works to some extent!
9600         * src/display/canvas-shape.c (sp-canvas_shape_render): Use New
9601         Rendering, #ifdef NEW_RENDER
9603         * src/display/testnr.c: Silly file
9605 2000-12-19  Lauris Kaplinski  <lauris@helixcode.com>
9607         * src/display/nr-uta.*: UTA Implementation
9609         * src/display/nr-aa-canvas.*: RGB Buffer canvas
9611         * src/display/sp-arena.*: Widget, using RGB canvas
9613         * src/display/sp-canvas-item.*: Item subclass for arena
9614         * src/display/sp-canvas-group.*: Ditto
9616 2000-12-17  Lauris Kaplinski  <lauris@helixcode.com>
9618         * src/display/nr-primitves.h: typedef NRPoint
9620         * src/display/nr-canvas.*: More code
9621         * src/display/nr-canvas-item.*: Ditto
9622         * src/display/nr-canvas-group.*: Ditto
9624 2000-12-16  Lauris Kaplinski  <lauris@helixcode.com>
9626         * src/display/nr-canvas-group.*: Base class for canvas groups
9627         * src/display/nr-primitives.*: Graphic primitives
9629 2000-12-15  Lauris Kaplinski  <lauris@helixcode.com>
9631         * src/display/nr-canvas.*: Experimental new rendering stuff (not working)
9632         * src/display/nr-canvas-item.*: Ditto (not working)
9633         * src/display/nr-svp.*: Ditto (works)
9634         * src/display/nr-svp-uncross.*: Ditto (works)
9635         * src/display/nr-svp-render.*: Not working yet
9637         * configure.in: Added {with|without}-new-render switch
9639 2000-11-30  Szabolcs Ban  <shooby@gnome.hu>
9641         * glade/toolbox.c: corrected "zom factor" to "zoom factor"
9643 2000-11-30  Szabolcs Ban  <shooby@gnome.hu>
9645         * configure.in (ALL_LINGUAS): add hu.
9647 2000-11-26  Lauris Kaplinski  <lauris@helixcode.com>
9649         * src/toolbox.c (sp_maintoolbox_create): Strip toolbox names
9650         (sp_toolbox_create_widgets): Make windows toplevel
9652         * glade/*.glade: Make windows to be toplevel
9654 2000-11-25  Christopher R. Gabriel  <cgabriel@softwarelibero.org>
9656         * debian/: added the debian scripts from package maintainer,
9657         Davide Puricelli <evo@debian.org>
9659 2000-11-17  Yuri Syrota  <rasta@renome.rovno.ua>
9661         * glade/transformation.c
9662         * glade/transformation.glade: correct "vertival move" to "vertical move"
9664 2000-11-17  Lauris Kaplinski  <lauris@helixcode.com>
9666         * src/dialogs/text/edit.c (sp-text-dialog-close): Destroy
9667         dialog, so font listing will be regenerated
9669 2000-11-02  Michael Meeks  <michael@helixcode.com>
9671         * configure.in: Check for bonobo >= 0.27
9673 2000-10-27  Michael Meeks  <michael@helixcode.com>
9675         * configure.in (ALL_LINGUAS): add pt_BR.
9677 2000-10-26  Lauris Kaplinski  <lauris@helixcode.com>
9679         * configure.in: Define libxml include path
9681         * src/Makefile.am: Use libxml include path
9683         * src/main.c: Ditto
9685         * src/xml/Makefile.am: Ditto
9687         * src/xml/repr-io.c: Ditto
9689 2000-10-21  Zbigniew Chyla  <cyba@gnome.pl>
9691         * configure.in: Added pl to ALL_LINGUAS.
9693 2000-10-21  Zbigniew Chyla  <cyba@gnome.pl>
9695         * sodipodi/src/toolbox.c (sp_maintoolbox_create):
9696         Marked strings for translation.
9698 2000-10-18  Christophe Merlet  <christophe@merlet.net>
9700         * configure.in: Oups, forgotten to add French (fr) to $ALL_LINGUAS
9702 2000-10-18  Christophe Merlet  <christophe@merlet.net>
9704         * sodipodi.desktop: Added French string.
9706 2000-10-17  Lauris Kaplinski  <lauris@helixcode.com>
9708         * src/nodepath.c (sp_nodepath_node_destroy): fixed YANC (Yet
9709         Another Nodepath Crash)
9711 2000-10-16  Frank Felfe  <innerspace@iname.com>
9713         * glade/toolbox.glade: Updated zoom toolbox
9715         * src/desktop-events.*: Added sp_canvas_root_handler
9717         * src/desktop.c: Added statusbar, clean up zooming
9719         * src/sp-metrics.* (sp_metric_to_metric_string): A way to
9720         suppress metric identifier in strings
9722         * src/sp-ruler.c: Copy GtkRuler object
9724         * src/zoom-context.c: Use desktop region markup with border
9726         * src/bonobo/embeddable-desktop.c: Ditto
9728 2000-10-13  Lauris Kaplinski  <lauris@helixcode.com>
9730         * src/text-context.c (sp_text_context_item_handler): Return
9731         if repr == NULL; Commit changes to undo stack.
9733 2000-10-11  Lauris Kaplinski  <lauris@helixcode.com>
9735         * src/draw-context.c (sp_draw_context-destroy): Detach signal
9737 2000-10-11  Frederic Devernay <Frederic.Devernay@sophia.inria.fr>
9739         * Makefile.am: Use test -r for compatibility
9741         * src/Makefile.am: Remove -export-dynamic
9743         * src/main.c: Use libxml 1.8.8/2.0
9745         * src/interface.c: Make fake_dialogs nonstatic
9747         * src/xml/repr-io.c: Use libxml 1.8.8/2.0
9749 2000-10-09  Lauris Kaplinski  <lauris@helixcode.com>
9751         * configure.in: Version 0.20
9753         * src/helper/unit-menu.*: New convenience object
9755         * src/desktop.c (sp_desktop_destroy): Destroy first eventcontext,
9756         then selection
9758         * src/draw-context.c: Make silent
9760         * src/file.c (sp_file_import_ok): Use "xlink:href" for images
9762         * src/sp-image.c (sp_image_read_attr): Use "xlink:href"
9763         (sp_image_repr_read_image): Ditto
9765         * src/svg/svg.h: Use bitfield for units
9767 2000-10-08  Lauris Kaplinski  <lauris@helixcode.com>
9769         * src/dialogs/object-properties.c: Do not keep CSS objects, so
9770         fill & stroke do not overwrite each other settings
9772 2000-10-08  Frank Felfe  <innerspace@iname.com>
9774         * glade/align.glade: Improvements
9776         * glade/object_props.glade: New layout
9778         * src/sp-ruler.*: New files, implementing wrapper for Gtk rulers
9780         * src/sp-metrics.*: Default metrics, ruler metrics
9782         * src/desktop.c (sp_desktop_init): use ruler wrappers
9784 2000-10-07  Lauris Kaplinski  <lauris@helixcode.com>
9786         * src/desktop.c (sp_desktop_realize): Zoom to page on first display
9788         * src/document-undo.c (sp_document_done): Limit undo to 128 levels
9790         * src/document.c (sp_document_new): Set docbase & docname before
9791         creating object tree
9793         * src/sp-image.c (sp_image_repr_read_image): Find right root repr
9795         * src/sp-shape.c (sp_shape_paint): Use right stroke width
9797         * src/dialogs/export.c (sp_export_do_export): use ::paint() method
9799         * src/xml/repr-io.c (sp_repr_svg_read_node): Return on comment and text
9800         nodes
9802         * src/xml/repr.c (sp_repr_document): Implement
9804 2000-10-06  Lauris Kaplinski  <lauris@helixcode.com>
9806         * glade/document.glade: Page setup dialog
9808         * src/dialogs/document-properties.c: Implement page
9809         setup dialog
9811         * src/desktop.*: Keep page rectangle in SPDesktop
9813         * src/sp-root.c: Update page rectangle
9815         * src/file.c (sp_file_print_to_printer): gnome_print_bgeinpage ()
9816         Remove FRGBA creation
9818         * src/dialogs/export.c (sp_export_do_export): gnome_print_beginpage ()
9820         * glade/sodipodi.glade: Add document & xml tree to properties menu
9822         * src/interface.c (sp_create_window): Remove ugly buttons
9824         * src/mdi-ui.*: Removed
9825         * src/dialogs/object-fill.*, object-stroke.*: Removed
9827 2000-10-05  Lauris Kaplinski  <lauris@helixcode.com>
9829         * src/helper/canvas-grid.*: Grid item for canvas
9831         * src/sp-namedview.c: Use & update grid
9833         * src/desktop-snap.c: Snap to grid
9835 2000-10-04  Frank Felfe <innerspace@iname.com>
9837         * glade/transformation.glade: Improved dialog
9839         * glade/*.xpm: New icons
9841         * src/dialogs/transformation.*: Improved dialog
9843         * src/selection-chemistry.*: new transformation functions
9845         * src/sp-metrics.*: New files
9847 2000-10-04  Lauris Kaplinski  <lauris@helixcode.com>
9849         * src/nodepath.c: #define reasonable knot colors
9850         (sp_nodepath_selected_nodes_move): Implement snapping
9851         (node_ctrl_request): Implement snapping
9853 2000-10-03  Lauris Kaplinski  <lauris@helixcode.com>
9855         * src/nodepath.c (update_repr): Call sp_document_done ()
9857         * src/dialogs/desktop-properties.*: Use new dialog layout
9859         * glade/desktop.glade: Use new dialog layout
9861         * src/sp-guide.*: "color" and "hicolor" attributes
9863         * src/sp-namedview.*: Bunch of new attributes
9865         * src/desktop-events.c (sp_dt_guide_event): Use guide colors
9866         (sp_dt_ruler_event): Use guide colors
9868 2000-10-02  Lauris Kaplinski  <lauris@helixcode.com>
9870         * src/knot.c (sp_knot_set_flag): Implement different outlines
9871         (sp_knot_update_ctrl): New function to set SPCtrl colors
9873         * src/nodepath.*: Mostly rewritten
9875         * src/node-context.*: Use new SPNodePath
9877 2000-09-30  Yukihiro Nakai  <nakai@gnome.gr.jp>
9879         * configure.in ALL_LINGUAS: Add Japanese 'ja'
9881 2000-09-21  Pablo Saratxaga <pablo@mandrakesoft.com>
9883         * configure.in: ALL_LINGUAS: added 'ca' for Catalan translation.
9885 2000-09-18  Lauris Kaplinski  <lauris@helixcode.com>
9887         * src/dialogs/object-properties.*: New combined fill + stroke +
9888         transformation dialog by Frank Felfe
9890         * glade/*.xpm: Lots of new icons etc. by Frank Felfe
9892         * src/desktop.*, interface.c, select-context.c, seltrans.c: Changes
9894         * selection-chemistry.* (sp_selection_apply_affine): New function by
9895         Frank Felfe
9896         (sp_selection_remove_transforms): Same
9898 2000-09-17  Lauris Kaplinski  <lauris@helixcode.com>
9900         * src/draw-context.c (sp_draw_context_root_handler): Handle Ctrl
9901         and fix an missing segment, while continuing Ctrl-aligned line.
9903         * src/ellipse-context.c (sp_ellipse_read-attr): Use sodipodi namespace
9904         for "start", "end". Replace "closed" with "open", so closed is default
9906         * src/sp-ellipse_context.c: Ditto
9908         * src/sp-object.c: #define SP_OBJECT_CLONED_FLAG
9910         * src/sp-root.c (sp_root_read_attr): Tru to read "viewBox" attribute.
9911         The implementation is hackish, but it works, until document size is fixed
9913         * src/display/canvas-shape.c (sp_canvas_shape_update): Calculate correct
9914         line thickness
9916 2000-09-16  Lauris Kaplinski  <lauris@helixcode.com>
9918         * src/draw-context.*: Freehand should work OK now
9920         * src/display/canvas-shape.c (sp_canvas_shape_render): Test, if
9921         archetype has stroke SVP
9923         * src/display/path-archetype.c (sp_path_at_new): Disturb Vpaths
9924         before stroking - this removes ugly random crashing in art_uta_from_svp
9926 2000-09-15  Lauris Kaplinski  <lauris@helixcode.com>
9928         * src/sp-line.h, sp-line.c: <line> item
9930         * src/sp-polyline.h, sp-polyline.c: <polyline> item
9932         * src/sp-polygon.c, sp-polygon.h: <polygon> item
9934         * src/sp-object-repr.c (sp_object_type_lookup): Register new item types
9936         * src/helper/curve.c (sp_curve_closepath): Add point, if end != start
9938 2000-09-14  Lauris Kaplinski  <lauris@helixcode.com>
9940         * src/Makefile.am: Define GNOME_PIXMAPDIR
9942         * src/main.c (main): Set default icon
9944         * interface.c (sp_create_window): Set icon
9946         * src/sp-text.c (sp_text_set_shape): Use helvetica for unknown font
9948         * src/helper/art-utils.* (art_svp_translate): New function
9949         (art_uta_from_svp_translated): Use art_svp_translate ()
9951         * draw-context.*: Use experimental spline fitting for freehand
9952         lines, during drawing generate many small lines, instead of
9953         one big.
9955 2000-09-13  Lauris Kaplinski  <lauris@helixcode.com>
9957         * desktop-snap.c, desktop-snap.h (sp_desktop_horizontal_snap):
9958         Implemented
9959         (sp_desktop_vertical_snap): Ditto
9960         (sp_desktop_free_snap): Rewrote, using horiz. and vert. snapping
9961         (sp-desktop_vector_snap): Implemented
9963         * rect-context.c, rect-context.h: Rewrote event handling stuff,
9964         so it now supports (hopefully) all snapping chemistry
9966         * sp-namedview.c (sp_namedview_build, sp_namedview_read_arg):
9967         Implemented arguments "snaptoguides" and "guidetolerance"
9969         * sp-rect.c (sp_rect_set_arg): Implemented Gtk+ argument setting
9971         * ellipse-context.c, ellipse-context.h: Ditto
9973 2000-09-12  Lauris Kaplinski  <lauris@helixcode.com>
9975         * src/*.c, glade/desktop.*, src/dialog/desktop-properties.*:
9976         Hacked together a preliminary guideline support stuff.  It
9977         sucks really for anything other than scaling, but now we have
9978         at least something to improve in future.
9980 2000-09-09  Lauris Kaplinski  <lauris@helixcode.com>
9982         * sodipodi.c, sodipodi-private.h: New filed. Bye-bye to
9983         Gnome-MDI interface, instead we have much more convenient
9984         sodipodi object.
9985         This introduced many changes mostly everywhere.
9987         * src/helper/gt1*, src/helper/parseAFM.*: removed gt1 library,
9988         as it is now accessible through gnome-print
9990         * Makefile.am, src/Makefile.am, glade/Makefile.am: We'll pass
9991         'make distcheck' again
9993         * src/sp-item-group.c: Children update, if parent's style is
9994         changed
9996 2000-09-06  Lauris Kaplinski  <lauris@helixcode.com>
9998         * glade/*: Added Frank Felfe new icons and toolbopx stuff
10000         * src/toolbox.*: Toolbox stuff (Frank Felfe)
10002         * src/sp-item-transform.*: Same
10004 2000-08-24 Alastait McKinstry <mckinstry@computer.org>
10006         * configure.in: ALL_LINGUAS: added 'ga' for Irish translation.
10008 2000-08-19  Lauris Kaplinski  <lauris@helixcode.com>
10010         * glade/transformation.glade: Transformation dialog (Frank Felfe)
10012         * src/dilaogs/transfomration.*: Transfomration dialog (Frank Felfe)
10014         * src/mdi-ui.c: Added transformation dialog
10016         * po/POTFILES.in: Added glade/transformation.c
10018 2000-08-18  Lauris Kaplinski  <lauris@helixcode.com>
10020         * configure.in: Version 0.19
10021         * Makefile.am: Comment out dist-hook
10022         * sodipodi.spec.in: Build 0
10024         * glade/align.glade: Added alignment base selection
10026         * po/POTFILES.in: Added src/dialogs/align.c
10028         * src/desktop.c: Display page borders
10030         * src/sp-text.c: break text at newlines
10032         * src/dialogs/align.c: New algorithm plus alignment base selection
10034 2000-08-15  Lauris Kaplinski  <lauris@helixcode.com>
10036         * glade/stroke.glade: Moved dialog to separate file
10037         * Added Frank Felfe icons, that I forgot last time
10039 2000-08-10  Lauris Kaplinski  <lauris@helixcode.com>
10041         * src/main.c (main): Commented out arg parsing - it segfaulted for me
10043         * glade/align.glade
10044         * glade/al*
10045         * src/dialogs/align.*: Alignmeant dialog by Frank Felfe <innerspace@iname.com>
10047         * configure.in: Need bonobo >= 0.17
10049         * src/bonobo/embeddable-document.c (sp_bonobo_stream_read): Bonobo API change
10051 2000-08-10  Lauris Kaplinski  <lauris@helixcode.com>
10053         * doc/architecture.txt: First step in generating developers documentation
10055 2000-08-09  Lauris Kaplinski  <lauris@helixcode.com>
10057         * glade/*.xpm: Added Frank Felfe's node editing icons and node dialog
10059         * src/sp-ellipse.c (sp_ellipse_description): return "Ellipse"
10061         * src/sp-text.c (sp_text_description): Return either contents or "Text" if NULL
10063 2000-08-07  Lauris Kaplinski  <lauris@helixcode.com>
10065         * configure.in: Require gnome-print >= 0.21
10067         * glade/text-dialog.glade: New layout, suitable for gnome-font-selection
10069         * src/Makefile.am: Add libunicode
10071         * src/sp-chars.h:
10072         * src/sp-chars.c:
10073         * src/sp-text.h:
10074         * src/sp-text.c: Use gnome-font instead of wrapper
10076         * src/dialogs/text-edit.c: Use new GnomeFontSelection and GnomeFontPreview
10078 2000-08-03  Michael Meeks  <michael@helixcode.com>
10080         * configure.in: update for BonoboX
10082 2000-07-01  Lauris Kaplinski  <lauris@helixcode.com>
10084         * src/sp-namedview.c (and everywhere else): Guides are visible,
10085         although not functional yet.
10087         * src/desktop.c (sp_desktop_new): Use document + namedview
10088         combination for creating desktop.
10090 2000-07-01  Lauris Kaplinski  <lauris@helixcode.com>
10092         * src/file.c (sp_do_file_print_preview): Don't use FRGBA, as
10093         print preview can handle alpha itself
10095         * src/sp-object-group.h
10096         * src/object-group.c: Added SPObjectGroup to handle groups of
10097         invisible objects (such as NamedViews)
10099         * src/sp-namedview.h:
10100         * src/sp-namedview.c: Extends SPObjectGroup
10102         * src/xml/sp-repr.c (sp-repr-destroy): fix hash table destroy
10104 2000-06-21  Chema Celorio  <chema@celorio.com>
10106         * src/file.c (sp_do_file_print_preview): added print preview
10107         stuff. new function
10108         (sp_print_preview_destroy_cb): new function
10109         (sp_file_print_preview): new function
10110         modified the menu to include a print preview item
10112 2000-06-21  Lauris Kaplinski  <lauris@helixcode.com>
10114         * src/selection.c (sp_selection_update_statusbar): Added original
10115         idea of printing sp_image_description (), if single item is
10116         selected
10118         * glade/*.xpm: Jeff's icons. I need to find a way to use png
10119         variants, xpm sucks
10121 2000-06-21  Chema Celorio  <chema@celorio.com>
10123         * src/desktop.c (sp_desktop_set_status): it was #if'ed out,
10124         reenabel it.
10126         * src/selection.c (SP_SELECTION_C): added debug messages and macro
10127         If lauris does not like them I will take them away.
10128         (sp_selection_update_statusbar): new function
10130         * src/mdi.c (sp_mdi_app_created): add statusbar to main window.
10132 2000-06-11  Benedikt Roth  <Benedikt.Roth@gmx.net>
10134         * configure.in: Added de to ALL_LINGUAS.
10135         * sodipodi.desktop: Added German translations
10137 2000-06-05  Lauris Kaplinski  <lauris@kaplinski.com>
10139         * src/dialogs/export.c (sp_export_do_export): use pixbuf context,
10140         instead of rbuf
10142 2000-06-05  Michael Meeks  <michael@helixcode.com>
10144         * src/dialogs/export.c (sp_export_do_export): s/rbuf_rgba_new/rbuf_new/
10146         * src/bonobo/embeddable-document.c: kill a load of redundant prototypes,
10147         and re-order to suit. (sp_embeddable_document_ps_save),
10148         (sp_embeddable_document_ps_load): fix for new stream API.
10149         (sp_embeddable_document_factory): update stream constructor.
10151 2000-05-14  Lauris Kaplinski  <lauris@ariman.ee>
10153         * src/knot.*: Lot of rearranging, new signals
10155         * src/seltrans.c: Changes induced by new knot signalling
10156         Added fake snapping to PostScript points (remove it, if you dare ;)
10158 2000-05-13  Lauris Kaplinski  <lauris@ariman.ee>
10160         * src/document-private.h: Removed width and height attributes
10162         * src/sp-root.c: Added "width" and "height" readable attributes
10164 2000-05-12  Lauris Kaplinski  <lauris@ariman.ee>
10166         * src/xml/repr.h: A bit rearranging, added SPReprDoc, induces
10167         changes almost everywhere else
10169         * src/document-private.h: Hide all document internal structure
10171 2000-05-12  Lauris Kaplinski  <lauris@ariman.ee>
10173         * src/sp-namedview.*: Implemented skeleton
10175         * src/sp-guide.*: Implemented skeleton
10177         * src/sp-object-repr.c: Added NamedView and Guide
10179         * src/helper/sp-guide.*: Changed name to SPGuideLine
10181 2000-05-11  Lauris Kaplinski  <lauris@ariman.ee>
10183         * src/desktop-events.c: Collected events to separate file
10184         Added guidline and grid positioning skeleton
10186         * src/helper/sp-guide.*: Guideline implementation
10188 2000-05-10  Lauris Kaplinski  <lauris@ariman.ee>
10190         * glade/*.xpm: Some new icons (thanks to Jeff Mrochuk)
10192         * src/knot.*: signals clicked, grabbed, ungrabbed, moved
10193         Many fixes and enhancements
10195         * src/seltrans.c: Use knots instead of Ctrl canvas items
10197 2000-05-09  Michael Meeks  <michael@helixcode.com>
10199         * src/bonobo/svg-doc-factory.c (sp_svg_doc_factory_init): add
10200         config.h + OAFIID.
10202         * Makefile.am: Install oaf data.
10204         * src/main.c (main): re-tool for oaf.
10206         * configure.in: Check for oaf.
10208 2000-05-06  Lauris Kaplinski  <lauris@ariman.ee>
10210         * src/knot.h: Added signals "grab", "ungrab" and "move"
10211         * src/knot.c: Implemented signals, event etc.
10213 2000-05-05  Lauris Kaplinski  <lauris@ariman.ee>
10215         * src/desktop-handles.h: Added SP_DT_IS_EDITABLE
10216         * src/knot.*: started implementing universal handle object for
10217         all contexts
10219 2000-05-05  Lauris Kaplinski  <lauris@ariman.ee>
10221         * src/Makefile.am: Define $gladedir, which has been forgotten :)
10222         * src/sp-image.c (sp_image_print): Do it :)
10224 2000-05-03  Lauris Kaplinski  <lauris@ariman.ee>
10226         * src/main.c: Uncommented line interpreting unknown command-line
10227         arguments as filenames
10228         * src/document-undo.c (sp_document_undo): If attribute is 'id', find
10229         affected object from 'new' instead of 'key'
10230         * src/dialogs/xml-tree.c: Added missing sp_document_done flushes
10231         * src/sp-object.c (sp_object_read_attr): Fixed def-ing repr
10232         id attribute instead of objects one
10234 2000-05-02  Lauris Kaplinski  <lauris@ariman.ee>
10236         * src/sp-item-group.c (sp_group_build): Check that xml node is
10237         known, before trying to build object from it
10239 2000-05-02  Lauris Kaplinski  <lauris@ariman.ee>
10241         * src/sp-gradient.*: Implemented skeleton for gradient fills
10242         * src/sp-object-repr.c: Gradient parsing
10244 2000-05-01  Lauris Kaplinski  <lauris@ariman.ee>
10246         * src/helper/sodipodi-ctrl.c: Fixed bug in ::render, which left
10247         buffer->is_bg untouched
10248         * src/sp-defs.*: New objects, implementing <defs> nodes
10249         * src/sp-group.*: Groups have both item and non-item members
10250         * src/sp-image.c: Changed "src" attribute to "href"
10252 2000-04-29  Lauris Kaplinski  <lauris@ariman.ee>
10254         * xml/repr.*: Reprs are now GtkObjects
10255         * xml/repr-io.c: Preliminary namespacing (xmlns:sodipodi)
10257 2000-04-29  Lauris Kaplinski  <lauris@ariman.ee>
10259         * src/dialogs/xml-tree.c (sp_xml_tree_change_attribute_long):
10260         new function to change long attribute (GtkEntry does not like
10261         long strings). Also attribute changing in xml pushes Undo stack.
10263 2000-04-28  Lauris Kaplinski  <lauris@ariman.ee>
10265         * glade/Makefile.am: Added xml-tree.glade
10267         * src/dialogs/xml-tree.c (sp_xml_tree_change_attribute): implemented
10268         this
10270 2000-04-27  Miguel de Icaza  <miguel@helixcode.com>
10272         * glade/Makefile.am: New file.
10274         * src/dialogs/Makefile.am (gladedir): Define gladedir based on
10275         $datadir
10277         * Makefile.am: Remove the local install hack stuff.  And process
10278         the glade directory.
10280         * configure.in: Do not define PACKAGE_GLADEDIR based on the output
10281         of gnome-config.  Let the Makefile.am compute that value from the
10282         various $prefix settings.
10284 2000-04-27  Lauris Kaplinski  <lauris@ariman.ee>
10286         * src/dialogs/xml-tree.c: Attribute deletion mostly work
10288 2000-04-27  Lauris Kaplinski  <lauris@ariman.ee>
10290         * src/dialogs/xml-tree.*: Started implementing direct xml editing
10292         * glade/xml-tree.glade: XML editing dialogs
10294 2000-04-26  Lauris Kaplinski  <lauris@ariman.ee>
10296         * helper/curve.c (sp_curve_split): Fixed evil memcpy size bug
10298 2000-04-24  Lauris Kaplinski  <lauris@ariman.ee>
10300         * src/selection-chemistry.c: Implemented Cut/Copy/Paste
10302 2000-04-23  Lauris Kaplinski  <lauris@ariman.ee>
10304         * src/document.h: added aspect and clip attributes
10306         * src/bonobo/embeddable-desktop.c: keep full page always visible
10308         * src/bonobo/embeddable-document.c: print scaled full page
10310 2000-04-21  Lauris Kaplinski  <lauris@ariman.ee>
10312         * src/mdi-document.c: extract ACTIVE_DOCUMENT for ACTIVE_DESKTOP
10313         instead of MDIChild
10315         * glade/sodipodi.glade: Popup menu
10317         * src/event-context.c: (sp_event_context_private_root_handler)
10318         Popup menu on button 3, if event is not consumed
10320         * src/zoom-context.c: (sp_zoom_context_root_handler)
10321         Assign zoom_out to Shift+Button1 to free Button3 for popup
10323         * src/draw-context.c: (sp_draw_context_root_handler)
10324         Invoke parent handler, if event is not consumed
10326 2000-04-21  Lauris Kaplinski  <lauris@ariman.ee>
10328         * configure.in: removed plugins/Makefile (not yet folks!)
10330         * src/bonobo/embeddable-document.c (sp_embeddable_document_factory):
10331         switched to original gnome-print-context instead of FRGBA
10333 2000-04-21  Michael Meeks  <michael@helixcode.com>
10335         * configure.in (have_bonobo): add -lbonobo-print
10337         * src/bonobo/embeddable-document.c (sp_embeddable_document_factory):
10338         add the print interface.
10340 2000-04-21  Fatih Demir <kabalak@gmx.net>
10342         * configure.in : Added tr to ALL_LINGUAS .
10344         * sodipodi.desktop : Added [tr] ..
10346 2000-04-20  Lauris Kaplinski  <lauris@ariman.ee>
10348         * glade/sodipodi.glade: toggling rulers and scrollbars on/off
10349         * desktop.c: construct it by hand, borders can be removed
10350         * mdi-desktop.c: new logic for activating desktops (bonobo needed it)
10351         * bonobo/embeddable-document.c: removed MDI refcounting
10352         * bonobo/embeddable-desktop.c: added MDI refcounting, active desktop
10353         management and hiding borders, if not active
10355 2000-04-20  Andreas Hyden  <a.hyden@cyberpoint.se>
10357         * sodipodi.desktop: Added Swedish translation.
10358         * configure.in: Added sv to ALL_LINGUAS.
10360 2000-04-19  Lauris Kaplinski  <lauris@ariman.ee>
10362         * configure.in: Added chack for GnomePrintRBuf and GnomePrintFRGBA
10363         * sp-shape.c: if FRGBA is present, do not emulate alpha
10364         * file.c: print via FRGBA, if present
10365         * dialogs/export.c: export via RBuf, if present
10366         * sp-object.c: fixed infinite loop in allocating id-s
10368 2000-04-17  Lauris Kaplinski  <lauris@ariman.ee>
10370         * src/sp-image.c: completed migration to new gdk-pixbuf
10371         * src/display/canvas-image.c: completed migration
10373 2000-04-17  Michael Meeks  <michael@helixcode.com>
10375         * src/sp-image.c (sp_image_pixbuf_force_rgba): fix.
10376         (sp_image_bbox): fix.
10378 2000-04-14  Lauris Kaplinski <lauris@ariman.ee>
10380         * Makefile.am: fixed .desktop inclusion to distribution
10382 2000-04-12  Pablo Saratxaga Pablo <pablo@mandrakesoft.com>
10384         * configure.in (ALL_LINGUAS): Add Danish
10386 200-04-09  Lauris Kaplinski  <lauris@ariman.ee>
10388         * bonobo/canvas-translator.*: implemented a translator group, which
10389         translates xlib canvas calls to antialiased canvas ones.
10391 200-04-09  Lauris Kaplinski  <lauris@ariman.ee>
10393         * document.c: Removed bad memory corruption bug in ::destroy
10394         * embeddable-document.c: Added PersistentFile interface
10395         * embeddable-drawing.*: Added BonoboCanvasComponent interface
10397 200-04-08  Lauris Kaplinski  <lauris@ariman.ee>
10399         * Makefile.am: create sodipodi-bonobo symlink if we use bonobo
10400         * src/sodipodi/*: Added bonobo component, nothing interesting yet
10402 200-04-07  Lauris Kaplinski  <lauris@ariman.ee>
10404         * sodipodi.gnorba: added this, embeddable document will follow soon
10405         * configure.in: added bonobo check
10407 200-04-07  Lauris Kaplinski  <lauris@ariman.ee>
10409         * sp-shape.c: It prints now semitransparent shapes, rendering these
10410         to bitmaps. No clipping yet and resolution is hardcoded to 72dpi
10412 200-04-05  Kjartan Maraas  <kmaraas@online.no>
10414         * no.po: Added no to ALL_LINGUAS.
10416 2000-04-05  Lauris Kaplinski <lauris@ariman.ee>
10418         * sp-document.c, sp-file.c, sp-image.c: removed namespace. How to
10419         extract this correctly from libxml?
10421 2000-04-05  Lauris Kaplinski <lauris@ariman.ee>
10423         * xml/repr.c: added order_changed_pre callback
10424         * document-undo.c: stacking order changes are now undoable
10425         * sp-document.c, sp-file.c, sp-image.c: added namespace "sodipodi",
10426         still have to do official definition
10428 2000-04-04  Lauris Kaplinski <lauris@ariman.ee>
10430         * xml/repr-io.c: save DTD & standard header
10431         * dialogs/object-*: modify default fill & stroke, if nothing selected
10433 2000-04-04  Lauris Kaplinski <lauris@ariman.ee>
10435         * selection.*: Added functions to select via reprs (now when we have
10436         unique id-s there isn't any reason thare wasn't such)
10438 2000-04-02  Lauris Kaplinski <lauris@ariman.ee>
10440         * xml/repr-io.c: A very quick hack to load real svg code (DTD & stuff).
10441         * sp-shape.c: Fixed bug in exporting open paths, so they are not filled
10442         anymore.
10443         * sp-image.c: We can print semitransparent images, although better do not
10444         stretch these very much
10446 2000-04-02  Lauris Kaplinski <lauris@ariman.ee>
10448         * document-undo.c, document.c: Undo should now work!
10450 2000-04-01  Lauris Kaplinski <lauris@ariman.ee>
10452         * document.c: Some undoing/redoing works (duplicate & delete)
10454 2000-04-01  Lauris Kaplinski <lauris@ariman.ee>
10456         * sp-item-group.c: cleaned up signals, reordering should work now
10457         * hunted memory leaks & removed most obvious ones
10459 2000-03-31  Lauris Kaplinski <lauris@ariman.ee>
10461         * Basically completed rewrite, most things do not work
10463 2000-03-30  Lauris Kaplinski <lauris@ariman.ee>
10465         * Bumped version number to 0.18 & started rewrite of object system
10467 2000-03-29  Lauris Kaplinski <lauris@ariman.ee>
10469         * Modified argument parsing, --without-gui, if present, has to be first
10470         * argument, but otherwise now all GNOME/Gtk args work
10471         * You can also specify multiple files for displaying or printing
10473 2000-03-28  Lauris Kaplinski <lauris@ariman.ee>
10475         * Added cute little squirrel to /gnome/apps/Graphics ;-)
10476         * src/desktop.c: Set canvas background to white
10477         * Makefile.am: added samples to tarball
10479 2000-03-27  Lauris Kaplinski <lauris@ariman.ee>
10481         * main.c: Applied Yukihiro Nakai FreeBSD patches
10482         * main.c: Set LC_NUMERIC to "C", to avoid localisation of SVG files :-(
10484 2000-01-25  Lauris Kaplinski <lauris@ariman.ee>
10486         * dialogs/export.*: a bit better png exporting, still sucks
10488 2000-01-25  Lauris Kaplinski <lauris@ariman.ee>
10490         * sp-image.c: Cleanups here and there
10491         * display/canvas-image.c: point method uses alpha, removed SVP-s
10493 2000-01-23  Lauris Kaplinski <lauris@ariman.ee>
10495         * helper/art*: functions for rendering into RGBA buffer
10496         * file.*, sp-shape.*, sp-image.*: exporting png bitmaps
10498 2000-01-23  Lauris Kaplinski <lauris@ariman.ee>
10500         * Uses SPCurve everywhere
10502 2000-01-19  Lauris Kaplinski <lauris@ariman.ee>
10504         * src/helper/sodipodi-ctrl.*: removed aa rendering
10506 2000-01-18 David Metcalfe (crdjm@sgi.com)
10508         * Added command line options:
10509         . [ -f ] file  to load file at startup
10510         . -p file      to print the file without the GUI starting
10511         . -t file      to send the print output to the named file
10512         * -t is currently required for -p as I couldn't find a way of creating
10513           a GnomePrinter that goes to the default printer. ??
10514         * Printing doesn't require that X be started
10516 2000-01-16  Lauris Kaplinski <lauris@ariman.ee>
10518         * Bumped version to 0.17
10519         * Most things, that worked in 0.15 work again
10520         * still looses selections, dialogs suck etc.
10522 2000-01-14  Lauris Kaplinski <lauris@ariman.ee>
10524         * Now uses Gnome MDI
10525         * Stroke & fill dialogs almost work for multiple displays
10527 2000-01-08  Lauris Kaplinski <lauris@ariman.ee>
10529         * Major rewrite of object system
10530         * Multiple views almost work
10531         * Multiple documents almost work
10532         * Rects, Ellipses, Drawing and Nodes almost work
10533         * Nothing else works ;-(
10535 1999-12-30  Lauris Kaplinski <lauris@ariman.ee>
10537         * Bumped version number to 0.15
10538         * Node editing works enough to be usable
10539         * Images use relative paths, if possible
10540         * Text can show accented chars
10542 1999-12-25  Lauris Kaplinski <lauris@ariman.ee>
10544         * Increased version number to 0.14
10545         * Preliminary node editing mode
10546         * Stacking order can be changed again
10547         * Convert to Curves, Combine & Separate functions
10548         * Corrected repr refcounting - much fewer segfaults now
10549         * Countless bugfixes here & there
10551 1999-12-23  Lauris Kaplinski <lauris@ariman.ee>
10553         * Major cleanup - most things work better now, but some
10554         don't work at all :-(
10555         * Implemented SPChars class
10556         * Text editing
10557         * svg importing
10558         * loading, saving and printing almost works
10560 1999-09-02  Lauris Kaplinski <lauris@ariman.ee>
10562         * Rewrote many things and hacked up the rest.
10563         Removed Gdome dependency, as I had neither time nor patience
10564         to mess with it. As a temporary solution I've created SPRepr objects,
10565         which can contain xml data.
10566         Added functions: group, ungroup, delete, duplicate, to_front,
10567         to_back, up, down
10568         Freehand drawing almost works although need some cleanup
10569         Outlines are implemented, although not usable yet
10570         Rect can handle round corners i hope
10571         Ellipse can be sliced
10573 # Local Variables:
10574 # tab-width:8
10575 # indent-tabs-mode:t
10576 # End:
10577 # vim: tabstop=4:noexpandtab:shiftwidth=4