]> git.sur5r.net Git - glabels/blob - glabels2/ChangeLog
2009-07-25 Jim Evins <evins@snaught.com>
[glabels] / glabels2 / ChangeLog
1 2009-07-25  Jim Evins  <evins@snaught.com>
2
3         * src/xml-label.c: (gl_xml_label_open):
4                 Relax limits when parsing file.  Allows large embedded image
5                 files.
6
7 2009-05-19  Jim Evins  <evins@snaught.com>
8
9         * configure.in:
10         * po/LINGUAS:
11                 Moved translation list from configure.in to po/LINGUAS.
12
13 2009-05-19  Jim Evins  <evins@snaught.com>
14
15         * configure.in:
16         * po/zh_CN.po:
17                 New Chinese translation (Careon <zzbusagain@yahoo.com.cn>).
18         * AUTHORS:
19                 Added above translation to acknowledgements.
20
21 2009-05-18  Jim Evins  <evins@snaught.com>
22
23         * src/prefs-model.c: (gl_prefs_model_load_settings):
24                 Make an educated guess at locale settings when run for the
25                 first time.
26
27 2009-05-17  Jim Evins  <evins@snaught.com>
28
29         * help/de/de.po:
30         * help/glabels.omf.in:
31                 Adding missing files from last checkin.
32
33 2009-05-17  Jim Evins  <evins@snaught.com>
34
35         * Makefile.am:
36         * configure.in:
37         * help/C/glabels-C.omf:
38         * help/C/glabels.xml:
39         * help/Makefile.am:
40         * po/de.po:
41                 Updated german translation, gnome-doc-utils support and
42                 german translation of glabels manual (Mario Blättermann).
43
44 2009-05-01  Jim Evins  <evins@snaught.com>
45
46         * AUTHORS:
47         * configure.in:
48         * po/ca.po:
49                 Added catalan translation (David Planella).
50         
51 2009-04-29  Jim Evins  <evins@snaught.com>
52
53         * data/templates/avery-iso-templates.xml:
54         * data/templates/misc-iso-templates.xml:
55         * data/templates/misc-us-templates.xml:
56                 Caught up on user submitted templates.
57         * AUTHORS:
58                 Acknowledgements for above templates.
59
60 2009-04-29  Jim Evins  <evins@snaught.com>
61
62         * po/POTFILES.in:
63         * po/de.po:
64                 Updated german translation (Mario Blättermann).
65
66 2009-03-23  Jim Evins  <evins@snaught.com>
67
68         * src/glabels-batch.c: (main):
69         * src/glabels.c: (main):
70                 Tidy up help option output.             
71         
72 2009-02-28  Jim Evins  <evins@snaught.com>
73
74         * src/Makefile.am:
75         * src/base64.c:
76         * src/base64.h:
77                 Deleted base64 module.
78         * src/xml-label.c: (xml_parse_pixdata), (xml_create_pixdata):
79                 Use base64 encode/decode from glib.
80
81 2009-02-22  Jim Evins  <evins@snaught.com>
82
83         * src/merge-properties-dialog.h:
84         * src/new-label-dialog.h:
85         * src/object-editor.h:
86         * src/prefs-dialog.h:
87         * src/print-op.h:
88         * src/template-designer.h:
89                 Corrected cut&paste errors.
90         
91 2009-02-21  JimEvins  <evins@snaught.com>
92
93         * src/prefs-model.c: (gl_prefs_model_save_settings),
94         (gl_prefs_model_load_settings):
95         * src/prefs-model.h:
96         * src/ui-commands.c:
97         * src/ui-property-bar.c:
98         * src/ui.c: (view_ui_item_toggled_cb),
99         (set_app_main_toolbar_style), (set_app_drawing_toolbar_style):
100                 Removed tooltip toggling capability, which wasn't working
101                 anyway.
102
103 2009-02-21  JimEvins  <evins@snaught.com>
104
105         * README:
106         * configure.in:
107         * data/builder/object-editor.glade:
108         * data/builder/prefs-dialog.glade:
109         * data/builder/property-bar.glade:
110         * data/builder/template-designer.glade:
111         * gtk-doc.make:
112         * src/color-combo-color-menu-item.c:
113         * src/color-combo-color-menu-item.h:
114         * src/color-combo-menu.h:
115         * src/glabels-batch.c: (main):
116         * src/glabels.c: (main):
117         * src/merge-properties-dialog.h:
118         * src/new-label-dialog.h:
119         * src/object-editor-lsize-page.c:
120         (gl_object_editor_prepare_lsize_page), (lsize_prefs_changed_cb):
121         * src/object-editor.h:
122         * src/prefs-dialog.h:
123         * src/print-op.h:
124         * src/template-designer.h:
125         * src/ui-commands.c: (gl_ui_cmd_view_property_bar_tips_toggle),
126         (gl_ui_cmd_help_contents), (gl_ui_cmd_help_about):
127         * src/ui-property-bar.c:
128         * src/ui-property-bar.h:
129         * src/ui-sidebar.c: (gl_ui_sidebar_construct),
130         (selection_changed_cb):
131         * src/ui-sidebar.h:
132         * src/view.h:
133         * src/wdgt-media-select.h:
134         * src/wdgt-merge-menu.h:
135         * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_class_init):
136         * src/wdgt-mini-preview.h:
137         * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
138         * src/wdgt-print-copies.h:
139         * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
140         * src/wdgt-print-merge.h:
141         * src/wdgt-rotate-label.h:
142         * src/window.h:
143                 Removed final dependencies on libgnome and libgnomeui.
144                 Removed all currently deprecated symbols as of GTK 2.14.
145         
146 2009-01-07  Jim Evins  <evins@snaught.com>
147
148         * src/critical-error-handler.c: (critical_error_handler):
149         * src/ui-commands.c: (gl_ui_cmd_help_contents):
150         * src/warning-handler.c: (warning_handler):
151         * src/view.c: (selection_received_cb):
152                 Compile without warning with additional CFLAGS of
153                 -O1 -Wall -Wformat=2.
154         
155 2009-01-02  Jim Evins  <evins@snaught.com>
156
157         * COPYING.README_FIRST:
158                 Fixed typo.
159
160 2008-12-27  Jim Evins  <evins@snaught.com>
161
162         * data/templates/avery-iso-templates.xml:
163         * data/templates/avery-other-templates.xml:
164         * data/templates/avery-us-templates.xml:
165         * data/templates/brother-other-templates.xml:
166         * data/templates/misc-iso-templates.xml:
167         * data/templates/misc-other-templates.xml:
168         * data/templates/zweckform-iso-templates.xml:
169                 Make sure all descriptions are marked as translatable.
170
171 2008-12-27  Jim Evins  <evins@snaught.com>
172
173         * de.po:
174                 Updated german translation (Mario Blättermann)
175         * AUTHORS:
176                 Updated credits to reflect above translation.
177         * data/builder/object-editor.glade:
178         * data/builder/prefs-dialog.glade:
179         * data/builder/template-designer.glade:
180                 Removed "translatable" attribute from whitespace strings,
181                 which are used only to help layout.
182
183 2008-12-21  Jim Evins  <evins@snaught.com>
184
185         * data/templates/avery-us-templates.xml:
186         * data/templates/misc-iso-templates.xml:
187                 A couple of recent template submissions.
188         * AUTHORS:
189                 Acknowledgements for above templates.
190
191 2008-12-21  Jim Evins  <evins@snaught.com>
192
193         * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
194                 Don't check for handles on aggregate selections.
195
196 2008-12-20  Jim Evins  <evins@snaught.com>
197
198         * configure.in:
199                 Updated prerequisite library versions required.
200         
201 2008-12-18  Jim Evins  <evins@snaught.com>
202
203         * src/view.c: (selection_received_cb):
204                 Fixed paste bug that caused a duplicate phantom view_object to be created for
205                 each new label_object.  This is because the view now (as of r673) the view
206                 monitiors the label for new objects and creates view_objects automatically.
207
208 2008-12-14  Jim Evins  <evins@snaught.com>
209
210         * src/ui.c: (gl_ui_new):
211                 Bug #2395628.  Fixed i18n for application shell.
212         * po/POTFILES.in:
213                 Bug #2395628.  Reconciled POTFILES.in with current files.
214         
215 2008-12-14  Jim Evins  <evins@snaught.com>
216
217         * configure.in:
218                 Bug #2316013.  Added PKG_PROG_PKG_CONFIG.
219         
220 2008-11-15  Jim Evins  <evins@snaught.com>
221
222         * libglabels/db.c: (lgl_db_register_template):
223         * libglabels/xml-template.c:
224         (lgl_xml_template_parse_template_node):
225         * src/glabels-batch.c:
226         * src/view-text.c: (gl_view_text_create_button_press_event):
227                 Fixed several issues such as possible use of uninitialized variables found with "-O1 -Wall".
228
229 2008-11-09  Jim Evins  <evins@snaught.com>
230
231         * data/templates/misc-iso-templates.xml:
232                 Another user submitted template.
233
234 2008-10-27  Jim Evins  <evins@snaught.com>
235
236         * data/templates/avery-us-templates.xml:
237         * data/templates/misc-iso-templates.xml:
238         * data/templates/zweckform-iso-templates.xml:
239                 Caught up on user submitted templates.
240         * AUTHORS:
241                 Acknowledgements for above templates.
242
243 2008-10-23  Jim Evins  <evins@snaught.com>
244
245         * src/label-text.c: (set_font_family):
246         * src/object-editor-text-page.c:
247         (gl_object_editor_prepare_text_page),
248         (gl_object_editor_set_font_family):
249         * src/prefs-dialog.c: (construct_object_page),
250         (update_object_page_from_prefs):
251         * src/ui-property-bar.c: (gl_ui_property_bar_construct),
252         (reset_to_default_properties):
253         * src/util.c: (gl_util_get_font_family_list):
254         * src/util.h:
255                 Bug #1902275 and Bug #2186214.  Cache font list so that it is not re-created
256                 everytime the list is requested.
257         * src/object-editor-text-page.c:
258         (gl_object_editor_set_font_family):
259                 Don't change font-family if it hasn't actually changed.
260
261 2008-10-19  Jim Evins  <evins@snaught.com>
262
263         * data/builder/object-editor.glade:
264                 Some tweaking of builder/glade widgets.
265         
266 2008-10-18  Jim Evins  <evins@snaught.com>
267
268         Migrated all use of libglade to GtkBuilder.
269
270         * data/glade/Makefile.am:
271         * data/glade/merge-properties-dialog.glade:
272         * data/glade/new-label-dialog.glade:
273         * data/glade/object-editor.glade:
274         * data/glade/prefs-dialog.glade:
275         * data/glade/print-custom-widget.glade:
276         * data/glade/property-bar.glade:
277         * data/glade/template-designer.glade:
278         * data/glade/wdgt-media-select.glade:
279                 Removed data/glade directory.
280         * data/builder/Makefile.am:
281         * data/builder/merge-properties-dialog.glade:
282         * data/builder/new-label-dialog.glade:
283         * data/builder/object-editor.glade:
284         * data/builder/prefs-dialog.glade:
285         * data/builder/print-custom-widget.glade:
286         * data/builder/property-bar.glade:
287         * data/builder/template-designer.glade:
288         * data/builder/wdgt-media-select.glade:
289                 Added data/builder directory.
290         * configure.in:
291         * data/Makefile.am:
292         * src/Makefile.am:
293                 Change glade to builder.
294         * src/merge-properties-dialog.c:
295         (gl_merge_properties_dialog_finalize),
296         (gl_merge_properties_dialog_construct):
297         * src/new-label-dialog.c: (gl_new_label_dialog_finalize),
298         (gl_new_label_dialog_construct):
299         * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
300         * src/object-editor-data-page.c:
301         (gl_object_editor_prepare_data_page):
302         * src/object-editor-edit-page.c:
303         (gl_object_editor_prepare_edit_page):
304         * src/object-editor-fill-page.c:
305         (gl_object_editor_prepare_fill_page):
306         * src/object-editor-image-page.c:
307         (gl_object_editor_prepare_image_page):
308         * src/object-editor-line-page.c:
309         (gl_object_editor_prepare_line_page):
310         * src/object-editor-lsize-page.c:
311         (gl_object_editor_prepare_lsize_page):
312         * src/object-editor-position-page.c:
313         (gl_object_editor_prepare_position_page):
314         * src/object-editor-private.h:
315         * src/object-editor-shadow-page.c:
316         (gl_object_editor_prepare_shadow_page):
317         * src/object-editor-size-page.c:
318         (gl_object_editor_prepare_size_page):
319         * src/object-editor-text-page.c:
320         (gl_object_editor_prepare_text_page):
321         * src/object-editor.c: (gl_object_editor_init):
322         * src/prefs-dialog.c: (gl_prefs_dialog_init),
323         (gl_prefs_dialog_construct), (construct_locale_page),
324         (construct_object_page):
325         * src/print-op.c: (gl_print_op_finalize),
326         (create_custom_widget_cb):
327         * src/template-designer.c: (gl_template_designer_class_init),
328         (gl_template_designer_finalize), (gl_template_designer_construct),
329         (construct_start_page), (construct_name_page),
330         (construct_pg_size_page), (construct_shape_page),
331         (construct_rect_size_page), (construct_round_size_page),
332         (construct_cd_size_page), (construct_nlayouts_page),
333         (construct_layout_page), (construct_finish_page):
334         * src/template-designer.h:
335         * src/ui-property-bar.c: (gl_ui_property_bar_init),
336         (gl_ui_property_bar_finalize), (gl_ui_property_bar_new),
337         (gl_ui_property_bar_construct), (reset_to_default_properties),
338         (gl_ui_property_bar_set_view), (gl_ui_property_bar_set_tooltips),
339         (update_text_properties), (update_fill_color), (update_line_color),
340         (update_line_width), (selection_changed_cb),
341         (font_family_changed_cb), (font_size_changed_cb),
342         (text_color_changed_cb), (fill_color_changed_cb),
343         (line_color_changed_cb), (line_width_changed_cb),
344         (font_bold_toggled_cb), (font_italic_toggled_cb),
345         (text_align_toggled_cb), (set_doc_items_sensitive),
346         (set_text_items_sensitive), (set_fill_items_sensitive),
347         (set_line_color_items_sensitive), (set_line_width_items_sensitive):
348         * src/ui-property-bar.h:
349         * src/util.c: (gl_util_get_builder_widgets):
350         * src/util.h:
351         * src/wdgt-media-select.c: (gl_wdgt_media_select_finalize),
352         (gl_wdgt_media_select_construct):
353                 Migration of glade to builder.
354         * src/color.h:
355                 New macros for color combo initialization.
356         * TODO:
357                 Added idea for internal merge database.
358         * docs/libglabels/libglabels-undocumented.txt:
359         * docs/libglabels/tmpl/paper.sgml:
360         * gtk-doc.make:
361                 Automagic.
362
363 2008-10-12  Jim Evins  <evins@snaught.com>
364
365         * src/mygal/Makefile.am:
366         * src/mygal/color-group.c:
367         * src/mygal/color-group.h:
368         * src/mygal/color-palette.c:
369         * src/mygal/color-palette.h:
370         * src/mygal/e-colors.c:
371         * src/mygal/e-colors.h:
372         * src/mygal/e-marshal.list:
373         * src/mygal/e-util.h:
374         * src/mygal/mygal-combo-box.c:
375         * src/mygal/mygal-combo-box.h:
376         * src/mygal/widget-color-combo.c:
377         * src/mygal/widget-color-combo.h:
378         * AUTHORS:
379         * configure.in:
380                 Deleted mygal.
381         * src/color-combo.c:
382         * src/color-combo.h:
383         * src/color-combo-color-menu-item.c:
384         * src/color-combo-color-menu-item.h:
385         * src/color-combo-history.c:
386         * src/color-combo-history.h:
387         * src/color-combo-menu.c:
388         * src/color-combo-menu.h:
389         * src/marshal.list:
390         * src/util.c:
391         * src/util.h:
392         * src/Makefile.am:
393                 Created new glColorCombo widget.
394         * src/object-editor-bc-page.c:
395         * src/object-editor-edit-page.c:
396         * src/object-editor-fill-page.c:
397         * src/object-editor-line-page.c:
398         * src/object-editor-shadow-page.c:
399         * src/object-editor-text-page.c:
400         * src/object-editor.c:
401         * src/prefs-dialog.c:
402         * src/ui-property-bar.c:
403                 Replaced use of mygal color combo with new glColorCombo widget.
404
405 2008-08-29  Jim Evins  <evins@snaught.com>
406
407         * src/file.c: (gl_file_open), (gl_file_save_as):
408                 Bug #2069668.  Corrected button order in Open and "Save as"
409                 dialogs.
410
411 2008-08-17  Jim Evins  <evins@snaught.com>
412
413         * data/dtd/glabels-2.2.dtd:
414         * data/templates/paper-sizes.xml:
415         * libglabels/db.c: (lgl_db_init):
416         * libglabels/paper.c: (lgl_paper_new), (lgl_paper_dup), (lgl_paper_free):
417         * libglabels/paper.h:
418         * libglabels/xml-paper.c: (lgl_xml_paper_parse_paper_node):
419         * src/print-op.c: (set_page_size):
420                 Bug #2049431.  Always explicitely set page size.  Added pwg_size field (PWG 5101.1-2002
421                 size specification) to the libglabels paper database to allow the page size to be
422                 communicated to GtkPrintOp un-ambiguously.
423
424 2008-07-25  Jim Evins  <evins@snaught.com>
425
426         * src/object-editor-size-page.c: (size_reset_cb),
427         (gl_object_editor_set_max_size):
428                 Bug #1993550.  Set size limits based on longest side of label.
429
430 2008-07-19  Jim Evins  <evins@snaught.com>
431
432         * configure.in:
433         * src/mygal/Makefile.am:
434                 Make sure libtool handles library dependencies for mygal
435                 properly.
436         
437 2008-05-21  Jim Evins  <evins@snaught.com>
438
439         * src/glabels-batch.c: (main):
440                 Bug #1968653.  Initialize prefs subsystem.
441
442 2008-05-09  Jim Evins  <evins@snaught.com>
443
444         * data/glade/object-editor.glade:
445                 Bug #1959135.  A couple of radio buttons somehow became
446                 ungrouped.
447
448 2008-04-07  Jim Evins  <evins@snaught.com>
449
450         * src/wdgt-rotate-label.h:
451         * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_init),
452         (gl_wdgt_rotate_label_new), (toggled_cb), (create_pixbuf),
453         (gl_wdgt_rotate_label_get_state), (gl_wdgt_rotate_label_set_state),
454         (gl_wdgt_rotate_label_set_template_name):
455                 Modified wdgt-rotate-label to better indicate the rotation choices.
456         * data/glade/Makefile.am:
457         * data/glade/wdgt-rotate-label.glade:
458                 Deleted wdgt-rotate-label.glade.
459
460 2008-04-04  Jim Evins  <evins@snaught.com>
461
462         * data/templates/brother-other-templates.xml:
463                 Added categories to existing templates.
464         * data/templates/misc-other-templates.xml:
465                 Moved dymo templates to their own file.
466         * data/templates/Makefile.am:
467         * data/templates/dymo-other-templates.xml:
468                 Additional dymo templates provided by Harald Welte <laforge@gnumonks.org>.
469         * AUTHORS:
470                 Acknowledgement for above templates.
471
472 2008-03-24  Jim Evins  <evins@snaught.com>
473
474         * src/xml-label.c: (xml_doc_to_label):
475                 Bug #1872584.  Don't refuse to parse label file if namespace is
476                 unrecognized -- it may be from a newer version of glabels.
477         
478 2008-03-15  Jim Evins  <evins@snaught.com>
479
480         * data/templates/Makefile.am:
481         * data/templates/brother-other-templates.xml:
482                 Added brother templates.
483         * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
484         (gl_cairo_markup_margin_cd_path):
485         * src/view.c: (draw_markup_layer):
486                 Fixed markup drawing errors when label is rotated.
487
488 2008-03-03  Jim Evins  <evins@snaught.com>
489
490         * configure.in:
491         * ko.po:
492                 Added korean translation provided by xein@naver.com.
493         
494 2008-02-21  Jim Evins  <evins@snaught.com>
495
496         * src/ui.c:
497                 Fixed typo that prevented "Save" from being deactivated when
498                 document is not modified.
499         
500 2008-02-18  Jim Evins  <evins@snaught.com>
501
502         * src/prefs-model.c: (gl_prefs_model_save_settings),
503         (gl_prefs_model_load_settings):
504                 Set default units for file output.
505
506 2008-02-18  Jim Evins  <evins@snaught.com>
507
508         * help/C/glabels.xml:
509                 Fixed example template.
510
511 2008-02-16  Jim Evins  <evins@snaught.com>
512
513         * AUTHORS:
514         * data/templates/avery-iso-templates.xml:
515         * data/templates/avery-us-templates.xml:
516         * data/templates/misc-iso-templates.xml:
517         * data/templates/misc-us-templates.xml:
518                 Caught up on user submitted templates.
519
520 2008-02-04  Jim Evins  <evins@snaught.com>
521
522         * src/view-image.c: (update_object_from_editor_cb):
523                 Bug #1886438.  Don't update the image size unless it is actually
524                 triggered by a change in image source.  The result of this bug
525                 was that any attempt to edit the size spinboxes, immediately
526                 reset the size.
527         
528 2008-02-03  Jim Evins  <evins@snaught.com>
529
530         * src/label-image.c: (gl_label_image_class_init), (set_size):
531                 Enforce minimum size for images.
532
533 2008-02-03  Jim Evins  <evins@snaught.com>
534
535         * src/object-editor-edit-page.c: (field_selected_cb):
536         * src/object-editor-lsize-page.c: (gl_object_editor_set_max_lsize):
537         * src/object-editor-private.h:
538         * src/object-editor-shadow-page.c:
539         (gl_object_editor_set_max_shadow_offset):
540         * src/object-editor-size-page.c: (gl_object_editor_set_max_size):
541         * src/object-editor.c: (gl_object_editor_finalize),
542         (gl_object_editor_new), (gl_object_notebook_construct_valist),
543         (label_changed_cb):
544         * src/object-editor.h:
545         * src/ui-sidebar.c: (gl_ui_sidebar_construct):
546         * src/view-barcode.c: (construct_properties_editor):
547         * src/view-box.c: (construct_properties_editor):
548         * src/view-ellipse.c: (construct_properties_editor):
549         * src/view-image.c: (construct_properties_editor):
550         * src/view-line.c: (construct_properties_editor):
551         * src/view-object.c: (gl_view_object_finalize):
552         * src/view-text.c: (construct_properties_editor),
553                 Move update_editor_from_label callback from individual view objects
554                 to the object editor, so that signals can be disconnected when
555                 object editor is finalized.
556         * src/view-text.c: (gl_view_text_create_button_press_event):
557                 Fixed bug that caused multiple view objects to be created for a
558                 single text object.  This bug would manifest itself as a crash
559                 when deleting multi-object selections which included text objects.
560         
561 2008-02-02  Jim Evins  <evins@snaught.com>
562
563         * src/Makefile.am:
564         * src/wdgt-merge-menu.c:
565         * src/wdgt-merge-menu.h:
566         * src/debug.c: (gl_debug_init):
567         * src/debug.h:
568         * src/marshal.list:
569                 New merge menu widget.
570         * data/glade/object-editor.glade:
571         * src/object-editor-private.h:
572         * src/object-editor.c: (gl_object_editor_set_key_names):
573         * src/object-editor-edit-page.c:
574         (gl_object_editor_prepare_edit_page), (field_selected_cb),
575         (insert_button_cb):
576                 Simplified UI for inserting fields into text objects by launching
577                 a merge menu and directly inserting fields from the menu.  No more
578                 selecting field in combobox, then pressing insert button.
579
580 2008-01-31  Jim Evins  <evins@snaught.com>
581
582         * src/label-barcode.c: (draw_object):
583                 Fixed rendering problem when "Invalid data" is displayed when text
584                 object is lower in stacking order.
585
586 2008-01-30  Jim Evins  <evins@snaught.com>
587
588         * src/label-text.c: (get_size), (draw_object), (draw_shadow):
589                 Don't turn off cairo_hint_metrics.  This causes serious issues with
590                 bitmap fonts.
591
592 2008-01-29  Jim Evins  <evins@snaught.com>
593
594         * src/print-op.c: (gl_print_op_construct),
595         (gl_print_op_construct_batch), (set_page_size):
596                 Explicitly set page size for "other" page sizes.
597
598 2008-01-25  Jim Evins  <evins@snaught.com>
599
600         * src/bc.c:
601                 Fixed Code128C backend parameters.
602         * src/label-barcode.c: (get_size):
603                 Bug #1766425.  If barcode is not renderable with either
604                 input data or default data, use a default size.  Also
605                 fixed small leak.
606
607 2008-01-16  Jim Evins  <evins@snaught.com>
608
609         * src/print.c: (print_label):
610                 Bug #1872568.  Don't apply special transforms (rotate and
611                 mirror) to clipping region or outline.
612
613 2008-01-01  Jim Evins  <evins@snaught.com>
614
615         * src/util.c:
616                 Sort font lists alphabetically.
617
618 2008-01-01  Jim Evins  <evins@snaught.com>
619
620         * src/merge-evolution.c:
621                 Do a case-insensitive sort.
622
623 2008-01-01  Jim Evins  <evins@snaught.com>
624
625         * src/merge-evolution.c:
626                 Sort evolution by "file_under" field.  Original patch provided
627                 by Peter Cherriman <glabels-devel2712@bubieyehyeh.me.uk> in
628                 Patch #1860423.
629         * AUTHORS:
630                 Added acknowledgement for above patch.
631
632 2008-01-01  Jim Evins  <evins@snaught.com>
633
634         * NEWS:
635         * configure.in:
636         * glabels.spec.in:
637                 Reconcile with 2.2 branch.
638         
639
640 2007-12-21  Jim Evins  <evins@snaught.com>
641
642         * COPYING.LIBGLABELS:
643         * COPYING.README_FIRST:
644         * README:
645                 Updating license information to make more complete and understandable.
646
647 2007-12-16  Jim Evins  <evins@snaught.com>
648
649         * configure.in:
650                 Updated version to 2.pre2.
651         * help/C/glabels.xml:
652                 Updated documentation.
653         * src/ui-commands.c: (gl_ui_cmd_help_about):
654                 Updated copyright string.
655
656 2007-12-15  Jim Evins  <evins@snaught.com>
657
658         * data/glade/object-editor.glade:
659                 Removed any GtkTable that contained a GtkComboBox because the size of
660                 the combo box was not constrained properly.  This sacrifices the nice
661                 orderly labels for combo boxes that don't extend beyond the edge of the
662                 window.
663
664 2007-12-15  Jim Evins  <evins@snaught.com>
665
666         * libglabels/db.c: (lgl_db_lookup_template_from_name):
667         * src/object-editor.c: (gl_object_editor_finalize):
668         * src/wdgt-media-select.c: (gl_wdgt_media_select_finalize):
669                 Fixed several small memory leaks.
670
671 2007-12-14  Jim Evins  <evins@snaught.com>
672
673         * libglabels/db.c:
674                 Optimize template search by name by using a GHashTable.
675         * src/mini-preview-pixbuf-cache.c:
676         * src/mini-preview-pixbuf-cache.h:
677                 Store one pixbuf per template, but use a key for each alias.
678         * src/wdgt-media-select.c:
679                 Optimize loading of tree data, thus optimizing the "new label" dialog.
680
681 2007-12-12  Jim Evins  <evins@snaught.com>
682
683         * data/templates/avery-us-templates.xml:
684                 More templates and aliases.
685
686 2007-12-08  Jim Evins  <evins@snaught.com>
687
688         * TODO:
689                 More prep for 2.1.5/2.2.0.
690
691 2007-12-08  Jim Evins  <evins@snaught.com>
692
693         * NEWS:
694         * README:
695         * TODO:
696         * configure.in:
697                 Preparation for 2.1.5.
698
699 2007-12-08  Jim Evins  <evins@snaught.com>
700
701         * docs/libglabels/libglabels-decl-list.txt:
702         * docs/libglabels/libglabels-docs.sgml:
703         * docs/libglabels/libglabels-sections.txt:
704         * docs/libglabels/libglabels-undocumented.txt:
705         * docs/libglabels/tmpl/db.sgml:
706         * docs/libglabels/tmpl/str.sgml:
707         * libglabels/str.c:
708                 Documentation cleanup for libglabels.
709
710 2007-11-29  Jim Evins  <evins@snaught.com>
711
712         * libglabels/db.h:
713         * libglabels/db.c:
714                 Added lgl_db_does_template_name_exist().
715                 In lgl_db_lookup_template_from_name() substitute brand/part of new template from
716                 requested alias.
717         * src/prefs-model.c:
718                 Proof read recent templates -- make sure they still exist.
719         * src/wdgt-media-select.c:
720                 Default to "search all templates" tab if no recent templates found.
721
722 2007-11-28  Jim Evins  <evins@snaught.com>
723
724         * data/glade/wdgt-media-select.glade:
725         * src/wdgt-media-select.c:
726                 Added tabbed notebook to allow selection of recent template versus searching the
727                 entire database.
728         
729
730 2007-11-26  Jim Evins  <evins@snaught.com>
731
732         * libglabels/Makefile.am:
733         * libglabels/libglabels.h:
734                 Make str.h public.
735         * src/label.c:
736         * src/prefs-dialog.c:
737         * src/prefs-model.c:
738         * src/prefs-model.h:
739         * src/prefs.c:
740         * src/prefs.h:
741                 Added tracking of recently used templates.
742
743 2007-11-20  Jim Evins  <evins@snaught.com>
744
745         * data/glade/template-designer.glade:
746         * src/template-designer.c:
747                 Added warning icon when match brand and part match an existing template.
748
749 2007-11-18  Jim Evins  <evins@snaught.com>
750
751         * libglabels/Makefile.am:
752         * libglabels/str.h:
753         * libglabels/str.c:
754                 Added lgl_str_utf8_casecmp().
755         * libglabels/libglabels-private.h:
756                 Use lgl_str_utf8_casecmp() for UTF8_EQUAL macro -- do case insensitive comparisons.
757         * libglabels/db.c: (lgl_db_get_brand_list):
758                 Use lgl_str_utf8_casecmp() to determine if we have seen brand before when building
759                 brand list.
760
761 2007-11-18  Jim Evins  <evins@snaught.com>
762
763         * data/glade/template-designer.glade:
764         * src/template-designer.c:
765                 Don't advance past name page, if brand and part match an existing template.
766
767 2007-11-18  Jim Evins  <evins@snaught.com>
768
769         * libglabels/db.c: (lgl_db_register_template), (read_templates):
770                 When registering a new template, don't add to "User defined" category before
771                 writing to file.  Add to "User defined" category when reading from "~/.glabels"
772                 directory instead.  This will allow legacy templates (and manually created
773                 templates) to be automatically added to the "user defined" category.
774         * libglabels/xml-template.c:
775         (lgl_xml_template_create_template_node):
776                 Fixed typo/bug causing brand to be wrong.
777         
778 2007-11-16  Jim Evins  <evins@snaught.com>
779
780         * libglabels/db.c:
781         * libglabels/db.h:
782                 Added return codes to lgl_db_register_template().  Added lgl_db_does_template_exist()
783                 function.  Automatically create "User defined" category and add to all user
784                 registered templates.
785         * libglabels/xml-template.c:
786         * libglabels/xml-template.h:
787                 Return number of bytes written from lgl_xml_template_write_templates_to_file() and
788                 lgl_xml_template_write_template_to_file().
789         * docs/libglabels/libglabels-decl-list.txt:
790         * docs/libglabels/libglabels-sections.txt:
791         * docs/libglabels/libglabels-undocumented.txt:
792         * docs/libglabels/tmpl/db.sgml:
793         * docs/libglabels/tmpl/xml-template.sgml:
794                 Update documentation to reflect above changes.
795
796 2007-10-28  Jim Evins  <evins@snaught.com>
797
798         * libglabels/xml-template.c:
799                 Remove any leading white space from part #s when parsing old names.
800         * src/mini-preview-pixbuf-cache.c:
801                 If name isn't in cache add it.
802
803 2007-10-26  Jim Evins  <evins@snaught.com>
804
805         * libglabels/Makefile.am:
806         * libglabels/category.c:
807         * libglabels/category.h:
808         * libglabels/db.c:
809         * libglabels/db.h:
810         * libglabels/libglabels-private.h:
811         * libglabels/libglabels.h:
812         * libglabels/paper.c:
813         * libglabels/paper.h:
814         * libglabels/template.c:
815         * libglabels/template.h:
816         * libglabels/xml-template.c:
817                 Another pass at screwing with the libglabels API.  Moved all
818                 database related stuff to db.[ch].
819         * docs/libglabels/libglabels-decl-list.txt:
820         * docs/libglabels/libglabels-docs.sgml:
821         * docs/libglabels/libglabels-sections.txt:
822         * docs/libglabels/libglabels-undocumented.txt:
823         * docs/libglabels/tmpl/category.sgml:
824         * docs/libglabels/tmpl/db.sgml:
825         * docs/libglabels/tmpl/init.sgml:
826         * docs/libglabels/tmpl/libglabels-unused.sgml:
827         * docs/libglabels/tmpl/paper.sgml:
828         * docs/libglabels/tmpl/template-construction.sgml:
829         * docs/libglabels/tmpl/template-db.sgml:
830         * docs/libglabels/tmpl/template-misc.sgml:
831         * docs/libglabels/tmpl/template-struct.sgml:
832         * docs/libglabels/tmpl/template.sgml:
833                 Updated documentation to reflect above changes to libglabels API.
834         * src/file.c:
835         * src/glabels-batch.c:
836         * src/glabels.c:
837         * src/mini-preview-pixbuf-cache.c:
838         * src/prefs-model.c:
839         * src/print.c:
840         * src/template-designer.c:
841         * src/wdgt-media-select.c:
842         * src/wdgt-mini-preview.c:
843         * src/wdgt-rotate-label.c:
844         * src/xml-label-04.c:
845         * src/xml-label.c:
846                 Reconciled usage with above libglabels API changes.
847
848 2007-10-21  Jim Evins  <evins@snaught.com>
849
850         * data/glade/wdgt-media-select.glade:
851         * src/wdgt-media-select.c:
852                 Added brand to filter settings.
853
854 2007-10-21  Jim Evins  <evins@snaught.com>
855
856         * data/dtd/glabels-2.2.dtd:
857                 Forgot to replace Alias name attribute with brand and part attributes.
858         * data/templates/avery-iso-templates.xml:
859         * data/templates/avery-other-templates.xml:
860         * data/templates/avery-us-templates.xml:
861         * data/templates/misc-iso-templates.xml:
862         * data/templates/misc-other-templates.xml:
863         * data/templates/misc-us-templates.xml:
864         * data/templates/zweckform-iso-templates.xml:
865                 Replaced all name attributes with brand/part attribute pairs.
866
867 2007-10-20  Jim Evins  <evins@snaught.com>
868
869         * src/stock-pixmaps/*.png
870                 Updated icons to use Tango color palette.
871         
872 2007-10-20  Jim Evins  <evins@snaught.com>
873
874         * data/dtd/Makefile.am:
875         * data/dtd/glabels-2.0.dtd:
876         * data/dtd/glabels-2.2.dtd:
877                 Rename glabels-2.0.dtd to glabels-2.2.dtd.  Added brand and part attributes to
878                 template node.
879         * libglabels/template.c:
880         * libglabels/template.h:
881         * libglabels/xml-template.c:
882         * libglabels/xml.h:
883                 Added brand and part attributes to template and alias structures and nodes.
884         * src/file.c:
885         * src/label.c:
886         * src/mini-preview-pixbuf-cache.c:
887         * src/template-designer.c:
888         * src/wdgt-media-select.c:
889                 Use modified libglabels API.
890         * docs/libglabels/libglabels-decl-list.txt:
891         * docs/libglabels/libglabels-sections.txt:
892         * docs/libglabels/libglabels-undocumented.txt:
893         * docs/libglabels/tmpl/template-construction.sgml:
894         * docs/libglabels/tmpl/template-db.sgml:
895         * docs/libglabels/tmpl/template-struct.sgml:
896                 Update libglabels documentation to reflect above modifications.
897
898 2007-10-14  Jim Evins  <evins@snaught.com>
899
900         * docs/libglabels/libglabels-decl-list.txt:
901         * docs/libglabels/libglabels-sections.txt:
902         * docs/libglabels/libglabels-undocumented.txt:
903         * docs/libglabels/tmpl/category.sgml:
904         * libglabels/category.c:
905         * libglabels/category.h:
906                 Added lgl_category_get_id_list() and lgl_category_free_id_list() to have
907         parity with paper functions.
908
909 2007-10-12  Jim Evins  <evins@snaught.com>
910
911         * docs/libglabels/libglabels-decl-list.txt:
912         * docs/libglabels/libglabels-sections.txt:
913         * docs/libglabels/libglabels-undocumented.txt:
914         * docs/libglabels/tmpl/category.sgml:
915         * docs/libglabels/tmpl/enums.sgml:
916         * docs/libglabels/tmpl/libglabels-unused.sgml:
917         * docs/libglabels/tmpl/paper.sgml:
918         * docs/libglabels/tmpl/template-struct.sgml:
919         * libglabels/init.c:
920         * libglabels/template.c:
921         * libglabels/template.h:
922                 Another pass at fleshing out the libglabels documentation.
923         * src/cairo-label-path.c:
924         * src/cairo-markup-path.c:
925         * src/label.c:
926         * src/mini-preview-pixbuf.c:
927         * src/print-op.c:
928         * src/print.c:
929         * src/view.c:
930         * src/wdgt-media-select.c:
931         * src/wdgt-mini-preview.c:
932         * src/wdgt-print-copies.c:
933         * src/wdgt-print-merge.c:
934         * src/wdgt-rotate-label.c:
935                 Removed lgl_template_get_first_frame() from libglabels API and all references.
936
937 2007-10-11  Jim Evins  <evins@snaught.com>
938         * configure.in:
939                 Extended checks for deprecated symbols.
940         * libglabels/template.c:
941                 Removed g_strcasecmp references, which are deprecated.
942
943 2007-10-09  Jim Evins  <evins@snaught.com>
944
945         * src/merge-evolution.c:
946                 Create address book if it does not exist.  Also, be more robust about handling
947                 error conditions -- don't just assume GError has been set.
948
949 2007-10-08  Jim Evins  <evins@snaught.com>
950
951         * libglabels/template.c:
952         * libglabels/xml-template.c:
953         * src/template-designer.c:
954                 Missed some symbols with libglabels API work.
955
956 2007-10-01  Jim Evins  <evins@snaught.com>
957
958         * docs/libglabels/libglabels-decl-list.txt:
959         * docs/libglabels/libglabels-docs.sgml:
960         * docs/libglabels/libglabels-sections.txt:
961         * docs/libglabels/libglabels-undocumented.txt:
962         * docs/libglabels/tmpl/category.sgml:
963         * docs/libglabels/tmpl/enums.sgml:
964         * docs/libglabels/tmpl/init.sgml:
965         * docs/libglabels/tmpl/libglabels-unused.sgml:
966         * docs/libglabels/tmpl/paper.sgml:
967         * docs/libglabels/tmpl/template-construction.sgml:
968         * docs/libglabels/tmpl/template-db.sgml:
969         * docs/libglabels/tmpl/template-misc.sgml:
970         * docs/libglabels/tmpl/template-struct.sgml:
971         * docs/libglabels/tmpl/template.sgml:
972         * docs/libglabels/tmpl/xml-category.sgml:
973         * docs/libglabels/tmpl/xml-template.sgml:
974         * libglabels/category.h:
975         * libglabels/init.c:
976         * libglabels/libglabels-private.h:
977         * libglabels/paper.h:
978         * libglabels/template.c:
979         * libglabels/template.h:
980         * libglabels/xml-template.h:
981                 Basic documentation framework for libglabels updated.  This still needs some
982                 fleshing out.
983         
984 2007-09-27  Jim Evins  <evins@snaught.com>
985
986         * docs/libglabels/libglabels-decl-list.txt:
987         * docs/libglabels/libglabels-docs.sgml:
988         * docs/libglabels/libglabels-sections.txt:
989         * docs/libglabels/libglabels-undocumented.txt:
990         * docs/libglabels/tmpl/enums.sgml:
991         * docs/libglabels/tmpl/init.sgml:
992         * docs/libglabels/tmpl/libglabels-unused.sgml:
993         * docs/libglabels/tmpl/paper.sgml:
994         * docs/libglabels/tmpl/template.sgml:
995         * docs/libglabels/tmpl/xml-paper.sgml:
996         * docs/libglabels/tmpl/xml-template.sgml:
997         * docs/libglabels/tmpl/xml.sgml:
998         * libglabels/Makefile.am:
999         * libglabels/category.c:
1000         * libglabels/category.h:
1001         * libglabels/enums.h:
1002         * libglabels/init.c:
1003         * libglabels/init.h:
1004         * libglabels/libglabels-private.h:
1005         * libglabels/libglabels.h:
1006         * libglabels/paper.c:
1007         * libglabels/paper.h:
1008         * libglabels/template.c:
1009         * libglabels/template.h:
1010         * libglabels/xml-category.c:
1011         * libglabels/xml-category.h:
1012         * libglabels/xml-paper.c:
1013         * libglabels/xml-paper.h:
1014         * libglabels/xml-template.c:
1015         * libglabels/xml-template.h:
1016         * libglabels/xml.c:
1017         * libglabels/xml.h:
1018         * src/cairo-label-path.c:
1019         * src/cairo-label-path.h:
1020         * src/cairo-markup-path.c:
1021         * src/cairo-markup-path.h:
1022         * src/file.c:
1023         * src/glabels-batch.c:
1024         * src/glabels.c:
1025         * src/label-object.c:
1026         * src/label.c:
1027         * src/label.h:
1028         * src/mini-preview-pixbuf-cache.c:
1029         * src/mini-preview-pixbuf.c:
1030         * src/mini-preview-pixbuf.h:
1031         * src/prefs-dialog.c:
1032         * src/prefs-model.c:
1033         * src/prefs-model.h:
1034         * src/prefs.c:
1035         * src/prefs.h:
1036         * src/print-op.c:
1037         * src/print.c:
1038         * src/template-designer.c:
1039         * src/view-barcode.c:
1040         * src/view-box.c:
1041         * src/view-ellipse.c:
1042         * src/view-image.c:
1043         * src/view-line.c:
1044         * src/view.c:
1045         * src/wdgt-media-select.c:
1046         * src/wdgt-mini-preview.c:
1047         * src/wdgt-mini-preview.h:
1048         * src/wdgt-print-copies.c:
1049         * src/wdgt-print-merge.c:
1050         * src/wdgt-rotate-label.c:
1051         * src/xml-label-04.c:
1052         * src/xml-label.c:
1053                 Major cleanup of libglabels API -- this breaks API compatibility with older
1054                 development and stable versions -- as far as I know, there are currently
1055                 no external users of this library yet.
1056         
1057 2007-09-14  Jim Evins  <evins@snaught.com>
1058
1059         * src/marshal.list:
1060         * src/label.c:
1061         * src/label.h:
1062         * src/label-object.c:
1063         * src/label-object.h:
1064         * src/label-barcode.c:
1065         * src/label-ellipse.c:
1066         * src/view.c:
1067         * src/view-object.c:
1068         * src/view-barcode.c:
1069         * src/view-box.c:
1070         * src/view-ellipse.c:
1071         * src/view-image.c:
1072         * src/view-line.c:
1073         * src/view-text.c:
1074                 Better separation of model from view.
1075
1076 2007-08-21  Jim Evins  <evins@snaught.com>
1077
1078         * src/print-op.c: (create_custom_widget_cb):
1079                 Fix problem with force_outline_flag -- don't override with default.
1080
1081 2007-08-21  Jim Evins  <evins@snaught.com>
1082
1083         * data/dtd/glabels-2.0.dtd:
1084         * libglabels/template.c:
1085         * libglabels/template.h:
1086         * libglabels/xml-template.c:
1087         * src/cairo-markup-path.c:
1088                 Added "Markup-rect" element to template format.
1089
1090 2007-08-21  Jim Evins  <evins@snaught.com>
1091
1092         * configure.in:
1093                 Changed version to 2.1.pre5svn.
1094         * src/view.c: (draw_markup_layer):
1095                 Do a stroke for each markup path, otherwise multiple markups
1096                 get connected.
1097
1098 2007-08-17  Jim Evins  <evins@snaught.com>
1099
1100         * configure.in:
1101                 Bump libglabels revision numbers for 2.1.4 release.
1102
1103 2007-08-16  Jim Evins  <evins@snaught.com>
1104
1105         * Makefile.am:
1106                 Include subdir iec16022-0.2.1.
1107         * NEWS:
1108         * configure.in:
1109         * glabels.spec.in:
1110                 Preparation for 2.1.4.
1111         
1112
1113 2007-08-11  Jim Evins  <evins@snaught.com>
1114
1115         * po/POTFILES.in:
1116                 Updated file list.
1117         * configure.in:
1118         * po/eo.po:
1119                 Added Esperanto translation.  Provided by Antonio C.
1120                 Codazzi "la Filozofo" <f_sophia@libero.it>.
1121         * po/fr.po:
1122                 Updated French translation. Provided by Claude Paroz
1123                 <claude@2xlibre.net>.
1124         * AUTHORS:
1125                 Updated to reflect above translations.
1126
1127 2007-08-11  Jim Evins  <evins@snaught.com>
1128
1129         * AUTHORS:
1130         * data/templates/avery-iso-templates.xml:
1131         * data/templates/avery-us-templates.xml:
1132         * data/templates/misc-iso-templates.xml:
1133         * data/templates/misc-other-templates.xml:
1134         * data/templates/misc-us-templates.xml:
1135         * data/templates/zweckform-iso-templates.xml:
1136                 Caught up with backlog of template submissions.
1137
1138 2007-08-10  Jim Evins  <evins@snaught.com>
1139
1140         * src/bc-postnet.c: (gl_barcode_postnet_new):
1141         * src/bc.c:
1142                 Added support for Brazilian CEPNet barcodes.  This is simply an
1143                 instance of the US POSTNET format with 8 digits.  Patch supplied
1144                 by Mário Meyer in bug # 1768792.
1145         * AUTHORS:
1146                 Updated acknowledgments to reflect above patch and recent shuffling
1147                 of underlying technology.
1148
1149 2007-05-13  Jim Evins  <evins@snaught.com>
1150
1151         * src/merge-text.c: (parse_line), (parse_field):
1152                 Remove leading and trailing spaces from CSV fields, unless quoted.
1153
1154 2007-05-09  Jim Evins  <evins@snaught.com>
1155
1156         * src/object-editor-bc-page.c:
1157         * src/object-editor-data-page.c:
1158         * src/object-editor-fill-page.c:
1159         * src/object-editor-image-page.c:
1160         * src/object-editor-line-page.c:
1161         * src/object-editor-lsize-page.c:
1162         * src/object-editor-position-page.c:
1163         * src/object-editor-private.h:
1164         * src/object-editor-shadow-page.c:
1165         * src/object-editor-size-page.c:
1166         * src/object-editor-text-page.c:
1167         * src/object-editor.c:
1168         * src/prefs-dialog.c:
1169         * src/template-designer.c:
1170         * src/ui-property-bar.c:
1171         * src/wdgt-media-select.c:
1172                 Replaced signal block/unblock pairs with simple flags.  This reduces
1173                 some code clutter, hopefully making it easier to read.
1174
1175 2007-05-05  Jim Evins  <evins@snaught.com>
1176
1177         * src/template-designer.c: (apply_cb):
1178                 Add new template to mini-preview pixbuf cache.
1179
1180 2007-05-03  Jim Evins  <evins@snaught.com>
1181
1182         * src/label-image.c: (gl_label_image_init), (draw_object):
1183                 Scale default pixbuf up, to prevent bluring.  Use cairo_fill to
1184                 render image.
1185
1186 2007-05-02  Jim Evins  <evins@snaught.com>
1187
1188         * src/view.c: (draw_select_region_layer), (motion_notify_event_cb),
1189         (button_release_event_cb):
1190                 Removed attempt at rendering optimization by clipping the updates
1191                 to areas affected -- this actually seemed to hurt update performance.
1192
1193 2007-04-30  Jim Evins  <evins@snaught.com>
1194
1195         * src/color.h:
1196         * src/color.c: (gl_color_shadow), (gl_color_node_new_default),
1197         (gl_color_node_equal), (gl_color_node_expand):
1198         * src/label-barcode.c: (draw_object):
1199         * src/label-box.c: (draw_object), (draw_shadow):
1200         * src/label-ellipse.c: (draw_object), (draw_shadow):
1201         * src/label-line.c: (draw_object), (draw_shadow):
1202         * src/label-text.c: (draw_object), (draw_shadow):
1203         * src/wdgt-mini-preview.c: (draw_shadow), (draw_labels):
1204         * src/wdgt-rotate-label.c: (drawingarea_update):
1205                 Some cleanup to color related code.
1206
1207 2007-04-30  Jim Evins  <evins@snaught.com>
1208
1209         * src/label.h:
1210                 Added glLabelRegion structure type.
1211         * src/label-object.c: (gl_label_object_get_extent):
1212         * src/label-object.h:
1213                 Modified gl_label_object_get_extent() to fill in a glLabelRegion struct.
1214         * src/view.h:
1215         * src/view.c: (gl_view_update_region), (draw_select_region_layer),
1216         (gl_view_select_region), (gl_view_align_selection_left),
1217         (gl_view_align_selection_right), (gl_view_align_selection_hcenter),
1218         (gl_view_align_selection_top), (gl_view_align_selection_bottom),
1219         (gl_view_align_selection_vcenter),
1220         (gl_view_center_selection_horiz), (gl_view_center_selection_vert),
1221         (gl_view_move_selection), (gl_view_can_selection_text),
1222         (motion_notify_event_cb), (button_press_event_cb),
1223         (button_release_event_cb):
1224                 - Reconcile with new gl_label_object_get_extent() API.
1225                 - Use glLabelRegion for view->select_region.
1226                 - Added gl_view_update_region() to clip updates to region.
1227                 - Use gl_view_update_region() during manipulation of view->select_region.
1228
1229 2007-04-26  Jim Evins  <evins@snaught.com>
1230
1231         * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
1232         (draw_label_outline):
1233         * src/print.c: (print_crop_marks), (draw_outline):
1234         * src/view-object.c: (gl_view_object_draw_handles):
1235         * src/view.c: (draw_bg_layer), (draw_grid_layer),
1236         (draw_markup_layer), (draw_fg_layer), (draw_select_region_layer):
1237         * src/wdgt-mini-preview.c: (draw_paper), (draw_labels):
1238         * src/wdgt-rotate-label.c: (drawingarea_update):
1239                 Added defines for various magic numbers.
1240
1241 2007-04-25  Jim Evins  <evins@snaught.com>
1242
1243         * src/label-text.c: (get_size), (draw_object), (draw_shadow):
1244                 Scale text down.  Cairo seems to render text too large.
1245
1246 2007-04-25  Jim Evins  <evins@snaught.com>
1247
1248         * src/view.h:
1249         * src/view.c: (gl_view_update), (expose_cb),
1250         (motion_notify_event_cb), (button_press_event_cb),
1251         (button_release_event_cb):
1252                 - Try not to let updates get backed up.
1253                 - Grab pointer when doing any drag operations.
1254
1255 2007-04-11  Jim Evins  <evins@snaught.com>
1256
1257         * src/cairo-label-path.c: (gl_cairo_label_path),
1258         (gl_cairo_rect_label_path), (gl_cairo_round_label_path),
1259         (gl_cairo_cd_label_path):
1260         * src/cairo-label-path.h:
1261         * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
1262         (draw_label_outline):
1263         * src/print.c: (draw_outline), (clip_to_outline):
1264         * src/view.c: (draw_bg_layer), (draw_fg_layer):
1265         * src/wdgt-mini-preview.c: (draw_labels):
1266         * src/wdgt-rotate-label.c: (drawingarea_update):
1267                 Modified to universally use gl_cairo_label_path() to create paths
1268                 for labels.  Added shadow to mini preview in rotate widget.
1269
1270 2007-04-10  Jim Evins  <evins@snaught.com>
1271
1272         * libglabels/template.h:
1273         * libglabels/template.c: (gl_template_get_name_list_unique),
1274         (gl_template_get_name_list_all), (gl_template_from_name):
1275                 Modified libglabels to allow you to get a list of all template names
1276                 including all aliases or just a list of primary names of each unique
1277                 template.
1278         * src/Makefile.am:
1279         * src/file.c: (gl_file_properties):
1280         * src/glabels.c: (main):
1281         * src/mini-preview-pixbuf-cache.h:
1282         * src/mini-preview-pixbuf-cache.c:
1283         * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
1284         (filter_changed_cb), (load_list):
1285                 Added mini-preview pixbuf cache, so that only one mini-preview is
1286                 needed for a unique template and gets reused for all aliases.  These
1287                 pixbufs will also live for the life of the program so they are not
1288                 rebuilt everytime a new label dialog is invoked.
1289         * src/mini-preview-pixbuf.c: (draw_paper),
1290         (draw_rect_label_outline), (draw_round_label_outline),
1291         (draw_cd_label_outline):
1292                 Removed some comment artifacts.
1293
1294 2007-04-04  Jim Evins  <evins@snaught.com>
1295
1296         * src/mini-preview-pixbuf.c: (gl_mini_preview_pixbuf_new),
1297         (draw_paper), (draw_label_outlines), (draw_rect_label_outline),
1298         (draw_round_label_outline), (draw_cd_label_outline):
1299         * src/wdgt-media-select.c: (load_list):
1300         * src/wdgt-rotate-label.c: (draw_cd_label_outline):
1301                 Cosmetic enhancments to mini previews.
1302
1303 2007-04-04  Jim Evins  <evins@snaught.com>
1304
1305         * src/ui-property-bar.c: (gl_ui_property_bar_finalize),
1306         (gl_ui_property_bar_construct):
1307                 Save copy of GladeXML tree so that we don't lose tooltips.
1308
1309 2007-04-02  Jim Evins  <evins@snaught.com>
1310
1311         * src/merge-properties-dialog.c:
1312         * src/new-label-dialog.c:
1313         * src/object-editor.c:
1314         * src/prefs-dialog.c:
1315         * src/print-op.c:
1316         * src/template-designer.c:
1317         * src/ui-property-bar.c:
1318         * src/wdgt-media-select.c:
1319         * src/wdgt-rotate-label.c:
1320                 Fixed several memory leaks.
1321
1322 2007-04-01  Jim Evins  <evins@snaught.com>
1323
1324         * src/label-text.c: (gl_label_text_init), (copy),
1325         (gl_label_text_set_lines), (buffer_changed_cb), (get_size),
1326         (set_font_family), (set_font_size), (set_font_weight),
1327         (set_font_italic_flag), (set_text_alignment),
1328         (set_text_line_spacing):
1329                 Cache object size, so that expensive extent calculations are only done
1330                 when needed.
1331
1332 2007-03-30  Jim Evins  <evins@snaught.com>
1333
1334         * src/prefs-model.c: (gl_prefs_model_load_settings):
1335                 Default to an unlimited list of recent documents, since this parameter
1336                 seems to be pre-filter anyway.
1337
1338 2007-03-30  Jim Evins  <evins@snaught.com>
1339
1340         * src/label-box.c: (draw_shadow):
1341         * src/label-ellipse.c: (draw_shadow):
1342                 Added missing shadow fill.
1343         
1344 2007-03-28  Jim Evins  <evins@snaught.com>
1345
1346         * src/ui-commands.c: (gl_ui_cmd_file_print):
1347                 Unreferencing the print operation sometimes crashes.  Just don't do it
1348                 right now.
1349
1350 2007-03-28  Jim Evins  <evins@snaught.com>
1351
1352         * src/print-op.c: (gl_print_op_construct),
1353         (gl_print_op_get_settings), (gl_print_op_set_settings),
1354         (gl_print_op_free_settings), (create_custom_widget_cb):
1355         * src/print-op.h:
1356         * src/ui-commands.c: (gl_ui_cmd_file_print):
1357         * src/window.c: (gl_window_init):
1358         * src/window.h:
1359                 Save print settings and custom settings between print operations
1360                 on the same window.
1361
1362 2007-03-24  Jim Evins  <evins@snaught.com>
1363
1364         * src/object-editor-image-page.c:
1365         (gl_object_editor_prepare_image_page),
1366         (gl_object_editor_set_image), (img_selection_changed_cb):
1367                 Workaround for GtkFileChooserButton bug # 327243.  This the root
1368                 cause for gLabels bug # 1192884.  I have actually observed 3 delayed
1369                 "selection-changed" signals -- the first 2 return NULL -- this is
1370                 what caused the image to reset to the default followed by setting
1371                 it back to the original image, trying to fit it into a new bounding
1372                 box.  This sequence of events is much more evident with the new
1373                 cairo rendering.
1374
1375 2007-03-23  Jim Evins  <evins@snaught.com>
1376
1377         Merged all changes from experimental cairo branch to trunk.
1378         Trunk no longer depends on libgnomecanvas or libgnomeprint[ui].
1379
1380 2007-03-23  Jim Evins  <evins@snaught.com>
1381
1382         * src/label-object.h:
1383         * src/label-object.c: (gl_label_object_class_init),
1384         (gl_label_object_get_raw_size), (gl_label_object_get_size):
1385                 Created "get_raw_size" method.
1386         * src/label-barcode.c: (get_size):
1387         * src/xml-label.c: (xml_create_object_text),
1388         (xml_create_object_barcode):
1389                 Use new "get_raw_size" method on label-objects when apropos.
1390         * src/label-text.h:
1391         * src/label-text.c: (get_size), (draw_object), (draw_shadow),
1392         (auto_shrink_font_size):
1393                 Added "auto shrink" functionality back.
1394
1395 2007-03-19  Jim Evins  <evins@snaught.com>
1396
1397         * src/label-text.c: (draw_object), (draw_shadow):
1398                 Don't use negative scales in workaround from previous commit.
1399         
1400
1401 2007-03-18  Jim Evins  <evins@snaught.com>
1402
1403         * src/xml-label.c:
1404                 Forgot to remove include of xml-lable-191 in previous commit.
1405         * src/label-text.c: (get_size), (draw_object), (draw_shadow):
1406                 Workaround for pango Bug #341481.  Render text at device scale,
1407                 and scale font size accordingly.  Also, don't do any hinting.
1408
1409 2007-03-18  Jim Evins  <evins@snaught.com>
1410
1411         * src/cairo-ellipse-path.c:
1412         * src/cairo-ellipse-path.h:
1413                 Forgot to add these new files during last mass commit.
1414
1415 2007-03-18  Jim Evins  <evins@snaught.com>
1416
1417         * src/Makefile.am:
1418         * src/xml-label-191.c:
1419         * src/xml-label-191.h:
1420                 Removed -- Very buggy.  Version 1.91 is a very old "unstable" version,
1421                 so there is no need to keep compatability.
1422         * src/base64.c:
1423         * src/bc-iec16022.c:
1424         * src/cairo-label-path.c:
1425         * src/cairo-label-path.h:
1426         * src/cairo-markup-path.c:
1427         * src/color.c:
1428         * src/debug.c:
1429         * src/file.c:
1430         * src/glabels-batch.c:
1431         * src/glabels.c:
1432         * src/label-barcode.c:
1433         * src/label-box.c:
1434         * src/label-ellipse.c:
1435         * src/label-image.c:
1436         * src/label-line.c:
1437         * src/label-object.c:
1438         * src/label-object.h:
1439         * src/label-text.c:
1440         * src/label.c:
1441         * src/label.h:
1442         * src/merge-properties-dialog.c:
1443         * src/merge.c:
1444         * src/new-label-dialog.c:
1445         * src/object-editor-bc-page.c:
1446         * src/object-editor-data-page.c:
1447         * src/object-editor-edit-page.c:
1448         * src/object-editor-fill-page.c:
1449         * src/object-editor-image-page.c:
1450         * src/object-editor-line-page.c:
1451         * src/object-editor-private.h:
1452         * src/object-editor-shadow-page.c:
1453         * src/object-editor-text-page.c:
1454         * src/object-editor.c:
1455         * src/pixbuf-cache.c:
1456         * src/print-op.c:
1457         * src/print.c:
1458         * src/recent.c:
1459         * src/stock.c:
1460         * src/template-designer.c:
1461         * src/text-node.c:
1462         * src/ui-property-bar.c:
1463         * src/ui.c:
1464         * src/view-barcode.c:
1465         * src/view-box.c:
1466         * src/view-ellipse.c:
1467         * src/view-image.c:
1468         * src/view-line.c:
1469         * src/view-object.c:
1470         * src/view-object.h:
1471         * src/view-text.c:
1472         * src/view.c:
1473         * src/wdgt-media-select.c:
1474         * src/wdgt-print-copies.c:
1475         * src/wdgt-print-merge.c:
1476         * src/window.c:
1477         * src/xml-label-04.c:
1478         * src/xml-label.c:
1479                 Many changes, including:
1480                 - Move draw methods from view-*() to label-*().
1481                 - Use same drawing code for on screen view and printing.
1482                 - Fix all issues exposed with '-Wall -Werror'.
1483
1484 2007-03-14  Jim Evins  <evins@snaught.com>
1485
1486         * src/Makefile.am:
1487         * src/cairo-handle-path.c:
1488         * src/cairo-handle-path.h:
1489         * src/cairo-object-path.c:
1490         * src/cairo-object-path.h:
1491                 Removed cairo-handle-path.[ch] and cairo-object-path.[ch].
1492         * src/view-barcode.c: (gl_view_barcode_class_init), (draw_object),
1493         (object_at):
1494         * src/view-box.c: (gl_view_box_class_init), (draw_object),
1495         (draw_shadow), (object_at):
1496         * src/view-ellipse.c: (gl_view_ellipse_class_init),
1497         (create_ellipse_path), (draw_object), (draw_shadow), (object_at):
1498         * src/view-image.c: (gl_view_image_class_init), (draw_object),
1499         (object_at):
1500         * src/view-line.c: (gl_view_line_class_init), (draw_object),
1501         (draw_shadow), (object_at):
1502         * src/view-object.c: (gl_view_object_draw), (gl_view_object_at),
1503         (create_handle_path), (gl_view_object_draw_handles),
1504         (gl_view_object_handle_at):
1505         * src/view-object.h:
1506         * src/view-text.c: (gl_view_text_class_init), (draw_object),
1507         (draw_shadow), (object_at):
1508         * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
1509                 Some restructuring of new code.
1510
1511 2007-03-12  Jim Evins  <evins@snaught.com>
1512
1513         * src/Makefile.am:
1514         * src/cairo-object-path.c:
1515         * src/view-barcode.c:
1516         * src/view-barcode.h:
1517         * src/view.c:
1518                 Added barcode object support to view.
1519
1520 2007-03-12  Jim Evins  <evins@snaught.com>
1521
1522         * src/Makefile.am:
1523         * src/view-text.h:
1524         * src/view-text.c:
1525         * src/view.c:
1526         * src/cairo-object-path.c:
1527         * src/cairo-object-path.h:
1528         * src/view-box.c:
1529         * src/view-ellipse.c:
1530         * src/view-image.c:
1531         * src/view-line.c:
1532         * src/view-object.c:
1533         * src/view-object.h:
1534                 Added text object support to view.  Added object_at method to all
1535                 view_objects.
1536
1537 2007-03-11  Jim Evins  <evins@snaught.com>
1538
1539         * src/Makefile.am:
1540         * src/cairo-object-path.c: (gl_cairo_object_path),
1541         (gl_cairo_image_object_path):
1542         * src/view-image.c: (gl_view_image_class_init),
1543         (gl_view_image_finalize), (gl_view_image_new),
1544         (update_editor_from_label_cb), (draw),
1545         (gl_view_image_get_create_cursor),
1546         (gl_view_image_create_button_press_event),
1547         (gl_view_image_create_motion_event),
1548         (gl_view_image_create_button_release_event):
1549         * src/view-image.h:
1550         * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
1551         (selection_received_cb), (motion_notify_event_cb),
1552         (button_press_event_cb), (button_release_event_cb):
1553                 Added image object support to view.
1554
1555 2007-03-11  Jim Evins  <evins@snaught.com>
1556
1557         * src/Makefile.am:
1558         * src/cairo-object-path.c: (gl_cairo_object_path),
1559         (gl_cairo_line_object_path):
1560         * src/view-line.c: (gl_view_line_class_init), (gl_view_line_new),
1561         (update_object_from_editor_cb), (update_editor_from_object_cb),
1562         (update_editor_from_label_cb), (draw),
1563         (gl_view_line_get_create_cursor),
1564         (gl_view_line_create_button_press_event),
1565         (gl_view_line_create_motion_event),
1566         (gl_view_line_create_button_release_event):
1567         * src/view-line.h:
1568         * src/view-object.c: (gl_view_object_resize_event):
1569         * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
1570         (selection_received_cb), (motion_notify_event_cb),
1571         (button_press_event_cb), (button_release_event_cb):
1572                 Added line object support to view.
1573         * src/cairo-handle-path.c:
1574                 Made handles slightly larger.
1575
1576
1577 2007-03-11  Jim Evins  <evins@snaught.com>
1578
1579         * src/Makefile.am:
1580         * src/cairo-handle-path.c:
1581         * src/cairo-label-path.c: (gl_cairo_rect_label_path),
1582         (gl_cairo_round_label_path), (gl_cairo_cd_label_path):
1583         * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
1584         (gl_cairo_markup_margin_round_path),
1585         (gl_cairo_markup_margin_cd_path), (gl_cairo_markup_circle_path):
1586         * src/cairo-object-path.c: (gl_cairo_object_path),
1587         (gl_cairo_ellipse_object_path):
1588         * src/label-object.c: (gl_label_object_rotate):
1589         * src/view-box.c:
1590         * src/view-box.h:
1591         * src/view-ellipse.c: (gl_view_ellipse_class_init),
1592         (gl_view_ellipse_new), (update_object_from_editor_cb),
1593         (update_editor_from_object_cb), (update_editor_from_label_cb),
1594         (draw), (gl_view_ellipse_get_create_cursor),
1595         (gl_view_ellipse_create_button_press_event),
1596         (gl_view_ellipse_create_motion_event),
1597         (gl_view_ellipse_create_button_release_event):
1598         * src/view-ellipse.h:
1599         * src/view-object.c:
1600         * src/view-object.h:
1601         * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
1602         (select_object_real), (selection_received_cb),
1603         (motion_notify_event_cb), (button_press_event_cb),
1604         (button_release_event_cb):
1605         * src/view.h:
1606                 Added ellipse object support to view.  Plus other cleanup.
1607
1608 2007-03-11  Jim Evins  <evins@snaught.com>
1609
1610         * src/view-box.h:
1611         * src/view-box.c: (gl_view_box_get_create_cursor),
1612         (gl_view_box_create_button_press_event),
1613         (gl_view_box_create_motion_event),
1614         (gl_view_box_create_button_release_event):
1615         * src/view-object.c: (gl_view_object_set_view),
1616         (gl_view_object_handle_at):
1617         * src/view.h:
1618         * src/view.c: (gl_view_arrow_mode), (gl_view_object_create_mode),
1619         (motion_notify_event_cb), (button_press_event_cb),
1620         (button_release_event_cb), (key_press_event_cb):
1621                 Added creation code for box object.
1622
1623 2007-03-09  Jim Evins  <evins@snaught.com>
1624
1625         * src/view-object.c: (gl_view_object_resize_event):
1626         * src/view-object.h:
1627         * src/view.c: (motion_notify_event_cb):
1628                 Fix bugs with resizing transformed objects.
1629         * src/cairo-handle-path.c: (gl_cairo_handle_path):
1630         * src/cairo-object-path.c: (gl_cairo_object_path):
1631         * src/cairo-object-path.h:
1632         * src/label-object.c: (gl_label_object_init),
1633         (gl_label_object_dup), (gl_label_object_get_extent),
1634         (gl_label_object_flip_horiz), (gl_label_object_flip_vert),
1635         (gl_label_object_rotate), (gl_label_object_set_matrix),
1636         (gl_label_object_get_matrix):
1637         * src/label-object.h:
1638         * src/print.c: (draw_object):
1639         * src/view-box.c:
1640         * src/view-highlight.c:
1641         * src/view-highlight.h:
1642         * src/xml-label-191.c: (xml191_parse_object):
1643         * src/xml-label.c: (xml_parse_affine_attrs),
1644         (xml_create_affine_attrs):
1645                 Replace libart affine matrices with cairo matrices.
1646
1647 2007-03-08  Jim Evins  <evins@snaught.com>
1648
1649         * src/view-object.h:
1650         * src/view.c: (gl_view_update), (motion_notify_event_cb):
1651         * src/view-object.c: (gl_view_object_handle_at),
1652         (gl_view_object_resize_event):
1653                 Added resize code -- still a bit buggy.
1654         
1655 2007-03-07  Jim Evins  <evins@snaught.com>
1656
1657         * src/Makefile.am:
1658         * src/cairo-handle-path.c:
1659         * src/cairo-handle-path.h:
1660         * src/view-box.c: (gl_view_box_new):
1661         * src/view-object.c: (gl_view_object_set_object),
1662         (gl_view_object_draw_handles), (gl_view_object_handle_at):
1663         * src/view-object.h:
1664         * src/view.c: (draw_highlight_layer), (select_object_real),
1665         (unselect_object_real), (view_handle_at), (motion_notify_event_cb),
1666         (button_press_event_cb), (button_release_event_cb),
1667         (key_press_event_cb):
1668         * src/view.h:
1669                 Added beginnings of object resize handles.
1670
1671 2007-03-07  Jim Evins  <evins@snaught.com>
1672
1673         * src/view.h:
1674         * src/view.c: (gl_view_init), (gl_view_arrow_mode),
1675         (gl_view_object_create_mode), (motion_notify_event_cb),
1676         (button_press_event_cb), (button_release_event_cb),
1677         (key_press_event_cb):
1678                 Added move selection support.
1679
1680 2007-03-05  Jim Evins  <evins@snaught.com>
1681
1682         * src/cairo-object-path.c: (gl_cairo_object_path):
1683         * src/view-object.c: (gl_view_object_draw),
1684         (gl_view_object_draw_highlight):
1685         * src/view.c: (view_object_at), (motion_notify_event_cb),
1686         (button_press_event_cb), (button_release_event_cb):
1687                 Additional refinements to select logic.
1688
1689 2007-03-05  Jim Evins  <evins@snaught.com>
1690
1691         * src/view.h:
1692         * src/view.c: (gl_view_init), (gl_view_construct),
1693         (label_changed_cb), (draw_layers), (draw_select_region_layer),
1694         (gl_view_select_region), (object_at), (motion_notify_event_cb),
1695         (button_press_event_cb), (button_release_event_cb):
1696                 Added initial select region support and context menu.
1697
1698 2007-03-04  Jim Evins  <evins@snaught.com>
1699
1700         * configure.in:
1701         * src/Makefile.am:
1702         * src/debug.c:
1703         * src/debug.h:
1704         * src/file.c:
1705         * src/label.c:
1706         * src/label.h:
1707         * src/print-op.c:
1708         * src/print.c:
1709         * src/ui-commands.c:
1710         * src/view-box.c:
1711         * src/view-box.h:
1712         * src/view-object.c:
1713         * src/view-object.h:
1714         * src/view.c:
1715         * src/view.h:
1716         * src/wdgt-print-copies.c:
1717         * src/wdgt-print-merge.c:
1718         * src/xml-label.c:
1719                 Initial port to a raw Cairo canvas.  This removes all remaining
1720                 dependencies on libgnomecanvas and libgnomeprint[ui].  Basically
1721                 the view is becoming a canvas widget in its own right.  Still needs
1722                 a lot of work.
1723         * src/cairo-label-path.c:
1724         * src/cairo-label-path.h:
1725         * src/cairo-markup-path.c:
1726         * src/cairo-markup-path.h:
1727         * src/cairo-object-path.c:
1728         * src/cairo-object-path.h:
1729                 New files to support cairo canvas.
1730         * src/canvas-hacktext.c:
1731         * src/canvas-hacktext.h:
1732                 Removed.
1733
1734 2007-02-18  Jim Evins  <evins@snaught.com>
1735
1736         * src/bc.h:
1737                 GNOME_FONT_BOOK changed to PANGO_WEIGHT_NORMAL.
1738
1739 2007-02-14  Jim Evins  <evins@snaught.com>
1740
1741         * src/base64.c:
1742         * src/base64.h:
1743         * src/bc-gnubarcode.c:
1744         * src/bc-gnubarcode.h:
1745         * src/bc-postnet.c:
1746         * src/bc-postnet.h:
1747         * src/bc.c:
1748         * src/bc.h:
1749         * src/canvas-hacktext.c:
1750         * src/canvas-hacktext.h:
1751         * src/debug.c:
1752         * src/debug.h:
1753         * src/file.c:
1754         * src/file.h:
1755         * src/glabels.c:
1756         * src/hig.h:
1757         * src/label-barcode.c:
1758         * src/label-barcode.h:
1759         * src/label-box.c:
1760         * src/label-box.h:
1761         * src/label-ellipse.c:
1762         * src/label-ellipse.h:
1763         * src/label-image.c:
1764         * src/label-image.h:
1765         * src/label-line.c:
1766         * src/label-line.h:
1767         * src/label-object.c:
1768         * src/label-object.h:
1769         * src/label-text.c:
1770         * src/label-text.h:
1771         * src/label.c:
1772         * src/label.h:
1773         * src/merge-evolution.c:
1774         * src/merge-evolution.h:
1775         * src/merge-init.c:
1776         * src/merge-init.h:
1777         * src/merge-properties-dialog.c:
1778         * src/merge-properties-dialog.h:
1779         * src/merge-text.c:
1780         * src/merge-text.h:
1781         * src/merge-vcard.c:
1782         * src/merge-vcard.h:
1783         * src/merge.c:
1784         * src/merge.h:
1785         * src/mini-preview-pixbuf.h:
1786         * src/new-label-dialog.c:
1787         * src/new-label-dialog.h:
1788         * src/object-editor-bc-page.c:
1789         * src/object-editor-data-page.c:
1790         * src/object-editor-edit-page.c:
1791         * src/object-editor-fill-page.c:
1792         * src/object-editor-image-page.c:
1793         * src/object-editor-line-page.c:
1794         * src/object-editor-lsize-page.c:
1795         * src/object-editor-position-page.c:
1796         * src/object-editor-private.h:
1797         * src/object-editor-size-page.c:
1798         * src/object-editor-text-page.c:
1799         * src/object-editor.c:
1800         * src/object-editor.h:
1801         * src/pixbuf-cache.c:
1802         * src/pixbuf-cache.h:
1803         * src/prefs-dialog.c:
1804         * src/prefs-dialog.h:
1805         * src/prefs-model.c:
1806         * src/prefs-model.h:
1807         * src/prefs.c:
1808         * src/prefs.h:
1809         * src/print-op.c:
1810         * src/stock.c:
1811         * src/stock.h:
1812         * src/template-designer.c:
1813         * src/text-node.c:
1814         * src/text-node.h:
1815         * src/ui-commands.c:
1816         * src/ui-commands.h:
1817         * src/ui-property-bar.c:
1818         * src/ui-property-bar.h:
1819         * src/ui-sidebar.c:
1820         * src/ui-sidebar.h:
1821         * src/ui-util.c:
1822         * src/ui-util.h:
1823         * src/ui.c:
1824         * src/ui.h:
1825         * src/util.c:
1826         * src/util.h:
1827         * src/view-barcode.c:
1828         * src/view-barcode.h:
1829         * src/view-box.c:
1830         * src/view-box.h:
1831         * src/view-ellipse.c:
1832         * src/view-ellipse.h:
1833         * src/view-highlight.c:
1834         * src/view-highlight.h:
1835         * src/view-image.c:
1836         * src/view-image.h:
1837         * src/view-line.c:
1838         * src/view-line.h:
1839         * src/view-object.c:
1840         * src/view-object.h:
1841         * src/view-text.c:
1842         * src/view-text.h:
1843         * src/view.c:
1844         * src/view.h:
1845         * src/wdgt-chain-button.c:
1846         * src/wdgt-chain-button.h:
1847         * src/wdgt-media-select.c:
1848         * src/wdgt-mini-preview.c:
1849         * src/wdgt-print-copies.c:
1850         * src/wdgt-print-copies.h:
1851         * src/wdgt-print-merge.c:
1852         * src/wdgt-print-merge.h:
1853         * src/wdgt-rotate-label.c:
1854         * src/window.h:
1855         * src/xml-label-04.c:
1856         * src/xml-label-04.h:
1857         * src/xml-label-191.c:
1858         * src/xml-label-191.h:
1859         * src/xml-label.c:
1860         * src/xml-label.h:
1861
1862         Assorted superficial cleanup.  Including:
1863         - Use G_DEFINE_TYPE for all objects.
1864         - Reconcile style of all class initializer functions
1865         - Reconcile style of all finalize functions
1866         - Add emacs mode line to all source files
1867                 
1868 2007-02-06  Jim Evins  <evins@snaught.com>
1869
1870 Assorted cleanup and removal of deprecated items.
1871         
1872         * src/splash.c:
1873         * src/splash.h:
1874         * src/Makefile.am:
1875                 Removed annoying splash screen.
1876         * src/glabels-batch.c: (main):
1877         * src/glabels.c: (main):
1878                 Converted from popt to GOption.
1879         * src/object-editor-shadow-page.c:
1880         (gl_object_editor_set_shadow_state):
1881                 Removed deprecated method on GtkToggleButton.
1882         * src/ui-commands.c: (gl_ui_cmd_help_about):
1883                 Removed dependency on libgnomui/qnome-url.h.
1884         * src/template-designer.c:
1885                 Removed dependency on libgnome/gnome-program.h.
1886         
1887
1888 2007-02-04  Jim Evins  <evins@snaught.com>
1889
1890         * src/color.c:
1891         * src/color.h:
1892         * src/prefs-model.c:
1893         * src/print.c: (draw_text_object):
1894         * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_construct):
1895                 Removed GnomeCanvas artifacts from color.[ch] and related modules.
1896
1897 2007-02-04  Jim Evins  <evins@snaught.com>
1898
1899         * src/wdgt-mini-preview.c:
1900         * src/wdgt-mini-preview.h:
1901                 Ported widget from GnomeCanvas to Cairo.
1902
1903 2007-02-03  Jim Evins  <evins@snaught.com>
1904
1905         * data/glade/template-designer.glade:
1906         * src/template-designer.c:
1907         * src/template-designer.h:
1908                 Ported GnomeDruid to GtkAssistant.  Since libglade does not
1909                 yet support the GtkAssistant and we derive directly from
1910                 the Assistant, the pages are layed out in a GtkNotebook in
1911                 the glade description -- we then append each page to the
1912                 assistant.
1913
1914 2007-01-25  Jim Evins  <evins@snaught.com>
1915
1916         * data/glade/object-editor.glade:
1917                 Added dummy page to notebook, to prevent shadow page from
1918                 becoming the default current page at creation.
1919         * src/view-box.c: (construct_properties_editor):
1920         * src/view-ellipse.c: (construct_properties_editor):
1921         * src/view-line.c: (construct_properties_editor):
1922         * src/view-text.c: (construct_properties_editor):
1923                 Reconciled order of params.
1924
1925 2007-01-19  Jim Evins  <evins@snaught.com>
1926
1927         * src/label-barcode.h:
1928         * src/label-object.c: (gl_label_object_set_font_weight),
1929         (gl_label_object_set_text_alignment),
1930         (gl_label_object_get_font_weight),
1931         (gl_label_object_get_text_alignment):
1932         * src/label-object.h:
1933         * src/label-text.c: (gl_label_text_instance_init), (copy),
1934         (get_size), (set_font_family), (set_font_weight),
1935         (set_text_alignment), (get_font_weight), (get_text_alignment):
1936         * src/label-text.h:
1937         * src/object-editor-text-page.c:
1938         (gl_object_editor_prepare_text_page),
1939         (gl_object_editor_set_font_family),
1940         (gl_object_editor_set_font_weight),
1941         (gl_object_editor_get_font_weight),
1942         (gl_object_editor_set_text_alignment),
1943         (gl_object_editor_get_text_alignment),
1944         (gl_object_editor_set_text_color):
1945         * src/object-editor.h:
1946         * src/prefs-dialog.c: (construct_object_page),
1947         (update_object_page_from_prefs), (update_prefs_from_object_page):
1948         * src/prefs-model.c: (gl_prefs_model_save_settings),
1949         (gl_prefs_model_load_settings):
1950         * src/prefs-model.h:
1951         * src/print.c: (draw_text_object):
1952         * src/ui-property-bar.c: (gl_ui_property_bar_construct),
1953         (reset_to_default_properties), (update_text_properties),
1954         (font_bold_toggled_cb), (text_align_toggled_cb):
1955         * src/ui-sidebar.c:
1956         * src/util.c: (gl_util_align_to_string), (gl_util_string_to_align),
1957         (gl_util_weight_to_string), (gl_util_string_to_weight),
1958         (gl_util_get_font_family_list), (gl_util_font_family_list_free):
1959         * src/util.h:
1960         * src/view-text.c: (update_object_from_editor_cb),
1961         (update_editor_from_object_cb), (draw_hacktext), (draw_cursor):
1962         * src/view.c: (gl_view_set_selection_text_alignment),
1963         (gl_view_set_default_text_alignment),
1964         (gl_view_get_default_text_alignment):
1965         * src/view.h:
1966         * src/xml-label-04.c: (xml04_parse_text_props):
1967         * src/xml-label-191.c: (xml191_parse_text_props):
1968         * src/xml-label.c: (xml_parse_object_text),
1969         (xml_parse_toplevel_span), (xml_create_object_text),
1970         (xml_create_toplevel_span):
1971                 Converted all model internals to Pango.  GnomeFont remains in
1972         view until GnomeCanvas can be replaced with a cairo-based canvas.
1973         
1974 2007-01-17  Jim Evins  <evins@snaught.com>
1975
1976         * src/Makefile.am:
1977         * src/hig.c:
1978                 Deleted hig.c.
1979         * src/hig.h:
1980         * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type),
1981         (gl_wdgt_print_copies_construct):
1982         * src/wdgt-print-copies.h:
1983         * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type),
1984         (gl_wdgt_print_merge_construct):
1985         * src/wdgt-print-merge.h:
1986                 Removed all remaining HIG wrapper widgets.
1987
1988 2007-01-16  Jim Evins  <evins@snaught.com>
1989
1990         * src/Makefile.am:
1991         * src/print-dialog.c:
1992         * src/print-dialog.h:
1993         * src/print-op.c:
1994         * src/print-op.h:
1995         * src/template-designer.c: (print_test_cb):
1996         * src/ui-commands.c: (gl_ui_cmd_file_print):
1997         * src/print.c:
1998                 Renamed PrintDialog to PrintOp.  Added constructor for batch
1999                 printing.
2000         * src/glabels-batch.c: (main):
2001                 Converted to use new PrintOp object for printing.
2002
2003 2007-01-15  Jim Evins  <evins@snaught.com>
2004
2005         * data/glade/Makefile.am:
2006         * data/glade/print-custom-widget.glade:
2007         * src/print-dialog.c:
2008         * src/print-dialog.h:
2009         * src/print.c:
2010         * src/print.h:
2011         * src/template-designer.c: (print_test_cb):
2012         * src/ui-commands.c: (gl_ui_cmd_file_print):
2013         * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_copies):
2014         * src/wdgt-print-merge.h:
2015         * src/window.c: (gl_window_init):
2016         * src/window.h:
2017                 Initial conversion to GtkPrintOperation.
2018                 Still to do:
2019                  - Remove font and other libgnomeprint[ui] from elsewhere
2020                  - Add batch initialization of print operation
2021
2022 2007-01-08  Jim Evins  <evins@snaught.com>
2023         * configure.in:
2024                 Updated dependencies.  Set version to 2.1.pre4cvs.
2025
2026 2007-01-03  Jim Evins  <evins@snaught.com>
2027
2028         * src/recent-files/*
2029                 Removed EggRecent stuff.
2030         * configure.in:
2031         * src/Makefile.am:
2032         * src/file.c:
2033         * src/recent.c:
2034         * src/recent.h:
2035         * src/ui-commands.c:
2036         * src/ui-commands.h:
2037         * src/ui.c:
2038                 Ported from EggRecent to GtkRecentManager.
2039         
2040
2041 2007-01-02  Jim Evins  <evins@snaught.com>
2042
2043         * configure.in:
2044         * iec16022-0.2.1/BUGS:
2045         * iec16022-0.2.1/CHANGELOG:
2046         * iec16022-0.2.1/CREDITS:
2047         * iec16022-0.2.1/INSTALL:
2048         * iec16022-0.2.1/LICENSE:
2049         * iec16022-0.2.1/Makefile.am:
2050         * iec16022-0.2.1/Makefile.dist:
2051         * iec16022-0.2.1/README:
2052         * iec16022-0.2.1/README.glabels:
2053         * iec16022-0.2.1/TODO:
2054         * iec16022-0.2.1/iec16022.1:
2055         * iec16022-0.2.1/iec16022.c:
2056         * iec16022-0.2.1/iec16022ecc200.c:
2057         * iec16022-0.2.1/iec16022ecc200.h:
2058         * iec16022-0.2.1/image.c:
2059         * iec16022-0.2.1/image.h:
2060         * iec16022-0.2.1/reedsol.c:
2061         * iec16022-0.2.1/reedsol.h:
2062         * iec16022-0.2.1/test/testsuite-example.bin:
2063         * iec16022-0.2.1/test/testsuite-example.eps:
2064         * iec16022-0.2.1/test/testsuite-example.hex:
2065         * iec16022-0.2.1/test/testsuite-example.png:
2066         * iec16022-0.2.1/test/testsuite-example.text:
2067         * iec16022-0.2.1/test/testsuite.sh:
2068                 Include modified copy of iec16022-0.2.1 to provide encoding
2069                 support for datamatrix 2D barcodes.
2070         * src/Makefile.am:
2071         * src/bc-iec16022.c:
2072         * src/bc-iec16022.h:
2073         * src/bc.c:
2074                 Added initial datamatrix 2D barcode backend to barcode code.
2075         * INSTALL:
2076         * gtk-doc.make:
2077                 Automatic updates to later versions of these files.
2078
2079 2006-11-28  Jim Evins  <evins@snaught.com>
2080
2081         * data/templates/avery-iso-templates.xml:
2082         * data/templates/avery-us-templates.xml:
2083         * data/templates/categories.xml:
2084         * data/templates/misc-iso-templates.xml:
2085         * data/templates/misc-us-templates.xml:
2086         * data/templates/zweckform-iso-templates.xml:
2087                 More categorization.
2088         
2089 2006-09-12  Jim Evins  <evins@snaught.com>
2090
2091         * data/dtd/glabels-2.0.dtd:
2092         * data/templates/Makefile.am:
2093         * data/templates/avery-iso-templates.xml:
2094         * data/templates/avery-other-templates.xml:
2095         * data/templates/avery-us-templates.xml:
2096         * data/templates/categories.xml:
2097         * data/templates/misc-iso-templates.xml:
2098         * data/templates/misc-other-templates.xml:
2099         * data/templates/zweckform-iso-templates.xml:
2100         * data/glade/Makefile.am:
2101         * data/glade/new-label-dialog.glade:
2102         * data/glade/wdgt-media-select.glade:
2103         * data/glade/wdgt-rotate-label.glade:
2104         * libglabels/Makefile.am:
2105         * libglabels/category.c:
2106         * libglabels/category.h:
2107         * libglabels/libglabels.h:
2108         * libglabels/paper.c:
2109         * libglabels/template.c:
2110         * libglabels/template.h:
2111         * libglabels/xml-category.c:
2112         * libglabels/xml-category.h:
2113         * libglabels/xml-template.c:
2114                 Added support for category meta data.
2115         * src/Makefile.am:
2116         * src/file.c:
2117         * src/mini-preview-pixbuf.c:
2118         * src/mini-preview-pixbuf.h:
2119         * src/new-label-dialog.c:
2120         * src/new-label-dialog.h:
2121         * src/wdgt-media-select.c:
2122         * src/wdgt-media-select.h:
2123         * src/wdgt-rotate-label.c:
2124         * src/wdgt-rotate-label.h:
2125                 New "new label" dialog.
2126
2127 2006-05-27  Jim Evins  <evins@snaught.com>
2128
2129         * NEWS:
2130         * autogen.sh:
2131         * configure.in:
2132                 Preparation for 2.1.3.
2133         * acinclude.m4:
2134         * omf.make:
2135         * xmldocs.make:
2136                 Removed.
2137         
2138 2006-05-22  Jim Evins  <evins@snaught.com>
2139
2140         * src/print.c: (draw_barcode_object):
2141                 Don't print "Invalid barcode data" if data field is empty.  Patch provided
2142                 by Darren Warner <warnerd@users.sourceforge.net>.  Fixes Bug #1479839.
2143         * AUTHORS:
2144                 Added acknowledgment for above patch.
2145         * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
2146         * src/bc-postnet.c: (postnet_code):
2147                 Removed "Invalid barcode data" warnings from stderr.
2148         * src/view-barcode.c: (draw_barcode):
2149                 Draw box around barcode extent if data empty or invalid.  Center a
2150                 message whether the data is empty or invalid in box.
2151
2152 2006-05-22  Jim Evins  <evins@snaught.com>
2153
2154         * src/print.c: (draw_text_object):
2155                 Check shadow state when printing text.
2156
2157 2006-05-20  Jim Evins  <evins@snaught.com>
2158
2159         * src/ui-commands.c: (gl_ui_cmd_view_grid_toggle),
2160         (gl_ui_cmd_view_markup_toggle):
2161                 Fixed crash when grid or markup have been toggled off during
2162                 a previous session.  Bug #1434324.
2163
2164 2006-04-05  Jim Evins  <evins@snaught.com>
2165
2166         * src/object-editor.c: (gl_object_editor_set_key_names):
2167                 Fixed potential crash when freeing empty key list.
2168
2169 2006-03-11  Jim Evins  <evins@snaught.com>
2170
2171         * src/print.c: (draw_text_object):
2172         * src/view-text.c: (gl_view_text_new),
2173         (construct_properties_editor), (update_object_from_editor_cb),
2174         (update_editor_from_object_cb), (update_editor_from_label_cb),
2175         (draw_hacktext):
2176                 Added shadow support to text object.
2177         
2178 2006-02-18  Jim Evins  <evins@snaught.com>
2179
2180         * src/print.c: (draw_line_object):
2181         * src/view-line.c: (gl_view_line_new),
2182         (construct_properties_editor), (update_canvas_item_from_object_cb),
2183         (update_object_from_editor_cb), (update_editor_from_object_cb),
2184         (update_editor_from_label_cb):
2185                 Added shadow support to line object.
2186
2187 2006-02-16  Jim Evins  <evins@snaught.com>
2188
2189         * src/view-box.c:
2190                 Comment changes.
2191         * src/print.c: (draw_ellipse_object):
2192         * src/view-ellipse.c: (gl_view_ellipse_new),
2193         (construct_properties_editor), (update_canvas_item_from_object_cb),
2194         (update_object_from_editor_cb), (update_editor_from_object_cb),
2195         (update_editor_from_label_cb):
2196                 Added shadow support to ellipse object.
2197
2198 2006-02-15  Jim Evins  <evins@snaught.com>
2199
2200         * src/label-object.c:
2201                 Changed default shadow offsets.
2202         * src/view-box.c: (gl_view_box_new):
2203                 Simplified gl_view_box_new() so that is does not duplicate code
2204                 in update_canvas_item_from_object_cb().
2205
2206 2006-02-07  Jim Evins  <evins@snaught.com>
2207
2208         * data/glade/object-editor.glade:
2209                 Fixed color groups of color combos.
2210         * src/color.h:
2211                 Added default shadow color.
2212         * src/object-editor.c: (gl_object_editor_construct_color_combo):
2213                 Added shadow color group.
2214
2215 2006-02-06  Jim Evins  <evins@snaught.com>
2216
2217         * src/object-editor-shadow-page.c:
2218                 Forgot to add this file.
2219         * src/view-box.c: (gl_view_box_new),
2220         (update_canvas_item_from_object_cb), (update_editor_from_label_cb):
2221                 Update limits on shadow offset spinbuttons.
2222
2223 2006-01-19  Jim Evins  <evins@snaught.com>
2224
2225         * src/merge-evolution.c: (gl_merge_evolution_get_key_list):
2226                 Initialize key_list to NULL.
2227         * data/glade/object-editor.glade:
2228         * src/Makefile.am:
2229         * src/color.c:
2230         * src/color.h:
2231         * src/label-object.c:
2232         * src/label-object.h:
2233         * src/object-editor-fill-page.c:
2234         * src/object-editor-private.h:
2235         * src/object-editor.c:
2236         * src/object-editor.h:
2237         * src/xml-label.c:
2238                 Created infrastructure for shadow support.
2239         * src/view-box.c:
2240         * src/print.c:
2241                 Initial shadow support in box object only.
2242         
2243 2006-01-05  Jim Evins  <evins@snaught.com>
2244
2245         * src/merge-properties-dialog.c: (src_changed_cb):
2246                 Be extra paranoid before calling strcmp().
2247         * src/merge.c: (gl_merge_set_src):
2248                 Don't make (merge == NULL) a critical error.
2249
2250 2005-12-22  Jim Evins  <evins@snaught.com>
2251
2252         * src/glabels-batch.c: (main):
2253                 Compile warning free with gcc 4.0.
2254
2255 2005-12-21  Jim Evins  <evins@snaught.com>
2256
2257         * glabels.spec.in:
2258                 Updated example RPM spec file.
2259         
2260 2005-12-21  Jim Evins  <evins@snaught.com>
2261
2262         * NEWS:
2263         * configure.in:
2264                 Preparation for 2.1.2.
2265         
2266 2005-12-20  Jim Evins  <evins@snaught.com>
2267
2268         * src/Makefile.am:
2269                 Define unique G_LOG_DOMAIN for glabels.
2270         * src/critical-error-handler.c: (gl_critical_error_handler_init):
2271         * src/warning-handler.c: (gl_warning_handler_init),
2272         (warning_handler):
2273                 Register for G_LOG_DOMAIN instead of NULL.
2274         
2275 2005-12-10  Jim Evins  <evins@snaught.com>
2276
2277         * src/merge-evolution.c:
2278         * src/merge-vcard.c:
2279                 Fixed indentation.
2280
2281 2005-12-08  Jim Evins  <evins@snaught.com>
2282
2283         * libglabels/paper.c: (read_paper_files_from_dir):
2284         * libglabels/template.c: (gl_template_register),
2285         (read_template_files_from_dir):
2286         * libglabels/xml-paper.c: (gl_xml_paper_read_papers_from_file),
2287         (gl_xml_paper_parse_papers_doc):
2288         * libglabels/xml-template.c:
2289         (gl_xml_template_read_templates_from_file),
2290         (gl_xml_template_parse_templates_doc),
2291         (gl_xml_template_parse_template_node),
2292         (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
2293         (xml_parse_label_cd_node), (xml_parse_layout_node),
2294         (xml_parse_markup_margin_node), (xml_parse_markup_line_node),
2295         (xml_parse_markup_circle_node),
2296         (gl_xml_template_write_templates_to_file), (xml_create_label_node):
2297         * libglabels/xml.c: (gl_xml_get_prop_length):
2298                 Re-classified g_warnings to g_messages.
2299         * src/Makefile.am:
2300         * src/glabels.c: (main):
2301         * src/warning-handler.c: (gl_warning_handler_init),
2302         (warning_handler):
2303         * src/warning-handler.h:
2304                 Added warning message handler to make sure the user is
2305                 presented with appropriate non-fatal errors.
2306         * src/critical-error-handler.c: (critical_error_handler):
2307                 Changed exit to abort.
2308         * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new), (render_pass1):
2309         * src/bc-postnet.c: (postnet_code):
2310         * src/bc.c: (id_to_index), (name_to_index):
2311         * src/merge.c: (gl_merge_register_backend), (gl_merge_new):
2312         * src/object-editor.c: (gl_object_notebook_construct_valist):
2313         * src/prefs-dialog.c: (update_locale_page_from_prefs):
2314         * src/prefs.c: (gl_prefs_get_units_per_point),
2315         (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
2316         (gl_prefs_get_units_string):
2317         * src/print.c: (draw_outline), (clip_to_outline), (clip_punchouts):
2318         * src/splash.c: (gl_splash):
2319         * src/ui-commands.c: (gl_ui_cmd_help_contents):
2320         * src/view-highlight.c: (gl_view_highlight_new),
2321         (highlight_resizable_box_construct), (object_changed_cb),
2322         (view_scale_changed_cb):
2323         * src/view.c: (draw_label_layer), (draw_bg_fg_layers),
2324         (draw_markup_layer), (draw_markup_margin),
2325         (gl_view_object_create_mode), (canvas_event),
2326         (selection_received_cb):
2327         * src/wdgt-mini-preview.c: (mini_outline_list_new):
2328         * src/wdgt-rotate-label.c: (mini_preview_canvas_update):
2329         * src/xml-label-04.c: (gl_xml_label_04_parse),
2330         (xml04_parse_media_description), (xml04_parse_text_props),
2331         (xml04_parse_barcode_props):
2332         * src/xml-label-191.c: (gl_xml_label_191_parse),
2333         (xml191_parse_objects), (xml191_parse_object),
2334         (xml191_parse_text_props), (xml191_parse_image_props),
2335         (xml191_parse_barcode_props), (xml191_parse_data),
2336         (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
2337         (xml191_parse_markup):
2338         * src/xml-label.c: (gl_xml_label_open), (gl_xml_label_open_buffer),
2339         (xml_doc_to_label), (xml_parse_label), (xml_parse_objects),
2340         (xml_parse_object_text), (xml_parse_object_image),
2341         (xml_parse_object_barcode), (xml_parse_data),
2342         (xml_parse_toplevel_span), (gl_xml_label_save),
2343         (xml_create_objects):
2344                 Re-classified g_warnings to g_messages.
2345         * src/merge-evolution.c: (gl_merge_evolution_open),
2346         (gl_merge_evolution_close), (gl_merge_evolution_get_record):
2347                 Use g_warning to output errors encountered while
2348                 communicating with the evolution data server
2349                 instead of embedding them in the data.
2350         
2351 2005-12-08  Jim Evins  <evins@snaught.com>
2352
2353         * libglabels/libglabels-private.h:
2354                 Set G_LOG_DOMAIN
2355         * libglabels/paper.c: (read_papers):
2356         * libglabels/template.c: (read_templates):
2357                 Made appropriate warnings critical.
2358         * src/Makefile.am:
2359         * src/critical-error-handler.h:
2360         * src/critical-error-handler.c: (gl_critical_error_handler_init),
2361         (critical_error_handler):
2362                 Created critical error handler.
2363         * src/glabels.c: (main):
2364                 Register critical error handler.
2365         * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
2366         * src/object-editor.c: (gl_object_editor_init):
2367         * src/prefs-dialog.c: (gl_prefs_dialog_init):
2368         * src/template-designer.c: (gl_template_designer_init):
2369         * src/ui-property-bar.c: (gl_ui_property_bar_instance_init):
2370                 Made appropriate warnings critical.
2371
2372 2005-11-27  Jim Evins  <evins@snaught.com>
2373
2374         * src/merge-evolution.c: (gl_merge_evolution_get_key_list),
2375         (gl_merge_evolution_get_primary_key),
2376         (gl_merge_evolution_get_record):
2377                 Don't create "record_key" pseudo-key.  Don't populate
2378                 fields with null data.
2379
2380 2005-11-25  Jim Evins  <evins@snaught.com>
2381
2382         * src/merge-evolution.c: (gl_merge_evolution_finalize),
2383         (gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
2384         (gl_merge_evolution_get_record), (gl_merge_evolution_copy),
2385         (free_field_list):
2386                 Query EDS for all supported fields.  Patch provided by
2387                 Austin Henry <ahenry@users.sourceforge.net>.
2388
2389 2005-10-29  Jim Evins  <evins@snaught.com>
2390
2391         * src/glabels.c: (main):
2392         * src/label-barcode.c: (gl_label_barcode_finalize):
2393         * src/label-text.c: (gl_label_text_finalize), (set_font_family):
2394         * src/label.c: (gl_label_instance_init), (gl_label_finalize):
2395         * src/object-editor.c: (gl_object_editor_finalize):
2396                 Another pass at valgrinding -- plugged several memory leaks.
2397         * src/view-text.c: (gl_view_text_new),
2398         (update_canvas_item_from_object_cb), (draw_hacktext):
2399                 Commented out artifacts of edit-in-place code.
2400         
2401 2005-10-28  Jim Evins  <evins@snaught.com>
2402
2403         * src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
2404                 Fixed use of uninitialized variable.  Caught by
2405                 d binderman <dcb314@hotmail.com>.
2406
2407 2005-10-27  Jim Evins  <evins@snaught.com>
2408
2409         * src/merge-evolution.c: (gl_merge_evolution_get_record):
2410         * src/merge-vcard.c: (gl_merge_vcard_get_record),
2411         (parse_next_vcard):
2412                 Additional cleanup of EDS and vcard backends.  Provided by
2413                 Austin Henry <ahenry@users.sourceforge.net>.
2414
2415 2005-10-24  Jim Evins  <evins@snaught.com>
2416
2417         * AUTHORS:
2418         * src/Makefile.am:
2419         * src/merge-evolution.c:
2420         * src/merge-evolution.h:
2421         * src/merge-init.c: (gl_merge_init):
2422         * src/merge-properties-dialog.c: (type_changed_cb):
2423         * src/merge-vcard.c:
2424         * src/merge-vcard.h:
2425         * src/ui-commands.c: (gl_ui_cmd_help_about):
2426                 Added Evolution Data Server and VCard merge backends.  Original patch
2427                 provided by Austin Henry <ahenry@users.sourceforge.net>.
2428         * configure.in:
2429                 Only support EDS and VCard backends if libebook is installed.  Allow
2430                 user to disable support, even if installed.
2431         
2432 2005-10-24  Jim Evins  <evins@snaught.com>
2433
2434         * AUTHORS:
2435         * data/templates/avery-iso-templates.xml:
2436         * data/templates/avery-us-templates.xml:
2437         * data/templates/misc-iso-templates.xml:
2438         * data/templates/zweckform-iso-templates.xml:
2439                 Collected all template changes and submissions since last
2440                 release.
2441
2442 2005-10-23  Jim Evins  <evins@snaught.com>
2443
2444         * configure.in:
2445         * data/mime/Makefile.am:
2446                 Added configure options to disable update-mime-database and
2447                 update-desktop-database as part of the install.  Patch
2448                 provided by Leonardo Boshell (qhoracio@sourceforge.net).
2449
2450 2005-10-23  Jim Evins  <evins@snaught.com>
2451
2452         * libglabels/xml.h:
2453         * libglabels/xml.c: (gl_xml_get_prop_string),
2454         (gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
2455         (gl_xml_is_node), (gl_xml_get_node_content):
2456                 Added new XML utility functions.
2457         * libglabels/xml-paper.c:
2458         * libglabels/xml-template.c:
2459         * src/xml-label.c:
2460                 Cleanup by using new xml utilities created above.
2461         * libglabels/paper.c: (gl_paper_free):
2462         * src/file.c: (new_response):
2463         * src/object-editor-image-page.c: (add_image_filters_to_chooser):
2464         * src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
2465         (gl_pixbuf_cache_get_pixbuf):
2466         * src/ui-property-bar.c:
2467         (gl_ui_property_bar_construct_color_combo):
2468         * src/view-highlight.c: (gl_view_highlight_finalize):
2469         * src/view-image.c: (update_object_from_editor_cb):
2470         * src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
2471         (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
2472         (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
2473         (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
2474         (draw_markup_margin_round), (draw_markup_margin_cd),
2475         (draw_markup_margin_cd_bc):
2476         * src/wdgt-mini-preview.c: (mini_outline_list_new):
2477         * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
2478                 Plugged various memory leaks located with valgrind.
2479         * src/view-image.c: (update_canvas_item_from_object_cb):
2480                 Don't allow a width or height of zero when drawing pixbuf.
2481
2482 2005-10-22  Jim Evins  <evins@snaught.com>
2483
2484         * libglabels/xml-paper.c:
2485         * libglabels/xml-template.c:
2486         * libglabels/xml.c:
2487         * src/base64.c:
2488         * src/bc-gnubarcode.c:
2489         * src/canvas-hacktext.c:
2490         * src/label-text.c:
2491         * src/object-editor-data-page.c:
2492         * src/print-dialog.c:
2493         * src/print.c:
2494         * src/recent.c:
2495         * src/template-designer.c:
2496         * src/text-node.c:
2497         * src/ui-property-bar.c:
2498         * src/ui.c:
2499         * src/view-barcode.c:
2500         * src/view-box.c:
2501         * src/view-ellipse.c:
2502         * src/view-image.c:
2503         * src/view-line.c:
2504         * src/view-text.c:
2505         * src/view.c:
2506         * src/wdgt-media-select.c:
2507         * src/xml-label-04.c:
2508         * src/xml-label-191.c:
2509         * src/xml-label.c:
2510                 Modified to compile warning free with gcc-4.0.  Mostly
2511                 casting to change signedness of characters.  Did not
2512                 attack gnu-barcode library yet.
2513
2514 2005-10-22  Jim Evins <evins@snaught.com>
2515
2516         * src/glabels.c: (main):
2517         * src/splash.c: (gl_splash):
2518                 Removed some small memory leaks.
2519         * gtk-doc.make:
2520                 Added.
2521         
2522 2005-09-19  Jim Evins  <evins@snaught.com>
2523
2524         * data/glade/property-bar.glade:
2525                 Remove items from font_family_combo.  This prevents the
2526                 double entry after adding text model and list of fonts.
2527         * src/ui-property-bar.c: (reset_to_default_properties):
2528                 Free font_family_list.
2529
2530 2005-07-01  Jim Evins  <evins@snaught.com>
2531
2532         * po/it.po:
2533                 Updated italian translation (Daniele Medri)
2534
2535 2005-06-26  Jim Evins  <evins@snaught.com>
2536
2537         * docs/libglabels/libglabels-decl-list.txt:
2538                 Somehow never got checked in before.
2539         * docs/libglabels/libglabels.types:
2540                 Removed -- don't need it afterall.
2541
2542 2005-06-20  Jim Evins  <evins@snaught.com>
2543
2544         * NEWS:
2545                 Final prep for 2.1.1 release.
2546
2547 2005-06-20  Jim Evins  <evins@snaught.com>
2548
2549         * configure.in:
2550                 Final preps for 2.1.1 release.
2551         * docs/libglabels/libglabels.types:
2552                 Somehow never got checked in before.
2553         * po/POTFILES.in:
2554                 Bring up-to-date with recent reorg of ui code.
2555                 
2556
2557 2005-06-19  Jim Evins  <evins@snaught.com>
2558
2559         * src/template-designer.c: (construct_layout_page):
2560                 Removed attempt to match background color of mini preview widget to
2561                 background.
2562
2563 2005-06-17  Jim Evins  <evins@snaught.com>
2564
2565         * help/C/figures/merge-ex2-4.png:
2566         * help/C/glabels.xml:
2567                 Fixed spelling error.
2568
2569 2005-06-13  Jim Evins  <evins@snaught.com>
2570
2571         * help/C/figures/merge-ex1-1.png:
2572         * help/C/figures/merge-ex1-2.png:
2573         * help/C/figures/merge-ex1-3.png:
2574         * help/C/figures/merge-ex1-4.png:
2575         * help/C/figures/merge-ex2-1.png:
2576         * help/C/figures/merge-ex2-2.png:
2577         * help/C/figures/merge-ex2-3.png:
2578         * help/C/figures/merge-ex2-4.png:
2579                 Added figures for document merge tutorial.
2580         * help/C/glabels.xml:
2581                 Added document merge tutorial.
2582
2583 2005-05-19  Jim Evins  <evins@snaught.com>
2584
2585         * data/glade/merge-properties-dialog.glade:
2586                 Fixed irregular spacing.
2587         * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
2588         (gl_merge_properties_dialog_construct):
2589                 Set outer padding and remove separator.
2590
2591 2005-05-18  Jim Evins  <evins@snaught.com>
2592
2593         * src/hig.h:
2594         * src/hig.c:
2595                 Removed glHigDialog class.
2596         * src/file.c: (gl_file_new), (create_new_dialog_widgets),
2597         (gl_file_properties), (create_properties_dialog_widgets):
2598         * src/prefs-dialog.h:
2599         * src/prefs-dialog.c: (gl_prefs_dialog_get_type),
2600         (gl_prefs_dialog_init), (gl_prefs_dialog_construct):
2601         * src/print-dialog.h:
2602         * src/prefs-dialog.h:
2603         * src/print-dialog.c: (gl_print_dialog_get_type),
2604         (gl_print_dialog_init), (gl_print_dialog_construct):
2605                 Replaced all instances of glHigDialog with GtkDialog.
2606         
2607 2005-05-17  Jim Evins  <evins@snaught.com>
2608
2609         * src/hig.h:
2610         * src/hig.c:
2611                 Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
2612         * src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
2613         (save_as_response), (gl_file_close):
2614                 Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.
2615
2616 2005-05-15  Jim Evins  <evins@snaught.com>
2617
2618         * src/ui-commands.h:
2619         * src/ui-util.c:
2620         * src/ui-util.h:
2621         * src/ui.c:
2622         * src/ui.h:
2623         * src/view.c:
2624         * src/window.c:
2625         * src/window.h:
2626                 A little code reformatting -- no functional changes.
2627         
2628 2005-05-14  Jim Evins  <evins@snaught.com>
2629
2630         * src/Makefile.am:
2631                 Removed obsolete macros.
2632         * src/marshal.list:
2633                 Added marshalling template to support new view signal: "context_menu_activate."
2634         * src/view.h:
2635         * src/view.c: (gl_view_class_init), (gl_view_construct),
2636         (canvas_event_arrow_mode):
2637                 - Removed hardcoded context menus and added new signal "context_menu_activate"
2638                 to push this up to the uimanager.
2639                 - Removed merge properties and print dialogs so that they can be managed with
2640                 the window by the uimanager.
2641         * src/merge-properties-dialog.h:
2642         * src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
2643         (gl_merge_properties_dialog_construct):
2644                 Changed calling convention of gl_merge_properties_dialog_new() to use
2645                 glLabel and GtkWindow instead of view to make more consistent with other
2646                 dialogs.
2647         * src/print-dialog.h:
2648         * src/print-dialog.c: (gl_print_dialog_new),
2649         (gl_print_dialog_construct):
2650                 Removed last artifact of libbonoboui.
2651         * src/ui-commands.c: (gl_ui_cmd_file_print),
2652         (gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
2653                 Reconciled style for launching dialogs.
2654         * src/ui.c: (gl_ui_new):
2655                 Added context menus to ui manager.
2656         * src/view-object.c: (item_event_arrow_mode):
2657                 No longer try to select objects with right-click.
2658         * src/window.h:
2659         * src/window.c: (gl_window_init), (gl_window_set_label),
2660         (context_menu_activate_cb):
2661                 Context menus and all dialogs are now managed in a consistent way in window
2662                 by the ui manager.
2663
2664 2005-05-11  Jim Evins  <evins@snaught.com>
2665
2666         * src/window.h:
2667         * src/window.c: (gl_window_init), (gl_window_destroy):
2668         * src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
2669         * src/ui-commands.c: (gl_ui_cmd_file_open_recent):
2670                 Moved management of recent_view back from window.c to ui.c -- it just feels
2671                 better there.
2672         
2673 2005-05-10  Jim Evins  <evins@snaught.com>
2674
2675         * src/window.h:
2676         * src/window.c: (gl_window_init):
2677         * src/ui.h:
2678         * src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
2679         (menu_item_select_cb), (menu_item_deselect_cb):
2680                 Added GtkStatusbar which displays menu tooltips.
2681         
2682 2005-05-09  Jim Evins  <evins@snaught.com>
2683
2684         Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
2685         and toolbars.
2686
2687         * configure.in:
2688         * glabels.spec.in:
2689                 Removed dependencies on libbonoboui.
2690         * data/Makefile.am:
2691         * data/ui/Makefile.am:
2692         * data/ui/glabels-ui.xml:
2693                 Removed data/ui directory.
2694         * data/glade/Makefile.am:
2695         * data/property-bar.glade:
2696                 Added glade description of property-bar for new libglade implementation
2697                 of glUIPropertyBar.
2698         * src/Makefile.am:
2699         * src/commands.h:
2700         * src/commands.c:
2701         * src/tools.h:
2702         * src/tools.c:
2703         * src/ui-commands.h:
2704         * src/ui-commands.c:
2705                 Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
2706                 since the distinction between "commands" and "tools" is no longer that clear.
2707         * src/file.h:
2708         * src/file.c:
2709                 Modified to expect glWindow instead of GtkWindow.  gl_file_open_recent()
2710                 no longer has knowledge of eggRecent*.
2711         * src/glabels.c: (main):
2712                 Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
2713                 loop.
2714         * src/object-editor.c: (gl_object_editor_init):
2715                 Make sure notebook does not respond to a "show_all" on the parent.
2716         * src/recent-files/Makefile.am:
2717         * src/recent-files/*.[ch]
2718                 Updated from latest version of libegg which now has a view based on
2719                 GtkUIManager.  Removed unused bonobo and gtk views.
2720         * src/ui-property-bar.h:
2721         * src/ui-property-bar.c:
2722                 New implementation based on libglade.
2723         * src/ui-sidebar.h:
2724         * src/ui-sidebar.c:
2725                 Sidebar is now simply a GtkWidget and does not expect to be a part of
2726                 a libbonoboui interface.
2727         * src/ui-util.h:
2728         * src/ui-util.c:
2729         * src/ui.h:
2730         * src/ui.c:
2731                 Converted for use with GtkUIManager.
2732         * src/window.h:
2733         * src/window.c:
2734                 Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
2735                 to create menus and toolbars.
2736
2737 2005-04-25  Jim Evins  <evins@snaught.com>
2738
2739         * data/templates/misc-iso-templates.xml:
2740                 Added Fellows 04715 template provided by Steve Saxon.
2741         * AUTHORS:
2742                 Updated acknowledgement for above.
2743
2744 2005-04-23  Jim Evins  <evins@snaught.com>
2745
2746         * src/util.c: (gl_util_combo_box_set_strings):
2747                 Make sure to clear model before loading a new list of strings.
2748         * src/wdgt-media-select.h:
2749         * src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
2750         (gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
2751         (template_combo_changed_cb), (prefs_changed_cb),
2752         (gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
2753         (gl_wdgt_media_select_get_page_size),
2754         (gl_wdgt_media_select_set_page_size):
2755                 Replaced the deprecated GtkCombo widget with the new
2756                 GtkComboBox.
2757
2758 2005-04-21  Jim Evins  <evins@snaught.com>
2759
2760         * data/glade/template-designer.glade:
2761         * src/template-designer.c: (construct_pg_size_page),
2762         (pg_size_page_changed_cb), (build_template):
2763                 Replaced the deprecated GtkCombo widget with the new
2764                 GtkComboBox.
2765
2766 2005-04-20  Jim Evins  <evins@snaught.com>
2767
2768         * data/glade/prefs-dialog.glade:
2769         * src/prefs-dialog.c: (construct_object_page),
2770         (update_object_page_from_prefs), (update_prefs_from_object_page):
2771                 Replaced the deprecated GtkCombo widget with the new
2772                 GtkComboBox.
2773         
2774 2005-04-19  Jim Evins  <evins@snaught.com>
2775
2776         * data/glade/object-editor.glade:
2777         * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
2778         (style_changed_cb), (gl_object_editor_set_bc_style),
2779         (gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
2780         (gl_object_editor_get_bc_color):
2781         * src/object-editor-data-page.c:
2782         (gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
2783         (gl_object_editor_get_data):
2784         * src/object-editor-edit-page.c:
2785         (gl_object_editor_prepare_edit_page), (insert_button_cb):
2786         * src/object-editor-fill-page.c:
2787         (gl_object_editor_prepare_fill_page),
2788         (gl_object_editor_set_fill_color),
2789         (gl_object_editor_get_fill_color):
2790         * src/object-editor-image-page.c:
2791         (gl_object_editor_prepare_image_page),
2792         (gl_object_editor_set_image), (gl_object_editor_get_image):
2793         * src/object-editor-line-page.c:
2794         (gl_object_editor_prepare_line_page),
2795         (gl_object_editor_set_line_color),
2796         (gl_object_editor_get_line_color):
2797         * src/object-editor-private.h:
2798         * src/object-editor-text-page.c:
2799         (gl_object_editor_prepare_text_page),
2800         (gl_object_editor_set_font_family),
2801         (gl_object_editor_get_font_family),
2802         (gl_object_editor_set_text_color),
2803         (gl_object_editor_get_text_color):
2804         * src/object-editor.c: (gl_object_editor_set_key_names):
2805         * src/ui-sidebar.c:
2806                 In the object editor: replaced all instances of the deprecated
2807                 GtkCombo widget with the new GtkComboBox.
2808
2809 2005-04-18  Jim Evins  <evins@snaught.com>
2810
2811         * src/stock.c:
2812                 Neglected to save this one in previous checkin to support
2813                 header cleanup.
2814         
2815 2005-04-17  Jim Evins  <evins@snaught.com>
2816
2817         * libglabels/libglabels-private.h:
2818         * libglabels/paper.c:
2819         * libglabels/paper.h:
2820         * libglabels/template.c:
2821         * libglabels/template.h:
2822         * libglabels/xml-paper.c:
2823         * libglabels/xml-paper.h:
2824         * libglabels/xml-template.c:
2825         * libglabels/xml.c:
2826         * libglabels/xml.h:
2827         * src/base64.c:
2828         * src/base64.h:
2829         * src/bc-gnubarcode.c:
2830         * src/bc-postnet.c:
2831         * src/bc.c:
2832         * src/bc.h:
2833         * src/commands.c:
2834         * src/debug.c:
2835         * src/debug.h:
2836         * src/file.c:
2837         * src/file.h:
2838         * src/hig.c:
2839         * src/hig.h:
2840         * src/label-barcode.c:
2841         * src/label-box.c:
2842         * src/label-ellipse.c:
2843         * src/label-image.c:
2844         * src/label-image.h:
2845         * src/label-line.c:
2846         * src/label-object.c:
2847         * src/label-text.c:
2848         * src/label-text.h:
2849         * src/label.c:
2850         * src/merge-properties-dialog.c:
2851         * src/object-editor-bc-page.c:
2852         * src/object-editor-data-page.c:
2853         * src/object-editor-edit-page.c:
2854         * src/object-editor-fill-page.c:
2855         * src/object-editor-image-page.c:
2856         * src/object-editor-line-page.c:
2857         * src/object-editor-lsize-page.c:
2858         * src/object-editor-position-page.c:
2859         * src/object-editor-private.h:
2860         * src/object-editor-size-page.c:
2861         * src/object-editor-text-page.c:
2862         * src/object-editor.c:
2863         * src/object-editor.h:
2864         * src/pixbuf-cache.h:
2865         * src/prefs-dialog.c:
2866         * src/prefs-dialog.h:
2867         * src/prefs-model.c:
2868         * src/prefs-model.h:
2869         * src/prefs.c:
2870         * src/print-dialog.c:
2871         * src/print-dialog.h:
2872         * src/print.c:
2873         * src/print.h:
2874         * src/recent.c:
2875         * src/recent.h:
2876         * src/splash.c:
2877         * src/splash.h:
2878         * src/stock.h:
2879         * src/template-designer.c:
2880         * src/template-designer.h:
2881         * src/text-node.h:
2882         * src/tools.c:
2883         * src/ui-property-bar.c: (gl_ui_property_bar_construct):
2884         * src/ui-sidebar.c:
2885         * src/ui-util.c:
2886         * src/ui.c:
2887         * src/util.c:
2888         * src/util.h:
2889         * src/view-barcode.c:
2890         * src/view-box.c:
2891         * src/view-ellipse.c:
2892         * src/view-highlight.c:
2893         * src/view-highlight.h:
2894         * src/view-image.c:
2895         * src/view-line.c:
2896         * src/view-object.c:
2897         * src/view-object.h:
2898         * src/view-text.c:
2899         * src/view.c:
2900         * src/view.h:
2901         * src/wdgt-chain-button.c:
2902         * src/wdgt-media-select.c:
2903         * src/wdgt-media-select.h:
2904         * src/wdgt-mini-preview.c:
2905         * src/wdgt-mini-preview.h:
2906         * src/wdgt-print-copies.c:
2907         * src/wdgt-print-copies.h:
2908         * src/wdgt-print-merge.c:
2909         * src/wdgt-print-merge.h:
2910         * src/wdgt-rotate-label.c:
2911         * src/wdgt-rotate-label.h:
2912         * src/window.c:
2913         * src/window.h:
2914         * src/xml-label-04.c:
2915         * src/xml-label-191.c:
2916         * src/xml-label.c:
2917                 Cleanup of header files:
2918                 - all header files are now stand-alone, verified by including
2919                   first in corresponding "c" files
2920                 - replaced blanket includes of gnome, gtk, and glib with
2921                   targetted includes
2922         
2923 2005-04-16  Jim Evins  <evins@snaught.com>
2924
2925         * data/glade/Makefile.am:
2926         * data/glade/merge-properties-dialog.glade:
2927                 Added merge properties dialog glade description file.
2928         * src/merge-properties-dialog.h:
2929         * src/merge-properties-dialog.c:
2930         (gl_merge_properties_dialog_get_type),
2931         (gl_merge_properties_dialog_init),
2932         (gl_merge_properties_dialog_finalize),
2933         (gl_merge_properties_dialog_new),
2934         (gl_merge_properties_dialog_construct), (type_changed_cb),
2935         (src_changed_cb), (response_cb), (load_tree),
2936         (record_select_toggled_cb), (select_all_button_clicked_cb),
2937         (unselect_all_button_clicked_cb):
2938                 Modified merge properties dialog to use libglade.  Added
2939                 "select all" and "unselect all" buttons.
2940         * src/merge-text.c: (parse_line):
2941                 Handle empty lines better.
2942         * src/merge.c: (gl_merge_eval_key):
2943                 Evaluate the key whether the record is selected or not.
2944         * src/util.h:
2945         * src/util.c: (gl_util_combo_box_add_text_model):
2946                 Since libglade does not use the gtk_combo_box_new_text()
2947                 constructor for GtkComboBoxes, a utility function was created
2948                 to add an appropriate text model to a GtkComboBox.
2949         * src/view.c: (gl_view_edit_merge_props):
2950                 Removed unnecessary "show all's".
2951
2952 2005-04-15  Jim Evins  <evins@snaught.com>
2953
2954         * po/ru.po:
2955                 Updated russian translation (Vitaly Lipatov)
2956         * data/templates/misc-iso-templates.xml:
2957                 Added templates for russian business cards provided by Vitaly Lipatov.
2958         * AUTHORS:
2959                 Updated acknowledgements for above.
2960
2961 2005-04-15  Jim Evins  <evins@snaught.com>
2962
2963         * data/templates/avery-us-templates.xml:
2964                 Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
2965         * data/templates/misc-iso-templates.xml:
2966                 Added Ryman standard CD/DVD template, provided by Dan Clark.
2967         * AUTHORS:
2968                 Added acknowledgements for above.
2969         
2970 2005-04-10  Jim Evins <evins@snaught.com>
2971
2972         * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
2973         * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
2974         (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
2975         (xml_parse_label_cd_node), (xml_parse_alias_node):
2976         * libglabels/xml.c: (gl_xml_get_prop_double),
2977         (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
2978         (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
2979         * src/xml-label-04.c: (xml04_parse_media_description),
2980         (xml04_parse_text_props), (xml04_parse_barcode_props),
2981         (xml04_parse_merge_properties):
2982         * src/xml-label-191.c: (xml191_parse_object),
2983         (xml191_parse_text_props), (xml191_parse_barcode_props),
2984         (xml191_parse_merge_fields), (xml191_parse_pixdata),
2985         (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
2986         (xml191_parse_alias):
2987         * src/xml-label.c: (xml_parse_object_text),
2988         (xml_parse_object_barcode), (xml_parse_merge_fields),
2989         (xml_parse_pixdata), (xml_parse_toplevel_span):
2990                 Make sure to use xmlFree for anything obtained from libxml
2991                 in case libxml and glib use different memory management
2992                 space.
2993
2994 2005-04-08  Jim Evins <evins@snaught.com>
2995
2996         * src/util.h:
2997         * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
2998         (gl_util_combo_box_set_active_text):
2999                 Added utility functions to simplify working with GtkComboBox
3000                 widgets in GTK-2.6.
3001         * src/ui-property-bar.h:
3002         * src/ui-property-bar.c: (gl_ui_property_bar_construct),
3003         (reset_to_default_properties), (update_text_properties),
3004         (font_family_changed_cb):
3005                 Replaced deprecated GtkCombo with GtkComboBox.
3006         
3007         
3008 2005-04-03  Jim Evins <evins@snaught.com>
3009
3010         * src/Makefile.am:
3011         * src/wdgt-image-select.h:
3012         * src/wdgt-image-select.c:
3013                 Removed obsolete wdgt-image-select.[ch] files.
3014         * libglabels/paper.c: (gl_paper_dup):
3015                 Fixed rename of parameter introduced during documentation
3016                 updates.
3017         * data/glade/object-editor.glade:
3018         * src/object-editor-image-page.c:
3019         (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
3020         (gl_object_editor_set_image), (gl_object_editor_get_image),
3021         (update_preview_cb), (add_image_filters_to_chooser):
3022         * src/object-editor-private.h:
3023                 Replaced deprecated GnomePixmapEntry with
3024                 GtkFileChooserButton.
3025
3026 2005-04-02  Jim Evins <evins@snaught.com>
3027
3028         * src/mygal/mygal-combo-box.c: (deactivate_arrow),
3029         (mygal_combo_box_popup_hide_unconditional),
3030         (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
3031         (mygal_combo_toggle_pressed), (mygal_combo_box_init),
3032         (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
3033         (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
3034         (cb_tearable_button_release), (mygal_combo_box_set_tearable):
3035                 Renamed all internal gtk_combo functions to mygal_combo
3036                 to prevent namespace confusion.
3037
3038 2005-04-02  Jim Evins <evins@snaught.com>
3039
3040         * src/mygal/color-palette.c: (color_palette_change_custom_color),
3041         (cust_color_set), (color_palette_setup):
3042         * src/mygal/color-palette.h:
3043                 Replaced deprecated GnomeColorPicker with GtkColorButton.
3044
3045 2005-04-02  Jim Evins <evins@snaught.com>
3046
3047         * docs/libglabels/libglabels-sections.txt:
3048         * docs/libglabels/libglabels-undocumented.txt:
3049         * docs/libglabels/tmpl/enums.sgml:
3050         * docs/libglabels/tmpl/paper.sgml:
3051         * docs/libglabels/tmpl/xml-paper.sgml:
3052         * docs/libglabels/tmpl/xml-template.sgml:
3053         * libglabels/enums.h:
3054         * libglabels/paper.c: (gl_paper_dup):
3055         * libglabels/paper.h:
3056         * libglabels/xml-paper.c:
3057         * libglabels/xml-template.c:
3058                 More documentation updates for libglabels.
3059         
3060 2005-03-23  Jim Evins  <evins@snaught.com>
3061
3062         * INSTALL:
3063                 Automatically updated.
3064         * Makefile.am:
3065         * autogen.sh:
3066         * configure.in:
3067         * docs/Makefile.am:
3068         * docs/libglabels/Makefile.am:
3069         * docs/libglabels/libglabels-docs.sgml:
3070         * docs/libglabels/libglabels-sections.txt:
3071         * docs/libglabels/libglabels-undocumented.txt:
3072         * docs/libglabels/tmpl/enums.sgml:
3073         * docs/libglabels/tmpl/libglabels-unused.sgml:
3074         * docs/libglabels/tmpl/libglabels.sgml:
3075         * docs/libglabels/tmpl/paper.sgml:
3076         * docs/libglabels/tmpl/template.sgml:
3077         * docs/libglabels/tmpl/xml-paper.sgml:
3078         * docs/libglabels/tmpl/xml-template.sgml:
3079         * docs/libglabels/tmpl/xml.sgml:
3080                 Added basic gtk-doc stuff to support documenting libglabels
3081                 API.
3082         * libglabels/xml.c:
3083                 Updated function comments with gtk-doc markup.
3084         * missing:
3085                 Removed.
3086
3087 2005-03-22  Jim Evins  <evins@snaught.com>
3088
3089         Since the development version now requires gtk-2.6/gnome-2.10, I
3090         have made a first pass at removing deprecations.
3091
3092         * configure.in:
3093         * libglabels/Makefile.am:
3094         * src/Makefile.am:
3095                 Added configure option to turn on X_DISABLE_DEPRECATED flags.
3096                 Also removed all remnants of HAVE_FILECHOOSER.
3097         * src/file.c: (gl_file_open_real):
3098                 Removed code for old GtkFileSelection.
3099         * libglabels/libglabels-private.h:
3100         * libglabels/paper.c:
3101         * libglabels/template.c:
3102         * libglabels/xml-paper.c:
3103         * libglabels/xml-template.c:
3104         * libglabels/xml.c:
3105         * src/bc.c:
3106         * src/file.c:
3107         * src/glabels-batch.c:
3108         * src/glabels.c:
3109         * src/label.c:
3110         * src/merge-init.c:
3111         * src/merge-properties-dialog.c:
3112         * src/merge.c:
3113         * src/object-editor.c:
3114         * src/prefs-dialog.c:
3115         * src/prefs.c:
3116         * src/print-dialog.c:
3117         * src/print.c:
3118         * src/stock.c:
3119         * src/template-designer.c:
3120         * src/ui-property-bar.c:
3121         * src/ui-sidebar.c:
3122         * src/view-barcode.c:
3123         * src/view-box.c:
3124         * src/view-ellipse.c:
3125         * src/view-image.c:
3126         * src/view-line.c:
3127         * src/view-text.c:
3128         * src/view.c:
3129         * src/wdgt-image-select.c:
3130         * src/wdgt-media-select.c:
3131         * src/wdgt-print-copies.c:
3132         * src/wdgt-print-merge.c:
3133         * src/wdgt-rotate-label.c:
3134         * src/window.c:
3135         * src/xml-label-04.c:
3136         * src/xml-label-191.c:
3137         * src/xml-label.c:
3138                 Added '#include <glib/gi18n.h>" where needed.
3139                 Removed any unused '#include <gnome.h>"s.
3140
3141 2005-03-22  Jim Evins  <evins@snaught.com>
3142
3143         * src/commands.c: (activate_url), (gl_cmd_help_about):
3144                 Replaced GnomeAbout with GtkAboutDialog.  Therefore the
3145                 development version of glabels now depends on GTK 2.6 and
3146                 GNOME 2.10.
3147         * configure.in:
3148                 Updated library dependencies.
3149
3150 2005-02-28  Jim Evins  <evins@snaught.com>
3151
3152         * AUTHORS:
3153         * data/templates/misc-iso-templates.xml:
3154                 Added 'Ednet 45021' template provided by Ali Akcaagac
3155                 <aliakc@web.de>.
3156
3157 2005-02-14  Jim Evins  <evins@snaught.com>
3158
3159         * data/templates/avery-us-templates.xml:
3160                 Updated templates to use inches instead of points.
3161         * src/print-dialog.c: (printer_page_new):
3162                 Changed packing style when adding printer selector widget.  This fixes
3163                 debian Bug#295274.
3164
3165 2005-02-13  Jim Evins  <evins@snaught.com>
3166
3167         * AUTHORS:
3168         * po/es.po:
3169                 Updated spanish translations. (sergio rivadero)
3170
3171 2005-02-05  Jim Evins  <evins@snaught.com>
3172
3173         Some cleanup to libglabels.
3174         
3175         * configure.in:
3176                 Updated version to 2.1.1cvs.  Added generation of libglabels.pc.
3177         * libglabels/libglabels.pc.in
3178                 Created.
3179         * libglabels/enums.h
3180                 Created.  Currently only contains glUnitsType which provides enumerations
3181                 for all possible units of distance.
3182         * libglabels/Makefile.am:
3183                 Incorporated new files enums.h and libglabels.pc[.in].
3184         * libglabels/libglabels.h:
3185                 Include enums.h.
3186         * libglabels/template.h:
3187         * libglabels/template.c: (gl_template_layout_new):
3188                 Changed parameters nx and ny to gint from gdouble.
3189         * libglabels/xml.h:
3190         * libglabels/xml.c: (gl_xml_get_prop_length),
3191         (gl_xml_set_prop_length), (gl_xml_set_default_units):
3192                 Added support for different output units.
3193         * src/prefs-dialog.c: (update_locale_page_from_prefs),
3194         (update_prefs_from_locale_page):
3195         * src/prefs-model.c: (string_to_units), (units_to_string):
3196         * src/prefs-model.h:
3197         * src/prefs.c: (gl_prefs_get_units_per_point),
3198         (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
3199         (gl_prefs_get_units_string):
3200         * src/prefs.h:
3201         * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
3202                 Reconciled all length enumerations with the new enumerations provided
3203                 in libglabels/enums.h.
3204
3205 2005-02-03  Jim Evins  <evins@snaught.com>
3206
3207         * po/cs.po:
3208                 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
3209         * po/it.po:
3210                 Updated Italian translations. (Daniele Medri)
3211         * AUTHORS:
3212                 Updated credits to reflect above translations.
3213
3214
3215 2005-01-22  Jim Evins  <evins@snaught.com>
3216
3217         * MESSAGE-OF-DOOM:
3218                 Added.
3219         * Makefile.am:
3220                 Added MESSAGE-OF-DOOM to EXTRA_DIST.
3221         * NEWS:
3222                 Final prep for 2.1.0.
3223         * configure.in:
3224                 Set version to 2.1.0.  Output MESSAGE-OF-DOOM.
3225         * glabels.spec.in:
3226                 Added '--remove-original' flag to desktop-file-install, so that there is
3227                 only one menu entry.
3228         
3229 2005-01-20  Jim Evins  <evins@snaught.com>
3230
3231         * data/glade/object-editor.glade:
3232                 - Font family entry should not be editable.
3233                 - img_key_entry should have sensitivity=YES, so that it follows the
3234                   sensitivity of img_key_combo.
3235         
3236 2005-01-19  Jim Evins  <evins@snaught.com>
3237
3238         * AUTHORS:
3239                 Give credit to Frederic Ruaudel for the color merge patches.
3240
3241 2005-01-18  Frederic Ruaudel  <grumz@users.sf.net>
3242  
3243         Add support to merge color for all other color attribute (Feature 
3244         Requests item #1008635. If the data is invalid, the color used is transparent 
3245         (GL_COLOR_NONE). The format     for color in merge data file are those accepted 
3246         by gdk_color_parse() these include name for a color from rgb.txt, such as 
3247         DarkSlateGray, or a hex specification such as #305050. File format has been 
3248         changed but backward compatibility is preserved for all format. For
3249         box/ellipse/line, keep attribute "line_color" for static color or replace by
3250         "line_color_field" for merge data. For text/barcode objects, keep attribute
3251         "color" for static color or replace by "color_field" for merge data. In the
3252         edit canvas window, merged color are represented by half-transparent black
3253         line/area.
3254  
3255         * data/dtd/glabels-2.0.dtd:
3256                 Added line_color_field to line_attrs. Added color_field to 
3257                 Object-barcode and Span.
3258         * data/glade/object-editor.glade:
3259                 Modify the layout of the editor to add merge possibility to color options
3260         * src/color.c:
3261                 Fix a copy/paste error in a comment
3262         * src/color.h:
3263                 Add default color for merge color representation in the editor canvas.
3264         * src/label-barcode.c:
3265         * src/object-editor-bc-page.c:
3266         * src/view-barcode.c:
3267                 Add merge color support for barcode color.
3268         * src/label-box.c:
3269         * src/view-box.c:
3270                 Add merge color support for box border color.
3271         * src/label-ellipse.c:
3272         * src/view-ellipse.c:
3273                 Add merge color support for ellipse border color.
3274         * src/label-line.c:
3275         * src/view-line.c:
3276                 Add merge color support for line color.
3277         * src/label-object.c:
3278         * src/label-object.h:
3279         * src/object-editor.c:
3280         * src/object-editor.h:
3281         * src/ui-property-bar.c:
3282         * src/view.c:
3283         * src/view.h:
3284         * src/xml-label-04.c:
3285         * src/xml-label-191.c:
3286                 Add support for merging to other color attribute.
3287         * src/label-text.c:
3288         * src/object-editor-text-page.c:
3289         * src/view-text.c:
3290                 Add merge color support for text color.
3291         * src/object-editor-fill-page.c:
3292                 Change a blocked handler that didn't match the good widget. Fix the type
3293                 of some debug message.
3294         * src/object-editor-line-page.c:
3295                 Add merging support to line color option.
3296         * src/object-editor-private.h:
3297                 Add variables for new widget.
3298         * src/print.c:
3299                 Modify the draw functions to get merge data if needed.
3300         * src/window.c:
3301                 Change the default size of the window in order to see all widget in the
3302                 "text style tab" of the editor.
3303         * src/xml-label.c:
3304                 Modify the parser to record/retreive the field value for objects that need
3305                 "color" attribute. For box/ellipse/line, keep attribute "line_color" for 
3306                 static color or replace by "line_color_field" for merge data. For 
3307                 text/barcode objects, keep attribute "color" for static color or replace 
3308                 by "color_field" for merge data.
3309         
3310 2005-01-17  Jim Evins  <evins@snaught.com>
3311
3312         * src/view.c: (screen_changed_cb):
3313                 Don't do anything if we don't have a screen.
3314
3315 2005-01-06  Jim Evins  <evins@snaught.com>
3316
3317         * src/view.c: (get_home_scale):
3318                 Fixed bad call to gtk_widget_has_screen() -- huh?.
3319
3320 2005-01-06  Jim Evins  <evins@snaught.com>
3321
3322         * data/dtd/glabels-2.0.dtd:
3323                 Added fill_color_field to fill_attrs.  Also added xmlns attribute to all
3324                 top-level elements.
3325
3326 2005-01-06  Jim Evins  <evins@snaught.com>
3327
3328         * data/glade/object-editor.glade:
3329                 Set entries for fill and data field key dropdowns to NOT editable.
3330         * src/view-box.c: (construct_properties_editor):
3331         * src/view-ellipse.c: (construct_properties_editor):
3332                 Update object editor when label's merge property has changed.
3333         * src/xml-label.c: (xml_parse_object_ellipse):
3334                 Completed the merge color support for the ellipse item.
3335
3336 2005-01-06  Frederic Ruaudel  <grumz@users.sf.net>
3337
3338         Add support to merge color for object that have a "Fill color" attribute (Feature 
3339         Requests item #1008635. If the data is invalid, the color used is transparent 
3340         (GL_COLOR_NONE). The format     for color in merge data file are those accepted 
3341         by gdk_color_parse() these include name for a color from rgb.txt, such as 
3342         DarkSlateGray, or a hex specification such as #305050. File format has been 
3343         changed but backward compatibility is preserved for all format. For box/ellipse, 
3344         keep attribute "fill_color" for static  color or replace by "fill_color_field" 
3345         for merge data.
3346
3347         * data/glade/object-editor.glade:
3348                 Modify "Fill" tab to add the merge key combo and convert the labels into 
3349                 radio button.
3350         * src/color.h:
3351         * src/color.c:
3352                 Add "glColorNode" structure and associated functions to manage it. This 
3353                 structure is equivalent for color than the "glTextNode". It holds the color
3354                 and the key field.
3355         * src/label-object.h:
3356         * src/label-object.c:
3357         * src/label-box.c:
3358         * src/label-ellipse.c:
3359         * src/ui-property-bar.c:
3360         * src/view.h:
3361         * src/view.c:
3362         * src/view-box.c:
3363         * src/view-ellipse.c:
3364         * src/xml-label-04.c:
3365         * src/xml-label-191.c:
3366                 Change functions of objects that have a "fill color" attribute to use the 
3367                 new "glColorNode" structure. Use barcode code as example.
3368         * src/Makefile.am:
3369                 Add the color.[ch] file to glabels_batch binary that now need support for 
3370                 "glColorNode".
3371         * src/object-editor.h:
3372         * src/object-editor.c:
3373         * src/object-editor-fill-page.c:
3374                 Manage the new widget of the editor's "Fill" tab : key combo and radio button
3375                 to choose between static color or merge key. Use barcode code as example.
3376         * src/object-editor-private.h:
3377                 Add new widget in the "_glObjectEditorPrivate" structure.
3378         * src/print.c:
3379                 Modify the draw functions to get merge data if needed.
3380         * src/xml-label.c:
3381                 Modify the parser to record/retreive the field value for objects that need
3382                 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
3383                 color or "fill_color_field" for merge data.             
3384         
3385 2005-01-04  Jim Evins  <evins@snaught.com>
3386
3387         * AUTHORS:
3388         * data/templates/avery-iso-templates.xml:
3389         * data/templates/misc-iso-templates.xml:
3390         * data/templates/misc-us-templates.xml:
3391                 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
3392                 Nick Hill.
3393
3394 2004-11-26  Jim Evins  <evins@snaught.com>
3395
3396         * AUTHORS:
3397         * po/fr.po:
3398                 Updated french translations provided by Florent Morel <florent@taket.org>.
3399         * src/view-barcode.c:
3400         * src/view-box.c:
3401         * src/view-ellipse.c:
3402         * src/view-image.c:
3403         * src/view-line.c:
3404         * src/view-text.c:
3405                 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
3406                 thus _() strings were not being translated.
3407
3408 2004-11-14  Jim Evins  <evins@snaught.com>
3409
3410         * src/debug.h:
3411         * src/debug.c: (gl_debug_init), (gl_debug):
3412                 Borrowed from gedit:  use environmental variables to select debug
3413                 sections.
3414         * src/splash.c:
3415                 Removed unused include of debug.h.
3416         * src/glabels.c: (main):
3417                 Added call to gl_debug_init(), and removed debug clutter from command line
3418                 options.
3419         * src/glabels-batch.c: (main):
3420                 Added call to gl_debug_init().
3421
3422 2004-11-13  Jim Evins  <evins@snaught.com>
3423
3424         Drawing and property toolbars were being initialized with the "icons and text"
3425         look in Fedora Core 3.  Even though none of the buttons had any text attached to
3426         them, the buttons were being sized as if they were.  This led to less real estate
3427         for the property editor, leading to Bug #1064630.  The
3428         
3429         * data/ui/glabels-ui.xml:
3430                 Added explicit "look" property to both drawing and property toolbars.
3431         * src/prefs-model.c: (gl_prefs_model_save_settings),
3432         (gl_prefs_model_load_settings):
3433         * src/prefs-model.h:
3434                 Removed drawing_toolbar_button_style configuration parameter.
3435         * src/ui.c: (view_menu_item_toggled_cb),
3436         (set_app_drawing_toolbar_style):
3437                 Do not attempt to adjust look property of the drawing toolbar.
3438
3439 2004-10-28  Jim Evins  <evins@snaught.com>
3440
3441         * data/pixmaps/glabels-about-logo.png:
3442                 Updated about logo.
3443         
3444 2004-10-28  Jim Evins  <evins@snaught.com>
3445
3446         * data/man/glabels.1:
3447         * src/glabels-batch.c: (main):
3448         * src/print.h:
3449         * src/print.c: (gl_print_batch):
3450
3451                 Added option to glabels-batch to select the first label to begin
3452                 printing on.
3453
3454 2004-09-26  Jim Evins  <evins@snaught.com>
3455
3456         * data/desktop/glabels.desktop.in:
3457                 Point to app icon, "glabels.png"
3458         * data/mime/glabels.keys.in:
3459                 Point at mime icon, "glabels-application-x-glabels.png"
3460         * data/pixmaps/Makefile.am:
3461                 Added glabels_app_icondir.  Renamed icons.
3462         * data/pixmaps/glabels.png:
3463                 New cleaned up app icon.  Deleted glabels-icon.png.
3464         * data/pixmaps/glabels-application-x-glabels.png:
3465                 New mime icon.
3466         * data/pixmaps/glabels-splash.png:
3467                 Renamed glabels-logo to glabels-splash to be more correct about role.
3468         * src/glabels.c:
3469         * src/template-designer.c:
3470                 Point at app icon, "glabels.png"
3471         * src/splash.c:
3472                 Point at renamed splash image, "glabels-splash.png"
3473
3474 2004-08-22  Jim Evins  <evins@snaught.com>
3475
3476         * AUTHORS:
3477         * src/glabels-batch.c: (main):
3478                 Applied patch with minor mods to allow selecting merge source and
3479                 crop-marks on glabels-batch's command line.  Original patch provided by
3480                 José Dapena Paz <jdapena@igalia.com>.
3481         
3482 2004-08-15  Jim Evins  <evins@snaught.com>
3483
3484         * data/desktop/glabels.desktop.in:
3485                 - Added encoding line
3486                 - Removed period from comment
3487                 - Fixed Terminal line, changed "0" to "false"
3488                 - Added semicolen to Categories line
3489         * po/ja.po:
3490                 - Made sure desktop.in comment string above still translated properly
3491
3492 2004-08-14  Jim Evins  <evins@snaught.com>
3493
3494         * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
3495         * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
3496         * src/xml-label-191.c: (xml191_parse_sheet):
3497                 Fixed improper freeing of gettext strings.  Merged from 2.0.1.
3498         * configure.in:
3499                 Reconciled libglabels versioning with 2.0.1.
3500         
3501
3502 2004-08-14  Jim Evins  <evins@snaught.com>
3503
3504         * configure.in:
3505                 Updated version to 2.1cvs.
3506         
3507 2004-08-14  Jim Evins  <evins@snaught.com>
3508
3509         * po/ja.po:
3510                 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
3511
3512 2004-08-14  Jim Evins  <evins@snaught.com>
3513
3514         Fixes for Bug #1008181.
3515
3516         * src/bc.c: (gl_barcode_default_digits):
3517                 Make a format of zero digits, harmless.
3518         * src/xml-label.c: (xml_parse_object_barcode):
3519                 Set default value of the format property of barcode objects to 10, not
3520                 zero.  This will prevent crashes when reading pre 2.0.x files.
3521
3522 2004-08-09  Jim Evins  <evins@snaught.com>
3523
3524         * NEWS:
3525         * TODO:
3526         * help/C/glabels-C.omf:
3527         * help/C/glabels.xml:
3528                 Brought documentation up-to-date for 2.0.0 release.
3529         
3530 2004-08-09  Jim Evins  <evins@snaught.com>
3531
3532         These are hopefully the final preparations for 2.0.0.
3533
3534         * data/mime/Makefile.am:
3535                 Include glabels.xml in EXTRA_DIST.
3536         * configure.in:
3537                 - Updated comment style.
3538                 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
3539                 - Added package and version info to configuration printout
3540                 - Update version to 2.0.0
3541         * libglabels/Makefile.am:
3542                 Use the new LIBGLABELS_VERSION_INFO macro.
3543
3544 2004-08-09  Jim Evins  <evins@snaught.com>
3545
3546         * configure.in:
3547         * glabels.spec.in:
3548                 Cleanup of required library macros.
3549
3550 2004-08-08  Jim Evins  <evins@snaught.com>
3551
3552         * glabels.spec.in:
3553                 - Updated URL
3554                 - More specific of what to install in /usr/bin and /usr/lib
3555                 - Remove built mime registration files from staging directory
3556
3557 2004-08-08  Jim Evins  <evins@snaught.com>
3558
3559         * data/mime/Makefile.am:
3560                 Fixed typo:  key_files should have been keys_files.
3561
3562 2004-08-08  Jim Evins  <evins@snaught.com>
3563
3564         Reorganization of runtime data files.  Also added registration of mimetype with
3565         new freedesktop.org mime database if available.
3566         
3567         * data/*
3568                 Moved files to appropriate subdirectories, creating local Makefile.am
3569                 in each subdirectory.
3570                 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
3571                   These are now installed at $datadir/glabels/templates.
3572                 - Moved glabels.1 to man subdirectory.
3573                 - Moved glabels-2.0.dtd to dtd subdirectory.
3574                 - Moved glabels.desktop.in to desktop subdirectory.
3575                 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
3576         * data/pixmaps/*
3577                 Moved "./pixmaps" to "./data/pixmaps"
3578         * data/ui/*
3579                 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
3580         * data/glade/*
3581                 Moved libglade files from src to data/glade. Created Makefile.am.
3582         * Makefile.am:
3583                 Removed pixmaps from SUBDIRS.
3584         * configure.in:
3585                 - Removed pixmaps from makefiles.
3586                 - Added makefiles for new subdirs of data.
3587                 - Added tests for freedesktop.org mime database.
3588         * glabels.spec.in:
3589                 - Added tests for freedesktop.org mime database for post install and
3590                   post un-install actions.
3591         * libglabels/Makefile.am:
3592                 Moved system template files to $(datadir)/glabels/templates.
3593         * libglabels/libglabels-private.h:
3594                 Moved system template files to $(datadir)/glabels/templates.
3595         * po/POTFILES.in:
3596                 - Accounted for movement of ui and libglade files.
3597                 - Added missing .in files.
3598                 - Reorganized by directory.
3599         * src/Makefile.am:
3600                 Accounted for movement of ui and libglade files.
3601         * data/mime/glabels.xml.in:
3602                 New file for registering with freedesktop.org mime database.
3603
3604 2004-08-07  Jim Evins  <evins@snaught.com>
3605
3606         * src/recent-files/*:
3607                 Re-synced to latest libegg/recent-files.
3608         
3609 2004-08-07  Jim Evins  <evins@snaught.com>
3610
3611         * Makefile.am:
3612         * configure.in:
3613         * help/*
3614                 Renamed "./doc" directory to "./help" which contains user documentation,
3615                 to be more consistent with other GNOME applications.
3616         
3617
3618 2004-07-26  Jim Evins  <evins@snaught.com>
3619
3620         * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
3621                 Corrected button order of merge properties dialog.
3622
3623 2004-07-18  Jim Evins  <evins@snaught.com>
3624
3625         * data/glabels-2.0.dtd:
3626         * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
3627         (gl_barcode_get_prefered_n):
3628         * src/bc.h:
3629         * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
3630         (gl_label_barcode_get_props), (get_size):
3631         * src/label-barcode.h:
3632         * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
3633         (style_changed_cb), (gl_object_editor_set_bc_style),
3634         (gl_object_editor_get_bc_style):
3635         * src/object-editor-data-page.c: (data_radio_toggled_cb),
3636         (gl_object_editor_set_data), (gl_object_editor_get_data):
3637         * src/object-editor-private.h:
3638         * src/object-editor.c: (gl_object_editor_set_key_names):
3639         * src/object-editor.glade:
3640         * src/object-editor.h:
3641         * src/print.c: (draw_barcode_object):
3642         * src/view-barcode.c: (update_object_from_editor_cb),
3643         (update_editor_from_object_cb),
3644         (gl_view_barcode_create_event_handler), (draw_barcode):
3645         * src/xml-label-04.c: (xml04_parse_barcode_props):
3646         * src/xml-label-191.c: (xml191_parse_barcode_props):
3647         * src/xml-label.c: (xml_parse_object_barcode),
3648         (xml_create_object_barcode):
3649                 Added "format" attribute to barcode objects.  This attribute is used
3650                 to properly format freeform barcodes barcodes prior to merge data is
3651                 applied, so that barcodes can be accurately layed out.  This addresses
3652                 remaining issues of feature request #824787.  Also added an example of
3653                 the format in the object editor.
3654
3655 2004-07-12  Jim Evins  <evins@snaught.com>
3656
3657         Various code cleanups.
3658
3659         * src/label-barcode.c:
3660                 Removed unneeded include of gnome-glyphlist.h.
3661         
3662         * src/label-text.c: (get_size):
3663                 Fixed memory leak: unref glyphlists when done with them.
3664         
3665         * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
3666         * src/object-editor-data-page.c:
3667         (gl_object_editor_prepare_data_page):
3668         * src/object-editor-image-page.c:
3669         (gl_object_editor_prepare_image_page):
3670         * src/object-editor-line-page.c:
3671         (gl_object_editor_prepare_line_page):
3672         * src/object-editor-lsize-page.c:
3673         (gl_object_editor_prepare_lsize_page):
3674         * src/object-editor-position-page.c:
3675         (gl_object_editor_prepare_position_page):
3676         * src/object-editor-size-page.c:
3677         (gl_object_editor_prepare_size_page):
3678         * src/object-editor-text-page.c:
3679         (gl_object_editor_prepare_text_page):
3680                 Removed unneeded size groups, originally intended to keep widgets aligned.
3681                 Now use tables to lay these out in object-editor.glade.
3682         
3683         * src/print.c: (draw_text_object):
3684                 Fixed memory leak: unref glyphlists when done with them.
3685
3686         * src/view-barcode.c: (draw_barcode):
3687                 Fixed memory leak: unref glyphlists when done with them.
3688
3689         * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
3690                 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
3691                   return value.
3692                 - Fixed memory leak: unref glyphlists when done with them.
3693
3694 2004-07-11  Jim Evins  <evins@snaught.com>
3695
3696         * data/glabels-2.0.dtd:
3697         * src/label-text.c: (gl_label_text_instance_init), (copy),
3698         (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
3699         * src/label-text.h:
3700         * src/object-editor-private.h:
3701         * src/object-editor-text-page.c:
3702         (gl_object_editor_prepare_text_page),
3703         (gl_object_editor_set_text_auto_shrink),
3704         (gl_object_editor_get_text_auto_shrink):
3705         * src/object-editor.c: (gl_object_editor_set_key_names):
3706         * src/object-editor.glade:
3707         * src/object-editor.h:
3708         * src/print.c: (draw_text_object):
3709         * src/view-text.c: (update_object_from_editor_cb),
3710         (update_editor_from_object_cb):
3711         * src/xml-label.c: (xml_parse_object_text),
3712         (xml_create_object_text):
3713                 Added option to allow document merge to auto shrink text size to fit
3714                 within the text box.  The code in print.c that actually shrinks the
3715                 text is loosely based on a patch submitted by Mark Harrison
3716                 <mark.harrison@velocitynet.com.au>.  This addresses feature request
3717                 #661421.
3718         
3719 2004-07-11  Jim Evins  <evins@snaught.com>
3720
3721         * data/glabels-2.0.dtd:
3722         * libglabels/template.c: (gl_template_rect_label_type_new),
3723         (gl_template_round_label_type_new),
3724         (gl_template_cd_label_type_new), (gl_template_label_type_dup),
3725         (template_full_page):
3726         * libglabels/template.h:
3727         * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
3728         (xml_create_label_node):
3729         * pixmaps/ex-rect-size.png:
3730         * src/print.c: (clip_to_outline), (clip_punchouts):
3731         * src/template-designer.c: (construct_rect_size_page),
3732         (rect_size_page_prepare_cb), (layout_page_prepare_cb),
3733         (build_template):
3734         * src/template-designer.glade:
3735         * src/xml-label-191.c: (xml191_parse_label):
3736                 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
3737                 properties for rectangular labels.  Templates remain backwards compatible,
3738                 but this breaks the libglabels API (I don't know of anyone outside of
3739                 glabels using libglabels at this time -- what can I say, the program is
3740                 is still "unstable").  This addresses the suggestion in Feature Request
3741                 #976313.
3742
3743 2004-07-05  Jim Evins  <evins@snaught.com>
3744         * src/print.c: (print_crop_marks), (draw_outline):
3745                 Changed crop marks and label outlines to black, instead of 25% gray.
3746                 This addresses debian Bug #257460.
3747
3748 2004-07-05  Jim Evins  <evins@snaught.com>
3749
3750         * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
3751         * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
3752                 Preserve "is_default" of fill and line color_combos when creating from
3753                 existing objects.
3754
3755 2004-07-02  Jim Evins  <evins@snaught.com>
3756
3757         * data/glabels.1:
3758                 Created man page.  Based on page submitted by Matthew J. Lockner, however
3759                 it has been severely edited.
3760         
3761         * data/avery-other-templates.xml
3762         * data/misc-other-templates.xml:
3763                 Started new files for predefined templates with non-standard sheet sizes.
3764                 These have been initially populated with the Avery 06141 and
3765                 OfficeMax #86112, both provided by Matthew J. Lockner.
3766         
3767         * data/Makefile.am:
3768                 Install above manpage and template files.
3769         
3770         * glabels.spec.in:
3771                 Make sure we install man pages.
3772         
3773         * src/glabels-batch.c:
3774                 Changed short form of help option to '-?' to be consistent with glabels.
3775         
3776         * AUTHORS:
3777                 Added acknowledgement for above labels.
3778
3779 2004-07-02  Jim Evins  <evins@snaught.com>
3780
3781         * src/glabels.c: (main), (save_session_cb):
3782                 - Now include libbonoboui.h, recent.h, and file.h to provide missing
3783                   prototypes.
3784                 - save_session_cb() now returns gboolean.
3785                 - Minor formatting changes.
3786
3787         * src/window.h:
3788         * src/window.c:
3789                 - Now include file.h to provide missing prototype.
3790                 - gl_window_get_type() now returns GType, not guint.  I believe this may
3791                   ultimately be cause of the segfault reported in Bug #982287, since
3792                   GType is actually a gulong, which may not be compatible on other
3793                   architectures (64bit) -- I cannot personally test this at this time.
3794                   I was sloppy in several other xxx_get_type() functions which also
3795                   returned guint -- see next group of files:
3796         
3797         * src/window.c: (gl_window_get_type):
3798         * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
3799         * src/canvas-hacktext.h:
3800         * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
3801         (gl_hig_category_get_type), (gl_hig_vbox_get_type),
3802         (gl_hig_hbox_get_type):
3803         * src/hig.h:
3804         * src/label-barcode.c: (gl_label_barcode_get_type):
3805         * src/label-barcode.h:
3806         * src/label-box.c: (gl_label_box_get_type):
3807         * src/label-box.h:
3808         * src/label-ellipse.c: (gl_label_ellipse_get_type):
3809         * src/label-ellipse.h:
3810         * src/label-image.c: (gl_label_image_get_type):
3811         * src/label-image.h:
3812         * src/label-line.c: (gl_label_line_get_type):
3813         * src/label-line.h:
3814         * src/label-object.c: (gl_label_object_get_type):
3815         * src/label-object.h:
3816         * src/label-text.c: (gl_label_text_get_type):
3817         * src/label-text.h:
3818         * src/label.c: (gl_label_get_type):
3819         * src/label.h:
3820         * src/merge-properties-dialog.c:
3821         (gl_merge_properties_dialog_get_type):
3822         * src/merge-properties-dialog.h:
3823         * src/merge-text.c: (gl_merge_text_get_type):
3824         * src/merge-text.h:
3825         * src/merge.c: (gl_merge_get_type):
3826         * src/merge.h:
3827         * src/object-editor.c: (gl_object_editor_get_type):
3828         * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
3829         * src/prefs-dialog.h:
3830         * src/prefs-model.c: (gl_prefs_model_get_type):
3831         * src/prefs-model.h:
3832         * src/print-dialog.c: (gl_print_dialog_get_type):
3833         * src/print-dialog.h:
3834         * src/template-designer.c: (gl_template_designer_get_type):
3835         * src/template-designer.h:
3836         * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
3837         * src/ui-property-bar.h:
3838         * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
3839         * src/ui-sidebar.h:
3840         * src/view-barcode.c: (gl_view_barcode_get_type):
3841         * src/view-barcode.h:
3842         * src/view-box.c: (gl_view_box_get_type):
3843         * src/view-box.h:
3844         * src/view-ellipse.c: (gl_view_ellipse_get_type):
3845         * src/view-ellipse.h:
3846         * src/view-highlight.c: (gl_view_highlight_get_type):
3847         * src/view-highlight.h:
3848         * src/view-image.c: (gl_view_image_get_type):
3849         * src/view-image.h:
3850         * src/view-line.c: (gl_view_line_get_type):
3851         * src/view-line.h:
3852         * src/view-object.c: (gl_view_object_get_type):
3853         * src/view-object.h:
3854         * src/view-text.c: (gl_view_text_get_type):
3855         * src/view-text.h:
3856         * src/view.c: (gl_view_get_type):
3857         * src/view.h:
3858         * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
3859         * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
3860         * src/wdgt-image-select.h:
3861         * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
3862         * src/wdgt-media-select.h:
3863         * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
3864         * src/wdgt-mini-preview.h:
3865         * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
3866         * src/wdgt-print-copies.h:
3867         * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
3868         * src/wdgt-print-merge.h:
3869         * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
3870         * src/wdgt-rotate-label.h:
3871                 - Made sure all xxx_get_type functions returned GType, not guint.  This
3872                   was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
3873                   ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
3874                   wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
3875                   wdt-print-merge.[ch], and wdgt-rotate-label.[ch].  See separate
3876                   window.[ch] details above for more info.
3877                 - Reconciled various coding style differences in all xxx_get_type()
3878                   functions:
3879                         * All prototypes include G_GNUC_CONST.
3880                         * All prototypes specify the return value as GType, not GtkType
3881                           or guint.
3882                         * Info structures are all declared as "static const."
3883                         * Generalized the names of type and info variables.
3884                         * Miscelaneous formatting.
3885
3886 2004-06-08  Jim Evins  <evins@snaught.com>
3887
3888         * src/label.c:
3889         * src/label.h:
3890         * src/xml-label.c:
3891         * AUTHORS:
3892                 Don't touch compression of original file -- still defaults to 9 for
3893                 new files.  Original patch provided by Javier Donaire Segarra
3894                 (#912252 in patch tracker).
3895
3896 2004-05-05  Jim Evins  <evins@snaught.com>
3897
3898         * data/glabels-2.0.dtd:
3899                 Broke DTD previously when adding new barcode types that contain a
3900                 plus sign (+).  Simply changed the BC_STYLE_TYPE entity to "CDATA"
3901                 to avoid the problem.
3902         * data/avery-iso-templates.xml:
3903         * data/zweckform-iso-templates.xml:
3904         * AUTHORS:
3905                 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021.  Templates
3906                 provided by Frank Altpeter.
3907         * libglabels/xml-template.c: (xml_create_label_node):
3908                 Reordered markup and layout sub-nodes so that resulting templates will
3909                 validate against DTD.
3910
3911 2004-03-13  Jim Evins  <evins@snaught.com>
3912
3913         * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
3914                 Changed spin callback signals from "value-changed" back to "changed."
3915                 This was accidentally introduced in a previous revision, and can cause
3916                 size changes just by selecting the size tab.
3917
3918 2004-03-06  Jim Evins  <evins@snaught.com>
3919
3920         * src/view.c: (draw_grid_layer):
3921                 For round labels (round and cd) adjust grid so that it lines up with
3922                 center of label.  Also, no longer draw box around label in the grid layer,
3923                 it is hidden by he fg layer anyway.  Feature suggested by
3924                 nemolivier@free.fr.  Although the grid is aligned with the center of the
3925                 label, the coordinate system is still relative to the upper left corner
3926                 of the rectangle containing the label.
3927
3928 2004-02-25  Jim Evins  <evins@snaught.com>
3929
3930         * configure.in:
3931                 Changed version to 2.0pre1cvs
3932         
3933         * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
3934                 Removed extra xmlFreeDoc() calls upon error.  Also print the doc->URL
3935                 instead of doc->name fields when errors encountered.
3936
3937 2004-02-21  Jim Evins  <evins@snaught.com>
3938
3939         * data/avery-iso-templates.xml:
3940                 Added aliases for Avery 8651.  Patch provided by Wayne Schuller.
3941         
3942         * glabels.spec.in:
3943                 Added libglabels library and include file to installed files.
3944                 
3945         * configure.in:
3946                 Final prep for 1.93.3.
3947
3948 2004-02-20  Jim Evins  <evins@snaught.com>
3949
3950         * src/glabels-batch.c: (main):
3951                 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
3952                 as suggested by Javier Donaire Segarra.  This addresses bug #901063.
3953
3954 2004-02-16  Jim Evins  <evins@snaught.com>
3955
3956         * configure.in:
3957                 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
3958         
3959         * src/Makefile.am:
3960                 Added HAVE_FILE_CHOOSER to INCLUDES.
3961         
3962         * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
3963         (gl_file_save_as), (save_as_response):
3964                 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
3965
3966 2004-02-16  Jim Evins  <evins@snaught.com>
3967
3968         * src/xml-label-04.c: (xml04_parse_image_props):
3969         * src/xml-label-191.c: (xml191_parse_image_props):
3970         * src/xml-label.c: (xml_parse_object_image):
3971                 Delay setting image size until after image has been applied to new
3972                 object.
3973         
3974 2004-02-15  Jim Evins  <evins@snaught.com>
3975
3976         * src/label-barcode.c: (gl_label_barcode_set_data),
3977         (gl_label_barcode_set_props):
3978                 Don't emit "changed" signal, if no change actually made for these
3979                 methods.  Reduces number of unnecessary redraws of barcodes.
3980         
3981         * src/label-object.h:
3982         * src/label-object.c: (gl_label_object_set_position),
3983         (gl_label_object_set_position_relative), (set_size),
3984         (gl_label_object_set_size),
3985         (gl_label_object_set_size_honor_aspect):
3986                 Don't emit "changed" signal, if no change actually made for these
3987                 methods.
3988
3989 2004-02-15  Jim Evins  <evins@snaught.com>
3990
3991         * data/glabels-2.0.dtd:
3992                 Added specific subtypes for various barcode types.
3993         
3994         * src/bc.h:
3995         * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
3996         (gl_barcode_get_styles_list), (gl_barcode_default_digits),
3997         (gl_barcode_can_text), (gl_barcode_text_optional),
3998         (gl_barcode_can_csum), (gl_barcode_csum_optional),
3999         (gl_barcode_id_to_name), (gl_barcode_name_to_id):
4000                 Changed API to use a string id, rather than a fixed enumeration.  Id and
4001                 name are separate strings.  Added entries to backend table for specific
4002                 subtypes for various barcode types.
4003         
4004         * src/bc-postnet.h:
4005         * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
4006         (is_length_valid):
4007                 Modified to conform to above API.  Now more stringent with data length
4008                 for various subtypes.
4009         
4010         * src/bc-gnubarcode.h:
4011         * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
4012         (is_length_valid), (is_length1_valid), (is_length2_valid):
4013                 Modified to conform to above API.  Now more stringent with data length
4014                 for various subtypes.
4015
4016         * src/label-barcode.h:
4017         * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
4018         (gl_label_barcode_get_props), (get_size):
4019                 Modified to use above API for storing barcode type.
4020         
4021         * src/object-editor.h:
4022         * src/object-editor-bc-page.c: (style_changed_cb),
4023         (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
4024                 Modified to use above API for storing barcode type.
4025         
4026         * src/object-editor-size-page.c:
4027         (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
4028         (w_spin_cb), (h_spin_cb), (size_reset_cb):
4029                 Added debug markers.
4030         
4031         * src/object-editor.glade:
4032                 Made barcode style combo's text entry  non-editable.
4033         
4034         * src/print.c: (draw_barcode_object):
4035                 Modified to use above API for barcode type.
4036
4037         * src/view-barcode.c: (update_object_from_editor_cb),
4038         (update_editor_from_object_cb),
4039         (gl_view_barcode_create_event_handler), (draw_barcode):
4040                 Modified to use above API for barcode type.
4041         
4042         * src/xml-label-04.c: (xml04_parse_barcode_props):
4043         * src/xml-label-191.c: (xml191_parse_barcode_props):
4044         * src/xml-label.c: (xml_parse_object_barcode),
4045         (xml_create_object_barcode):
4046                 Modified to use above API for barcode type.
4047
4048 2004-02-07  Jim Evins  <evins@snaught.com>
4049
4050         * src/stock-pixmaps/Makefile.am:
4051         * src/stock-pixmaps/stock_hchain_24.png:
4052         * src/stock-pixmaps/stock_hchain_broken_24.png:
4053         * src/stock-pixmaps/stock_vchain_24.png:
4054         * src/stock-pixmaps/stock_vchain_broken_24.png:
4055                 Added chain pixmaps borrowed from the gimp's default theme.
4056
4057         * src/stock.h:
4058         * src/stock.c: (gl_stock_init), (add_button_icon):
4059                 Added above pixmaps to stock icon sets.  Created add_button_icon() to
4060                 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
4061         
4062         * src/wdgt-chain-button.h
4063         * src/wdgt-chain-button.c
4064         * src/Makefile.am:
4065         * po/POTFILES.in:
4066                 Added this Modified version of gimpchainbutton widget, borrowed from
4067                 the gimp.
4068         
4069         * AUTHORS:
4070                 Added acknowledgements of the above borrowing from the gimp.
4071         
4072         * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
4073         (h_spin_cb):
4074         * src/object-editor.c: (gl_object_editor_construct_chain_button):
4075         * src/object-editor.glade:
4076                 Replaced the keep aspect ratio check box with the above chain-button
4077                 widget.
4078         
4079         * src/text-node.c: (gl_text_node_equal):
4080         * src/text-node.h:
4081                 Added function gl_text_node_equal() to compare text_nodes.
4082         
4083         * src/label-image.c: (gl_label_image_set_filename):
4084                 Replaced incomplete text_node comparison code with invocation of
4085                 gl_text_node_equal.  This fixed the problem of not being able to
4086                 resize an image using the object_editor if the aspect ratio is not
4087                 locked.
4088
4089 2004-02-04  Jim Evins  <evins@snaught.com>
4090
4091         * src/object-editor-image-page.c:
4092         (gl_object_editor_prepare_image_page):
4093                 Track "changed" signal of pixmap entry's GtkEntry rather than its
4094                 "activate" signal -- this catches all changes to the entry rather than
4095                 just changes resulting from a browse, so one can easily pull previous
4096                 entries from the history. (This change is marked below on 2004-02-03,
4097                 but somehow never got checked in.)
4098
4099         * src/view-highlight.c: (sl_resize_event_handler),
4100         (sr_resize_event_handler), (st_resize_event_handler),
4101         (sb_resize_event_handler):
4102                 Side resize handles will now confirm the actual resize that the object
4103                 accepted before adjusting position parameters.  Previously some interesting
4104                 things happened when resizing a barcode to its minimum size.
4105
4106 2004-02-03  Jim Evins  <evins@snaught.com>
4107
4108         * src/object-editor-image-page.c:
4109         (gl_object_editor_prepare_image_page):
4110                 Track "changed" signal of pixmap entry's GtkEntry rather than its
4111                 "activate" signal -- this catches all changes to the entry rather than
4112                 just changes resulting from a browse, so one can easily pull previous
4113                 entries from the history.
4114         
4115         * src/view-highlight.c: (tl_resize_event_handler),
4116         (tr_resize_event_handler), (bl_resize_event_handler),
4117         (br_resize_event_handler):
4118                 Allow control key to be dropped while dragging a corner resize handle
4119                 without losing the aspect ratio lock.
4120
4121 2004-02-02  Jim Evins  <evins@snaught.com>
4122
4123         * src/label-image.c: (gl_label_image_set_filename):
4124                 When setting a new filename adjust size such that the aspect ratio of
4125                 the image is preserved using the current size as a bounding box.
4126                 
4127         * src/view-image.c: (update_object_from_editor_cb):
4128                 When updating object from editor, feed back possible size changes to
4129                 editor as a result of a possible change in image.
4130         
4131         * src/object-editor-size-page.c: (size_reset_cb):
4132                 Fixed typo when blocking spin handlers.  If the base size is larger than
4133                 the max size, treat max size as a bounding box while keeping aspect
4134                 ratio.
4135                 
4136
4137 2004-02-02  Jim Evins  <evins@snaught.com>
4138
4139         * src/label-object.h:
4140         * src/label-object.c: (gl_label_object_set_size),
4141         (gl_label_object_set_size_honor_aspect):
4142                 Added gl_label_object_set_size_honor_aspect() which will maintain the
4143                 current aspect ratio by modifying the supplied w or h apropriately.
4144         
4145         * src/view-highlight.c: (tl_resize_event_handler),
4146         (tr_resize_event_handler), (bl_resize_event_handler),
4147         (br_resize_event_handler):
4148                 Corner handles will now maintain the current aspect ratio if the
4149                 control key is pressed while resizing.  This addresses feature
4150                 request #816603.
4151        
4152
4153 2004-01-31  Jim Evins  <evins@snaught.com>
4154
4155         * AUTHORS:
4156         * data/avery-us-templates.xml:
4157                 Added entries for "LSK-3," "LSK-5," and "LSK-8."  Submitted by JBadger.
4158         
4159         * libglabels/template.c: (read_template_files_from_dir):
4160                 Corrected problem with testing for extensions.
4161         
4162         * src/object-editor.glade:
4163                 Corrected grouping of radio buttons in barcode data page.
4164
4165         * src/print.c: (draw_barcode_object):
4166         * src/view-barcode.c: (draw_barcode):
4167                 Corrected problem with calculation of y_offset for locating characters.
4168
4169 2004-01-24  Jim Evins  <evins@snaught.com>
4170
4171         * AUTHORS:
4172         * data/avery-us-templates.xml:
4173                 Added Avery 5824, submitted by Fred Bacon.
4174         
4175 2004-01-20  Jim Evins  <evins@snaught.com>
4176
4177         Catching up on a couple of backlogged user template submissions.
4178
4179         * data/avery-iso-templates.xml:
4180                 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
4181                 Suggested by Linas Jakucionis.
4182         
4183         * data/zweckform-iso-templates.xml:
4184                 Added Zweckform 4760, submitted by Thomas Vill.
4185
4186         * AUTHORS:
4187                 Updated to reflect above submissions.
4188
4189 2004-01-06  Jim Evins  <evins@snaught.com>
4190
4191         Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
4192         xml.[ch] into a separate library called libglabels, to facilitate third
4193         party use of glabels template files.  This was suggested by Wayne Schuller.
4194         Once split-out, some modifications to the structures and functions to
4195         make a cleaner more useful API, hopefully.  Rather extensive changes have
4196         propogated to other modules.
4197
4198         * src/paper.h:
4199         * src/paper.c:
4200         * src/template.h:
4201         * src/template.c:
4202         * src/xml-paper.h:
4203         * src/xml-paper.c:
4204         * src/xml-template.h:
4205         * src/xml-template.c:
4206         * src/xml.h:
4207         * src/xml.c:
4208                 These files have been moved to libglabels/.  API cleanup performed.
4209
4210         * libglabels/libglabels.h:
4211         * libglabels/libglabels-private.h:
4212         * libglabels/Makefile.am:
4213                 These files have been added to finish out libglabels.
4214         
4215         * Makefile.am:
4216         * configure.in:
4217         * glabels.spec.in:
4218         * po/POTFILES.in:
4219         * src/Makefile.am:
4220                 Modified to reflect new sets of files in src/ and libglabels/.
4221
4222         * COPYING.LIBGLABELS:
4223         * COPYING-DOCS:
4224                 Added copy of the LGPL for libglabels, and a copy the GFDL for
4225                 documentation.
4226         
4227         * src/glabels-batch.c:
4228         * src/glabels.c:
4229         * src/label.c: (gl_label_finalize), (gl_label_set_template),
4230         (gl_label_get_size):
4231         * src/label.h:
4232         * src/prefs-model.c: (gl_prefs_model_load_settings):
4233         * src/print-dialog.c:
4234         * src/print.c: (gl_print_simple), (gl_print_merge_collated),
4235         (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
4236         (print_crop_marks), (print_label), (draw_outline),
4237         (clip_to_outline), (clip_punchouts):
4238         * src/template-designer.c: (construct_pg_size_page),
4239         (pg_size_page_changed_cb), (layout_page_changed_cb),
4240         (print_test_cb), (build_template):
4241         * src/util.c: (gl_util_fraction):
4242         * src/util.h:
4243         * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
4244         (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
4245         (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
4246         (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
4247         (draw_markup_margin_round), (draw_markup_margin_cd),
4248         (draw_markup_margin_cd_bc), (draw_markup_line),
4249         (draw_markup_circle), (gl_view_copy):
4250         * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
4251         (page_size_entry_changed_cb), (details_update), (get_layout_desc),
4252         (get_label_size_desc):
4253         * src/wdgt-mini-preview.c:
4254         (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
4255         (cdbc_item):
4256         * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
4257         * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
4258         * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
4259         (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
4260         * src/wdgt-rotate-label.h:
4261         * src/xml-label-04.c: (xml04_parse_media_description):
4262         * src/xml-label-191.c: (gl_xml_label_191_parse),
4263         (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
4264         (xml191_parse_markup), (xml191_parse_alias):
4265         * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
4266         (xml_label_to_doc):
4267                 Various changes to accomodate new libglabels API.
4268         
4269 2004-01-03  Jim Evins  <evins@snaught.com>
4270
4271         * configure.in:
4272                 Release 1.93.2.
4273
4274 2004-01-03  Jim Evins  <evins@snaught.com>
4275
4276         * AUTHORS:
4277                 Added acknowledgement of contributions by Wayne Schuller.
4278         
4279         * src/commands.c: (gl_cmd_file_print):
4280                 Create extra reference to print dialog, so that it can be properly re-used.
4281         
4282         * src/mygal/mygal-combo-box.h:
4283         * src/mygal/mygal-combo-box.c:
4284         (mygal_combo_box_popup_hide_unconditional),
4285         (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
4286         (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
4287         (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
4288         (mygal_combo_box_set_tearable):
4289                 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
4290                 complete the rename of this widget to prevent namespace collisions
4291                 with Gtk+-2.3.
4292         
4293         * src/prefs-dialog.glade:
4294                 Fixed alignment of Fill/Color widgets.
4295
4296 2004-01-03  Jim Evins  <evins@snaught.com>
4297
4298         * data/avery-iso-templates.xml:
4299                 Added user submitted templates.
4300                 Avery 8435A & 8435B, submitted by Ludger Solbach.
4301
4302         * doc/C/glabels.xml:
4303                 Added minimal documentation, noting the new template designer.
4304
4305 2004-01-03  Jim Evins  <evins@snaught.com>
4306
4307         * pixmaps/ex-rect-size.png:
4308         * pixmaps/ex-round-size.png:
4309         * pixmaps/ex-cd-size.png:
4310         * pixmaps/Makefile.am:
4311                 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
4312                 files to be used as illustrations/examples in the template-designer.
4313
4314         * src/template-designer.c: (construct_rect_size_page),
4315         (construct_round_size_page), (construct_cd_size_page),
4316         (construct_nlayouts_page), (rect_size_page_prepare_cb),
4317         (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
4318         (layout_page_prepare_cb), (build_template):
4319         * src/template-designer.glade:
4320                 Added illustrations for rectangle, round, and cd label size pages.
4321                 Added margin spinboxes to these pages, and now add a margin markup
4322                 to the constructed template.  Added realistic default values for
4323                 some of the size spinboxes.  Cleaned up the code for setting spinbox
4324                 ranges on the layouts page.
4325
4326 2004-01-02  Jim Evins  <evins@snaught.com>
4327
4328         * src/object-editor-size-page.c: (h_spin_cb):
4329                 Fixed cut-n-paste error in h_spin_cb that loaded h from
4330                 the wrong spinbutton.
4331
4332         * src/object-editor.h:
4333         * src/object-editor.c: (gl_object_editor_class_init),
4334         (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
4335         * src/object-editor-private.h:
4336         * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
4337         (size_reset_cb):
4338                 Added "size_changed" signal.
4339                 
4340         * src/view-text.c: (construct_properties_editor),
4341         (update_object_from_editor_cb),
4342         (update_object_from_editor_size_cb):
4343                 Track size changes from object editor separately from other
4344                 properties.  This is so the default size (0,0) of a text
4345                 object is not modified unintentionally.
4346
4347 2003-12-30  Wayne Schuller  <k_wayne@linuxpower.org>
4348
4349         Added feature: line spacing - allows you to comfortably space a text box to
4350         fit a label perfectly.
4351
4352         * data/glabels-2.0.dtd:
4353         * src/label-object.c: (gl_label_object_set_text_line_spacing),
4354         (gl_label_object_get_text_alignment),
4355         (gl_label_object_get_text_line_spacing):
4356         * src/label-object.h:
4357         * src/label-text.c: (gl_label_text_class_init),
4358         (gl_label_text_instance_init), (copy), (get_size),
4359         (set_text_line_spacing), (get_text_alignment),
4360         (get_text_line_spacing):
4361         * src/object-editor-private.h:
4362         * src/object-editor-text-page.c:
4363         (gl_object_editor_prepare_text_page),
4364         (gl_object_editor_set_text_line_spacing),
4365         (gl_object_editor_get_text_line_spacing):
4366         * src/object-editor.glade:
4367         * src/object-editor.h:
4368         * src/prefs-dialog.c: (construct_object_page),
4369         (update_object_page_from_prefs), (update_prefs_from_object_page):
4370         * src/prefs-dialog.glade:
4371         * src/prefs-model.c: (gl_prefs_model_save_settings),
4372         (gl_prefs_model_load_settings), (get_float):
4373         * src/prefs-model.h:
4374         * src/print.c: (draw_text_object):
4375         * src/ui-sidebar.c:
4376         * src/view-text.c: (update_object_from_editor_cb),
4377         (update_editor_from_object_cb),
4378         (gl_view_text_create_event_handler), (draw_hacktext):
4379         * src/view.c: (gl_view_construct),
4380         (gl_view_set_selection_text_line_spacing),
4381         (gl_view_set_default_text_line_spacing),
4382         (gl_view_get_default_text_line_spacing):
4383         * src/view.h:
4384         * src/xml-label.c: (xml_parse_toplevel_span),
4385         (xml_create_toplevel_span):
4386
4387 2003-12-30  Jim Evins  <evins@snaught.com>
4388
4389         * src/template-designer.c:
4390         * src/template-designer.h:
4391         * src/template-designer.glade:
4392                 New template designer assistant.
4393         
4394         * po/POTFILES.in:
4395         * src/Makefile.am:
4396                 Added entries for src/template-designer.* files.
4397         
4398         * pixmaps/ex-1layout.png
4399         * pixmaps/ex-2layouts.png
4400         * pixmaps/Makefile.am:
4401                 Added the new image files ex-*.png used as illustrations in the
4402                 template designer assistant.
4403         
4404         * src/print-dialog.h:
4405         * src/print-dialog.c: (gl_print_dialog_finalize),
4406         (gl_print_dialog_new), (gl_print_dialog_construct),
4407         (gl_print_dialog_force_outline_flag):
4408                 Changed first argument of gl_print_dialog_new() from glView to glLabel,
4409                 to support printing from the template designer assistant which does not
4410                 have a full-fledged view.  Nothing else from the view object was being
4411                 used by the dialog anyway.
4412
4413                 Added the gl_print_dialog_force_outline_flag() method, for better
4414                 integration with the template designer assistant.
4415                 
4416
4417         * src/commands.h:
4418         * src/commands.c: (gl_cmd_file_template_designer),
4419         (gl_cmd_file_print):
4420                 Modified print command to provide label instead of view to dialog.
4421                 Added the gl_cmd_file_template_designer() command to invoke the
4422                 template designer assistant.
4423         
4424         * src/ui.c:
4425         * src/glabels-ui.xml:
4426                 Added support for template designer assistant.
4427         
4428         * src/wdgt-mini-preview.h:
4429         * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
4430         (gl_wdgt_mini_preview_set_bg_color):
4431                 Preview is now centered in canvas.  Added
4432                 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
4433                 assistant to match the background color with its own.
4434         
4435         * src/print.c: (clip_to_outline):
4436                 Fixed really stupid bug when adding waste to clip region of rectangular
4437                 labels/cards.  Each side of the clip region needs to be extended by
4438                 twice the waste margin, as well as negatively offset by the waste
4439                 margin.
4440
4441 2003-12-28  Jim Evins  <evins@snaught.com>
4442
4443         * src/prefs-dialog.c: (update_object_page_from_prefs):
4444                 Block intermediary function align_toggle_cb() instead of
4445                 update_prefs_from_object_page() for the three alignment
4446                 widgets.
4447
4448 2003-12-28  Wayne Schuller  <k_wayne@linuxpower.org>
4449
4450         * src/file.c: (gl_file_new), (gl_file_properties):
4451                 Swap button order and set default for higificatory pleasure.
4452
4453 2003-12-27  Jim Evins  <evins@snaught.com>
4454
4455         * barcode-0.98/Makefile.am:
4456                 One last time:  removed doc/Makefile and po/Makefile.in.in from
4457                 EXTRA_DIST files.
4458         
4459 2003-12-27  Jim Evins  <evins@snaught.com>
4460
4461         * barcode-0.98/Makefile.am:
4462                 Removed config.stat entry from EXTRA_DIST files.
4463         
4464         * barcode-0.98/Makefile.in:
4465                 Removed.
4466
4467 2003-12-27  Jim Evins  <evins@snaught.com>
4468
4469         * configure.in:
4470                 Updated to work with latest gnome-common package from CVS.
4471                 Removed recursive configuration of barcode-0.98.
4472
4473         * acconfig.h:
4474         * macros/*:
4475                 Removed.
4476         
4477         * Makefile.am:
4478                 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
4479         
4480         * barcode-0.98/Makefile.in:
4481         * barcode-0.98/configure.in:
4482         * barcode-0.98/Makefile.am:
4483         * barcode-0.98/README.glabels:
4484                 Modified to ignore the barcode package's build system, and build
4485                 as a part of glabels.
4486                 Renamed Makefile.in to Makefile.in.dist.
4487                 Renamed configure.in to configure.in.dist.
4488                 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
4489         
4490         * src/Makefile.am:
4491         * src/mygal/Makefile.am:
4492         * src/recent-files/Makefile.am:
4493                 In order to build against the GNOME 2.5 platform, 
4494                 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
4495         
4496         * src/mygal/Makefile.am:
4497         * src/mygal/mygal-combo-box.c:
4498         * src/mygal/mygal-combo-box.h:
4499         * src/mygal/widget-color-combo.c:
4500         * src/mygal/widget-color-combo.h:
4501         * po/POTFILES.in:
4502                 In order to build against the GNOME 2.5 platform, 
4503                 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
4504                 collisions with the real gtk_combo_box widget, now a part of gtk.
4505         
4506 2003-12-26  Jim Evins  <evins@snaught.com>
4507
4508         * src/paper.c:
4509         * src/template.c:
4510         * src/util.c:
4511         * src/util.h:
4512                 Moved local versions of get_home_data_dir() in paper.c and
4513                 template.c to util package.  Cleaned up formatting in
4514                 util.[ch].
4515
4516         * src/template.c:
4517                 In gl_template_register() save a copy of the template in
4518                 ~/.glabels if the template is not known.  Still need to
4519                 handle duplicate filename case and duplicate name but
4520                 different template case.
4521         
4522         * src/xml-label.c:
4523         * src/xml.h:
4524                 Moved local definition of NAME_SPACE macro from xml-label.c
4525                 to xml.h.
4526         
4527         * src/xml-template.c:
4528         * src/xml-template.h:
4529                 Added function gl_xml_template_write_template_to_file(), used
4530                 in gl_template_register().