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