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