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