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