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