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