]> git.sur5r.net Git - glabels/blob - glabels2/ChangeLog
2007-04-04 Jim Evins <evins@snaught.com>
[glabels] / glabels2 / ChangeLog
1 2007-04-04  Jim Evins  <evins@snaught.com>
2
3         * src/mini-preview-pixbuf.c: (gl_mini_preview_pixbuf_new),
4         (draw_paper), (draw_label_outlines), (draw_rect_label_outline),
5         (draw_round_label_outline), (draw_cd_label_outline):
6         * src/wdgt-media-select.c: (load_list):
7         * src/wdgt-rotate-label.c: (draw_cd_label_outline):
8                 Cosmetic enhancments to mini previews.
9
10 2007-04-04  Jim Evins  <evins@snaught.com>
11
12         * src/ui-property-bar.c: (gl_ui_property_bar_finalize),
13         (gl_ui_property_bar_construct):
14                 Save copy of GladeXML tree so that we don't lose tooltips.
15
16 2007-04-02  Jim Evins  <evins@snaught.com>
17
18         * src/merge-properties-dialog.c:
19         * src/new-label-dialog.c:
20         * src/object-editor.c:
21         * src/prefs-dialog.c:
22         * src/print-op.c:
23         * src/template-designer.c:
24         * src/ui-property-bar.c:
25         * src/wdgt-media-select.c:
26         * src/wdgt-rotate-label.c:
27                 Fixed several memory leaks.
28
29 2007-04-01  Jim Evins  <evins@snaught.com>
30
31         * src/label-text.c: (gl_label_text_init), (copy),
32         (gl_label_text_set_lines), (buffer_changed_cb), (get_size),
33         (set_font_family), (set_font_size), (set_font_weight),
34         (set_font_italic_flag), (set_text_alignment),
35         (set_text_line_spacing):
36                 Cache object size, so that expensive extent calculations are only done
37                 when needed.
38
39 2007-03-30  Jim Evins  <evins@snaught.com>
40
41         * src/prefs-model.c: (gl_prefs_model_load_settings):
42                 Default to an unlimited list of recent documents, since this parameter
43                 seems to be pre-filter anyway.
44
45 2007-03-30  Jim Evins  <evins@snaught.com>
46
47         * src/label-box.c: (draw_shadow):
48         * src/label-ellipse.c: (draw_shadow):
49                 Added missing shadow fill.
50         
51 2007-03-28  Jim Evins  <evins@snaught.com>
52
53         * src/ui-commands.c: (gl_ui_cmd_file_print):
54                 Unreferencing the print operation sometimes crashes.  Just don't do it
55                 right now.
56
57 2007-03-28  Jim Evins  <evins@snaught.com>
58
59         * src/print-op.c: (gl_print_op_construct),
60         (gl_print_op_get_settings), (gl_print_op_set_settings),
61         (gl_print_op_free_settings), (create_custom_widget_cb):
62         * src/print-op.h:
63         * src/ui-commands.c: (gl_ui_cmd_file_print):
64         * src/window.c: (gl_window_init):
65         * src/window.h:
66                 Save print settings and custom settings between print operations
67                 on the same window.
68
69 2007-03-24  Jim Evins  <evins@snaught.com>
70
71         * src/object-editor-image-page.c:
72         (gl_object_editor_prepare_image_page),
73         (gl_object_editor_set_image), (img_selection_changed_cb):
74                 Workaround for GtkFileChooserButton bug # 327243.  This the root
75                 cause for gLabels bug # 1192884.  I have actually observed 3 delayed
76                 "selection-changed" signals -- the first 2 return NULL -- this is
77                 what caused the image to reset to the default followed by setting
78                 it back to the original image, trying to fit it into a new bounding
79                 box.  This sequence of events is much more evident with the new
80                 cairo rendering.
81
82 2007-03-23  Jim Evins  <evins@snaught.com>
83
84         Merged all changes from experimental cairo branch to trunk.
85         Trunk no longer depends on libgnomecanvas or libgnomeprint[ui].
86
87 2007-03-23  Jim Evins  <evins@snaught.com>
88
89         * src/label-object.h:
90         * src/label-object.c: (gl_label_object_class_init),
91         (gl_label_object_get_raw_size), (gl_label_object_get_size):
92                 Created "get_raw_size" method.
93         * src/label-barcode.c: (get_size):
94         * src/xml-label.c: (xml_create_object_text),
95         (xml_create_object_barcode):
96                 Use new "get_raw_size" method on label-objects when apropos.
97         * src/label-text.h:
98         * src/label-text.c: (get_size), (draw_object), (draw_shadow),
99         (auto_shrink_font_size):
100                 Added "auto shrink" functionality back.
101
102 2007-03-19  Jim Evins  <evins@snaught.com>
103
104         * src/label-text.c: (draw_object), (draw_shadow):
105                 Don't use negative scales in workaround from previous commit.
106         
107
108 2007-03-18  Jim Evins  <evins@snaught.com>
109
110         * src/xml-label.c:
111                 Forgot to remove include of xml-lable-191 in previous commit.
112         * src/label-text.c: (get_size), (draw_object), (draw_shadow):
113                 Workaround for pango Bug #341481.  Render text at device scale,
114                 and scale font size accordingly.  Also, don't do any hinting.
115
116 2007-03-18  Jim Evins  <evins@snaught.com>
117
118         * src/cairo-ellipse-path.c:
119         * src/cairo-ellipse-path.h:
120                 Forgot to add these new files during last mass commit.
121
122 2007-03-18  Jim Evins  <evins@snaught.com>
123
124         * src/Makefile.am:
125         * src/xml-label-191.c:
126         * src/xml-label-191.h:
127                 Removed -- Very buggy.  Version 1.91 is a very old "unstable" version,
128                 so there is no need to keep compatability.
129         * src/base64.c:
130         * src/bc-iec16022.c:
131         * src/cairo-label-path.c:
132         * src/cairo-label-path.h:
133         * src/cairo-markup-path.c:
134         * src/color.c:
135         * src/debug.c:
136         * src/file.c:
137         * src/glabels-batch.c:
138         * src/glabels.c:
139         * src/label-barcode.c:
140         * src/label-box.c:
141         * src/label-ellipse.c:
142         * src/label-image.c:
143         * src/label-line.c:
144         * src/label-object.c:
145         * src/label-object.h:
146         * src/label-text.c:
147         * src/label.c:
148         * src/label.h:
149         * src/merge-properties-dialog.c:
150         * src/merge.c:
151         * src/new-label-dialog.c:
152         * src/object-editor-bc-page.c:
153         * src/object-editor-data-page.c:
154         * src/object-editor-edit-page.c:
155         * src/object-editor-fill-page.c:
156         * src/object-editor-image-page.c:
157         * src/object-editor-line-page.c:
158         * src/object-editor-private.h:
159         * src/object-editor-shadow-page.c:
160         * src/object-editor-text-page.c:
161         * src/object-editor.c:
162         * src/pixbuf-cache.c:
163         * src/print-op.c:
164         * src/print.c:
165         * src/recent.c:
166         * src/stock.c:
167         * src/template-designer.c:
168         * src/text-node.c:
169         * src/ui-property-bar.c:
170         * src/ui.c:
171         * src/view-barcode.c:
172         * src/view-box.c:
173         * src/view-ellipse.c:
174         * src/view-image.c:
175         * src/view-line.c:
176         * src/view-object.c:
177         * src/view-object.h:
178         * src/view-text.c:
179         * src/view.c:
180         * src/wdgt-media-select.c:
181         * src/wdgt-print-copies.c:
182         * src/wdgt-print-merge.c:
183         * src/window.c:
184         * src/xml-label-04.c:
185         * src/xml-label.c:
186                 Many changes, including:
187                 - Move draw methods from view-*() to label-*().
188                 - Use same drawing code for on screen view and printing.
189                 - Fix all issues exposed with '-Wall -Werror'.
190
191 2007-03-14  Jim Evins  <evins@snaught.com>
192
193         * src/Makefile.am:
194         * src/cairo-handle-path.c:
195         * src/cairo-handle-path.h:
196         * src/cairo-object-path.c:
197         * src/cairo-object-path.h:
198                 Removed cairo-handle-path.[ch] and cairo-object-path.[ch].
199         * src/view-barcode.c: (gl_view_barcode_class_init), (draw_object),
200         (object_at):
201         * src/view-box.c: (gl_view_box_class_init), (draw_object),
202         (draw_shadow), (object_at):
203         * src/view-ellipse.c: (gl_view_ellipse_class_init),
204         (create_ellipse_path), (draw_object), (draw_shadow), (object_at):
205         * src/view-image.c: (gl_view_image_class_init), (draw_object),
206         (object_at):
207         * src/view-line.c: (gl_view_line_class_init), (draw_object),
208         (draw_shadow), (object_at):
209         * src/view-object.c: (gl_view_object_draw), (gl_view_object_at),
210         (create_handle_path), (gl_view_object_draw_handles),
211         (gl_view_object_handle_at):
212         * src/view-object.h:
213         * src/view-text.c: (gl_view_text_class_init), (draw_object),
214         (draw_shadow), (object_at):
215         * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
216                 Some restructuring of new code.
217
218 2007-03-12  Jim Evins  <evins@snaught.com>
219
220         * src/Makefile.am:
221         * src/cairo-object-path.c:
222         * src/view-barcode.c:
223         * src/view-barcode.h:
224         * src/view.c:
225                 Added barcode object support to view.
226
227 2007-03-12  Jim Evins  <evins@snaught.com>
228
229         * src/Makefile.am:
230         * src/view-text.h:
231         * src/view-text.c:
232         * src/view.c:
233         * src/cairo-object-path.c:
234         * src/cairo-object-path.h:
235         * src/view-box.c:
236         * src/view-ellipse.c:
237         * src/view-image.c:
238         * src/view-line.c:
239         * src/view-object.c:
240         * src/view-object.h:
241                 Added text object support to view.  Added object_at method to all
242                 view_objects.
243
244 2007-03-11  Jim Evins  <evins@snaught.com>
245
246         * src/Makefile.am:
247         * src/cairo-object-path.c: (gl_cairo_object_path),
248         (gl_cairo_image_object_path):
249         * src/view-image.c: (gl_view_image_class_init),
250         (gl_view_image_finalize), (gl_view_image_new),
251         (update_editor_from_label_cb), (draw),
252         (gl_view_image_get_create_cursor),
253         (gl_view_image_create_button_press_event),
254         (gl_view_image_create_motion_event),
255         (gl_view_image_create_button_release_event):
256         * src/view-image.h:
257         * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
258         (selection_received_cb), (motion_notify_event_cb),
259         (button_press_event_cb), (button_release_event_cb):
260                 Added image object support to view.
261
262 2007-03-11  Jim Evins  <evins@snaught.com>
263
264         * src/Makefile.am:
265         * src/cairo-object-path.c: (gl_cairo_object_path),
266         (gl_cairo_line_object_path):
267         * src/view-line.c: (gl_view_line_class_init), (gl_view_line_new),
268         (update_object_from_editor_cb), (update_editor_from_object_cb),
269         (update_editor_from_label_cb), (draw),
270         (gl_view_line_get_create_cursor),
271         (gl_view_line_create_button_press_event),
272         (gl_view_line_create_motion_event),
273         (gl_view_line_create_button_release_event):
274         * src/view-line.h:
275         * src/view-object.c: (gl_view_object_resize_event):
276         * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
277         (selection_received_cb), (motion_notify_event_cb),
278         (button_press_event_cb), (button_release_event_cb):
279                 Added line object support to view.
280         * src/cairo-handle-path.c:
281                 Made handles slightly larger.
282
283
284 2007-03-11  Jim Evins  <evins@snaught.com>
285
286         * src/Makefile.am:
287         * src/cairo-handle-path.c:
288         * src/cairo-label-path.c: (gl_cairo_rect_label_path),
289         (gl_cairo_round_label_path), (gl_cairo_cd_label_path):
290         * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
291         (gl_cairo_markup_margin_round_path),
292         (gl_cairo_markup_margin_cd_path), (gl_cairo_markup_circle_path):
293         * src/cairo-object-path.c: (gl_cairo_object_path),
294         (gl_cairo_ellipse_object_path):
295         * src/label-object.c: (gl_label_object_rotate):
296         * src/view-box.c:
297         * src/view-box.h:
298         * src/view-ellipse.c: (gl_view_ellipse_class_init),
299         (gl_view_ellipse_new), (update_object_from_editor_cb),
300         (update_editor_from_object_cb), (update_editor_from_label_cb),
301         (draw), (gl_view_ellipse_get_create_cursor),
302         (gl_view_ellipse_create_button_press_event),
303         (gl_view_ellipse_create_motion_event),
304         (gl_view_ellipse_create_button_release_event):
305         * src/view-ellipse.h:
306         * src/view-object.c:
307         * src/view-object.h:
308         * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
309         (select_object_real), (selection_received_cb),
310         (motion_notify_event_cb), (button_press_event_cb),
311         (button_release_event_cb):
312         * src/view.h:
313                 Added ellipse object support to view.  Plus other cleanup.
314
315 2007-03-11  Jim Evins  <evins@snaught.com>
316
317         * src/view-box.h:
318         * src/view-box.c: (gl_view_box_get_create_cursor),
319         (gl_view_box_create_button_press_event),
320         (gl_view_box_create_motion_event),
321         (gl_view_box_create_button_release_event):
322         * src/view-object.c: (gl_view_object_set_view),
323         (gl_view_object_handle_at):
324         * src/view.h:
325         * src/view.c: (gl_view_arrow_mode), (gl_view_object_create_mode),
326         (motion_notify_event_cb), (button_press_event_cb),
327         (button_release_event_cb), (key_press_event_cb):
328                 Added creation code for box object.
329
330 2007-03-09  Jim Evins  <evins@snaught.com>
331
332         * src/view-object.c: (gl_view_object_resize_event):
333         * src/view-object.h:
334         * src/view.c: (motion_notify_event_cb):
335                 Fix bugs with resizing transformed objects.
336         * src/cairo-handle-path.c: (gl_cairo_handle_path):
337         * src/cairo-object-path.c: (gl_cairo_object_path):
338         * src/cairo-object-path.h:
339         * src/label-object.c: (gl_label_object_init),
340         (gl_label_object_dup), (gl_label_object_get_extent),
341         (gl_label_object_flip_horiz), (gl_label_object_flip_vert),
342         (gl_label_object_rotate), (gl_label_object_set_matrix),
343         (gl_label_object_get_matrix):
344         * src/label-object.h:
345         * src/print.c: (draw_object):
346         * src/view-box.c:
347         * src/view-highlight.c:
348         * src/view-highlight.h:
349         * src/xml-label-191.c: (xml191_parse_object):
350         * src/xml-label.c: (xml_parse_affine_attrs),
351         (xml_create_affine_attrs):
352                 Replace libart affine matrices with cairo matrices.
353
354 2007-03-08  Jim Evins  <evins@snaught.com>
355
356         * src/view-object.h:
357         * src/view.c: (gl_view_update), (motion_notify_event_cb):
358         * src/view-object.c: (gl_view_object_handle_at),
359         (gl_view_object_resize_event):
360                 Added resize code -- still a bit buggy.
361         
362 2007-03-07  Jim Evins  <evins@snaught.com>
363
364         * src/Makefile.am:
365         * src/cairo-handle-path.c:
366         * src/cairo-handle-path.h:
367         * src/view-box.c: (gl_view_box_new):
368         * src/view-object.c: (gl_view_object_set_object),
369         (gl_view_object_draw_handles), (gl_view_object_handle_at):
370         * src/view-object.h:
371         * src/view.c: (draw_highlight_layer), (select_object_real),
372         (unselect_object_real), (view_handle_at), (motion_notify_event_cb),
373         (button_press_event_cb), (button_release_event_cb),
374         (key_press_event_cb):
375         * src/view.h:
376                 Added beginnings of object resize handles.
377
378 2007-03-07  Jim Evins  <evins@snaught.com>
379
380         * src/view.h:
381         * src/view.c: (gl_view_init), (gl_view_arrow_mode),
382         (gl_view_object_create_mode), (motion_notify_event_cb),
383         (button_press_event_cb), (button_release_event_cb),
384         (key_press_event_cb):
385                 Added move selection support.
386
387 2007-03-05  Jim Evins  <evins@snaught.com>
388
389         * src/cairo-object-path.c: (gl_cairo_object_path):
390         * src/view-object.c: (gl_view_object_draw),
391         (gl_view_object_draw_highlight):
392         * src/view.c: (view_object_at), (motion_notify_event_cb),
393         (button_press_event_cb), (button_release_event_cb):
394                 Additional refinements to select logic.
395
396 2007-03-05  Jim Evins  <evins@snaught.com>
397
398         * src/view.h:
399         * src/view.c: (gl_view_init), (gl_view_construct),
400         (label_changed_cb), (draw_layers), (draw_select_region_layer),
401         (gl_view_select_region), (object_at), (motion_notify_event_cb),
402         (button_press_event_cb), (button_release_event_cb):
403                 Added initial select region support and context menu.
404
405 2007-03-04  Jim Evins  <evins@snaught.com>
406
407         * configure.in:
408         * src/Makefile.am:
409         * src/debug.c:
410         * src/debug.h:
411         * src/file.c:
412         * src/label.c:
413         * src/label.h:
414         * src/print-op.c:
415         * src/print.c:
416         * src/ui-commands.c:
417         * src/view-box.c:
418         * src/view-box.h:
419         * src/view-object.c:
420         * src/view-object.h:
421         * src/view.c:
422         * src/view.h:
423         * src/wdgt-print-copies.c:
424         * src/wdgt-print-merge.c:
425         * src/xml-label.c:
426                 Initial port to a raw Cairo canvas.  This removes all remaining
427                 dependencies on libgnomecanvas and libgnomeprint[ui].  Basically
428                 the view is becoming a canvas widget in its own right.  Still needs
429                 a lot of work.
430         * src/cairo-label-path.c:
431         * src/cairo-label-path.h:
432         * src/cairo-markup-path.c:
433         * src/cairo-markup-path.h:
434         * src/cairo-object-path.c:
435         * src/cairo-object-path.h:
436                 New files to support cairo canvas.
437         * src/canvas-hacktext.c:
438         * src/canvas-hacktext.h:
439                 Removed.
440
441 2007-02-18  Jim Evins  <evins@snaught.com>
442
443         * src/bc.h:
444                 GNOME_FONT_BOOK changed to PANGO_WEIGHT_NORMAL.
445
446 2007-02-14  Jim Evins  <evins@snaught.com>
447
448         * src/base64.c:
449         * src/base64.h:
450         * src/bc-gnubarcode.c:
451         * src/bc-gnubarcode.h:
452         * src/bc-postnet.c:
453         * src/bc-postnet.h:
454         * src/bc.c:
455         * src/bc.h:
456         * src/canvas-hacktext.c:
457         * src/canvas-hacktext.h:
458         * src/debug.c:
459         * src/debug.h:
460         * src/file.c:
461         * src/file.h:
462         * src/glabels.c:
463         * src/hig.h:
464         * src/label-barcode.c:
465         * src/label-barcode.h:
466         * src/label-box.c:
467         * src/label-box.h:
468         * src/label-ellipse.c:
469         * src/label-ellipse.h:
470         * src/label-image.c:
471         * src/label-image.h:
472         * src/label-line.c:
473         * src/label-line.h:
474         * src/label-object.c:
475         * src/label-object.h:
476         * src/label-text.c:
477         * src/label-text.h:
478         * src/label.c:
479         * src/label.h:
480         * src/merge-evolution.c:
481         * src/merge-evolution.h:
482         * src/merge-init.c:
483         * src/merge-init.h:
484         * src/merge-properties-dialog.c:
485         * src/merge-properties-dialog.h:
486         * src/merge-text.c:
487         * src/merge-text.h:
488         * src/merge-vcard.c:
489         * src/merge-vcard.h:
490         * src/merge.c:
491         * src/merge.h:
492         * src/mini-preview-pixbuf.h:
493         * src/new-label-dialog.c:
494         * src/new-label-dialog.h:
495         * src/object-editor-bc-page.c:
496         * src/object-editor-data-page.c:
497         * src/object-editor-edit-page.c:
498         * src/object-editor-fill-page.c:
499         * src/object-editor-image-page.c:
500         * src/object-editor-line-page.c:
501         * src/object-editor-lsize-page.c:
502         * src/object-editor-position-page.c:
503         * src/object-editor-private.h:
504         * src/object-editor-size-page.c:
505         * src/object-editor-text-page.c:
506         * src/object-editor.c:
507         * src/object-editor.h:
508         * src/pixbuf-cache.c:
509         * src/pixbuf-cache.h:
510         * src/prefs-dialog.c:
511         * src/prefs-dialog.h:
512         * src/prefs-model.c:
513         * src/prefs-model.h:
514         * src/prefs.c:
515         * src/prefs.h:
516         * src/print-op.c:
517         * src/stock.c:
518         * src/stock.h:
519         * src/template-designer.c:
520         * src/text-node.c:
521         * src/text-node.h:
522         * src/ui-commands.c:
523         * src/ui-commands.h:
524         * src/ui-property-bar.c:
525         * src/ui-property-bar.h:
526         * src/ui-sidebar.c:
527         * src/ui-sidebar.h:
528         * src/ui-util.c:
529         * src/ui-util.h:
530         * src/ui.c:
531         * src/ui.h:
532         * src/util.c:
533         * src/util.h:
534         * src/view-barcode.c:
535         * src/view-barcode.h:
536         * src/view-box.c:
537         * src/view-box.h:
538         * src/view-ellipse.c:
539         * src/view-ellipse.h:
540         * src/view-highlight.c:
541         * src/view-highlight.h:
542         * src/view-image.c:
543         * src/view-image.h:
544         * src/view-line.c:
545         * src/view-line.h:
546         * src/view-object.c:
547         * src/view-object.h:
548         * src/view-text.c:
549         * src/view-text.h:
550         * src/view.c:
551         * src/view.h:
552         * src/wdgt-chain-button.c:
553         * src/wdgt-chain-button.h:
554         * src/wdgt-media-select.c:
555         * src/wdgt-mini-preview.c:
556         * src/wdgt-print-copies.c:
557         * src/wdgt-print-copies.h:
558         * src/wdgt-print-merge.c:
559         * src/wdgt-print-merge.h:
560         * src/wdgt-rotate-label.c:
561         * src/window.h:
562         * src/xml-label-04.c:
563         * src/xml-label-04.h:
564         * src/xml-label-191.c:
565         * src/xml-label-191.h:
566         * src/xml-label.c:
567         * src/xml-label.h:
568
569         Assorted superficial cleanup.  Including:
570         - Use G_DEFINE_TYPE for all objects.
571         - Reconcile style of all class initializer functions
572         - Reconcile style of all finalize functions
573         - Add emacs mode line to all source files
574                 
575 2007-02-06  Jim Evins  <evins@snaught.com>
576
577 Assorted cleanup and removal of deprecated items.
578         
579         * src/splash.c:
580         * src/splash.h:
581         * src/Makefile.am:
582                 Removed annoying splash screen.
583         * src/glabels-batch.c: (main):
584         * src/glabels.c: (main):
585                 Converted from popt to GOption.
586         * src/object-editor-shadow-page.c:
587         (gl_object_editor_set_shadow_state):
588                 Removed deprecated method on GtkToggleButton.
589         * src/ui-commands.c: (gl_ui_cmd_help_about):
590                 Removed dependency on libgnomui/qnome-url.h.
591         * src/template-designer.c:
592                 Removed dependency on libgnome/gnome-program.h.
593         
594
595 2007-02-04  Jim Evins  <evins@snaught.com>
596
597         * src/color.c:
598         * src/color.h:
599         * src/prefs-model.c:
600         * src/print.c: (draw_text_object):
601         * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_construct):
602                 Removed GnomeCanvas artifacts from color.[ch] and related modules.
603
604 2007-02-04  Jim Evins  <evins@snaught.com>
605
606         * src/wdgt-mini-preview.c:
607         * src/wdgt-mini-preview.h:
608                 Ported widget from GnomeCanvas to Cairo.
609
610 2007-02-03  Jim Evins  <evins@snaught.com>
611
612         * data/glade/template-designer.glade:
613         * src/template-designer.c:
614         * src/template-designer.h:
615                 Ported GnomeDruid to GtkAssistant.  Since libglade does not
616                 yet support the GtkAssistant and we derive directly from
617                 the Assistant, the pages are layed out in a GtkNotebook in
618                 the glade description -- we then append each page to the
619                 assistant.
620
621 2007-01-25  Jim Evins  <evins@snaught.com>
622
623         * data/glade/object-editor.glade:
624                 Added dummy page to notebook, to prevent shadow page from
625                 becoming the default current page at creation.
626         * src/view-box.c: (construct_properties_editor):
627         * src/view-ellipse.c: (construct_properties_editor):
628         * src/view-line.c: (construct_properties_editor):
629         * src/view-text.c: (construct_properties_editor):
630                 Reconciled order of params.
631
632 2007-01-19  Jim Evins  <evins@snaught.com>
633
634         * src/label-barcode.h:
635         * src/label-object.c: (gl_label_object_set_font_weight),
636         (gl_label_object_set_text_alignment),
637         (gl_label_object_get_font_weight),
638         (gl_label_object_get_text_alignment):
639         * src/label-object.h:
640         * src/label-text.c: (gl_label_text_instance_init), (copy),
641         (get_size), (set_font_family), (set_font_weight),
642         (set_text_alignment), (get_font_weight), (get_text_alignment):
643         * src/label-text.h:
644         * src/object-editor-text-page.c:
645         (gl_object_editor_prepare_text_page),
646         (gl_object_editor_set_font_family),
647         (gl_object_editor_set_font_weight),
648         (gl_object_editor_get_font_weight),
649         (gl_object_editor_set_text_alignment),
650         (gl_object_editor_get_text_alignment),
651         (gl_object_editor_set_text_color):
652         * src/object-editor.h:
653         * src/prefs-dialog.c: (construct_object_page),
654         (update_object_page_from_prefs), (update_prefs_from_object_page):
655         * src/prefs-model.c: (gl_prefs_model_save_settings),
656         (gl_prefs_model_load_settings):
657         * src/prefs-model.h:
658         * src/print.c: (draw_text_object):
659         * src/ui-property-bar.c: (gl_ui_property_bar_construct),
660         (reset_to_default_properties), (update_text_properties),
661         (font_bold_toggled_cb), (text_align_toggled_cb):
662         * src/ui-sidebar.c:
663         * src/util.c: (gl_util_align_to_string), (gl_util_string_to_align),
664         (gl_util_weight_to_string), (gl_util_string_to_weight),
665         (gl_util_get_font_family_list), (gl_util_font_family_list_free):
666         * src/util.h:
667         * src/view-text.c: (update_object_from_editor_cb),
668         (update_editor_from_object_cb), (draw_hacktext), (draw_cursor):
669         * src/view.c: (gl_view_set_selection_text_alignment),
670         (gl_view_set_default_text_alignment),
671         (gl_view_get_default_text_alignment):
672         * src/view.h:
673         * src/xml-label-04.c: (xml04_parse_text_props):
674         * src/xml-label-191.c: (xml191_parse_text_props):
675         * src/xml-label.c: (xml_parse_object_text),
676         (xml_parse_toplevel_span), (xml_create_object_text),
677         (xml_create_toplevel_span):
678                 Converted all model internals to Pango.  GnomeFont remains in
679         view until GnomeCanvas can be replaced with a cairo-based canvas.
680         
681 2007-01-17  Jim Evins  <evins@snaught.com>
682
683         * src/Makefile.am:
684         * src/hig.c:
685                 Deleted hig.c.
686         * src/hig.h:
687         * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type),
688         (gl_wdgt_print_copies_construct):
689         * src/wdgt-print-copies.h:
690         * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type),
691         (gl_wdgt_print_merge_construct):
692         * src/wdgt-print-merge.h:
693                 Removed all remaining HIG wrapper widgets.
694
695 2007-01-16  Jim Evins  <evins@snaught.com>
696
697         * src/Makefile.am:
698         * src/print-dialog.c:
699         * src/print-dialog.h:
700         * src/print-op.c:
701         * src/print-op.h:
702         * src/template-designer.c: (print_test_cb):
703         * src/ui-commands.c: (gl_ui_cmd_file_print):
704         * src/print.c:
705                 Renamed PrintDialog to PrintOp.  Added constructor for batch
706                 printing.
707         * src/glabels-batch.c: (main):
708                 Converted to use new PrintOp object for printing.
709
710 2007-01-15  Jim Evins  <evins@snaught.com>
711
712         * data/glade/Makefile.am:
713         * data/glade/print-custom-widget.glade:
714         * src/print-dialog.c:
715         * src/print-dialog.h:
716         * src/print.c:
717         * src/print.h:
718         * src/template-designer.c: (print_test_cb):
719         * src/ui-commands.c: (gl_ui_cmd_file_print):
720         * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_copies):
721         * src/wdgt-print-merge.h:
722         * src/window.c: (gl_window_init):
723         * src/window.h:
724                 Initial conversion to GtkPrintOperation.
725                 Still to do:
726                  - Remove font and other libgnomeprint[ui] from elsewhere
727                  - Add batch initialization of print operation
728
729 2007-01-08  Jim Evins  <evins@snaught.com>
730         * configure.in:
731                 Updated dependencies.  Set version to 2.1.pre4cvs.
732
733 2007-01-03  Jim Evins  <evins@snaught.com>
734
735         * src/recent-files/*
736                 Removed EggRecent stuff.
737         * configure.in:
738         * src/Makefile.am:
739         * src/file.c:
740         * src/recent.c:
741         * src/recent.h:
742         * src/ui-commands.c:
743         * src/ui-commands.h:
744         * src/ui.c:
745                 Ported from EggRecent to GtkRecentManager.
746         
747
748 2007-01-02  Jim Evins  <evins@snaught.com>
749
750         * configure.in:
751         * iec16022-0.2.1/BUGS:
752         * iec16022-0.2.1/CHANGELOG:
753         * iec16022-0.2.1/CREDITS:
754         * iec16022-0.2.1/INSTALL:
755         * iec16022-0.2.1/LICENSE:
756         * iec16022-0.2.1/Makefile.am:
757         * iec16022-0.2.1/Makefile.dist:
758         * iec16022-0.2.1/README:
759         * iec16022-0.2.1/README.glabels:
760         * iec16022-0.2.1/TODO:
761         * iec16022-0.2.1/iec16022.1:
762         * iec16022-0.2.1/iec16022.c:
763         * iec16022-0.2.1/iec16022ecc200.c:
764         * iec16022-0.2.1/iec16022ecc200.h:
765         * iec16022-0.2.1/image.c:
766         * iec16022-0.2.1/image.h:
767         * iec16022-0.2.1/reedsol.c:
768         * iec16022-0.2.1/reedsol.h:
769         * iec16022-0.2.1/test/testsuite-example.bin:
770         * iec16022-0.2.1/test/testsuite-example.eps:
771         * iec16022-0.2.1/test/testsuite-example.hex:
772         * iec16022-0.2.1/test/testsuite-example.png:
773         * iec16022-0.2.1/test/testsuite-example.text:
774         * iec16022-0.2.1/test/testsuite.sh:
775                 Include modified copy of iec16022-0.2.1 to provide encoding
776                 support for datamatrix 2D barcodes.
777         * src/Makefile.am:
778         * src/bc-iec16022.c:
779         * src/bc-iec16022.h:
780         * src/bc.c:
781                 Added initial datamatrix 2D barcode backend to barcode code.
782         * INSTALL:
783         * gtk-doc.make:
784                 Automatic updates to later versions of these files.
785
786 2006-11-28  Jim Evins  <evins@snaught.com>
787
788         * data/templates/avery-iso-templates.xml:
789         * data/templates/avery-us-templates.xml:
790         * data/templates/categories.xml:
791         * data/templates/misc-iso-templates.xml:
792         * data/templates/misc-us-templates.xml:
793         * data/templates/zweckform-iso-templates.xml:
794                 More categorization.
795         
796 2006-09-12  Jim Evins  <evins@snaught.com>
797
798         * data/dtd/glabels-2.0.dtd:
799         * data/templates/Makefile.am:
800         * data/templates/avery-iso-templates.xml:
801         * data/templates/avery-other-templates.xml:
802         * data/templates/avery-us-templates.xml:
803         * data/templates/categories.xml:
804         * data/templates/misc-iso-templates.xml:
805         * data/templates/misc-other-templates.xml:
806         * data/templates/zweckform-iso-templates.xml:
807         * data/glade/Makefile.am:
808         * data/glade/new-label-dialog.glade:
809         * data/glade/wdgt-media-select.glade:
810         * data/glade/wdgt-rotate-label.glade:
811         * libglabels/Makefile.am:
812         * libglabels/category.c:
813         * libglabels/category.h:
814         * libglabels/libglabels.h:
815         * libglabels/paper.c:
816         * libglabels/template.c:
817         * libglabels/template.h:
818         * libglabels/xml-category.c:
819         * libglabels/xml-category.h:
820         * libglabels/xml-template.c:
821                 Added support for category meta data.
822         * src/Makefile.am:
823         * src/file.c:
824         * src/mini-preview-pixbuf.c:
825         * src/mini-preview-pixbuf.h:
826         * src/new-label-dialog.c:
827         * src/new-label-dialog.h:
828         * src/wdgt-media-select.c:
829         * src/wdgt-media-select.h:
830         * src/wdgt-rotate-label.c:
831         * src/wdgt-rotate-label.h:
832                 New "new label" dialog.
833
834 2006-05-27  Jim Evins  <evins@snaught.com>
835
836         * NEWS:
837         * autogen.sh:
838         * configure.in:
839                 Preparation for 2.1.3.
840         * acinclude.m4:
841         * omf.make:
842         * xmldocs.make:
843                 Removed.
844         
845 2006-05-22  Jim Evins  <evins@snaught.com>
846
847         * src/print.c: (draw_barcode_object):
848                 Don't print "Invalid barcode data" if data field is empty.  Patch provided
849                 by Darren Warner <warnerd@users.sourceforge.net>.  Fixes Bug #1479839.
850         * AUTHORS:
851                 Added acknowledgment for above patch.
852         * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
853         * src/bc-postnet.c: (postnet_code):
854                 Removed "Invalid barcode data" warnings from stderr.
855         * src/view-barcode.c: (draw_barcode):
856                 Draw box around barcode extent if data empty or invalid.  Center a
857                 message whether the data is empty or invalid in box.
858
859 2006-05-22  Jim Evins  <evins@snaught.com>
860
861         * src/print.c: (draw_text_object):
862                 Check shadow state when printing text.
863
864 2006-05-20  Jim Evins  <evins@snaught.com>
865
866         * src/ui-commands.c: (gl_ui_cmd_view_grid_toggle),
867         (gl_ui_cmd_view_markup_toggle):
868                 Fixed crash when grid or markup have been toggled off during
869                 a previous session.  Bug #1434324.
870
871 2006-04-05  Jim Evins  <evins@snaught.com>
872
873         * src/object-editor.c: (gl_object_editor_set_key_names):
874                 Fixed potential crash when freeing empty key list.
875
876 2006-03-11  Jim Evins  <evins@snaught.com>
877
878         * src/print.c: (draw_text_object):
879         * src/view-text.c: (gl_view_text_new),
880         (construct_properties_editor), (update_object_from_editor_cb),
881         (update_editor_from_object_cb), (update_editor_from_label_cb),
882         (draw_hacktext):
883                 Added shadow support to text object.
884         
885 2006-02-18  Jim Evins  <evins@snaught.com>
886
887         * src/print.c: (draw_line_object):
888         * src/view-line.c: (gl_view_line_new),
889         (construct_properties_editor), (update_canvas_item_from_object_cb),
890         (update_object_from_editor_cb), (update_editor_from_object_cb),
891         (update_editor_from_label_cb):
892                 Added shadow support to line object.
893
894 2006-02-16  Jim Evins  <evins@snaught.com>
895
896         * src/view-box.c:
897                 Comment changes.
898         * src/print.c: (draw_ellipse_object):
899         * src/view-ellipse.c: (gl_view_ellipse_new),
900         (construct_properties_editor), (update_canvas_item_from_object_cb),
901         (update_object_from_editor_cb), (update_editor_from_object_cb),
902         (update_editor_from_label_cb):
903                 Added shadow support to ellipse object.
904
905 2006-02-15  Jim Evins  <evins@snaught.com>
906
907         * src/label-object.c:
908                 Changed default shadow offsets.
909         * src/view-box.c: (gl_view_box_new):
910                 Simplified gl_view_box_new() so that is does not duplicate code
911                 in update_canvas_item_from_object_cb().
912
913 2006-02-07  Jim Evins  <evins@snaught.com>
914
915         * data/glade/object-editor.glade:
916                 Fixed color groups of color combos.
917         * src/color.h:
918                 Added default shadow color.
919         * src/object-editor.c: (gl_object_editor_construct_color_combo):
920                 Added shadow color group.
921
922 2006-02-06  Jim Evins  <evins@snaught.com>
923
924         * src/object-editor-shadow-page.c:
925                 Forgot to add this file.
926         * src/view-box.c: (gl_view_box_new),
927         (update_canvas_item_from_object_cb), (update_editor_from_label_cb):
928                 Update limits on shadow offset spinbuttons.
929
930 2006-01-19  Jim Evins  <evins@snaught.com>
931
932         * src/merge-evolution.c: (gl_merge_evolution_get_key_list):
933                 Initialize key_list to NULL.
934         * data/glade/object-editor.glade:
935         * src/Makefile.am:
936         * src/color.c:
937         * src/color.h:
938         * src/label-object.c:
939         * src/label-object.h:
940         * src/object-editor-fill-page.c:
941         * src/object-editor-private.h:
942         * src/object-editor.c:
943         * src/object-editor.h:
944         * src/xml-label.c:
945                 Created infrastructure for shadow support.
946         * src/view-box.c:
947         * src/print.c:
948                 Initial shadow support in box object only.
949         
950 2006-01-05  Jim Evins  <evins@snaught.com>
951
952         * src/merge-properties-dialog.c: (src_changed_cb):
953                 Be extra paranoid before calling strcmp().
954         * src/merge.c: (gl_merge_set_src):
955                 Don't make (merge == NULL) a critical error.
956
957 2005-12-22  Jim Evins  <evins@snaught.com>
958
959         * src/glabels-batch.c: (main):
960                 Compile warning free with gcc 4.0.
961
962 2005-12-21  Jim Evins  <evins@snaught.com>
963
964         * glabels.spec.in:
965                 Updated example RPM spec file.
966         
967 2005-12-21  Jim Evins  <evins@snaught.com>
968
969         * NEWS:
970         * configure.in:
971                 Preparation for 2.1.2.
972         
973 2005-12-20  Jim Evins  <evins@snaught.com>
974
975         * src/Makefile.am:
976                 Define unique G_LOG_DOMAIN for glabels.
977         * src/critical-error-handler.c: (gl_critical_error_handler_init):
978         * src/warning-handler.c: (gl_warning_handler_init),
979         (warning_handler):
980                 Register for G_LOG_DOMAIN instead of NULL.
981         
982 2005-12-10  Jim Evins  <evins@snaught.com>
983
984         * src/merge-evolution.c:
985         * src/merge-vcard.c:
986                 Fixed indentation.
987
988 2005-12-08  Jim Evins  <evins@snaught.com>
989
990         * libglabels/paper.c: (read_paper_files_from_dir):
991         * libglabels/template.c: (gl_template_register),
992         (read_template_files_from_dir):
993         * libglabels/xml-paper.c: (gl_xml_paper_read_papers_from_file),
994         (gl_xml_paper_parse_papers_doc):
995         * libglabels/xml-template.c:
996         (gl_xml_template_read_templates_from_file),
997         (gl_xml_template_parse_templates_doc),
998         (gl_xml_template_parse_template_node),
999         (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
1000         (xml_parse_label_cd_node), (xml_parse_layout_node),
1001         (xml_parse_markup_margin_node), (xml_parse_markup_line_node),
1002         (xml_parse_markup_circle_node),
1003         (gl_xml_template_write_templates_to_file), (xml_create_label_node):
1004         * libglabels/xml.c: (gl_xml_get_prop_length):
1005                 Re-classified g_warnings to g_messages.
1006         * src/Makefile.am:
1007         * src/glabels.c: (main):
1008         * src/warning-handler.c: (gl_warning_handler_init),
1009         (warning_handler):
1010         * src/warning-handler.h:
1011                 Added warning message handler to make sure the user is
1012                 presented with appropriate non-fatal errors.
1013         * src/critical-error-handler.c: (critical_error_handler):
1014                 Changed exit to abort.
1015         * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new), (render_pass1):
1016         * src/bc-postnet.c: (postnet_code):
1017         * src/bc.c: (id_to_index), (name_to_index):
1018         * src/merge.c: (gl_merge_register_backend), (gl_merge_new):
1019         * src/object-editor.c: (gl_object_notebook_construct_valist):
1020         * src/prefs-dialog.c: (update_locale_page_from_prefs):
1021         * src/prefs.c: (gl_prefs_get_units_per_point),
1022         (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
1023         (gl_prefs_get_units_string):
1024         * src/print.c: (draw_outline), (clip_to_outline), (clip_punchouts):
1025         * src/splash.c: (gl_splash):
1026         * src/ui-commands.c: (gl_ui_cmd_help_contents):
1027         * src/view-highlight.c: (gl_view_highlight_new),
1028         (highlight_resizable_box_construct), (object_changed_cb),
1029         (view_scale_changed_cb):
1030         * src/view.c: (draw_label_layer), (draw_bg_fg_layers),
1031         (draw_markup_layer), (draw_markup_margin),
1032         (gl_view_object_create_mode), (canvas_event),
1033         (selection_received_cb):
1034         * src/wdgt-mini-preview.c: (mini_outline_list_new):
1035         * src/wdgt-rotate-label.c: (mini_preview_canvas_update):
1036         * src/xml-label-04.c: (gl_xml_label_04_parse),
1037         (xml04_parse_media_description), (xml04_parse_text_props),
1038         (xml04_parse_barcode_props):
1039         * src/xml-label-191.c: (gl_xml_label_191_parse),
1040         (xml191_parse_objects), (xml191_parse_object),
1041         (xml191_parse_text_props), (xml191_parse_image_props),
1042         (xml191_parse_barcode_props), (xml191_parse_data),
1043         (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
1044         (xml191_parse_markup):
1045         * src/xml-label.c: (gl_xml_label_open), (gl_xml_label_open_buffer),
1046         (xml_doc_to_label), (xml_parse_label), (xml_parse_objects),
1047         (xml_parse_object_text), (xml_parse_object_image),
1048         (xml_parse_object_barcode), (xml_parse_data),
1049         (xml_parse_toplevel_span), (gl_xml_label_save),
1050         (xml_create_objects):
1051                 Re-classified g_warnings to g_messages.
1052         * src/merge-evolution.c: (gl_merge_evolution_open),
1053         (gl_merge_evolution_close), (gl_merge_evolution_get_record):
1054                 Use g_warning to output errors encountered while
1055                 communicating with the evolution data server
1056                 instead of embedding them in the data.
1057         
1058 2005-12-08  Jim Evins  <evins@snaught.com>
1059
1060         * libglabels/libglabels-private.h:
1061                 Set G_LOG_DOMAIN
1062         * libglabels/paper.c: (read_papers):
1063         * libglabels/template.c: (read_templates):
1064                 Made appropriate warnings critical.
1065         * src/Makefile.am:
1066         * src/critical-error-handler.h:
1067         * src/critical-error-handler.c: (gl_critical_error_handler_init),
1068         (critical_error_handler):
1069                 Created critical error handler.
1070         * src/glabels.c: (main):
1071                 Register critical error handler.
1072         * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
1073         * src/object-editor.c: (gl_object_editor_init):
1074         * src/prefs-dialog.c: (gl_prefs_dialog_init):
1075         * src/template-designer.c: (gl_template_designer_init):
1076         * src/ui-property-bar.c: (gl_ui_property_bar_instance_init):
1077                 Made appropriate warnings critical.
1078
1079 2005-11-27  Jim Evins  <evins@snaught.com>
1080
1081         * src/merge-evolution.c: (gl_merge_evolution_get_key_list),
1082         (gl_merge_evolution_get_primary_key),
1083         (gl_merge_evolution_get_record):
1084                 Don't create "record_key" pseudo-key.  Don't populate
1085                 fields with null data.
1086
1087 2005-11-25  Jim Evins  <evins@snaught.com>
1088
1089         * src/merge-evolution.c: (gl_merge_evolution_finalize),
1090         (gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
1091         (gl_merge_evolution_get_record), (gl_merge_evolution_copy),
1092         (free_field_list):
1093                 Query EDS for all supported fields.  Patch provided by
1094                 Austin Henry <ahenry@users.sourceforge.net>.
1095
1096 2005-10-29  Jim Evins  <evins@snaught.com>
1097
1098         * src/glabels.c: (main):
1099         * src/label-barcode.c: (gl_label_barcode_finalize):
1100         * src/label-text.c: (gl_label_text_finalize), (set_font_family):
1101         * src/label.c: (gl_label_instance_init), (gl_label_finalize):
1102         * src/object-editor.c: (gl_object_editor_finalize):
1103                 Another pass at valgrinding -- plugged several memory leaks.
1104         * src/view-text.c: (gl_view_text_new),
1105         (update_canvas_item_from_object_cb), (draw_hacktext):
1106                 Commented out artifacts of edit-in-place code.
1107         
1108 2005-10-28  Jim Evins  <evins@snaught.com>
1109
1110         * src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
1111                 Fixed use of uninitialized variable.  Caught by
1112                 d binderman <dcb314@hotmail.com>.
1113
1114 2005-10-27  Jim Evins  <evins@snaught.com>
1115
1116         * src/merge-evolution.c: (gl_merge_evolution_get_record):
1117         * src/merge-vcard.c: (gl_merge_vcard_get_record),
1118         (parse_next_vcard):
1119                 Additional cleanup of EDS and vcard backends.  Provided by
1120                 Austin Henry <ahenry@users.sourceforge.net>.
1121
1122 2005-10-24  Jim Evins  <evins@snaught.com>
1123
1124         * AUTHORS:
1125         * src/Makefile.am:
1126         * src/merge-evolution.c:
1127         * src/merge-evolution.h:
1128         * src/merge-init.c: (gl_merge_init):
1129         * src/merge-properties-dialog.c: (type_changed_cb):
1130         * src/merge-vcard.c:
1131         * src/merge-vcard.h:
1132         * src/ui-commands.c: (gl_ui_cmd_help_about):
1133                 Added Evolution Data Server and VCard merge backends.  Original patch
1134                 provided by Austin Henry <ahenry@users.sourceforge.net>.
1135         * configure.in:
1136                 Only support EDS and VCard backends if libebook is installed.  Allow
1137                 user to disable support, even if installed.
1138         
1139 2005-10-24  Jim Evins  <evins@snaught.com>
1140
1141         * AUTHORS:
1142         * data/templates/avery-iso-templates.xml:
1143         * data/templates/avery-us-templates.xml:
1144         * data/templates/misc-iso-templates.xml:
1145         * data/templates/zweckform-iso-templates.xml:
1146                 Collected all template changes and submissions since last
1147                 release.
1148
1149 2005-10-23  Jim Evins  <evins@snaught.com>
1150
1151         * configure.in:
1152         * data/mime/Makefile.am:
1153                 Added configure options to disable update-mime-database and
1154                 update-desktop-database as part of the install.  Patch
1155                 provided by Leonardo Boshell (qhoracio@sourceforge.net).
1156
1157 2005-10-23  Jim Evins  <evins@snaught.com>
1158
1159         * libglabels/xml.h:
1160         * libglabels/xml.c: (gl_xml_get_prop_string),
1161         (gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
1162         (gl_xml_is_node), (gl_xml_get_node_content):
1163                 Added new XML utility functions.
1164         * libglabels/xml-paper.c:
1165         * libglabels/xml-template.c:
1166         * src/xml-label.c:
1167                 Cleanup by using new xml utilities created above.
1168         * libglabels/paper.c: (gl_paper_free):
1169         * src/file.c: (new_response):
1170         * src/object-editor-image-page.c: (add_image_filters_to_chooser):
1171         * src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
1172         (gl_pixbuf_cache_get_pixbuf):
1173         * src/ui-property-bar.c:
1174         (gl_ui_property_bar_construct_color_combo):
1175         * src/view-highlight.c: (gl_view_highlight_finalize):
1176         * src/view-image.c: (update_object_from_editor_cb):
1177         * src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
1178         (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
1179         (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
1180         (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
1181         (draw_markup_margin_round), (draw_markup_margin_cd),
1182         (draw_markup_margin_cd_bc):
1183         * src/wdgt-mini-preview.c: (mini_outline_list_new):
1184         * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
1185                 Plugged various memory leaks located with valgrind.
1186         * src/view-image.c: (update_canvas_item_from_object_cb):
1187                 Don't allow a width or height of zero when drawing pixbuf.
1188
1189 2005-10-22  Jim Evins  <evins@snaught.com>
1190
1191         * libglabels/xml-paper.c:
1192         * libglabels/xml-template.c:
1193         * libglabels/xml.c:
1194         * src/base64.c:
1195         * src/bc-gnubarcode.c:
1196         * src/canvas-hacktext.c:
1197         * src/label-text.c:
1198         * src/object-editor-data-page.c:
1199         * src/print-dialog.c:
1200         * src/print.c:
1201         * src/recent.c:
1202         * src/template-designer.c:
1203         * src/text-node.c:
1204         * src/ui-property-bar.c:
1205         * src/ui.c:
1206         * src/view-barcode.c:
1207         * src/view-box.c:
1208         * src/view-ellipse.c:
1209         * src/view-image.c:
1210         * src/view-line.c:
1211         * src/view-text.c:
1212         * src/view.c:
1213         * src/wdgt-media-select.c:
1214         * src/xml-label-04.c:
1215         * src/xml-label-191.c:
1216         * src/xml-label.c:
1217                 Modified to compile warning free with gcc-4.0.  Mostly
1218                 casting to change signedness of characters.  Did not
1219                 attack gnu-barcode library yet.
1220
1221 2005-10-22  Jim Evins <evins@snaught.com>
1222
1223         * src/glabels.c: (main):
1224         * src/splash.c: (gl_splash):
1225                 Removed some small memory leaks.
1226         * gtk-doc.make:
1227                 Added.
1228         
1229 2005-09-19  Jim Evins  <evins@snaught.com>
1230
1231         * data/glade/property-bar.glade:
1232                 Remove items from font_family_combo.  This prevents the
1233                 double entry after adding text model and list of fonts.
1234         * src/ui-property-bar.c: (reset_to_default_properties):
1235                 Free font_family_list.
1236
1237 2005-07-01  Jim Evins  <evins@snaught.com>
1238
1239         * po/it.po:
1240                 Updated italian translation (Daniele Medri)
1241
1242 2005-06-26  Jim Evins  <evins@snaught.com>
1243
1244         * docs/libglabels/libglabels-decl-list.txt:
1245                 Somehow never got checked in before.
1246         * docs/libglabels/libglabels.types:
1247                 Removed -- don't need it afterall.
1248
1249 2005-06-20  Jim Evins  <evins@snaught.com>
1250
1251         * NEWS:
1252                 Final prep for 2.1.1 release.
1253
1254 2005-06-20  Jim Evins  <evins@snaught.com>
1255
1256         * configure.in:
1257                 Final preps for 2.1.1 release.
1258         * docs/libglabels/libglabels.types:
1259                 Somehow never got checked in before.
1260         * po/POTFILES.in:
1261                 Bring up-to-date with recent reorg of ui code.
1262                 
1263
1264 2005-06-19  Jim Evins  <evins@snaught.com>
1265
1266         * src/template-designer.c: (construct_layout_page):
1267                 Removed attempt to match background color of mini preview widget to
1268                 background.
1269
1270 2005-06-17  Jim Evins  <evins@snaught.com>
1271
1272         * help/C/figures/merge-ex2-4.png:
1273         * help/C/glabels.xml:
1274                 Fixed spelling error.
1275
1276 2005-06-13  Jim Evins  <evins@snaught.com>
1277
1278         * help/C/figures/merge-ex1-1.png:
1279         * help/C/figures/merge-ex1-2.png:
1280         * help/C/figures/merge-ex1-3.png:
1281         * help/C/figures/merge-ex1-4.png:
1282         * help/C/figures/merge-ex2-1.png:
1283         * help/C/figures/merge-ex2-2.png:
1284         * help/C/figures/merge-ex2-3.png:
1285         * help/C/figures/merge-ex2-4.png:
1286                 Added figures for document merge tutorial.
1287         * help/C/glabels.xml:
1288                 Added document merge tutorial.
1289
1290 2005-05-19  Jim Evins  <evins@snaught.com>
1291
1292         * data/glade/merge-properties-dialog.glade:
1293                 Fixed irregular spacing.
1294         * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
1295         (gl_merge_properties_dialog_construct):
1296                 Set outer padding and remove separator.
1297
1298 2005-05-18  Jim Evins  <evins@snaught.com>
1299
1300         * src/hig.h:
1301         * src/hig.c:
1302                 Removed glHigDialog class.
1303         * src/file.c: (gl_file_new), (create_new_dialog_widgets),
1304         (gl_file_properties), (create_properties_dialog_widgets):
1305         * src/prefs-dialog.h:
1306         * src/prefs-dialog.c: (gl_prefs_dialog_get_type),
1307         (gl_prefs_dialog_init), (gl_prefs_dialog_construct):
1308         * src/print-dialog.h:
1309         * src/prefs-dialog.h:
1310         * src/print-dialog.c: (gl_print_dialog_get_type),
1311         (gl_print_dialog_init), (gl_print_dialog_construct):
1312                 Replaced all instances of glHigDialog with GtkDialog.
1313         
1314 2005-05-17  Jim Evins  <evins@snaught.com>
1315
1316         * src/hig.h:
1317         * src/hig.c:
1318                 Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
1319         * src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
1320         (save_as_response), (gl_file_close):
1321                 Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.
1322
1323 2005-05-15  Jim Evins  <evins@snaught.com>
1324
1325         * src/ui-commands.h:
1326         * src/ui-util.c:
1327         * src/ui-util.h:
1328         * src/ui.c:
1329         * src/ui.h:
1330         * src/view.c:
1331         * src/window.c:
1332         * src/window.h:
1333                 A little code reformatting -- no functional changes.
1334         
1335 2005-05-14  Jim Evins  <evins@snaught.com>
1336
1337         * src/Makefile.am:
1338                 Removed obsolete macros.
1339         * src/marshal.list:
1340                 Added marshalling template to support new view signal: "context_menu_activate."
1341         * src/view.h:
1342         * src/view.c: (gl_view_class_init), (gl_view_construct),
1343         (canvas_event_arrow_mode):
1344                 - Removed hardcoded context menus and added new signal "context_menu_activate"
1345                 to push this up to the uimanager.
1346                 - Removed merge properties and print dialogs so that they can be managed with
1347                 the window by the uimanager.
1348         * src/merge-properties-dialog.h:
1349         * src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
1350         (gl_merge_properties_dialog_construct):
1351                 Changed calling convention of gl_merge_properties_dialog_new() to use
1352                 glLabel and GtkWindow instead of view to make more consistent with other
1353                 dialogs.
1354         * src/print-dialog.h:
1355         * src/print-dialog.c: (gl_print_dialog_new),
1356         (gl_print_dialog_construct):
1357                 Removed last artifact of libbonoboui.
1358         * src/ui-commands.c: (gl_ui_cmd_file_print),
1359         (gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
1360                 Reconciled style for launching dialogs.
1361         * src/ui.c: (gl_ui_new):
1362                 Added context menus to ui manager.
1363         * src/view-object.c: (item_event_arrow_mode):
1364                 No longer try to select objects with right-click.
1365         * src/window.h:
1366         * src/window.c: (gl_window_init), (gl_window_set_label),
1367         (context_menu_activate_cb):
1368                 Context menus and all dialogs are now managed in a consistent way in window
1369                 by the ui manager.
1370
1371 2005-05-11  Jim Evins  <evins@snaught.com>
1372
1373         * src/window.h:
1374         * src/window.c: (gl_window_init), (gl_window_destroy):
1375         * src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
1376         * src/ui-commands.c: (gl_ui_cmd_file_open_recent):
1377                 Moved management of recent_view back from window.c to ui.c -- it just feels
1378                 better there.
1379         
1380 2005-05-10  Jim Evins  <evins@snaught.com>
1381
1382         * src/window.h:
1383         * src/window.c: (gl_window_init):
1384         * src/ui.h:
1385         * src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
1386         (menu_item_select_cb), (menu_item_deselect_cb):
1387                 Added GtkStatusbar which displays menu tooltips.
1388         
1389 2005-05-09  Jim Evins  <evins@snaught.com>
1390
1391         Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
1392         and toolbars.
1393
1394         * configure.in:
1395         * glabels.spec.in:
1396                 Removed dependencies on libbonoboui.
1397         * data/Makefile.am:
1398         * data/ui/Makefile.am:
1399         * data/ui/glabels-ui.xml:
1400                 Removed data/ui directory.
1401         * data/glade/Makefile.am:
1402         * data/property-bar.glade:
1403                 Added glade description of property-bar for new libglade implementation
1404                 of glUIPropertyBar.
1405         * src/Makefile.am:
1406         * src/commands.h:
1407         * src/commands.c:
1408         * src/tools.h:
1409         * src/tools.c:
1410         * src/ui-commands.h:
1411         * src/ui-commands.c:
1412                 Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
1413                 since the distinction between "commands" and "tools" is no longer that clear.
1414         * src/file.h:
1415         * src/file.c:
1416                 Modified to expect glWindow instead of GtkWindow.  gl_file_open_recent()
1417                 no longer has knowledge of eggRecent*.
1418         * src/glabels.c: (main):
1419                 Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
1420                 loop.
1421         * src/object-editor.c: (gl_object_editor_init):
1422                 Make sure notebook does not respond to a "show_all" on the parent.
1423         * src/recent-files/Makefile.am:
1424         * src/recent-files/*.[ch]
1425                 Updated from latest version of libegg which now has a view based on
1426                 GtkUIManager.  Removed unused bonobo and gtk views.
1427         * src/ui-property-bar.h:
1428         * src/ui-property-bar.c:
1429                 New implementation based on libglade.
1430         * src/ui-sidebar.h:
1431         * src/ui-sidebar.c:
1432                 Sidebar is now simply a GtkWidget and does not expect to be a part of
1433                 a libbonoboui interface.
1434         * src/ui-util.h:
1435         * src/ui-util.c:
1436         * src/ui.h:
1437         * src/ui.c:
1438                 Converted for use with GtkUIManager.
1439         * src/window.h:
1440         * src/window.c:
1441                 Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
1442                 to create menus and toolbars.
1443
1444 2005-04-25  Jim Evins  <evins@snaught.com>
1445
1446         * data/templates/misc-iso-templates.xml:
1447                 Added Fellows 04715 template provided by Steve Saxon.
1448         * AUTHORS:
1449                 Updated acknowledgement for above.
1450
1451 2005-04-23  Jim Evins  <evins@snaught.com>
1452
1453         * src/util.c: (gl_util_combo_box_set_strings):
1454                 Make sure to clear model before loading a new list of strings.
1455         * src/wdgt-media-select.h:
1456         * src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
1457         (gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
1458         (template_combo_changed_cb), (prefs_changed_cb),
1459         (gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
1460         (gl_wdgt_media_select_get_page_size),
1461         (gl_wdgt_media_select_set_page_size):
1462                 Replaced the deprecated GtkCombo widget with the new
1463                 GtkComboBox.
1464
1465 2005-04-21  Jim Evins  <evins@snaught.com>
1466
1467         * data/glade/template-designer.glade:
1468         * src/template-designer.c: (construct_pg_size_page),
1469         (pg_size_page_changed_cb), (build_template):
1470                 Replaced the deprecated GtkCombo widget with the new
1471                 GtkComboBox.
1472
1473 2005-04-20  Jim Evins  <evins@snaught.com>
1474
1475         * data/glade/prefs-dialog.glade:
1476         * src/prefs-dialog.c: (construct_object_page),
1477         (update_object_page_from_prefs), (update_prefs_from_object_page):
1478                 Replaced the deprecated GtkCombo widget with the new
1479                 GtkComboBox.
1480         
1481 2005-04-19  Jim Evins  <evins@snaught.com>
1482
1483         * data/glade/object-editor.glade:
1484         * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
1485         (style_changed_cb), (gl_object_editor_set_bc_style),
1486         (gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
1487         (gl_object_editor_get_bc_color):
1488         * src/object-editor-data-page.c:
1489         (gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
1490         (gl_object_editor_get_data):
1491         * src/object-editor-edit-page.c:
1492         (gl_object_editor_prepare_edit_page), (insert_button_cb):
1493         * src/object-editor-fill-page.c:
1494         (gl_object_editor_prepare_fill_page),
1495         (gl_object_editor_set_fill_color),
1496         (gl_object_editor_get_fill_color):
1497         * src/object-editor-image-page.c:
1498         (gl_object_editor_prepare_image_page),
1499         (gl_object_editor_set_image), (gl_object_editor_get_image):
1500         * src/object-editor-line-page.c:
1501         (gl_object_editor_prepare_line_page),
1502         (gl_object_editor_set_line_color),
1503         (gl_object_editor_get_line_color):
1504         * src/object-editor-private.h:
1505         * src/object-editor-text-page.c:
1506         (gl_object_editor_prepare_text_page),
1507         (gl_object_editor_set_font_family),
1508         (gl_object_editor_get_font_family),
1509         (gl_object_editor_set_text_color),
1510         (gl_object_editor_get_text_color):
1511         * src/object-editor.c: (gl_object_editor_set_key_names):
1512         * src/ui-sidebar.c:
1513                 In the object editor: replaced all instances of the deprecated
1514                 GtkCombo widget with the new GtkComboBox.
1515
1516 2005-04-18  Jim Evins  <evins@snaught.com>
1517
1518         * src/stock.c:
1519                 Neglected to save this one in previous checkin to support
1520                 header cleanup.
1521         
1522 2005-04-17  Jim Evins  <evins@snaught.com>
1523
1524         * libglabels/libglabels-private.h:
1525         * libglabels/paper.c:
1526         * libglabels/paper.h:
1527         * libglabels/template.c:
1528         * libglabels/template.h:
1529         * libglabels/xml-paper.c:
1530         * libglabels/xml-paper.h:
1531         * libglabels/xml-template.c:
1532         * libglabels/xml.c:
1533         * libglabels/xml.h:
1534         * src/base64.c:
1535         * src/base64.h:
1536         * src/bc-gnubarcode.c:
1537         * src/bc-postnet.c:
1538         * src/bc.c:
1539         * src/bc.h:
1540         * src/commands.c:
1541         * src/debug.c:
1542         * src/debug.h:
1543         * src/file.c:
1544         * src/file.h:
1545         * src/hig.c:
1546         * src/hig.h:
1547         * src/label-barcode.c:
1548         * src/label-box.c:
1549         * src/label-ellipse.c:
1550         * src/label-image.c:
1551         * src/label-image.h:
1552         * src/label-line.c:
1553         * src/label-object.c:
1554         * src/label-text.c:
1555         * src/label-text.h:
1556         * src/label.c:
1557         * src/merge-properties-dialog.c:
1558         * src/object-editor-bc-page.c:
1559         * src/object-editor-data-page.c:
1560         * src/object-editor-edit-page.c:
1561         * src/object-editor-fill-page.c:
1562         * src/object-editor-image-page.c:
1563         * src/object-editor-line-page.c:
1564         * src/object-editor-lsize-page.c:
1565         * src/object-editor-position-page.c:
1566         * src/object-editor-private.h:
1567         * src/object-editor-size-page.c:
1568         * src/object-editor-text-page.c:
1569         * src/object-editor.c:
1570         * src/object-editor.h:
1571         * src/pixbuf-cache.h:
1572         * src/prefs-dialog.c:
1573         * src/prefs-dialog.h:
1574         * src/prefs-model.c:
1575         * src/prefs-model.h:
1576         * src/prefs.c:
1577         * src/print-dialog.c:
1578         * src/print-dialog.h:
1579         * src/print.c:
1580         * src/print.h:
1581         * src/recent.c:
1582         * src/recent.h:
1583         * src/splash.c:
1584         * src/splash.h:
1585         * src/stock.h:
1586         * src/template-designer.c:
1587         * src/template-designer.h:
1588         * src/text-node.h:
1589         * src/tools.c:
1590         * src/ui-property-bar.c: (gl_ui_property_bar_construct):
1591         * src/ui-sidebar.c:
1592         * src/ui-util.c:
1593         * src/ui.c:
1594         * src/util.c:
1595         * src/util.h:
1596         * src/view-barcode.c:
1597         * src/view-box.c:
1598         * src/view-ellipse.c:
1599         * src/view-highlight.c:
1600         * src/view-highlight.h:
1601         * src/view-image.c:
1602         * src/view-line.c:
1603         * src/view-object.c:
1604         * src/view-object.h:
1605         * src/view-text.c:
1606         * src/view.c:
1607         * src/view.h:
1608         * src/wdgt-chain-button.c:
1609         * src/wdgt-media-select.c:
1610         * src/wdgt-media-select.h:
1611         * src/wdgt-mini-preview.c:
1612         * src/wdgt-mini-preview.h:
1613         * src/wdgt-print-copies.c:
1614         * src/wdgt-print-copies.h:
1615         * src/wdgt-print-merge.c:
1616         * src/wdgt-print-merge.h:
1617         * src/wdgt-rotate-label.c:
1618         * src/wdgt-rotate-label.h:
1619         * src/window.c:
1620         * src/window.h:
1621         * src/xml-label-04.c:
1622         * src/xml-label-191.c:
1623         * src/xml-label.c:
1624                 Cleanup of header files:
1625                 - all header files are now stand-alone, verified by including
1626                   first in corresponding "c" files
1627                 - replaced blanket includes of gnome, gtk, and glib with
1628                   targetted includes
1629         
1630 2005-04-16  Jim Evins  <evins@snaught.com>
1631
1632         * data/glade/Makefile.am:
1633         * data/glade/merge-properties-dialog.glade:
1634                 Added merge properties dialog glade description file.
1635         * src/merge-properties-dialog.h:
1636         * src/merge-properties-dialog.c:
1637         (gl_merge_properties_dialog_get_type),
1638         (gl_merge_properties_dialog_init),
1639         (gl_merge_properties_dialog_finalize),
1640         (gl_merge_properties_dialog_new),
1641         (gl_merge_properties_dialog_construct), (type_changed_cb),
1642         (src_changed_cb), (response_cb), (load_tree),
1643         (record_select_toggled_cb), (select_all_button_clicked_cb),
1644         (unselect_all_button_clicked_cb):
1645                 Modified merge properties dialog to use libglade.  Added
1646                 "select all" and "unselect all" buttons.
1647         * src/merge-text.c: (parse_line):
1648                 Handle empty lines better.
1649         * src/merge.c: (gl_merge_eval_key):
1650                 Evaluate the key whether the record is selected or not.
1651         * src/util.h:
1652         * src/util.c: (gl_util_combo_box_add_text_model):
1653                 Since libglade does not use the gtk_combo_box_new_text()
1654                 constructor for GtkComboBoxes, a utility function was created
1655                 to add an appropriate text model to a GtkComboBox.
1656         * src/view.c: (gl_view_edit_merge_props):
1657                 Removed unnecessary "show all's".
1658
1659 2005-04-15  Jim Evins  <evins@snaught.com>
1660
1661         * po/ru.po:
1662                 Updated russian translation (Vitaly Lipatov)
1663         * data/templates/misc-iso-templates.xml:
1664                 Added templates for russian business cards provided by Vitaly Lipatov.
1665         * AUTHORS:
1666                 Updated acknowledgements for above.
1667
1668 2005-04-15  Jim Evins  <evins@snaught.com>
1669
1670         * data/templates/avery-us-templates.xml:
1671                 Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
1672         * data/templates/misc-iso-templates.xml:
1673                 Added Ryman standard CD/DVD template, provided by Dan Clark.
1674         * AUTHORS:
1675                 Added acknowledgements for above.
1676         
1677 2005-04-10  Jim Evins <evins@snaught.com>
1678
1679         * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
1680         * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
1681         (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
1682         (xml_parse_label_cd_node), (xml_parse_alias_node):
1683         * libglabels/xml.c: (gl_xml_get_prop_double),
1684         (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
1685         (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
1686         * src/xml-label-04.c: (xml04_parse_media_description),
1687         (xml04_parse_text_props), (xml04_parse_barcode_props),
1688         (xml04_parse_merge_properties):
1689         * src/xml-label-191.c: (xml191_parse_object),
1690         (xml191_parse_text_props), (xml191_parse_barcode_props),
1691         (xml191_parse_merge_fields), (xml191_parse_pixdata),
1692         (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
1693         (xml191_parse_alias):
1694         * src/xml-label.c: (xml_parse_object_text),
1695         (xml_parse_object_barcode), (xml_parse_merge_fields),
1696         (xml_parse_pixdata), (xml_parse_toplevel_span):
1697                 Make sure to use xmlFree for anything obtained from libxml
1698                 in case libxml and glib use different memory management
1699                 space.
1700
1701 2005-04-08  Jim Evins <evins@snaught.com>
1702
1703         * src/util.h:
1704         * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
1705         (gl_util_combo_box_set_active_text):
1706                 Added utility functions to simplify working with GtkComboBox
1707                 widgets in GTK-2.6.
1708         * src/ui-property-bar.h:
1709         * src/ui-property-bar.c: (gl_ui_property_bar_construct),
1710         (reset_to_default_properties), (update_text_properties),
1711         (font_family_changed_cb):
1712                 Replaced deprecated GtkCombo with GtkComboBox.
1713         
1714         
1715 2005-04-03  Jim Evins <evins@snaught.com>
1716
1717         * src/Makefile.am:
1718         * src/wdgt-image-select.h:
1719         * src/wdgt-image-select.c:
1720                 Removed obsolete wdgt-image-select.[ch] files.
1721         * libglabels/paper.c: (gl_paper_dup):
1722                 Fixed rename of parameter introduced during documentation
1723                 updates.
1724         * data/glade/object-editor.glade:
1725         * src/object-editor-image-page.c:
1726         (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
1727         (gl_object_editor_set_image), (gl_object_editor_get_image),
1728         (update_preview_cb), (add_image_filters_to_chooser):
1729         * src/object-editor-private.h:
1730                 Replaced deprecated GnomePixmapEntry with
1731                 GtkFileChooserButton.
1732
1733 2005-04-02  Jim Evins <evins@snaught.com>
1734
1735         * src/mygal/mygal-combo-box.c: (deactivate_arrow),
1736         (mygal_combo_box_popup_hide_unconditional),
1737         (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
1738         (mygal_combo_toggle_pressed), (mygal_combo_box_init),
1739         (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
1740         (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
1741         (cb_tearable_button_release), (mygal_combo_box_set_tearable):
1742                 Renamed all internal gtk_combo functions to mygal_combo
1743                 to prevent namespace confusion.
1744
1745 2005-04-02  Jim Evins <evins@snaught.com>
1746
1747         * src/mygal/color-palette.c: (color_palette_change_custom_color),
1748         (cust_color_set), (color_palette_setup):
1749         * src/mygal/color-palette.h:
1750                 Replaced deprecated GnomeColorPicker with GtkColorButton.
1751
1752 2005-04-02  Jim Evins <evins@snaught.com>
1753
1754         * docs/libglabels/libglabels-sections.txt:
1755         * docs/libglabels/libglabels-undocumented.txt:
1756         * docs/libglabels/tmpl/enums.sgml:
1757         * docs/libglabels/tmpl/paper.sgml:
1758         * docs/libglabels/tmpl/xml-paper.sgml:
1759         * docs/libglabels/tmpl/xml-template.sgml:
1760         * libglabels/enums.h:
1761         * libglabels/paper.c: (gl_paper_dup):
1762         * libglabels/paper.h:
1763         * libglabels/xml-paper.c:
1764         * libglabels/xml-template.c:
1765                 More documentation updates for libglabels.
1766         
1767 2005-03-23  Jim Evins  <evins@snaught.com>
1768
1769         * INSTALL:
1770                 Automatically updated.
1771         * Makefile.am:
1772         * autogen.sh:
1773         * configure.in:
1774         * docs/Makefile.am:
1775         * docs/libglabels/Makefile.am:
1776         * docs/libglabels/libglabels-docs.sgml:
1777         * docs/libglabels/libglabels-sections.txt:
1778         * docs/libglabels/libglabels-undocumented.txt:
1779         * docs/libglabels/tmpl/enums.sgml:
1780         * docs/libglabels/tmpl/libglabels-unused.sgml:
1781         * docs/libglabels/tmpl/libglabels.sgml:
1782         * docs/libglabels/tmpl/paper.sgml:
1783         * docs/libglabels/tmpl/template.sgml:
1784         * docs/libglabels/tmpl/xml-paper.sgml:
1785         * docs/libglabels/tmpl/xml-template.sgml:
1786         * docs/libglabels/tmpl/xml.sgml:
1787                 Added basic gtk-doc stuff to support documenting libglabels
1788                 API.
1789         * libglabels/xml.c:
1790                 Updated function comments with gtk-doc markup.
1791         * missing:
1792                 Removed.
1793
1794 2005-03-22  Jim Evins  <evins@snaught.com>
1795
1796         Since the development version now requires gtk-2.6/gnome-2.10, I
1797         have made a first pass at removing deprecations.
1798
1799         * configure.in:
1800         * libglabels/Makefile.am:
1801         * src/Makefile.am:
1802                 Added configure option to turn on X_DISABLE_DEPRECATED flags.
1803                 Also removed all remnants of HAVE_FILECHOOSER.
1804         * src/file.c: (gl_file_open_real):
1805                 Removed code for old GtkFileSelection.
1806         * libglabels/libglabels-private.h:
1807         * libglabels/paper.c:
1808         * libglabels/template.c:
1809         * libglabels/xml-paper.c:
1810         * libglabels/xml-template.c:
1811         * libglabels/xml.c:
1812         * src/bc.c:
1813         * src/file.c:
1814         * src/glabels-batch.c:
1815         * src/glabels.c:
1816         * src/label.c:
1817         * src/merge-init.c:
1818         * src/merge-properties-dialog.c:
1819         * src/merge.c:
1820         * src/object-editor.c:
1821         * src/prefs-dialog.c:
1822         * src/prefs.c:
1823         * src/print-dialog.c:
1824         * src/print.c:
1825         * src/stock.c:
1826         * src/template-designer.c:
1827         * src/ui-property-bar.c:
1828         * src/ui-sidebar.c:
1829         * src/view-barcode.c:
1830         * src/view-box.c:
1831         * src/view-ellipse.c:
1832         * src/view-image.c:
1833         * src/view-line.c:
1834         * src/view-text.c:
1835         * src/view.c:
1836         * src/wdgt-image-select.c:
1837         * src/wdgt-media-select.c:
1838         * src/wdgt-print-copies.c:
1839         * src/wdgt-print-merge.c:
1840         * src/wdgt-rotate-label.c:
1841         * src/window.c:
1842         * src/xml-label-04.c:
1843         * src/xml-label-191.c:
1844         * src/xml-label.c:
1845                 Added '#include <glib/gi18n.h>" where needed.
1846                 Removed any unused '#include <gnome.h>"s.
1847
1848 2005-03-22  Jim Evins  <evins@snaught.com>
1849
1850         * src/commands.c: (activate_url), (gl_cmd_help_about):
1851                 Replaced GnomeAbout with GtkAboutDialog.  Therefore the
1852                 development version of glabels now depends on GTK 2.6 and
1853                 GNOME 2.10.
1854         * configure.in:
1855                 Updated library dependencies.
1856
1857 2005-02-28  Jim Evins  <evins@snaught.com>
1858
1859         * AUTHORS:
1860         * data/templates/misc-iso-templates.xml:
1861                 Added 'Ednet 45021' template provided by Ali Akcaagac
1862                 <aliakc@web.de>.
1863
1864 2005-02-14  Jim Evins  <evins@snaught.com>
1865
1866         * data/templates/avery-us-templates.xml:
1867                 Updated templates to use inches instead of points.
1868         * src/print-dialog.c: (printer_page_new):
1869                 Changed packing style when adding printer selector widget.  This fixes
1870                 debian Bug#295274.
1871
1872 2005-02-13  Jim Evins  <evins@snaught.com>
1873
1874         * AUTHORS:
1875         * po/es.po:
1876                 Updated spanish translations. (sergio rivadero)
1877
1878 2005-02-05  Jim Evins  <evins@snaught.com>
1879
1880         Some cleanup to libglabels.
1881         
1882         * configure.in:
1883                 Updated version to 2.1.1cvs.  Added generation of libglabels.pc.
1884         * libglabels/libglabels.pc.in
1885                 Created.
1886         * libglabels/enums.h
1887                 Created.  Currently only contains glUnitsType which provides enumerations
1888                 for all possible units of distance.
1889         * libglabels/Makefile.am:
1890                 Incorporated new files enums.h and libglabels.pc[.in].
1891         * libglabels/libglabels.h:
1892                 Include enums.h.
1893         * libglabels/template.h:
1894         * libglabels/template.c: (gl_template_layout_new):
1895                 Changed parameters nx and ny to gint from gdouble.
1896         * libglabels/xml.h:
1897         * libglabels/xml.c: (gl_xml_get_prop_length),
1898         (gl_xml_set_prop_length), (gl_xml_set_default_units):
1899                 Added support for different output units.
1900         * src/prefs-dialog.c: (update_locale_page_from_prefs),
1901         (update_prefs_from_locale_page):
1902         * src/prefs-model.c: (string_to_units), (units_to_string):
1903         * src/prefs-model.h:
1904         * src/prefs.c: (gl_prefs_get_units_per_point),
1905         (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
1906         (gl_prefs_get_units_string):
1907         * src/prefs.h:
1908         * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
1909                 Reconciled all length enumerations with the new enumerations provided
1910                 in libglabels/enums.h.
1911
1912 2005-02-03  Jim Evins  <evins@snaught.com>
1913
1914         * po/cs.po:
1915                 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
1916         * po/it.po:
1917                 Updated Italian translations. (Daniele Medri)
1918         * AUTHORS:
1919                 Updated credits to reflect above translations.
1920
1921
1922 2005-01-22  Jim Evins  <evins@snaught.com>
1923
1924         * MESSAGE-OF-DOOM:
1925                 Added.
1926         * Makefile.am:
1927                 Added MESSAGE-OF-DOOM to EXTRA_DIST.
1928         * NEWS:
1929                 Final prep for 2.1.0.
1930         * configure.in:
1931                 Set version to 2.1.0.  Output MESSAGE-OF-DOOM.
1932         * glabels.spec.in:
1933                 Added '--remove-original' flag to desktop-file-install, so that there is
1934                 only one menu entry.
1935         
1936 2005-01-20  Jim Evins  <evins@snaught.com>
1937
1938         * data/glade/object-editor.glade:
1939                 - Font family entry should not be editable.
1940                 - img_key_entry should have sensitivity=YES, so that it follows the
1941                   sensitivity of img_key_combo.
1942         
1943 2005-01-19  Jim Evins  <evins@snaught.com>
1944
1945         * AUTHORS:
1946                 Give credit to Frederic Ruaudel for the color merge patches.
1947
1948 2005-01-18  Frederic Ruaudel  <grumz@users.sf.net>
1949  
1950         Add support to merge color for all other color attribute (Feature 
1951         Requests item #1008635. If the data is invalid, the color used is transparent 
1952         (GL_COLOR_NONE). The format     for color in merge data file are those accepted 
1953         by gdk_color_parse() these include name for a color from rgb.txt, such as 
1954         DarkSlateGray, or a hex specification such as #305050. File format has been 
1955         changed but backward compatibility is preserved for all format. For
1956         box/ellipse/line, keep attribute "line_color" for static color or replace by
1957         "line_color_field" for merge data. For text/barcode objects, keep attribute
1958         "color" for static color or replace by "color_field" for merge data. In the
1959         edit canvas window, merged color are represented by half-transparent black
1960         line/area.
1961  
1962         * data/dtd/glabels-2.0.dtd:
1963                 Added line_color_field to line_attrs. Added color_field to 
1964                 Object-barcode and Span.
1965         * data/glade/object-editor.glade:
1966                 Modify the layout of the editor to add merge possibility to color options
1967         * src/color.c:
1968                 Fix a copy/paste error in a comment
1969         * src/color.h:
1970                 Add default color for merge color representation in the editor canvas.
1971         * src/label-barcode.c:
1972         * src/object-editor-bc-page.c:
1973         * src/view-barcode.c:
1974                 Add merge color support for barcode color.
1975         * src/label-box.c:
1976         * src/view-box.c:
1977                 Add merge color support for box border color.
1978         * src/label-ellipse.c:
1979         * src/view-ellipse.c:
1980                 Add merge color support for ellipse border color.
1981         * src/label-line.c:
1982         * src/view-line.c:
1983                 Add merge color support for line color.
1984         * src/label-object.c:
1985         * src/label-object.h:
1986         * src/object-editor.c:
1987         * src/object-editor.h:
1988         * src/ui-property-bar.c:
1989         * src/view.c:
1990         * src/view.h:
1991         * src/xml-label-04.c:
1992         * src/xml-label-191.c:
1993                 Add support for merging to other color attribute.
1994         * src/label-text.c:
1995         * src/object-editor-text-page.c:
1996         * src/view-text.c:
1997                 Add merge color support for text color.
1998         * src/object-editor-fill-page.c:
1999                 Change a blocked handler that didn't match the good widget. Fix the type
2000                 of some debug message.
2001         * src/object-editor-line-page.c:
2002                 Add merging support to line color option.
2003         * src/object-editor-private.h:
2004                 Add variables for new widget.
2005         * src/print.c:
2006                 Modify the draw functions to get merge data if needed.
2007         * src/window.c:
2008                 Change the default size of the window in order to see all widget in the
2009                 "text style tab" of the editor.
2010         * src/xml-label.c:
2011                 Modify the parser to record/retreive the field value for objects that need
2012                 "color" attribute. For box/ellipse/line, keep attribute "line_color" for 
2013                 static color or replace by "line_color_field" for merge data. For 
2014                 text/barcode objects, keep attribute "color" for static color or replace 
2015                 by "color_field" for merge data.
2016         
2017 2005-01-17  Jim Evins  <evins@snaught.com>
2018
2019         * src/view.c: (screen_changed_cb):
2020                 Don't do anything if we don't have a screen.
2021
2022 2005-01-06  Jim Evins  <evins@snaught.com>
2023
2024         * src/view.c: (get_home_scale):
2025                 Fixed bad call to gtk_widget_has_screen() -- huh?.
2026
2027 2005-01-06  Jim Evins  <evins@snaught.com>
2028
2029         * data/dtd/glabels-2.0.dtd:
2030                 Added fill_color_field to fill_attrs.  Also added xmlns attribute to all
2031                 top-level elements.
2032
2033 2005-01-06  Jim Evins  <evins@snaught.com>
2034
2035         * data/glade/object-editor.glade:
2036                 Set entries for fill and data field key dropdowns to NOT editable.
2037         * src/view-box.c: (construct_properties_editor):
2038         * src/view-ellipse.c: (construct_properties_editor):
2039                 Update object editor when label's merge property has changed.
2040         * src/xml-label.c: (xml_parse_object_ellipse):
2041                 Completed the merge color support for the ellipse item.
2042
2043 2005-01-06  Frederic Ruaudel  <grumz@users.sf.net>
2044
2045         Add support to merge color for object that have a "Fill color" attribute (Feature 
2046         Requests item #1008635. If the data is invalid, the color used is transparent 
2047         (GL_COLOR_NONE). The format     for color in merge data file are those accepted 
2048         by gdk_color_parse() these include name for a color from rgb.txt, such as 
2049         DarkSlateGray, or a hex specification such as #305050. File format has been 
2050         changed but backward compatibility is preserved for all format. For box/ellipse, 
2051         keep attribute "fill_color" for static  color or replace by "fill_color_field" 
2052         for merge data.
2053
2054         * data/glade/object-editor.glade:
2055                 Modify "Fill" tab to add the merge key combo and convert the labels into 
2056                 radio button.
2057         * src/color.h:
2058         * src/color.c:
2059                 Add "glColorNode" structure and associated functions to manage it. This 
2060                 structure is equivalent for color than the "glTextNode". It holds the color
2061                 and the key field.
2062         * src/label-object.h:
2063         * src/label-object.c:
2064         * src/label-box.c:
2065         * src/label-ellipse.c:
2066         * src/ui-property-bar.c:
2067         * src/view.h:
2068         * src/view.c:
2069         * src/view-box.c:
2070         * src/view-ellipse.c:
2071         * src/xml-label-04.c:
2072         * src/xml-label-191.c:
2073                 Change functions of objects that have a "fill color" attribute to use the 
2074                 new "glColorNode" structure. Use barcode code as example.
2075         * src/Makefile.am:
2076                 Add the color.[ch] file to glabels_batch binary that now need support for 
2077                 "glColorNode".
2078         * src/object-editor.h:
2079         * src/object-editor.c:
2080         * src/object-editor-fill-page.c:
2081                 Manage the new widget of the editor's "Fill" tab : key combo and radio button
2082                 to choose between static color or merge key. Use barcode code as example.
2083         * src/object-editor-private.h:
2084                 Add new widget in the "_glObjectEditorPrivate" structure.
2085         * src/print.c:
2086                 Modify the draw functions to get merge data if needed.
2087         * src/xml-label.c:
2088                 Modify the parser to record/retreive the field value for objects that need
2089                 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
2090                 color or "fill_color_field" for merge data.             
2091         
2092 2005-01-04  Jim Evins  <evins@snaught.com>
2093
2094         * AUTHORS:
2095         * data/templates/avery-iso-templates.xml:
2096         * data/templates/misc-iso-templates.xml:
2097         * data/templates/misc-us-templates.xml:
2098                 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
2099                 Nick Hill.
2100
2101 2004-11-26  Jim Evins  <evins@snaught.com>
2102
2103         * AUTHORS:
2104         * po/fr.po:
2105                 Updated french translations provided by Florent Morel <florent@taket.org>.
2106         * src/view-barcode.c:
2107         * src/view-box.c:
2108         * src/view-ellipse.c:
2109         * src/view-image.c:
2110         * src/view-line.c:
2111         * src/view-text.c:
2112                 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
2113                 thus _() strings were not being translated.
2114
2115 2004-11-14  Jim Evins  <evins@snaught.com>
2116
2117         * src/debug.h:
2118         * src/debug.c: (gl_debug_init), (gl_debug):
2119                 Borrowed from gedit:  use environmental variables to select debug
2120                 sections.
2121         * src/splash.c:
2122                 Removed unused include of debug.h.
2123         * src/glabels.c: (main):
2124                 Added call to gl_debug_init(), and removed debug clutter from command line
2125                 options.
2126         * src/glabels-batch.c: (main):
2127                 Added call to gl_debug_init().
2128
2129 2004-11-13  Jim Evins  <evins@snaught.com>
2130
2131         Drawing and property toolbars were being initialized with the "icons and text"
2132         look in Fedora Core 3.  Even though none of the buttons had any text attached to
2133         them, the buttons were being sized as if they were.  This led to less real estate
2134         for the property editor, leading to Bug #1064630.  The
2135         
2136         * data/ui/glabels-ui.xml:
2137                 Added explicit "look" property to both drawing and property toolbars.
2138         * src/prefs-model.c: (gl_prefs_model_save_settings),
2139         (gl_prefs_model_load_settings):
2140         * src/prefs-model.h:
2141                 Removed drawing_toolbar_button_style configuration parameter.
2142         * src/ui.c: (view_menu_item_toggled_cb),
2143         (set_app_drawing_toolbar_style):
2144                 Do not attempt to adjust look property of the drawing toolbar.
2145
2146 2004-10-28  Jim Evins  <evins@snaught.com>
2147
2148         * data/pixmaps/glabels-about-logo.png:
2149                 Updated about logo.
2150         
2151 2004-10-28  Jim Evins  <evins@snaught.com>
2152
2153         * data/man/glabels.1:
2154         * src/glabels-batch.c: (main):
2155         * src/print.h:
2156         * src/print.c: (gl_print_batch):
2157
2158                 Added option to glabels-batch to select the first label to begin
2159                 printing on.
2160
2161 2004-09-26  Jim Evins  <evins@snaught.com>
2162
2163         * data/desktop/glabels.desktop.in:
2164                 Point to app icon, "glabels.png"
2165         * data/mime/glabels.keys.in:
2166                 Point at mime icon, "glabels-application-x-glabels.png"
2167         * data/pixmaps/Makefile.am:
2168                 Added glabels_app_icondir.  Renamed icons.
2169         * data/pixmaps/glabels.png:
2170                 New cleaned up app icon.  Deleted glabels-icon.png.
2171         * data/pixmaps/glabels-application-x-glabels.png:
2172                 New mime icon.
2173         * data/pixmaps/glabels-splash.png:
2174                 Renamed glabels-logo to glabels-splash to be more correct about role.
2175         * src/glabels.c:
2176         * src/template-designer.c:
2177                 Point at app icon, "glabels.png"
2178         * src/splash.c:
2179                 Point at renamed splash image, "glabels-splash.png"
2180
2181 2004-08-22  Jim Evins  <evins@snaught.com>
2182
2183         * AUTHORS:
2184         * src/glabels-batch.c: (main):
2185                 Applied patch with minor mods to allow selecting merge source and
2186                 crop-marks on glabels-batch's command line.  Original patch provided by
2187                 José Dapena Paz <jdapena@igalia.com>.
2188         
2189 2004-08-15  Jim Evins  <evins@snaught.com>
2190
2191         * data/desktop/glabels.desktop.in:
2192                 - Added encoding line
2193                 - Removed period from comment
2194                 - Fixed Terminal line, changed "0" to "false"
2195                 - Added semicolen to Categories line
2196         * po/ja.po:
2197                 - Made sure desktop.in comment string above still translated properly
2198
2199 2004-08-14  Jim Evins  <evins@snaught.com>
2200
2201         * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
2202         * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
2203         * src/xml-label-191.c: (xml191_parse_sheet):
2204                 Fixed improper freeing of gettext strings.  Merged from 2.0.1.
2205         * configure.in:
2206                 Reconciled libglabels versioning with 2.0.1.
2207         
2208
2209 2004-08-14  Jim Evins  <evins@snaught.com>
2210
2211         * configure.in:
2212                 Updated version to 2.1cvs.
2213         
2214 2004-08-14  Jim Evins  <evins@snaught.com>
2215
2216         * po/ja.po:
2217                 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
2218
2219 2004-08-14  Jim Evins  <evins@snaught.com>
2220
2221         Fixes for Bug #1008181.
2222
2223         * src/bc.c: (gl_barcode_default_digits):
2224                 Make a format of zero digits, harmless.
2225         * src/xml-label.c: (xml_parse_object_barcode):
2226                 Set default value of the format property of barcode objects to 10, not
2227                 zero.  This will prevent crashes when reading pre 2.0.x files.
2228
2229 2004-08-09  Jim Evins  <evins@snaught.com>
2230
2231         * NEWS:
2232         * TODO:
2233         * help/C/glabels-C.omf:
2234         * help/C/glabels.xml:
2235                 Brought documentation up-to-date for 2.0.0 release.
2236         
2237 2004-08-09  Jim Evins  <evins@snaught.com>
2238
2239         These are hopefully the final preparations for 2.0.0.
2240
2241         * data/mime/Makefile.am:
2242                 Include glabels.xml in EXTRA_DIST.
2243         * configure.in:
2244                 - Updated comment style.
2245                 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
2246                 - Added package and version info to configuration printout
2247                 - Update version to 2.0.0
2248         * libglabels/Makefile.am:
2249                 Use the new LIBGLABELS_VERSION_INFO macro.
2250
2251 2004-08-09  Jim Evins  <evins@snaught.com>
2252
2253         * configure.in:
2254         * glabels.spec.in:
2255                 Cleanup of required library macros.
2256
2257 2004-08-08  Jim Evins  <evins@snaught.com>
2258
2259         * glabels.spec.in:
2260                 - Updated URL
2261                 - More specific of what to install in /usr/bin and /usr/lib
2262                 - Remove built mime registration files from staging directory
2263
2264 2004-08-08  Jim Evins  <evins@snaught.com>
2265
2266         * data/mime/Makefile.am:
2267                 Fixed typo:  key_files should have been keys_files.
2268
2269 2004-08-08  Jim Evins  <evins@snaught.com>
2270
2271         Reorganization of runtime data files.  Also added registration of mimetype with
2272         new freedesktop.org mime database if available.
2273         
2274         * data/*
2275                 Moved files to appropriate subdirectories, creating local Makefile.am
2276                 in each subdirectory.
2277                 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
2278                   These are now installed at $datadir/glabels/templates.
2279                 - Moved glabels.1 to man subdirectory.
2280                 - Moved glabels-2.0.dtd to dtd subdirectory.
2281                 - Moved glabels.desktop.in to desktop subdirectory.
2282                 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
2283         * data/pixmaps/*
2284                 Moved "./pixmaps" to "./data/pixmaps"
2285         * data/ui/*
2286                 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
2287         * data/glade/*
2288                 Moved libglade files from src to data/glade. Created Makefile.am.
2289         * Makefile.am:
2290                 Removed pixmaps from SUBDIRS.
2291         * configure.in:
2292                 - Removed pixmaps from makefiles.
2293                 - Added makefiles for new subdirs of data.
2294                 - Added tests for freedesktop.org mime database.
2295         * glabels.spec.in:
2296                 - Added tests for freedesktop.org mime database for post install and
2297                   post un-install actions.
2298         * libglabels/Makefile.am:
2299                 Moved system template files to $(datadir)/glabels/templates.
2300         * libglabels/libglabels-private.h:
2301                 Moved system template files to $(datadir)/glabels/templates.
2302         * po/POTFILES.in:
2303                 - Accounted for movement of ui and libglade files.
2304                 - Added missing .in files.
2305                 - Reorganized by directory.
2306         * src/Makefile.am:
2307                 Accounted for movement of ui and libglade files.
2308         * data/mime/glabels.xml.in:
2309                 New file for registering with freedesktop.org mime database.
2310
2311 2004-08-07  Jim Evins  <evins@snaught.com>
2312
2313         * src/recent-files/*:
2314                 Re-synced to latest libegg/recent-files.
2315         
2316 2004-08-07  Jim Evins  <evins@snaught.com>
2317
2318         * Makefile.am:
2319         * configure.in:
2320         * help/*
2321                 Renamed "./doc" directory to "./help" which contains user documentation,
2322                 to be more consistent with other GNOME applications.
2323         
2324
2325 2004-07-26  Jim Evins  <evins@snaught.com>
2326
2327         * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
2328                 Corrected button order of merge properties dialog.
2329
2330 2004-07-18  Jim Evins  <evins@snaught.com>
2331
2332         * data/glabels-2.0.dtd:
2333         * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
2334         (gl_barcode_get_prefered_n):
2335         * src/bc.h:
2336         * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
2337         (gl_label_barcode_get_props), (get_size):
2338         * src/label-barcode.h:
2339         * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
2340         (style_changed_cb), (gl_object_editor_set_bc_style),
2341         (gl_object_editor_get_bc_style):
2342         * src/object-editor-data-page.c: (data_radio_toggled_cb),
2343         (gl_object_editor_set_data), (gl_object_editor_get_data):
2344         * src/object-editor-private.h:
2345         * src/object-editor.c: (gl_object_editor_set_key_names):
2346         * src/object-editor.glade:
2347         * src/object-editor.h:
2348         * src/print.c: (draw_barcode_object):
2349         * src/view-barcode.c: (update_object_from_editor_cb),
2350         (update_editor_from_object_cb),
2351         (gl_view_barcode_create_event_handler), (draw_barcode):
2352         * src/xml-label-04.c: (xml04_parse_barcode_props):
2353         * src/xml-label-191.c: (xml191_parse_barcode_props):
2354         * src/xml-label.c: (xml_parse_object_barcode),
2355         (xml_create_object_barcode):
2356                 Added "format" attribute to barcode objects.  This attribute is used
2357                 to properly format freeform barcodes barcodes prior to merge data is
2358                 applied, so that barcodes can be accurately layed out.  This addresses
2359                 remaining issues of feature request #824787.  Also added an example of
2360                 the format in the object editor.
2361
2362 2004-07-12  Jim Evins  <evins@snaught.com>
2363
2364         Various code cleanups.
2365
2366         * src/label-barcode.c:
2367                 Removed unneeded include of gnome-glyphlist.h.
2368         
2369         * src/label-text.c: (get_size):
2370                 Fixed memory leak: unref glyphlists when done with them.
2371         
2372         * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
2373         * src/object-editor-data-page.c:
2374         (gl_object_editor_prepare_data_page):
2375         * src/object-editor-image-page.c:
2376         (gl_object_editor_prepare_image_page):
2377         * src/object-editor-line-page.c:
2378         (gl_object_editor_prepare_line_page):
2379         * src/object-editor-lsize-page.c:
2380         (gl_object_editor_prepare_lsize_page):
2381         * src/object-editor-position-page.c:
2382         (gl_object_editor_prepare_position_page):
2383         * src/object-editor-size-page.c:
2384         (gl_object_editor_prepare_size_page):
2385         * src/object-editor-text-page.c:
2386         (gl_object_editor_prepare_text_page):
2387                 Removed unneeded size groups, originally intended to keep widgets aligned.
2388                 Now use tables to lay these out in object-editor.glade.
2389         
2390         * src/print.c: (draw_text_object):
2391                 Fixed memory leak: unref glyphlists when done with them.
2392
2393         * src/view-barcode.c: (draw_barcode):
2394                 Fixed memory leak: unref glyphlists when done with them.
2395
2396         * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
2397                 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
2398                   return value.
2399                 - Fixed memory leak: unref glyphlists when done with them.
2400
2401 2004-07-11  Jim Evins  <evins@snaught.com>
2402
2403         * data/glabels-2.0.dtd:
2404         * src/label-text.c: (gl_label_text_instance_init), (copy),
2405         (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
2406         * src/label-text.h:
2407         * src/object-editor-private.h:
2408         * src/object-editor-text-page.c:
2409         (gl_object_editor_prepare_text_page),
2410         (gl_object_editor_set_text_auto_shrink),
2411         (gl_object_editor_get_text_auto_shrink):
2412         * src/object-editor.c: (gl_object_editor_set_key_names):
2413         * src/object-editor.glade:
2414         * src/object-editor.h:
2415         * src/print.c: (draw_text_object):
2416         * src/view-text.c: (update_object_from_editor_cb),
2417         (update_editor_from_object_cb):
2418         * src/xml-label.c: (xml_parse_object_text),
2419         (xml_create_object_text):
2420                 Added option to allow document merge to auto shrink text size to fit
2421                 within the text box.  The code in print.c that actually shrinks the
2422                 text is loosely based on a patch submitted by Mark Harrison
2423                 <mark.harrison@velocitynet.com.au>.  This addresses feature request
2424                 #661421.
2425         
2426 2004-07-11  Jim Evins  <evins@snaught.com>
2427
2428         * data/glabels-2.0.dtd:
2429         * libglabels/template.c: (gl_template_rect_label_type_new),
2430         (gl_template_round_label_type_new),
2431         (gl_template_cd_label_type_new), (gl_template_label_type_dup),
2432         (template_full_page):
2433         * libglabels/template.h:
2434         * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
2435         (xml_create_label_node):
2436         * pixmaps/ex-rect-size.png:
2437         * src/print.c: (clip_to_outline), (clip_punchouts):
2438         * src/template-designer.c: (construct_rect_size_page),
2439         (rect_size_page_prepare_cb), (layout_page_prepare_cb),
2440         (build_template):
2441         * src/template-designer.glade:
2442         * src/xml-label-191.c: (xml191_parse_label):
2443                 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
2444                 properties for rectangular labels.  Templates remain backwards compatible,
2445                 but this breaks the libglabels API (I don't know of anyone outside of
2446                 glabels using libglabels at this time -- what can I say, the program is
2447                 is still "unstable").  This addresses the suggestion in Feature Request
2448                 #976313.
2449
2450 2004-07-05  Jim Evins  <evins@snaught.com>
2451         * src/print.c: (print_crop_marks), (draw_outline):
2452                 Changed crop marks and label outlines to black, instead of 25% gray.
2453                 This addresses debian Bug #257460.
2454
2455 2004-07-05  Jim Evins  <evins@snaught.com>
2456
2457         * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
2458         * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
2459                 Preserve "is_default" of fill and line color_combos when creating from
2460                 existing objects.
2461
2462 2004-07-02  Jim Evins  <evins@snaught.com>
2463
2464         * data/glabels.1:
2465                 Created man page.  Based on page submitted by Matthew J. Lockner, however
2466                 it has been severely edited.
2467         
2468         * data/avery-other-templates.xml
2469         * data/misc-other-templates.xml:
2470                 Started new files for predefined templates with non-standard sheet sizes.
2471                 These have been initially populated with the Avery 06141 and
2472                 OfficeMax #86112, both provided by Matthew J. Lockner.
2473         
2474         * data/Makefile.am:
2475                 Install above manpage and template files.
2476         
2477         * glabels.spec.in:
2478                 Make sure we install man pages.
2479         
2480         * src/glabels-batch.c:
2481                 Changed short form of help option to '-?' to be consistent with glabels.
2482         
2483         * AUTHORS:
2484                 Added acknowledgement for above labels.
2485
2486 2004-07-02  Jim Evins  <evins@snaught.com>
2487
2488         * src/glabels.c: (main), (save_session_cb):
2489                 - Now include libbonoboui.h, recent.h, and file.h to provide missing
2490                   prototypes.
2491                 - save_session_cb() now returns gboolean.
2492                 - Minor formatting changes.
2493
2494         * src/window.h:
2495         * src/window.c:
2496                 - Now include file.h to provide missing prototype.
2497                 - gl_window_get_type() now returns GType, not guint.  I believe this may
2498                   ultimately be cause of the segfault reported in Bug #982287, since
2499                   GType is actually a gulong, which may not be compatible on other
2500                   architectures (64bit) -- I cannot personally test this at this time.
2501                   I was sloppy in several other xxx_get_type() functions which also
2502                   returned guint -- see next group of files:
2503         
2504         * src/window.c: (gl_window_get_type):
2505         * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
2506         * src/canvas-hacktext.h:
2507         * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
2508         (gl_hig_category_get_type), (gl_hig_vbox_get_type),
2509         (gl_hig_hbox_get_type):
2510         * src/hig.h:
2511         * src/label-barcode.c: (gl_label_barcode_get_type):
2512         * src/label-barcode.h:
2513         * src/label-box.c: (gl_label_box_get_type):
2514         * src/label-box.h:
2515         * src/label-ellipse.c: (gl_label_ellipse_get_type):
2516         * src/label-ellipse.h:
2517         * src/label-image.c: (gl_label_image_get_type):
2518         * src/label-image.h:
2519         * src/label-line.c: (gl_label_line_get_type):
2520         * src/label-line.h:
2521         * src/label-object.c: (gl_label_object_get_type):
2522         * src/label-object.h:
2523         * src/label-text.c: (gl_label_text_get_type):
2524         * src/label-text.h:
2525         * src/label.c: (gl_label_get_type):
2526         * src/label.h:
2527         * src/merge-properties-dialog.c:
2528         (gl_merge_properties_dialog_get_type):
2529         * src/merge-properties-dialog.h:
2530         * src/merge-text.c: (gl_merge_text_get_type):
2531         * src/merge-text.h:
2532         * src/merge.c: (gl_merge_get_type):
2533         * src/merge.h:
2534         * src/object-editor.c: (gl_object_editor_get_type):
2535         * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
2536         * src/prefs-dialog.h:
2537         * src/prefs-model.c: (gl_prefs_model_get_type):
2538         * src/prefs-model.h:
2539         * src/print-dialog.c: (gl_print_dialog_get_type):
2540         * src/print-dialog.h:
2541         * src/template-designer.c: (gl_template_designer_get_type):
2542         * src/template-designer.h:
2543         * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
2544         * src/ui-property-bar.h:
2545         * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
2546         * src/ui-sidebar.h:
2547         * src/view-barcode.c: (gl_view_barcode_get_type):
2548         * src/view-barcode.h:
2549         * src/view-box.c: (gl_view_box_get_type):
2550         * src/view-box.h:
2551         * src/view-ellipse.c: (gl_view_ellipse_get_type):
2552         * src/view-ellipse.h:
2553         * src/view-highlight.c: (gl_view_highlight_get_type):
2554         * src/view-highlight.h:
2555         * src/view-image.c: (gl_view_image_get_type):
2556         * src/view-image.h:
2557         * src/view-line.c: (gl_view_line_get_type):
2558         * src/view-line.h:
2559         * src/view-object.c: (gl_view_object_get_type):
2560         * src/view-object.h:
2561         * src/view-text.c: (gl_view_text_get_type):
2562         * src/view-text.h:
2563         * src/view.c: (gl_view_get_type):
2564         * src/view.h:
2565         * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
2566         * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
2567         * src/wdgt-image-select.h:
2568         * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
2569         * src/wdgt-media-select.h:
2570         * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
2571         * src/wdgt-mini-preview.h:
2572         * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
2573         * src/wdgt-print-copies.h:
2574         * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
2575         * src/wdgt-print-merge.h:
2576         * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
2577         * src/wdgt-rotate-label.h:
2578                 - Made sure all xxx_get_type functions returned GType, not guint.  This
2579                   was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
2580                   ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
2581                   wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
2582                   wdt-print-merge.[ch], and wdgt-rotate-label.[ch].  See separate
2583                   window.[ch] details above for more info.
2584                 - Reconciled various coding style differences in all xxx_get_type()
2585                   functions:
2586                         * All prototypes include G_GNUC_CONST.
2587                         * All prototypes specify the return value as GType, not GtkType
2588                           or guint.
2589                         * Info structures are all declared as "static const."
2590                         * Generalized the names of type and info variables.
2591                         * Miscelaneous formatting.
2592
2593 2004-06-08  Jim Evins  <evins@snaught.com>
2594
2595         * src/label.c:
2596         * src/label.h:
2597         * src/xml-label.c:
2598         * AUTHORS:
2599                 Don't touch compression of original file -- still defaults to 9 for
2600                 new files.  Original patch provided by Javier Donaire Segarra
2601                 (#912252 in patch tracker).
2602
2603 2004-05-05  Jim Evins  <evins@snaught.com>
2604
2605         * data/glabels-2.0.dtd:
2606                 Broke DTD previously when adding new barcode types that contain a
2607                 plus sign (+).  Simply changed the BC_STYLE_TYPE entity to "CDATA"
2608                 to avoid the problem.
2609         * data/avery-iso-templates.xml:
2610         * data/zweckform-iso-templates.xml:
2611         * AUTHORS:
2612                 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021.  Templates
2613                 provided by Frank Altpeter.
2614         * libglabels/xml-template.c: (xml_create_label_node):
2615                 Reordered markup and layout sub-nodes so that resulting templates will
2616                 validate against DTD.
2617
2618 2004-03-13  Jim Evins  <evins@snaught.com>
2619
2620         * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
2621                 Changed spin callback signals from "value-changed" back to "changed."
2622                 This was accidentally introduced in a previous revision, and can cause
2623                 size changes just by selecting the size tab.
2624
2625 2004-03-06  Jim Evins  <evins@snaught.com>
2626
2627         * src/view.c: (draw_grid_layer):
2628                 For round labels (round and cd) adjust grid so that it lines up with
2629                 center of label.  Also, no longer draw box around label in the grid layer,
2630                 it is hidden by he fg layer anyway.  Feature suggested by
2631                 nemolivier@free.fr.  Although the grid is aligned with the center of the
2632                 label, the coordinate system is still relative to the upper left corner
2633                 of the rectangle containing the label.
2634
2635 2004-02-25  Jim Evins  <evins@snaught.com>
2636
2637         * configure.in:
2638                 Changed version to 2.0pre1cvs
2639         
2640         * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
2641                 Removed extra xmlFreeDoc() calls upon error.  Also print the doc->URL
2642                 instead of doc->name fields when errors encountered.
2643
2644 2004-02-21  Jim Evins  <evins@snaught.com>
2645
2646         * data/avery-iso-templates.xml:
2647                 Added aliases for Avery 8651.  Patch provided by Wayne Schuller.
2648         
2649         * glabels.spec.in:
2650                 Added libglabels library and include file to installed files.
2651                 
2652         * configure.in:
2653                 Final prep for 1.93.3.
2654
2655 2004-02-20  Jim Evins  <evins@snaught.com>
2656
2657         * src/glabels-batch.c: (main):
2658                 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
2659                 as suggested by Javier Donaire Segarra.  This addresses bug #901063.
2660
2661 2004-02-16  Jim Evins  <evins@snaught.com>
2662
2663         * configure.in:
2664                 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
2665         
2666         * src/Makefile.am:
2667                 Added HAVE_FILE_CHOOSER to INCLUDES.
2668         
2669         * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
2670         (gl_file_save_as), (save_as_response):
2671                 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
2672
2673 2004-02-16  Jim Evins  <evins@snaught.com>
2674
2675         * src/xml-label-04.c: (xml04_parse_image_props):
2676         * src/xml-label-191.c: (xml191_parse_image_props):
2677         * src/xml-label.c: (xml_parse_object_image):
2678                 Delay setting image size until after image has been applied to new
2679                 object.
2680         
2681 2004-02-15  Jim Evins  <evins@snaught.com>
2682
2683         * src/label-barcode.c: (gl_label_barcode_set_data),
2684         (gl_label_barcode_set_props):
2685                 Don't emit "changed" signal, if no change actually made for these
2686                 methods.  Reduces number of unnecessary redraws of barcodes.
2687         
2688         * src/label-object.h:
2689         * src/label-object.c: (gl_label_object_set_position),
2690         (gl_label_object_set_position_relative), (set_size),
2691         (gl_label_object_set_size),
2692         (gl_label_object_set_size_honor_aspect):
2693                 Don't emit "changed" signal, if no change actually made for these
2694                 methods.
2695
2696 2004-02-15  Jim Evins  <evins@snaught.com>
2697
2698         * data/glabels-2.0.dtd:
2699                 Added specific subtypes for various barcode types.
2700         
2701         * src/bc.h:
2702         * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
2703         (gl_barcode_get_styles_list), (gl_barcode_default_digits),
2704         (gl_barcode_can_text), (gl_barcode_text_optional),
2705         (gl_barcode_can_csum), (gl_barcode_csum_optional),
2706         (gl_barcode_id_to_name), (gl_barcode_name_to_id):
2707                 Changed API to use a string id, rather than a fixed enumeration.  Id and
2708                 name are separate strings.  Added entries to backend table for specific
2709                 subtypes for various barcode types.
2710         
2711         * src/bc-postnet.h:
2712         * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
2713         (is_length_valid):
2714                 Modified to conform to above API.  Now more stringent with data length
2715                 for various subtypes.
2716         
2717         * src/bc-gnubarcode.h:
2718         * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
2719         (is_length_valid), (is_length1_valid), (is_length2_valid):
2720                 Modified to conform to above API.  Now more stringent with data length
2721                 for various subtypes.
2722
2723         * src/label-barcode.h:
2724         * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
2725         (gl_label_barcode_get_props), (get_size):
2726                 Modified to use above API for storing barcode type.
2727         
2728         * src/object-editor.h:
2729         * src/object-editor-bc-page.c: (style_changed_cb),
2730         (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
2731                 Modified to use above API for storing barcode type.
2732         
2733         * src/object-editor-size-page.c:
2734         (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
2735         (w_spin_cb), (h_spin_cb), (size_reset_cb):
2736                 Added debug markers.
2737         
2738         * src/object-editor.glade:
2739                 Made barcode style combo's text entry  non-editable.
2740         
2741         * src/print.c: (draw_barcode_object):
2742                 Modified to use above API for barcode type.
2743
2744         * src/view-barcode.c: (update_object_from_editor_cb),
2745         (update_editor_from_object_cb),
2746         (gl_view_barcode_create_event_handler), (draw_barcode):
2747                 Modified to use above API for barcode type.
2748         
2749         * src/xml-label-04.c: (xml04_parse_barcode_props):
2750         * src/xml-label-191.c: (xml191_parse_barcode_props):
2751         * src/xml-label.c: (xml_parse_object_barcode),
2752         (xml_create_object_barcode):
2753                 Modified to use above API for barcode type.
2754
2755 2004-02-07  Jim Evins  <evins@snaught.com>
2756
2757         * src/stock-pixmaps/Makefile.am:
2758         * src/stock-pixmaps/stock_hchain_24.png:
2759         * src/stock-pixmaps/stock_hchain_broken_24.png:
2760         * src/stock-pixmaps/stock_vchain_24.png:
2761         * src/stock-pixmaps/stock_vchain_broken_24.png:
2762                 Added chain pixmaps borrowed from the gimp's default theme.
2763
2764         * src/stock.h:
2765         * src/stock.c: (gl_stock_init), (add_button_icon):
2766                 Added above pixmaps to stock icon sets.  Created add_button_icon() to
2767                 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
2768         
2769         * src/wdgt-chain-button.h
2770         * src/wdgt-chain-button.c
2771         * src/Makefile.am:
2772         * po/POTFILES.in:
2773                 Added this Modified version of gimpchainbutton widget, borrowed from
2774                 the gimp.
2775         
2776         * AUTHORS:
2777                 Added acknowledgements of the above borrowing from the gimp.
2778         
2779         * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
2780         (h_spin_cb):
2781         * src/object-editor.c: (gl_object_editor_construct_chain_button):
2782         * src/object-editor.glade:
2783                 Replaced the keep aspect ratio check box with the above chain-button
2784                 widget.
2785         
2786         * src/text-node.c: (gl_text_node_equal):
2787         * src/text-node.h:
2788                 Added function gl_text_node_equal() to compare text_nodes.
2789         
2790         * src/label-image.c: (gl_label_image_set_filename):
2791                 Replaced incomplete text_node comparison code with invocation of
2792                 gl_text_node_equal.  This fixed the problem of not being able to
2793                 resize an image using the object_editor if the aspect ratio is not
2794                 locked.
2795
2796 2004-02-04  Jim Evins  <evins@snaught.com>
2797
2798         * src/object-editor-image-page.c:
2799         (gl_object_editor_prepare_image_page):
2800                 Track "changed" signal of pixmap entry's GtkEntry rather than its
2801                 "activate" signal -- this catches all changes to the entry rather than
2802                 just changes resulting from a browse, so one can easily pull previous
2803                 entries from the history. (This change is marked below on 2004-02-03,
2804                 but somehow never got checked in.)
2805
2806         * src/view-highlight.c: (sl_resize_event_handler),
2807         (sr_resize_event_handler), (st_resize_event_handler),
2808         (sb_resize_event_handler):
2809                 Side resize handles will now confirm the actual resize that the object
2810                 accepted before adjusting position parameters.  Previously some interesting
2811                 things happened when resizing a barcode to its minimum size.
2812
2813 2004-02-03  Jim Evins  <evins@snaught.com>
2814
2815         * src/object-editor-image-page.c:
2816         (gl_object_editor_prepare_image_page):
2817                 Track "changed" signal of pixmap entry's GtkEntry rather than its
2818                 "activate" signal -- this catches all changes to the entry rather than
2819                 just changes resulting from a browse, so one can easily pull previous
2820                 entries from the history.
2821         
2822         * src/view-highlight.c: (tl_resize_event_handler),
2823         (tr_resize_event_handler), (bl_resize_event_handler),
2824         (br_resize_event_handler):
2825                 Allow control key to be dropped while dragging a corner resize handle
2826                 without losing the aspect ratio lock.
2827
2828 2004-02-02  Jim Evins  <evins@snaught.com>
2829
2830         * src/label-image.c: (gl_label_image_set_filename):
2831                 When setting a new filename adjust size such that the aspect ratio of
2832                 the image is preserved using the current size as a bounding box.
2833                 
2834         * src/view-image.c: (update_object_from_editor_cb):
2835                 When updating object from editor, feed back possible size changes to
2836                 editor as a result of a possible change in image.
2837         
2838         * src/object-editor-size-page.c: (size_reset_cb):
2839                 Fixed typo when blocking spin handlers.  If the base size is larger than
2840                 the max size, treat max size as a bounding box while keeping aspect
2841                 ratio.
2842                 
2843
2844 2004-02-02  Jim Evins  <evins@snaught.com>
2845
2846         * src/label-object.h:
2847         * src/label-object.c: (gl_label_object_set_size),
2848         (gl_label_object_set_size_honor_aspect):
2849                 Added gl_label_object_set_size_honor_aspect() which will maintain the
2850                 current aspect ratio by modifying the supplied w or h apropriately.
2851         
2852         * src/view-highlight.c: (tl_resize_event_handler),
2853         (tr_resize_event_handler), (bl_resize_event_handler),
2854         (br_resize_event_handler):
2855                 Corner handles will now maintain the current aspect ratio if the
2856                 control key is pressed while resizing.  This addresses feature
2857                 request #816603.
2858        
2859
2860 2004-01-31  Jim Evins  <evins@snaught.com>
2861
2862         * AUTHORS:
2863         * data/avery-us-templates.xml:
2864                 Added entries for "LSK-3," "LSK-5," and "LSK-8."  Submitted by JBadger.
2865         
2866         * libglabels/template.c: (read_template_files_from_dir):
2867                 Corrected problem with testing for extensions.
2868         
2869         * src/object-editor.glade:
2870                 Corrected grouping of radio buttons in barcode data page.
2871
2872         * src/print.c: (draw_barcode_object):
2873         * src/view-barcode.c: (draw_barcode):
2874                 Corrected problem with calculation of y_offset for locating characters.
2875
2876 2004-01-24  Jim Evins  <evins@snaught.com>
2877
2878         * AUTHORS:
2879         * data/avery-us-templates.xml:
2880                 Added Avery 5824, submitted by Fred Bacon.
2881         
2882 2004-01-20  Jim Evins  <evins@snaught.com>
2883
2884         Catching up on a couple of backlogged user template submissions.
2885
2886         * data/avery-iso-templates.xml:
2887                 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
2888                 Suggested by Linas Jakucionis.
2889         
2890         * data/zweckform-iso-templates.xml:
2891                 Added Zweckform 4760, submitted by Thomas Vill.
2892
2893         * AUTHORS:
2894                 Updated to reflect above submissions.
2895
2896 2004-01-06  Jim Evins  <evins@snaught.com>
2897
2898         Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
2899         xml.[ch] into a separate library called libglabels, to facilitate third
2900         party use of glabels template files.  This was suggested by Wayne Schuller.
2901         Once split-out, some modifications to the structures and functions to
2902         make a cleaner more useful API, hopefully.  Rather extensive changes have
2903         propogated to other modules.
2904
2905         * src/paper.h:
2906         * src/paper.c:
2907         * src/template.h:
2908         * src/template.c:
2909         * src/xml-paper.h:
2910         * src/xml-paper.c:
2911         * src/xml-template.h:
2912         * src/xml-template.c:
2913         * src/xml.h:
2914         * src/xml.c:
2915                 These files have been moved to libglabels/.  API cleanup performed.
2916
2917         * libglabels/libglabels.h:
2918         * libglabels/libglabels-private.h:
2919         * libglabels/Makefile.am:
2920                 These files have been added to finish out libglabels.
2921         
2922         * Makefile.am:
2923         * configure.in:
2924         * glabels.spec.in:
2925         * po/POTFILES.in:
2926         * src/Makefile.am:
2927                 Modified to reflect new sets of files in src/ and libglabels/.
2928
2929         * COPYING.LIBGLABELS:
2930         * COPYING-DOCS:
2931                 Added copy of the LGPL for libglabels, and a copy the GFDL for
2932                 documentation.
2933         
2934         * src/glabels-batch.c:
2935         * src/glabels.c:
2936         * src/label.c: (gl_label_finalize), (gl_label_set_template),
2937         (gl_label_get_size):
2938         * src/label.h:
2939         * src/prefs-model.c: (gl_prefs_model_load_settings):
2940         * src/print-dialog.c:
2941         * src/print.c: (gl_print_simple), (gl_print_merge_collated),
2942         (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
2943         (print_crop_marks), (print_label), (draw_outline),
2944         (clip_to_outline), (clip_punchouts):
2945         * src/template-designer.c: (construct_pg_size_page),
2946         (pg_size_page_changed_cb), (layout_page_changed_cb),
2947         (print_test_cb), (build_template):
2948         * src/util.c: (gl_util_fraction):
2949         * src/util.h:
2950         * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
2951         (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
2952         (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
2953         (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
2954         (draw_markup_margin_round), (draw_markup_margin_cd),
2955         (draw_markup_margin_cd_bc), (draw_markup_line),
2956         (draw_markup_circle), (gl_view_copy):
2957         * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
2958         (page_size_entry_changed_cb), (details_update), (get_layout_desc),
2959         (get_label_size_desc):
2960         * src/wdgt-mini-preview.c:
2961         (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
2962         (cdbc_item):
2963         * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
2964         * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
2965         * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
2966         (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
2967         * src/wdgt-rotate-label.h:
2968         * src/xml-label-04.c: (xml04_parse_media_description):
2969         * src/xml-label-191.c: (gl_xml_label_191_parse),
2970         (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
2971         (xml191_parse_markup), (xml191_parse_alias):
2972         * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
2973         (xml_label_to_doc):
2974                 Various changes to accomodate new libglabels API.
2975         
2976 2004-01-03  Jim Evins  <evins@snaught.com>
2977
2978         * configure.in:
2979                 Release 1.93.2.
2980
2981 2004-01-03  Jim Evins  <evins@snaught.com>
2982
2983         * AUTHORS:
2984                 Added acknowledgement of contributions by Wayne Schuller.
2985         
2986         * src/commands.c: (gl_cmd_file_print):
2987                 Create extra reference to print dialog, so that it can be properly re-used.
2988         
2989         * src/mygal/mygal-combo-box.h:
2990         * src/mygal/mygal-combo-box.c:
2991         (mygal_combo_box_popup_hide_unconditional),
2992         (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
2993         (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
2994         (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
2995         (mygal_combo_box_set_tearable):
2996                 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
2997                 complete the rename of this widget to prevent namespace collisions
2998                 with Gtk+-2.3.
2999         
3000         * src/prefs-dialog.glade:
3001                 Fixed alignment of Fill/Color widgets.
3002
3003 2004-01-03  Jim Evins  <evins@snaught.com>
3004
3005         * data/avery-iso-templates.xml:
3006                 Added user submitted templates.
3007                 Avery 8435A & 8435B, submitted by Ludger Solbach.
3008
3009         * doc/C/glabels.xml:
3010                 Added minimal documentation, noting the new template designer.
3011
3012 2004-01-03  Jim Evins  <evins@snaught.com>
3013
3014         * pixmaps/ex-rect-size.png:
3015         * pixmaps/ex-round-size.png:
3016         * pixmaps/ex-cd-size.png:
3017         * pixmaps/Makefile.am:
3018                 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
3019                 files to be used as illustrations/examples in the template-designer.
3020
3021         * src/template-designer.c: (construct_rect_size_page),
3022         (construct_round_size_page), (construct_cd_size_page),
3023         (construct_nlayouts_page), (rect_size_page_prepare_cb),
3024         (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
3025         (layout_page_prepare_cb), (build_template):
3026         * src/template-designer.glade:
3027                 Added illustrations for rectangle, round, and cd label size pages.
3028                 Added margin spinboxes to these pages, and now add a margin markup
3029                 to the constructed template.  Added realistic default values for
3030                 some of the size spinboxes.  Cleaned up the code for setting spinbox
3031                 ranges on the layouts page.
3032
3033 2004-01-02  Jim Evins  <evins@snaught.com>
3034
3035         * src/object-editor-size-page.c: (h_spin_cb):
3036                 Fixed cut-n-paste error in h_spin_cb that loaded h from
3037                 the wrong spinbutton.
3038
3039         * src/object-editor.h:
3040         * src/object-editor.c: (gl_object_editor_class_init),
3041         (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
3042         * src/object-editor-private.h:
3043         * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
3044         (size_reset_cb):
3045                 Added "size_changed" signal.
3046                 
3047         * src/view-text.c: (construct_properties_editor),
3048         (update_object_from_editor_cb),
3049         (update_object_from_editor_size_cb):
3050                 Track size changes from object editor separately from other
3051                 properties.  This is so the default size (0,0) of a text
3052                 object is not modified unintentionally.
3053
3054 2003-12-30  Wayne Schuller  <k_wayne@linuxpower.org>
3055
3056         Added feature: line spacing - allows you to comfortably space a text box to
3057         fit a label perfectly.
3058
3059         * data/glabels-2.0.dtd:
3060         * src/label-object.c: (gl_label_object_set_text_line_spacing),
3061         (gl_label_object_get_text_alignment),
3062         (gl_label_object_get_text_line_spacing):
3063         * src/label-object.h:
3064         * src/label-text.c: (gl_label_text_class_init),
3065         (gl_label_text_instance_init), (copy), (get_size),
3066         (set_text_line_spacing), (get_text_alignment),
3067         (get_text_line_spacing):
3068         * src/object-editor-private.h:
3069         * src/object-editor-text-page.c:
3070         (gl_object_editor_prepare_text_page),
3071         (gl_object_editor_set_text_line_spacing),
3072         (gl_object_editor_get_text_line_spacing):
3073         * src/object-editor.glade:
3074         * src/object-editor.h:
3075         * src/prefs-dialog.c: (construct_object_page),
3076         (update_object_page_from_prefs), (update_prefs_from_object_page):
3077         * src/prefs-dialog.glade:
3078         * src/prefs-model.c: (gl_prefs_model_save_settings),
3079         (gl_prefs_model_load_settings), (get_float):
3080         * src/prefs-model.h:
3081         * src/print.c: (draw_text_object):
3082         * src/ui-sidebar.c:
3083         * src/view-text.c: (update_object_from_editor_cb),
3084         (update_editor_from_object_cb),
3085         (gl_view_text_create_event_handler), (draw_hacktext):
3086         * src/view.c: (gl_view_construct),
3087         (gl_view_set_selection_text_line_spacing),
3088         (gl_view_set_default_text_line_spacing),
3089         (gl_view_get_default_text_line_spacing):
3090         * src/view.h:
3091         * src/xml-label.c: (xml_parse_toplevel_span),
3092         (xml_create_toplevel_span):
3093
3094 2003-12-30  Jim Evins  <evins@snaught.com>
3095
3096         * src/template-designer.c:
3097         * src/template-designer.h:
3098         * src/template-designer.glade:
3099                 New template designer assistant.
3100         
3101         * po/POTFILES.in:
3102         * src/Makefile.am:
3103                 Added entries for src/template-designer.* files.
3104         
3105         * pixmaps/ex-1layout.png
3106         * pixmaps/ex-2layouts.png
3107         * pixmaps/Makefile.am:
3108                 Added the new image files ex-*.png used as illustrations in the
3109                 template designer assistant.
3110         
3111         * src/print-dialog.h:
3112         * src/print-dialog.c: (gl_print_dialog_finalize),
3113         (gl_print_dialog_new), (gl_print_dialog_construct),
3114         (gl_print_dialog_force_outline_flag):
3115                 Changed first argument of gl_print_dialog_new() from glView to glLabel,
3116                 to support printing from the template designer assistant which does not
3117                 have a full-fledged view.  Nothing else from the view object was being
3118                 used by the dialog anyway.
3119
3120                 Added the gl_print_dialog_force_outline_flag() method, for better
3121                 integration with the template designer assistant.
3122                 
3123
3124         * src/commands.h:
3125         * src/commands.c: (gl_cmd_file_template_designer),
3126         (gl_cmd_file_print):
3127                 Modified print command to provide label instead of view to dialog.
3128                 Added the gl_cmd_file_template_designer() command to invoke the
3129                 template designer assistant.
3130         
3131         * src/ui.c:
3132         * src/glabels-ui.xml:
3133                 Added support for template designer assistant.
3134         
3135         * src/wdgt-mini-preview.h:
3136         * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
3137         (gl_wdgt_mini_preview_set_bg_color):
3138                 Preview is now centered in canvas.  Added
3139                 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
3140                 assistant to match the background color with its own.
3141         
3142         * src/print.c: (clip_to_outline):
3143                 Fixed really stupid bug when adding waste to clip region of rectangular
3144                 labels/cards.  Each side of the clip region needs to be extended by
3145                 twice the waste margin, as well as negatively offset by the waste
3146                 margin.
3147
3148 2003-12-28  Jim Evins  <evins@snaught.com>
3149
3150         * src/prefs-dialog.c: (update_object_page_from_prefs):
3151                 Block intermediary function align_toggle_cb() instead of
3152                 update_prefs_from_object_page() for the three alignment
3153                 widgets.
3154
3155 2003-12-28  Wayne Schuller  <k_wayne@linuxpower.org>
3156
3157         * src/file.c: (gl_file_new), (gl_file_properties):
3158                 Swap button order and set default for higificatory pleasure.
3159
3160 2003-12-27  Jim Evins  <evins@snaught.com>
3161
3162         * barcode-0.98/Makefile.am:
3163                 One last time:  removed doc/Makefile and po/Makefile.in.in from
3164                 EXTRA_DIST files.
3165         
3166 2003-12-27  Jim Evins  <evins@snaught.com>
3167
3168         * barcode-0.98/Makefile.am:
3169                 Removed config.stat entry from EXTRA_DIST files.
3170         
3171         * barcode-0.98/Makefile.in:
3172                 Removed.
3173
3174 2003-12-27  Jim Evins  <evins@snaught.com>
3175
3176         * configure.in:
3177                 Updated to work with latest gnome-common package from CVS.
3178                 Removed recursive configuration of barcode-0.98.
3179
3180         * acconfig.h:
3181         * macros/*:
3182                 Removed.
3183         
3184         * Makefile.am:
3185                 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
3186         
3187         * barcode-0.98/Makefile.in:
3188         * barcode-0.98/configure.in:
3189         * barcode-0.98/Makefile.am:
3190         * barcode-0.98/README.glabels:
3191                 Modified to ignore the barcode package's build system, and build
3192                 as a part of glabels.
3193                 Renamed Makefile.in to Makefile.in.dist.
3194                 Renamed configure.in to configure.in.dist.
3195                 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
3196         
3197         * src/Makefile.am:
3198         * src/mygal/Makefile.am:
3199         * src/recent-files/Makefile.am:
3200                 In order to build against the GNOME 2.5 platform, 
3201                 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
3202         
3203         * src/mygal/Makefile.am:
3204         * src/mygal/mygal-combo-box.c:
3205         * src/mygal/mygal-combo-box.h:
3206         * src/mygal/widget-color-combo.c:
3207         * src/mygal/widget-color-combo.h:
3208         * po/POTFILES.in:
3209                 In order to build against the GNOME 2.5 platform, 
3210                 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
3211                 collisions with the real gtk_combo_box widget, now a part of gtk.
3212         
3213 2003-12-26  Jim Evins  <evins@snaught.com>
3214
3215         * src/paper.c:
3216         * src/template.c:
3217         * src/util.c:
3218         * src/util.h:
3219                 Moved local versions of get_home_data_dir() in paper.c and
3220                 template.c to util package.  Cleaned up formatting in
3221                 util.[ch].
3222
3223         * src/template.c:
3224                 In gl_template_register() save a copy of the template in
3225                 ~/.glabels if the template is not known.  Still need to
3226                 handle duplicate filename case and duplicate name but
3227                 different template case.
3228         
3229         * src/xml-label.c:
3230         * src/xml.h:
3231                 Moved local definition of NAME_SPACE macro from xml-label.c
3232                 to xml.h.
3233         
3234         * src/xml-template.c:
3235         * src/xml-template.h:
3236                 Added function gl_xml_template_write_template_to_file(), used
3237                 in gl_template_register().