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