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