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