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