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