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