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