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