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