]> git.sur5r.net Git - glabels/blob - glabels2/ChangeLog
4c438fed33c2eb6e659ac3bf7a6169f1705f2957
[glabels] / glabels2 / ChangeLog
1 2007-02-06  Jim Evins  <evins@snaught.com>
2
3 Assorted cleanup and removal of deprecated items.
4         
5         * src/splash.c:
6         * src/splash.h:
7         * src/Makefile.am:
8                 Removed annoying splash screen.
9         * src/glabels-batch.c: (main):
10         * src/glabels.c: (main):
11                 Converted from popt to GOption.
12         * src/object-editor-shadow-page.c:
13         (gl_object_editor_set_shadow_state):
14                 Removed deprecated method on GtkToggleButton.
15         * src/ui-commands.c: (gl_ui_cmd_help_about):
16                 Removed dependency on libgnomui/qnome-url.h.
17         * src/template-designer.c:
18                 Removed dependency on libgnome/gnome-program.h.
19         
20
21 2007-02-04  Jim Evins  <evins@snaught.com>
22
23         * src/color.c:
24         * src/color.h:
25         * src/prefs-model.c:
26         * src/print.c: (draw_text_object):
27         * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_construct):
28                 Removed GnomeCanvas artifacts from color.[ch] and related modules.
29
30 2007-02-04  Jim Evins  <evins@snaught.com>
31
32         * src/wdgt-mini-preview.c:
33         * src/wdgt-mini-preview.h:
34                 Ported widget from GnomeCanvas to Cairo.
35
36 2007-02-03  Jim Evins  <evins@snaught.com>
37
38         * data/glade/template-designer.glade:
39         * src/template-designer.c:
40         * src/template-designer.h:
41                 Ported GnomeDruid to GtkAssistant.  Since libglade does not
42                 yet support the GtkAssistant and we derive directly from
43                 the Assistant, the pages are layed out in a GtkNotebook in
44                 the glade description -- we then append each page to the
45                 assistant.
46
47 2007-01-25  Jim Evins  <evins@snaught.com>
48
49         * data/glade/object-editor.glade:
50                 Added dummy page to notebook, to prevent shadow page from
51                 becoming the default current page at creation.
52         * src/view-box.c: (construct_properties_editor):
53         * src/view-ellipse.c: (construct_properties_editor):
54         * src/view-line.c: (construct_properties_editor):
55         * src/view-text.c: (construct_properties_editor):
56                 Reconciled order of params.
57
58 2007-01-19  Jim Evins  <evins@snaught.com>
59
60         * src/label-barcode.h:
61         * src/label-object.c: (gl_label_object_set_font_weight),
62         (gl_label_object_set_text_alignment),
63         (gl_label_object_get_font_weight),
64         (gl_label_object_get_text_alignment):
65         * src/label-object.h:
66         * src/label-text.c: (gl_label_text_instance_init), (copy),
67         (get_size), (set_font_family), (set_font_weight),
68         (set_text_alignment), (get_font_weight), (get_text_alignment):
69         * src/label-text.h:
70         * src/object-editor-text-page.c:
71         (gl_object_editor_prepare_text_page),
72         (gl_object_editor_set_font_family),
73         (gl_object_editor_set_font_weight),
74         (gl_object_editor_get_font_weight),
75         (gl_object_editor_set_text_alignment),
76         (gl_object_editor_get_text_alignment),
77         (gl_object_editor_set_text_color):
78         * src/object-editor.h:
79         * src/prefs-dialog.c: (construct_object_page),
80         (update_object_page_from_prefs), (update_prefs_from_object_page):
81         * src/prefs-model.c: (gl_prefs_model_save_settings),
82         (gl_prefs_model_load_settings):
83         * src/prefs-model.h:
84         * src/print.c: (draw_text_object):
85         * src/ui-property-bar.c: (gl_ui_property_bar_construct),
86         (reset_to_default_properties), (update_text_properties),
87         (font_bold_toggled_cb), (text_align_toggled_cb):
88         * src/ui-sidebar.c:
89         * src/util.c: (gl_util_align_to_string), (gl_util_string_to_align),
90         (gl_util_weight_to_string), (gl_util_string_to_weight),
91         (gl_util_get_font_family_list), (gl_util_font_family_list_free):
92         * src/util.h:
93         * src/view-text.c: (update_object_from_editor_cb),
94         (update_editor_from_object_cb), (draw_hacktext), (draw_cursor):
95         * src/view.c: (gl_view_set_selection_text_alignment),
96         (gl_view_set_default_text_alignment),
97         (gl_view_get_default_text_alignment):
98         * src/view.h:
99         * src/xml-label-04.c: (xml04_parse_text_props):
100         * src/xml-label-191.c: (xml191_parse_text_props):
101         * src/xml-label.c: (xml_parse_object_text),
102         (xml_parse_toplevel_span), (xml_create_object_text),
103         (xml_create_toplevel_span):
104                 Converted all model internals to Pango.  GnomeFont remains in
105         view until GnomeCanvas can be replaced with a cairo-based canvas.
106         
107 2007-01-17  Jim Evins  <evins@snaught.com>
108
109         * src/Makefile.am:
110         * src/hig.c:
111                 Deleted hig.c.
112         * src/hig.h:
113         * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type),
114         (gl_wdgt_print_copies_construct):
115         * src/wdgt-print-copies.h:
116         * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type),
117         (gl_wdgt_print_merge_construct):
118         * src/wdgt-print-merge.h:
119                 Removed all remaining HIG wrapper widgets.
120
121 2007-01-16  Jim Evins  <evins@snaught.com>
122
123         * src/Makefile.am:
124         * src/print-dialog.c:
125         * src/print-dialog.h:
126         * src/print-op.c:
127         * src/print-op.h:
128         * src/template-designer.c: (print_test_cb):
129         * src/ui-commands.c: (gl_ui_cmd_file_print):
130         * src/print.c:
131                 Renamed PrintDialog to PrintOp.  Added constructor for batch
132                 printing.
133         * src/glabels-batch.c: (main):
134                 Converted to use new PrintOp object for printing.
135
136 2007-01-15  Jim Evins  <evins@snaught.com>
137
138         * data/glade/Makefile.am:
139         * data/glade/print-custom-widget.glade:
140         * src/print-dialog.c:
141         * src/print-dialog.h:
142         * src/print.c:
143         * src/print.h:
144         * src/template-designer.c: (print_test_cb):
145         * src/ui-commands.c: (gl_ui_cmd_file_print):
146         * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_copies):
147         * src/wdgt-print-merge.h:
148         * src/window.c: (gl_window_init):
149         * src/window.h:
150                 Initial conversion to GtkPrintOperation.
151                 Still to do:
152                  - Remove font and other libgnomeprint[ui] from elsewhere
153                  - Add batch initialization of print operation
154
155 2007-01-08  Jim Evins  <evins@snaught.com>
156         * configure.in:
157                 Updated dependencies.  Set version to 2.1.pre4cvs.
158
159 2007-01-03  Jim Evins  <evins@snaught.com>
160
161         * src/recent-files/*
162                 Removed EggRecent stuff.
163         * configure.in:
164         * src/Makefile.am:
165         * src/file.c:
166         * src/recent.c:
167         * src/recent.h:
168         * src/ui-commands.c:
169         * src/ui-commands.h:
170         * src/ui.c:
171                 Ported from EggRecent to GtkRecentManager.
172         
173
174 2007-01-02  Jim Evins  <evins@snaught.com>
175
176         * configure.in:
177         * iec16022-0.2.1/BUGS:
178         * iec16022-0.2.1/CHANGELOG:
179         * iec16022-0.2.1/CREDITS:
180         * iec16022-0.2.1/INSTALL:
181         * iec16022-0.2.1/LICENSE:
182         * iec16022-0.2.1/Makefile.am:
183         * iec16022-0.2.1/Makefile.dist:
184         * iec16022-0.2.1/README:
185         * iec16022-0.2.1/README.glabels:
186         * iec16022-0.2.1/TODO:
187         * iec16022-0.2.1/iec16022.1:
188         * iec16022-0.2.1/iec16022.c:
189         * iec16022-0.2.1/iec16022ecc200.c:
190         * iec16022-0.2.1/iec16022ecc200.h:
191         * iec16022-0.2.1/image.c:
192         * iec16022-0.2.1/image.h:
193         * iec16022-0.2.1/reedsol.c:
194         * iec16022-0.2.1/reedsol.h:
195         * iec16022-0.2.1/test/testsuite-example.bin:
196         * iec16022-0.2.1/test/testsuite-example.eps:
197         * iec16022-0.2.1/test/testsuite-example.hex:
198         * iec16022-0.2.1/test/testsuite-example.png:
199         * iec16022-0.2.1/test/testsuite-example.text:
200         * iec16022-0.2.1/test/testsuite.sh:
201                 Include modified copy of iec16022-0.2.1 to provide encoding
202                 support for datamatrix 2D barcodes.
203         * src/Makefile.am:
204         * src/bc-iec16022.c:
205         * src/bc-iec16022.h:
206         * src/bc.c:
207                 Added initial datamatrix 2D barcode backend to barcode code.
208         * INSTALL:
209         * gtk-doc.make:
210                 Automatic updates to later versions of these files.
211
212 2006-11-28  Jim Evins  <evins@snaught.com>
213
214         * data/templates/avery-iso-templates.xml:
215         * data/templates/avery-us-templates.xml:
216         * data/templates/categories.xml:
217         * data/templates/misc-iso-templates.xml:
218         * data/templates/misc-us-templates.xml:
219         * data/templates/zweckform-iso-templates.xml:
220                 More categorization.
221         
222 2006-09-12  Jim Evins  <evins@snaught.com>
223
224         * data/dtd/glabels-2.0.dtd:
225         * data/templates/Makefile.am:
226         * data/templates/avery-iso-templates.xml:
227         * data/templates/avery-other-templates.xml:
228         * data/templates/avery-us-templates.xml:
229         * data/templates/categories.xml:
230         * data/templates/misc-iso-templates.xml:
231         * data/templates/misc-other-templates.xml:
232         * data/templates/zweckform-iso-templates.xml:
233         * data/glade/Makefile.am:
234         * data/glade/new-label-dialog.glade:
235         * data/glade/wdgt-media-select.glade:
236         * data/glade/wdgt-rotate-label.glade:
237         * libglabels/Makefile.am:
238         * libglabels/category.c:
239         * libglabels/category.h:
240         * libglabels/libglabels.h:
241         * libglabels/paper.c:
242         * libglabels/template.c:
243         * libglabels/template.h:
244         * libglabels/xml-category.c:
245         * libglabels/xml-category.h:
246         * libglabels/xml-template.c:
247                 Added support for category meta data.
248         * src/Makefile.am:
249         * src/file.c:
250         * src/mini-preview-pixbuf.c:
251         * src/mini-preview-pixbuf.h:
252         * src/new-label-dialog.c:
253         * src/new-label-dialog.h:
254         * src/wdgt-media-select.c:
255         * src/wdgt-media-select.h:
256         * src/wdgt-rotate-label.c:
257         * src/wdgt-rotate-label.h:
258                 New "new label" dialog.
259
260 2006-05-27  Jim Evins  <evins@snaught.com>
261
262         * NEWS:
263         * autogen.sh:
264         * configure.in:
265                 Preparation for 2.1.3.
266         * acinclude.m4:
267         * omf.make:
268         * xmldocs.make:
269                 Removed.
270         
271 2006-05-22  Jim Evins  <evins@snaught.com>
272
273         * src/print.c: (draw_barcode_object):
274                 Don't print "Invalid barcode data" if data field is empty.  Patch provided
275                 by Darren Warner <warnerd@users.sourceforge.net>.  Fixes Bug #1479839.
276         * AUTHORS:
277                 Added acknowledgment for above patch.
278         * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
279         * src/bc-postnet.c: (postnet_code):
280                 Removed "Invalid barcode data" warnings from stderr.
281         * src/view-barcode.c: (draw_barcode):
282                 Draw box around barcode extent if data empty or invalid.  Center a
283                 message whether the data is empty or invalid in box.
284
285 2006-05-22  Jim Evins  <evins@snaught.com>
286
287         * src/print.c: (draw_text_object):
288                 Check shadow state when printing text.
289
290 2006-05-20  Jim Evins  <evins@snaught.com>
291
292         * src/ui-commands.c: (gl_ui_cmd_view_grid_toggle),
293         (gl_ui_cmd_view_markup_toggle):
294                 Fixed crash when grid or markup have been toggled off during
295                 a previous session.  Bug #1434324.
296
297 2006-04-05  Jim Evins  <evins@snaught.com>
298
299         * src/object-editor.c: (gl_object_editor_set_key_names):
300                 Fixed potential crash when freeing empty key list.
301
302 2006-03-11  Jim Evins  <evins@snaught.com>
303
304         * src/print.c: (draw_text_object):
305         * src/view-text.c: (gl_view_text_new),
306         (construct_properties_editor), (update_object_from_editor_cb),
307         (update_editor_from_object_cb), (update_editor_from_label_cb),
308         (draw_hacktext):
309                 Added shadow support to text object.
310         
311 2006-02-18  Jim Evins  <evins@snaught.com>
312
313         * src/print.c: (draw_line_object):
314         * src/view-line.c: (gl_view_line_new),
315         (construct_properties_editor), (update_canvas_item_from_object_cb),
316         (update_object_from_editor_cb), (update_editor_from_object_cb),
317         (update_editor_from_label_cb):
318                 Added shadow support to line object.
319
320 2006-02-16  Jim Evins  <evins@snaught.com>
321
322         * src/view-box.c:
323                 Comment changes.
324         * src/print.c: (draw_ellipse_object):
325         * src/view-ellipse.c: (gl_view_ellipse_new),
326         (construct_properties_editor), (update_canvas_item_from_object_cb),
327         (update_object_from_editor_cb), (update_editor_from_object_cb),
328         (update_editor_from_label_cb):
329                 Added shadow support to ellipse object.
330
331 2006-02-15  Jim Evins  <evins@snaught.com>
332
333         * src/label-object.c:
334                 Changed default shadow offsets.
335         * src/view-box.c: (gl_view_box_new):
336                 Simplified gl_view_box_new() so that is does not duplicate code
337                 in update_canvas_item_from_object_cb().
338
339 2006-02-07  Jim Evins  <evins@snaught.com>
340
341         * data/glade/object-editor.glade:
342                 Fixed color groups of color combos.
343         * src/color.h:
344                 Added default shadow color.
345         * src/object-editor.c: (gl_object_editor_construct_color_combo):
346                 Added shadow color group.
347
348 2006-02-06  Jim Evins  <evins@snaught.com>
349
350         * src/object-editor-shadow-page.c:
351                 Forgot to add this file.
352         * src/view-box.c: (gl_view_box_new),
353         (update_canvas_item_from_object_cb), (update_editor_from_label_cb):
354                 Update limits on shadow offset spinbuttons.
355
356 2006-01-19  Jim Evins  <evins@snaught.com>
357
358         * src/merge-evolution.c: (gl_merge_evolution_get_key_list):
359                 Initialize key_list to NULL.
360         * data/glade/object-editor.glade:
361         * src/Makefile.am:
362         * src/color.c:
363         * src/color.h:
364         * src/label-object.c:
365         * src/label-object.h:
366         * src/object-editor-fill-page.c:
367         * src/object-editor-private.h:
368         * src/object-editor.c:
369         * src/object-editor.h:
370         * src/xml-label.c:
371                 Created infrastructure for shadow support.
372         * src/view-box.c:
373         * src/print.c:
374                 Initial shadow support in box object only.
375         
376 2006-01-05  Jim Evins  <evins@snaught.com>
377
378         * src/merge-properties-dialog.c: (src_changed_cb):
379                 Be extra paranoid before calling strcmp().
380         * src/merge.c: (gl_merge_set_src):
381                 Don't make (merge == NULL) a critical error.
382
383 2005-12-22  Jim Evins  <evins@snaught.com>
384
385         * src/glabels-batch.c: (main):
386                 Compile warning free with gcc 4.0.
387
388 2005-12-21  Jim Evins  <evins@snaught.com>
389
390         * glabels.spec.in:
391                 Updated example RPM spec file.
392         
393 2005-12-21  Jim Evins  <evins@snaught.com>
394
395         * NEWS:
396         * configure.in:
397                 Preparation for 2.1.2.
398         
399 2005-12-20  Jim Evins  <evins@snaught.com>
400
401         * src/Makefile.am:
402                 Define unique G_LOG_DOMAIN for glabels.
403         * src/critical-error-handler.c: (gl_critical_error_handler_init):
404         * src/warning-handler.c: (gl_warning_handler_init),
405         (warning_handler):
406                 Register for G_LOG_DOMAIN instead of NULL.
407         
408 2005-12-10  Jim Evins  <evins@snaught.com>
409
410         * src/merge-evolution.c:
411         * src/merge-vcard.c:
412                 Fixed indentation.
413
414 2005-12-08  Jim Evins  <evins@snaught.com>
415
416         * libglabels/paper.c: (read_paper_files_from_dir):
417         * libglabels/template.c: (gl_template_register),
418         (read_template_files_from_dir):
419         * libglabels/xml-paper.c: (gl_xml_paper_read_papers_from_file),
420         (gl_xml_paper_parse_papers_doc):
421         * libglabels/xml-template.c:
422         (gl_xml_template_read_templates_from_file),
423         (gl_xml_template_parse_templates_doc),
424         (gl_xml_template_parse_template_node),
425         (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
426         (xml_parse_label_cd_node), (xml_parse_layout_node),
427         (xml_parse_markup_margin_node), (xml_parse_markup_line_node),
428         (xml_parse_markup_circle_node),
429         (gl_xml_template_write_templates_to_file), (xml_create_label_node):
430         * libglabels/xml.c: (gl_xml_get_prop_length):
431                 Re-classified g_warnings to g_messages.
432         * src/Makefile.am:
433         * src/glabels.c: (main):
434         * src/warning-handler.c: (gl_warning_handler_init),
435         (warning_handler):
436         * src/warning-handler.h:
437                 Added warning message handler to make sure the user is
438                 presented with appropriate non-fatal errors.
439         * src/critical-error-handler.c: (critical_error_handler):
440                 Changed exit to abort.
441         * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new), (render_pass1):
442         * src/bc-postnet.c: (postnet_code):
443         * src/bc.c: (id_to_index), (name_to_index):
444         * src/merge.c: (gl_merge_register_backend), (gl_merge_new):
445         * src/object-editor.c: (gl_object_notebook_construct_valist):
446         * src/prefs-dialog.c: (update_locale_page_from_prefs):
447         * src/prefs.c: (gl_prefs_get_units_per_point),
448         (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
449         (gl_prefs_get_units_string):
450         * src/print.c: (draw_outline), (clip_to_outline), (clip_punchouts):
451         * src/splash.c: (gl_splash):
452         * src/ui-commands.c: (gl_ui_cmd_help_contents):
453         * src/view-highlight.c: (gl_view_highlight_new),
454         (highlight_resizable_box_construct), (object_changed_cb),
455         (view_scale_changed_cb):
456         * src/view.c: (draw_label_layer), (draw_bg_fg_layers),
457         (draw_markup_layer), (draw_markup_margin),
458         (gl_view_object_create_mode), (canvas_event),
459         (selection_received_cb):
460         * src/wdgt-mini-preview.c: (mini_outline_list_new):
461         * src/wdgt-rotate-label.c: (mini_preview_canvas_update):
462         * src/xml-label-04.c: (gl_xml_label_04_parse),
463         (xml04_parse_media_description), (xml04_parse_text_props),
464         (xml04_parse_barcode_props):
465         * src/xml-label-191.c: (gl_xml_label_191_parse),
466         (xml191_parse_objects), (xml191_parse_object),
467         (xml191_parse_text_props), (xml191_parse_image_props),
468         (xml191_parse_barcode_props), (xml191_parse_data),
469         (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
470         (xml191_parse_markup):
471         * src/xml-label.c: (gl_xml_label_open), (gl_xml_label_open_buffer),
472         (xml_doc_to_label), (xml_parse_label), (xml_parse_objects),
473         (xml_parse_object_text), (xml_parse_object_image),
474         (xml_parse_object_barcode), (xml_parse_data),
475         (xml_parse_toplevel_span), (gl_xml_label_save),
476         (xml_create_objects):
477                 Re-classified g_warnings to g_messages.
478         * src/merge-evolution.c: (gl_merge_evolution_open),
479         (gl_merge_evolution_close), (gl_merge_evolution_get_record):
480                 Use g_warning to output errors encountered while
481                 communicating with the evolution data server
482                 instead of embedding them in the data.
483         
484 2005-12-08  Jim Evins  <evins@snaught.com>
485
486         * libglabels/libglabels-private.h:
487                 Set G_LOG_DOMAIN
488         * libglabels/paper.c: (read_papers):
489         * libglabels/template.c: (read_templates):
490                 Made appropriate warnings critical.
491         * src/Makefile.am:
492         * src/critical-error-handler.h:
493         * src/critical-error-handler.c: (gl_critical_error_handler_init),
494         (critical_error_handler):
495                 Created critical error handler.
496         * src/glabels.c: (main):
497                 Register critical error handler.
498         * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
499         * src/object-editor.c: (gl_object_editor_init):
500         * src/prefs-dialog.c: (gl_prefs_dialog_init):
501         * src/template-designer.c: (gl_template_designer_init):
502         * src/ui-property-bar.c: (gl_ui_property_bar_instance_init):
503                 Made appropriate warnings critical.
504
505 2005-11-27  Jim Evins  <evins@snaught.com>
506
507         * src/merge-evolution.c: (gl_merge_evolution_get_key_list),
508         (gl_merge_evolution_get_primary_key),
509         (gl_merge_evolution_get_record):
510                 Don't create "record_key" pseudo-key.  Don't populate
511                 fields with null data.
512
513 2005-11-25  Jim Evins  <evins@snaught.com>
514
515         * src/merge-evolution.c: (gl_merge_evolution_finalize),
516         (gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
517         (gl_merge_evolution_get_record), (gl_merge_evolution_copy),
518         (free_field_list):
519                 Query EDS for all supported fields.  Patch provided by
520                 Austin Henry <ahenry@users.sourceforge.net>.
521
522 2005-10-29  Jim Evins  <evins@snaught.com>
523
524         * src/glabels.c: (main):
525         * src/label-barcode.c: (gl_label_barcode_finalize):
526         * src/label-text.c: (gl_label_text_finalize), (set_font_family):
527         * src/label.c: (gl_label_instance_init), (gl_label_finalize):
528         * src/object-editor.c: (gl_object_editor_finalize):
529                 Another pass at valgrinding -- plugged several memory leaks.
530         * src/view-text.c: (gl_view_text_new),
531         (update_canvas_item_from_object_cb), (draw_hacktext):
532                 Commented out artifacts of edit-in-place code.
533         
534 2005-10-28  Jim Evins  <evins@snaught.com>
535
536         * src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
537                 Fixed use of uninitialized variable.  Caught by
538                 d binderman <dcb314@hotmail.com>.
539
540 2005-10-27  Jim Evins  <evins@snaught.com>
541
542         * src/merge-evolution.c: (gl_merge_evolution_get_record):
543         * src/merge-vcard.c: (gl_merge_vcard_get_record),
544         (parse_next_vcard):
545                 Additional cleanup of EDS and vcard backends.  Provided by
546                 Austin Henry <ahenry@users.sourceforge.net>.
547
548 2005-10-24  Jim Evins  <evins@snaught.com>
549
550         * AUTHORS:
551         * src/Makefile.am:
552         * src/merge-evolution.c:
553         * src/merge-evolution.h:
554         * src/merge-init.c: (gl_merge_init):
555         * src/merge-properties-dialog.c: (type_changed_cb):
556         * src/merge-vcard.c:
557         * src/merge-vcard.h:
558         * src/ui-commands.c: (gl_ui_cmd_help_about):
559                 Added Evolution Data Server and VCard merge backends.  Original patch
560                 provided by Austin Henry <ahenry@users.sourceforge.net>.
561         * configure.in:
562                 Only support EDS and VCard backends if libebook is installed.  Allow
563                 user to disable support, even if installed.
564         
565 2005-10-24  Jim Evins  <evins@snaught.com>
566
567         * AUTHORS:
568         * data/templates/avery-iso-templates.xml:
569         * data/templates/avery-us-templates.xml:
570         * data/templates/misc-iso-templates.xml:
571         * data/templates/zweckform-iso-templates.xml:
572                 Collected all template changes and submissions since last
573                 release.
574
575 2005-10-23  Jim Evins  <evins@snaught.com>
576
577         * configure.in:
578         * data/mime/Makefile.am:
579                 Added configure options to disable update-mime-database and
580                 update-desktop-database as part of the install.  Patch
581                 provided by Leonardo Boshell (qhoracio@sourceforge.net).
582
583 2005-10-23  Jim Evins  <evins@snaught.com>
584
585         * libglabels/xml.h:
586         * libglabels/xml.c: (gl_xml_get_prop_string),
587         (gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
588         (gl_xml_is_node), (gl_xml_get_node_content):
589                 Added new XML utility functions.
590         * libglabels/xml-paper.c:
591         * libglabels/xml-template.c:
592         * src/xml-label.c:
593                 Cleanup by using new xml utilities created above.
594         * libglabels/paper.c: (gl_paper_free):
595         * src/file.c: (new_response):
596         * src/object-editor-image-page.c: (add_image_filters_to_chooser):
597         * src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
598         (gl_pixbuf_cache_get_pixbuf):
599         * src/ui-property-bar.c:
600         (gl_ui_property_bar_construct_color_combo):
601         * src/view-highlight.c: (gl_view_highlight_finalize):
602         * src/view-image.c: (update_object_from_editor_cb):
603         * src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
604         (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
605         (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
606         (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
607         (draw_markup_margin_round), (draw_markup_margin_cd),
608         (draw_markup_margin_cd_bc):
609         * src/wdgt-mini-preview.c: (mini_outline_list_new):
610         * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
611                 Plugged various memory leaks located with valgrind.
612         * src/view-image.c: (update_canvas_item_from_object_cb):
613                 Don't allow a width or height of zero when drawing pixbuf.
614
615 2005-10-22  Jim Evins  <evins@snaught.com>
616
617         * libglabels/xml-paper.c:
618         * libglabels/xml-template.c:
619         * libglabels/xml.c:
620         * src/base64.c:
621         * src/bc-gnubarcode.c:
622         * src/canvas-hacktext.c:
623         * src/label-text.c:
624         * src/object-editor-data-page.c:
625         * src/print-dialog.c:
626         * src/print.c:
627         * src/recent.c:
628         * src/template-designer.c:
629         * src/text-node.c:
630         * src/ui-property-bar.c:
631         * src/ui.c:
632         * src/view-barcode.c:
633         * src/view-box.c:
634         * src/view-ellipse.c:
635         * src/view-image.c:
636         * src/view-line.c:
637         * src/view-text.c:
638         * src/view.c:
639         * src/wdgt-media-select.c:
640         * src/xml-label-04.c:
641         * src/xml-label-191.c:
642         * src/xml-label.c:
643                 Modified to compile warning free with gcc-4.0.  Mostly
644                 casting to change signedness of characters.  Did not
645                 attack gnu-barcode library yet.
646
647 2005-10-22  Jim Evins <evins@snaught.com>
648
649         * src/glabels.c: (main):
650         * src/splash.c: (gl_splash):
651                 Removed some small memory leaks.
652         * gtk-doc.make:
653                 Added.
654         
655 2005-09-19  Jim Evins  <evins@snaught.com>
656
657         * data/glade/property-bar.glade:
658                 Remove items from font_family_combo.  This prevents the
659                 double entry after adding text model and list of fonts.
660         * src/ui-property-bar.c: (reset_to_default_properties):
661                 Free font_family_list.
662
663 2005-07-01  Jim Evins  <evins@snaught.com>
664
665         * po/it.po:
666                 Updated italian translation (Daniele Medri)
667
668 2005-06-26  Jim Evins  <evins@snaught.com>
669
670         * docs/libglabels/libglabels-decl-list.txt:
671                 Somehow never got checked in before.
672         * docs/libglabels/libglabels.types:
673                 Removed -- don't need it afterall.
674
675 2005-06-20  Jim Evins  <evins@snaught.com>
676
677         * NEWS:
678                 Final prep for 2.1.1 release.
679
680 2005-06-20  Jim Evins  <evins@snaught.com>
681
682         * configure.in:
683                 Final preps for 2.1.1 release.
684         * docs/libglabels/libglabels.types:
685                 Somehow never got checked in before.
686         * po/POTFILES.in:
687                 Bring up-to-date with recent reorg of ui code.
688                 
689
690 2005-06-19  Jim Evins  <evins@snaught.com>
691
692         * src/template-designer.c: (construct_layout_page):
693                 Removed attempt to match background color of mini preview widget to
694                 background.
695
696 2005-06-17  Jim Evins  <evins@snaught.com>
697
698         * help/C/figures/merge-ex2-4.png:
699         * help/C/glabels.xml:
700                 Fixed spelling error.
701
702 2005-06-13  Jim Evins  <evins@snaught.com>
703
704         * help/C/figures/merge-ex1-1.png:
705         * help/C/figures/merge-ex1-2.png:
706         * help/C/figures/merge-ex1-3.png:
707         * help/C/figures/merge-ex1-4.png:
708         * help/C/figures/merge-ex2-1.png:
709         * help/C/figures/merge-ex2-2.png:
710         * help/C/figures/merge-ex2-3.png:
711         * help/C/figures/merge-ex2-4.png:
712                 Added figures for document merge tutorial.
713         * help/C/glabels.xml:
714                 Added document merge tutorial.
715
716 2005-05-19  Jim Evins  <evins@snaught.com>
717
718         * data/glade/merge-properties-dialog.glade:
719                 Fixed irregular spacing.
720         * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
721         (gl_merge_properties_dialog_construct):
722                 Set outer padding and remove separator.
723
724 2005-05-18  Jim Evins  <evins@snaught.com>
725
726         * src/hig.h:
727         * src/hig.c:
728                 Removed glHigDialog class.
729         * src/file.c: (gl_file_new), (create_new_dialog_widgets),
730         (gl_file_properties), (create_properties_dialog_widgets):
731         * src/prefs-dialog.h:
732         * src/prefs-dialog.c: (gl_prefs_dialog_get_type),
733         (gl_prefs_dialog_init), (gl_prefs_dialog_construct):
734         * src/print-dialog.h:
735         * src/prefs-dialog.h:
736         * src/print-dialog.c: (gl_print_dialog_get_type),
737         (gl_print_dialog_init), (gl_print_dialog_construct):
738                 Replaced all instances of glHigDialog with GtkDialog.
739         
740 2005-05-17  Jim Evins  <evins@snaught.com>
741
742         * src/hig.h:
743         * src/hig.c:
744                 Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
745         * src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
746         (save_as_response), (gl_file_close):
747                 Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.
748
749 2005-05-15  Jim Evins  <evins@snaught.com>
750
751         * src/ui-commands.h:
752         * src/ui-util.c:
753         * src/ui-util.h:
754         * src/ui.c:
755         * src/ui.h:
756         * src/view.c:
757         * src/window.c:
758         * src/window.h:
759                 A little code reformatting -- no functional changes.
760         
761 2005-05-14  Jim Evins  <evins@snaught.com>
762
763         * src/Makefile.am:
764                 Removed obsolete macros.
765         * src/marshal.list:
766                 Added marshalling template to support new view signal: "context_menu_activate."
767         * src/view.h:
768         * src/view.c: (gl_view_class_init), (gl_view_construct),
769         (canvas_event_arrow_mode):
770                 - Removed hardcoded context menus and added new signal "context_menu_activate"
771                 to push this up to the uimanager.
772                 - Removed merge properties and print dialogs so that they can be managed with
773                 the window by the uimanager.
774         * src/merge-properties-dialog.h:
775         * src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
776         (gl_merge_properties_dialog_construct):
777                 Changed calling convention of gl_merge_properties_dialog_new() to use
778                 glLabel and GtkWindow instead of view to make more consistent with other
779                 dialogs.
780         * src/print-dialog.h:
781         * src/print-dialog.c: (gl_print_dialog_new),
782         (gl_print_dialog_construct):
783                 Removed last artifact of libbonoboui.
784         * src/ui-commands.c: (gl_ui_cmd_file_print),
785         (gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
786                 Reconciled style for launching dialogs.
787         * src/ui.c: (gl_ui_new):
788                 Added context menus to ui manager.
789         * src/view-object.c: (item_event_arrow_mode):
790                 No longer try to select objects with right-click.
791         * src/window.h:
792         * src/window.c: (gl_window_init), (gl_window_set_label),
793         (context_menu_activate_cb):
794                 Context menus and all dialogs are now managed in a consistent way in window
795                 by the ui manager.
796
797 2005-05-11  Jim Evins  <evins@snaught.com>
798
799         * src/window.h:
800         * src/window.c: (gl_window_init), (gl_window_destroy):
801         * src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
802         * src/ui-commands.c: (gl_ui_cmd_file_open_recent):
803                 Moved management of recent_view back from window.c to ui.c -- it just feels
804                 better there.
805         
806 2005-05-10  Jim Evins  <evins@snaught.com>
807
808         * src/window.h:
809         * src/window.c: (gl_window_init):
810         * src/ui.h:
811         * src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
812         (menu_item_select_cb), (menu_item_deselect_cb):
813                 Added GtkStatusbar which displays menu tooltips.
814         
815 2005-05-09  Jim Evins  <evins@snaught.com>
816
817         Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
818         and toolbars.
819
820         * configure.in:
821         * glabels.spec.in:
822                 Removed dependencies on libbonoboui.
823         * data/Makefile.am:
824         * data/ui/Makefile.am:
825         * data/ui/glabels-ui.xml:
826                 Removed data/ui directory.
827         * data/glade/Makefile.am:
828         * data/property-bar.glade:
829                 Added glade description of property-bar for new libglade implementation
830                 of glUIPropertyBar.
831         * src/Makefile.am:
832         * src/commands.h:
833         * src/commands.c:
834         * src/tools.h:
835         * src/tools.c:
836         * src/ui-commands.h:
837         * src/ui-commands.c:
838                 Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
839                 since the distinction between "commands" and "tools" is no longer that clear.
840         * src/file.h:
841         * src/file.c:
842                 Modified to expect glWindow instead of GtkWindow.  gl_file_open_recent()
843                 no longer has knowledge of eggRecent*.
844         * src/glabels.c: (main):
845                 Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
846                 loop.
847         * src/object-editor.c: (gl_object_editor_init):
848                 Make sure notebook does not respond to a "show_all" on the parent.
849         * src/recent-files/Makefile.am:
850         * src/recent-files/*.[ch]
851                 Updated from latest version of libegg which now has a view based on
852                 GtkUIManager.  Removed unused bonobo and gtk views.
853         * src/ui-property-bar.h:
854         * src/ui-property-bar.c:
855                 New implementation based on libglade.
856         * src/ui-sidebar.h:
857         * src/ui-sidebar.c:
858                 Sidebar is now simply a GtkWidget and does not expect to be a part of
859                 a libbonoboui interface.
860         * src/ui-util.h:
861         * src/ui-util.c:
862         * src/ui.h:
863         * src/ui.c:
864                 Converted for use with GtkUIManager.
865         * src/window.h:
866         * src/window.c:
867                 Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
868                 to create menus and toolbars.
869
870 2005-04-25  Jim Evins  <evins@snaught.com>
871
872         * data/templates/misc-iso-templates.xml:
873                 Added Fellows 04715 template provided by Steve Saxon.
874         * AUTHORS:
875                 Updated acknowledgement for above.
876
877 2005-04-23  Jim Evins  <evins@snaught.com>
878
879         * src/util.c: (gl_util_combo_box_set_strings):
880                 Make sure to clear model before loading a new list of strings.
881         * src/wdgt-media-select.h:
882         * src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
883         (gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
884         (template_combo_changed_cb), (prefs_changed_cb),
885         (gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
886         (gl_wdgt_media_select_get_page_size),
887         (gl_wdgt_media_select_set_page_size):
888                 Replaced the deprecated GtkCombo widget with the new
889                 GtkComboBox.
890
891 2005-04-21  Jim Evins  <evins@snaught.com>
892
893         * data/glade/template-designer.glade:
894         * src/template-designer.c: (construct_pg_size_page),
895         (pg_size_page_changed_cb), (build_template):
896                 Replaced the deprecated GtkCombo widget with the new
897                 GtkComboBox.
898
899 2005-04-20  Jim Evins  <evins@snaught.com>
900
901         * data/glade/prefs-dialog.glade:
902         * src/prefs-dialog.c: (construct_object_page),
903         (update_object_page_from_prefs), (update_prefs_from_object_page):
904                 Replaced the deprecated GtkCombo widget with the new
905                 GtkComboBox.
906         
907 2005-04-19  Jim Evins  <evins@snaught.com>
908
909         * data/glade/object-editor.glade:
910         * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
911         (style_changed_cb), (gl_object_editor_set_bc_style),
912         (gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
913         (gl_object_editor_get_bc_color):
914         * src/object-editor-data-page.c:
915         (gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
916         (gl_object_editor_get_data):
917         * src/object-editor-edit-page.c:
918         (gl_object_editor_prepare_edit_page), (insert_button_cb):
919         * src/object-editor-fill-page.c:
920         (gl_object_editor_prepare_fill_page),
921         (gl_object_editor_set_fill_color),
922         (gl_object_editor_get_fill_color):
923         * src/object-editor-image-page.c:
924         (gl_object_editor_prepare_image_page),
925         (gl_object_editor_set_image), (gl_object_editor_get_image):
926         * src/object-editor-line-page.c:
927         (gl_object_editor_prepare_line_page),
928         (gl_object_editor_set_line_color),
929         (gl_object_editor_get_line_color):
930         * src/object-editor-private.h:
931         * src/object-editor-text-page.c:
932         (gl_object_editor_prepare_text_page),
933         (gl_object_editor_set_font_family),
934         (gl_object_editor_get_font_family),
935         (gl_object_editor_set_text_color),
936         (gl_object_editor_get_text_color):
937         * src/object-editor.c: (gl_object_editor_set_key_names):
938         * src/ui-sidebar.c:
939                 In the object editor: replaced all instances of the deprecated
940                 GtkCombo widget with the new GtkComboBox.
941
942 2005-04-18  Jim Evins  <evins@snaught.com>
943
944         * src/stock.c:
945                 Neglected to save this one in previous checkin to support
946                 header cleanup.
947         
948 2005-04-17  Jim Evins  <evins@snaught.com>
949
950         * libglabels/libglabels-private.h:
951         * libglabels/paper.c:
952         * libglabels/paper.h:
953         * libglabels/template.c:
954         * libglabels/template.h:
955         * libglabels/xml-paper.c:
956         * libglabels/xml-paper.h:
957         * libglabels/xml-template.c:
958         * libglabels/xml.c:
959         * libglabels/xml.h:
960         * src/base64.c:
961         * src/base64.h:
962         * src/bc-gnubarcode.c:
963         * src/bc-postnet.c:
964         * src/bc.c:
965         * src/bc.h:
966         * src/commands.c:
967         * src/debug.c:
968         * src/debug.h:
969         * src/file.c:
970         * src/file.h:
971         * src/hig.c:
972         * src/hig.h:
973         * src/label-barcode.c:
974         * src/label-box.c:
975         * src/label-ellipse.c:
976         * src/label-image.c:
977         * src/label-image.h:
978         * src/label-line.c:
979         * src/label-object.c:
980         * src/label-text.c:
981         * src/label-text.h:
982         * src/label.c:
983         * src/merge-properties-dialog.c:
984         * src/object-editor-bc-page.c:
985         * src/object-editor-data-page.c:
986         * src/object-editor-edit-page.c:
987         * src/object-editor-fill-page.c:
988         * src/object-editor-image-page.c:
989         * src/object-editor-line-page.c:
990         * src/object-editor-lsize-page.c:
991         * src/object-editor-position-page.c:
992         * src/object-editor-private.h:
993         * src/object-editor-size-page.c:
994         * src/object-editor-text-page.c:
995         * src/object-editor.c:
996         * src/object-editor.h:
997         * src/pixbuf-cache.h:
998         * src/prefs-dialog.c:
999         * src/prefs-dialog.h:
1000         * src/prefs-model.c:
1001         * src/prefs-model.h:
1002         * src/prefs.c:
1003         * src/print-dialog.c:
1004         * src/print-dialog.h:
1005         * src/print.c:
1006         * src/print.h:
1007         * src/recent.c:
1008         * src/recent.h:
1009         * src/splash.c:
1010         * src/splash.h:
1011         * src/stock.h:
1012         * src/template-designer.c:
1013         * src/template-designer.h:
1014         * src/text-node.h:
1015         * src/tools.c:
1016         * src/ui-property-bar.c: (gl_ui_property_bar_construct):
1017         * src/ui-sidebar.c:
1018         * src/ui-util.c:
1019         * src/ui.c:
1020         * src/util.c:
1021         * src/util.h:
1022         * src/view-barcode.c:
1023         * src/view-box.c:
1024         * src/view-ellipse.c:
1025         * src/view-highlight.c:
1026         * src/view-highlight.h:
1027         * src/view-image.c:
1028         * src/view-line.c:
1029         * src/view-object.c:
1030         * src/view-object.h:
1031         * src/view-text.c:
1032         * src/view.c:
1033         * src/view.h:
1034         * src/wdgt-chain-button.c:
1035         * src/wdgt-media-select.c:
1036         * src/wdgt-media-select.h:
1037         * src/wdgt-mini-preview.c:
1038         * src/wdgt-mini-preview.h:
1039         * src/wdgt-print-copies.c:
1040         * src/wdgt-print-copies.h:
1041         * src/wdgt-print-merge.c:
1042         * src/wdgt-print-merge.h:
1043         * src/wdgt-rotate-label.c:
1044         * src/wdgt-rotate-label.h:
1045         * src/window.c:
1046         * src/window.h:
1047         * src/xml-label-04.c:
1048         * src/xml-label-191.c:
1049         * src/xml-label.c:
1050                 Cleanup of header files:
1051                 - all header files are now stand-alone, verified by including
1052                   first in corresponding "c" files
1053                 - replaced blanket includes of gnome, gtk, and glib with
1054                   targetted includes
1055         
1056 2005-04-16  Jim Evins  <evins@snaught.com>
1057
1058         * data/glade/Makefile.am:
1059         * data/glade/merge-properties-dialog.glade:
1060                 Added merge properties dialog glade description file.
1061         * src/merge-properties-dialog.h:
1062         * src/merge-properties-dialog.c:
1063         (gl_merge_properties_dialog_get_type),
1064         (gl_merge_properties_dialog_init),
1065         (gl_merge_properties_dialog_finalize),
1066         (gl_merge_properties_dialog_new),
1067         (gl_merge_properties_dialog_construct), (type_changed_cb),
1068         (src_changed_cb), (response_cb), (load_tree),
1069         (record_select_toggled_cb), (select_all_button_clicked_cb),
1070         (unselect_all_button_clicked_cb):
1071                 Modified merge properties dialog to use libglade.  Added
1072                 "select all" and "unselect all" buttons.
1073         * src/merge-text.c: (parse_line):
1074                 Handle empty lines better.
1075         * src/merge.c: (gl_merge_eval_key):
1076                 Evaluate the key whether the record is selected or not.
1077         * src/util.h:
1078         * src/util.c: (gl_util_combo_box_add_text_model):
1079                 Since libglade does not use the gtk_combo_box_new_text()
1080                 constructor for GtkComboBoxes, a utility function was created
1081                 to add an appropriate text model to a GtkComboBox.
1082         * src/view.c: (gl_view_edit_merge_props):
1083                 Removed unnecessary "show all's".
1084
1085 2005-04-15  Jim Evins  <evins@snaught.com>
1086
1087         * po/ru.po:
1088                 Updated russian translation (Vitaly Lipatov)
1089         * data/templates/misc-iso-templates.xml:
1090                 Added templates for russian business cards provided by Vitaly Lipatov.
1091         * AUTHORS:
1092                 Updated acknowledgements for above.
1093
1094 2005-04-15  Jim Evins  <evins@snaught.com>
1095
1096         * data/templates/avery-us-templates.xml:
1097                 Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
1098         * data/templates/misc-iso-templates.xml:
1099                 Added Ryman standard CD/DVD template, provided by Dan Clark.
1100         * AUTHORS:
1101                 Added acknowledgements for above.
1102         
1103 2005-04-10  Jim Evins <evins@snaught.com>
1104
1105         * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
1106         * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
1107         (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
1108         (xml_parse_label_cd_node), (xml_parse_alias_node):
1109         * libglabels/xml.c: (gl_xml_get_prop_double),
1110         (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
1111         (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
1112         * src/xml-label-04.c: (xml04_parse_media_description),
1113         (xml04_parse_text_props), (xml04_parse_barcode_props),
1114         (xml04_parse_merge_properties):
1115         * src/xml-label-191.c: (xml191_parse_object),
1116         (xml191_parse_text_props), (xml191_parse_barcode_props),
1117         (xml191_parse_merge_fields), (xml191_parse_pixdata),
1118         (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
1119         (xml191_parse_alias):
1120         * src/xml-label.c: (xml_parse_object_text),
1121         (xml_parse_object_barcode), (xml_parse_merge_fields),
1122         (xml_parse_pixdata), (xml_parse_toplevel_span):
1123                 Make sure to use xmlFree for anything obtained from libxml
1124                 in case libxml and glib use different memory management
1125                 space.
1126
1127 2005-04-08  Jim Evins <evins@snaught.com>
1128
1129         * src/util.h:
1130         * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
1131         (gl_util_combo_box_set_active_text):
1132                 Added utility functions to simplify working with GtkComboBox
1133                 widgets in GTK-2.6.
1134         * src/ui-property-bar.h:
1135         * src/ui-property-bar.c: (gl_ui_property_bar_construct),
1136         (reset_to_default_properties), (update_text_properties),
1137         (font_family_changed_cb):
1138                 Replaced deprecated GtkCombo with GtkComboBox.
1139         
1140         
1141 2005-04-03  Jim Evins <evins@snaught.com>
1142
1143         * src/Makefile.am:
1144         * src/wdgt-image-select.h:
1145         * src/wdgt-image-select.c:
1146                 Removed obsolete wdgt-image-select.[ch] files.
1147         * libglabels/paper.c: (gl_paper_dup):
1148                 Fixed rename of parameter introduced during documentation
1149                 updates.
1150         * data/glade/object-editor.glade:
1151         * src/object-editor-image-page.c:
1152         (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
1153         (gl_object_editor_set_image), (gl_object_editor_get_image),
1154         (update_preview_cb), (add_image_filters_to_chooser):
1155         * src/object-editor-private.h:
1156                 Replaced deprecated GnomePixmapEntry with
1157                 GtkFileChooserButton.
1158
1159 2005-04-02  Jim Evins <evins@snaught.com>
1160
1161         * src/mygal/mygal-combo-box.c: (deactivate_arrow),
1162         (mygal_combo_box_popup_hide_unconditional),
1163         (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
1164         (mygal_combo_toggle_pressed), (mygal_combo_box_init),
1165         (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
1166         (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
1167         (cb_tearable_button_release), (mygal_combo_box_set_tearable):
1168                 Renamed all internal gtk_combo functions to mygal_combo
1169                 to prevent namespace confusion.
1170
1171 2005-04-02  Jim Evins <evins@snaught.com>
1172
1173         * src/mygal/color-palette.c: (color_palette_change_custom_color),
1174         (cust_color_set), (color_palette_setup):
1175         * src/mygal/color-palette.h:
1176                 Replaced deprecated GnomeColorPicker with GtkColorButton.
1177
1178 2005-04-02  Jim Evins <evins@snaught.com>
1179
1180         * docs/libglabels/libglabels-sections.txt:
1181         * docs/libglabels/libglabels-undocumented.txt:
1182         * docs/libglabels/tmpl/enums.sgml:
1183         * docs/libglabels/tmpl/paper.sgml:
1184         * docs/libglabels/tmpl/xml-paper.sgml:
1185         * docs/libglabels/tmpl/xml-template.sgml:
1186         * libglabels/enums.h:
1187         * libglabels/paper.c: (gl_paper_dup):
1188         * libglabels/paper.h:
1189         * libglabels/xml-paper.c:
1190         * libglabels/xml-template.c:
1191                 More documentation updates for libglabels.
1192         
1193 2005-03-23  Jim Evins  <evins@snaught.com>
1194
1195         * INSTALL:
1196                 Automatically updated.
1197         * Makefile.am:
1198         * autogen.sh:
1199         * configure.in:
1200         * docs/Makefile.am:
1201         * docs/libglabels/Makefile.am:
1202         * docs/libglabels/libglabels-docs.sgml:
1203         * docs/libglabels/libglabels-sections.txt:
1204         * docs/libglabels/libglabels-undocumented.txt:
1205         * docs/libglabels/tmpl/enums.sgml:
1206         * docs/libglabels/tmpl/libglabels-unused.sgml:
1207         * docs/libglabels/tmpl/libglabels.sgml:
1208         * docs/libglabels/tmpl/paper.sgml:
1209         * docs/libglabels/tmpl/template.sgml:
1210         * docs/libglabels/tmpl/xml-paper.sgml:
1211         * docs/libglabels/tmpl/xml-template.sgml:
1212         * docs/libglabels/tmpl/xml.sgml:
1213                 Added basic gtk-doc stuff to support documenting libglabels
1214                 API.
1215         * libglabels/xml.c:
1216                 Updated function comments with gtk-doc markup.
1217         * missing:
1218                 Removed.
1219
1220 2005-03-22  Jim Evins  <evins@snaught.com>
1221
1222         Since the development version now requires gtk-2.6/gnome-2.10, I
1223         have made a first pass at removing deprecations.
1224
1225         * configure.in:
1226         * libglabels/Makefile.am:
1227         * src/Makefile.am:
1228                 Added configure option to turn on X_DISABLE_DEPRECATED flags.
1229                 Also removed all remnants of HAVE_FILECHOOSER.
1230         * src/file.c: (gl_file_open_real):
1231                 Removed code for old GtkFileSelection.
1232         * libglabels/libglabels-private.h:
1233         * libglabels/paper.c:
1234         * libglabels/template.c:
1235         * libglabels/xml-paper.c:
1236         * libglabels/xml-template.c:
1237         * libglabels/xml.c:
1238         * src/bc.c:
1239         * src/file.c:
1240         * src/glabels-batch.c:
1241         * src/glabels.c:
1242         * src/label.c:
1243         * src/merge-init.c:
1244         * src/merge-properties-dialog.c:
1245         * src/merge.c:
1246         * src/object-editor.c:
1247         * src/prefs-dialog.c:
1248         * src/prefs.c:
1249         * src/print-dialog.c:
1250         * src/print.c:
1251         * src/stock.c:
1252         * src/template-designer.c:
1253         * src/ui-property-bar.c:
1254         * src/ui-sidebar.c:
1255         * src/view-barcode.c:
1256         * src/view-box.c:
1257         * src/view-ellipse.c:
1258         * src/view-image.c:
1259         * src/view-line.c:
1260         * src/view-text.c:
1261         * src/view.c:
1262         * src/wdgt-image-select.c:
1263         * src/wdgt-media-select.c:
1264         * src/wdgt-print-copies.c:
1265         * src/wdgt-print-merge.c:
1266         * src/wdgt-rotate-label.c:
1267         * src/window.c:
1268         * src/xml-label-04.c:
1269         * src/xml-label-191.c:
1270         * src/xml-label.c:
1271                 Added '#include <glib/gi18n.h>" where needed.
1272                 Removed any unused '#include <gnome.h>"s.
1273
1274 2005-03-22  Jim Evins  <evins@snaught.com>
1275
1276         * src/commands.c: (activate_url), (gl_cmd_help_about):
1277                 Replaced GnomeAbout with GtkAboutDialog.  Therefore the
1278                 development version of glabels now depends on GTK 2.6 and
1279                 GNOME 2.10.
1280         * configure.in:
1281                 Updated library dependencies.
1282
1283 2005-02-28  Jim Evins  <evins@snaught.com>
1284
1285         * AUTHORS:
1286         * data/templates/misc-iso-templates.xml:
1287                 Added 'Ednet 45021' template provided by Ali Akcaagac
1288                 <aliakc@web.de>.
1289
1290 2005-02-14  Jim Evins  <evins@snaught.com>
1291
1292         * data/templates/avery-us-templates.xml:
1293                 Updated templates to use inches instead of points.
1294         * src/print-dialog.c: (printer_page_new):
1295                 Changed packing style when adding printer selector widget.  This fixes
1296                 debian Bug#295274.
1297
1298 2005-02-13  Jim Evins  <evins@snaught.com>
1299
1300         * AUTHORS:
1301         * po/es.po:
1302                 Updated spanish translations. (sergio rivadero)
1303
1304 2005-02-05  Jim Evins  <evins@snaught.com>
1305
1306         Some cleanup to libglabels.
1307         
1308         * configure.in:
1309                 Updated version to 2.1.1cvs.  Added generation of libglabels.pc.
1310         * libglabels/libglabels.pc.in
1311                 Created.
1312         * libglabels/enums.h
1313                 Created.  Currently only contains glUnitsType which provides enumerations
1314                 for all possible units of distance.
1315         * libglabels/Makefile.am:
1316                 Incorporated new files enums.h and libglabels.pc[.in].
1317         * libglabels/libglabels.h:
1318                 Include enums.h.
1319         * libglabels/template.h:
1320         * libglabels/template.c: (gl_template_layout_new):
1321                 Changed parameters nx and ny to gint from gdouble.
1322         * libglabels/xml.h:
1323         * libglabels/xml.c: (gl_xml_get_prop_length),
1324         (gl_xml_set_prop_length), (gl_xml_set_default_units):
1325                 Added support for different output units.
1326         * src/prefs-dialog.c: (update_locale_page_from_prefs),
1327         (update_prefs_from_locale_page):
1328         * src/prefs-model.c: (string_to_units), (units_to_string):
1329         * src/prefs-model.h:
1330         * src/prefs.c: (gl_prefs_get_units_per_point),
1331         (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
1332         (gl_prefs_get_units_string):
1333         * src/prefs.h:
1334         * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
1335                 Reconciled all length enumerations with the new enumerations provided
1336                 in libglabels/enums.h.
1337
1338 2005-02-03  Jim Evins  <evins@snaught.com>
1339
1340         * po/cs.po:
1341                 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
1342         * po/it.po:
1343                 Updated Italian translations. (Daniele Medri)
1344         * AUTHORS:
1345                 Updated credits to reflect above translations.
1346
1347
1348 2005-01-22  Jim Evins  <evins@snaught.com>
1349
1350         * MESSAGE-OF-DOOM:
1351                 Added.
1352         * Makefile.am:
1353                 Added MESSAGE-OF-DOOM to EXTRA_DIST.
1354         * NEWS:
1355                 Final prep for 2.1.0.
1356         * configure.in:
1357                 Set version to 2.1.0.  Output MESSAGE-OF-DOOM.
1358         * glabels.spec.in:
1359                 Added '--remove-original' flag to desktop-file-install, so that there is
1360                 only one menu entry.
1361         
1362 2005-01-20  Jim Evins  <evins@snaught.com>
1363
1364         * data/glade/object-editor.glade:
1365                 - Font family entry should not be editable.
1366                 - img_key_entry should have sensitivity=YES, so that it follows the
1367                   sensitivity of img_key_combo.
1368         
1369 2005-01-19  Jim Evins  <evins@snaught.com>
1370
1371         * AUTHORS:
1372                 Give credit to Frederic Ruaudel for the color merge patches.
1373
1374 2005-01-18  Frederic Ruaudel  <grumz@users.sf.net>
1375  
1376         Add support to merge color for all other color attribute (Feature 
1377         Requests item #1008635. If the data is invalid, the color used is transparent 
1378         (GL_COLOR_NONE). The format     for color in merge data file are those accepted 
1379         by gdk_color_parse() these include name for a color from rgb.txt, such as 
1380         DarkSlateGray, or a hex specification such as #305050. File format has been 
1381         changed but backward compatibility is preserved for all format. For
1382         box/ellipse/line, keep attribute "line_color" for static color or replace by
1383         "line_color_field" for merge data. For text/barcode objects, keep attribute
1384         "color" for static color or replace by "color_field" for merge data. In the
1385         edit canvas window, merged color are represented by half-transparent black
1386         line/area.
1387  
1388         * data/dtd/glabels-2.0.dtd:
1389                 Added line_color_field to line_attrs. Added color_field to 
1390                 Object-barcode and Span.
1391         * data/glade/object-editor.glade:
1392                 Modify the layout of the editor to add merge possibility to color options
1393         * src/color.c:
1394                 Fix a copy/paste error in a comment
1395         * src/color.h:
1396                 Add default color for merge color representation in the editor canvas.
1397         * src/label-barcode.c:
1398         * src/object-editor-bc-page.c:
1399         * src/view-barcode.c:
1400                 Add merge color support for barcode color.
1401         * src/label-box.c:
1402         * src/view-box.c:
1403                 Add merge color support for box border color.
1404         * src/label-ellipse.c:
1405         * src/view-ellipse.c:
1406                 Add merge color support for ellipse border color.
1407         * src/label-line.c:
1408         * src/view-line.c:
1409                 Add merge color support for line color.
1410         * src/label-object.c:
1411         * src/label-object.h:
1412         * src/object-editor.c:
1413         * src/object-editor.h:
1414         * src/ui-property-bar.c:
1415         * src/view.c:
1416         * src/view.h:
1417         * src/xml-label-04.c:
1418         * src/xml-label-191.c:
1419                 Add support for merging to other color attribute.
1420         * src/label-text.c:
1421         * src/object-editor-text-page.c:
1422         * src/view-text.c:
1423                 Add merge color support for text color.
1424         * src/object-editor-fill-page.c:
1425                 Change a blocked handler that didn't match the good widget. Fix the type
1426                 of some debug message.
1427         * src/object-editor-line-page.c:
1428                 Add merging support to line color option.
1429         * src/object-editor-private.h:
1430                 Add variables for new widget.
1431         * src/print.c:
1432                 Modify the draw functions to get merge data if needed.
1433         * src/window.c:
1434                 Change the default size of the window in order to see all widget in the
1435                 "text style tab" of the editor.
1436         * src/xml-label.c:
1437                 Modify the parser to record/retreive the field value for objects that need
1438                 "color" attribute. For box/ellipse/line, keep attribute "line_color" for 
1439                 static color or replace by "line_color_field" for merge data. For 
1440                 text/barcode objects, keep attribute "color" for static color or replace 
1441                 by "color_field" for merge data.
1442         
1443 2005-01-17  Jim Evins  <evins@snaught.com>
1444
1445         * src/view.c: (screen_changed_cb):
1446                 Don't do anything if we don't have a screen.
1447
1448 2005-01-06  Jim Evins  <evins@snaught.com>
1449
1450         * src/view.c: (get_home_scale):
1451                 Fixed bad call to gtk_widget_has_screen() -- huh?.
1452
1453 2005-01-06  Jim Evins  <evins@snaught.com>
1454
1455         * data/dtd/glabels-2.0.dtd:
1456                 Added fill_color_field to fill_attrs.  Also added xmlns attribute to all
1457                 top-level elements.
1458
1459 2005-01-06  Jim Evins  <evins@snaught.com>
1460
1461         * data/glade/object-editor.glade:
1462                 Set entries for fill and data field key dropdowns to NOT editable.
1463         * src/view-box.c: (construct_properties_editor):
1464         * src/view-ellipse.c: (construct_properties_editor):
1465                 Update object editor when label's merge property has changed.
1466         * src/xml-label.c: (xml_parse_object_ellipse):
1467                 Completed the merge color support for the ellipse item.
1468
1469 2005-01-06  Frederic Ruaudel  <grumz@users.sf.net>
1470
1471         Add support to merge color for object that have a "Fill color" attribute (Feature 
1472         Requests item #1008635. If the data is invalid, the color used is transparent 
1473         (GL_COLOR_NONE). The format     for color in merge data file are those accepted 
1474         by gdk_color_parse() these include name for a color from rgb.txt, such as 
1475         DarkSlateGray, or a hex specification such as #305050. File format has been 
1476         changed but backward compatibility is preserved for all format. For box/ellipse, 
1477         keep attribute "fill_color" for static  color or replace by "fill_color_field" 
1478         for merge data.
1479
1480         * data/glade/object-editor.glade:
1481                 Modify "Fill" tab to add the merge key combo and convert the labels into 
1482                 radio button.
1483         * src/color.h:
1484         * src/color.c:
1485                 Add "glColorNode" structure and associated functions to manage it. This 
1486                 structure is equivalent for color than the "glTextNode". It holds the color
1487                 and the key field.
1488         * src/label-object.h:
1489         * src/label-object.c:
1490         * src/label-box.c:
1491         * src/label-ellipse.c:
1492         * src/ui-property-bar.c:
1493         * src/view.h:
1494         * src/view.c:
1495         * src/view-box.c:
1496         * src/view-ellipse.c:
1497         * src/xml-label-04.c:
1498         * src/xml-label-191.c:
1499                 Change functions of objects that have a "fill color" attribute to use the 
1500                 new "glColorNode" structure. Use barcode code as example.
1501         * src/Makefile.am:
1502                 Add the color.[ch] file to glabels_batch binary that now need support for 
1503                 "glColorNode".
1504         * src/object-editor.h:
1505         * src/object-editor.c:
1506         * src/object-editor-fill-page.c:
1507                 Manage the new widget of the editor's "Fill" tab : key combo and radio button
1508                 to choose between static color or merge key. Use barcode code as example.
1509         * src/object-editor-private.h:
1510                 Add new widget in the "_glObjectEditorPrivate" structure.
1511         * src/print.c:
1512                 Modify the draw functions to get merge data if needed.
1513         * src/xml-label.c:
1514                 Modify the parser to record/retreive the field value for objects that need
1515                 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
1516                 color or "fill_color_field" for merge data.             
1517         
1518 2005-01-04  Jim Evins  <evins@snaught.com>
1519
1520         * AUTHORS:
1521         * data/templates/avery-iso-templates.xml:
1522         * data/templates/misc-iso-templates.xml:
1523         * data/templates/misc-us-templates.xml:
1524                 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
1525                 Nick Hill.
1526
1527 2004-11-26  Jim Evins  <evins@snaught.com>
1528
1529         * AUTHORS:
1530         * po/fr.po:
1531                 Updated french translations provided by Florent Morel <florent@taket.org>.
1532         * src/view-barcode.c:
1533         * src/view-box.c:
1534         * src/view-ellipse.c:
1535         * src/view-image.c:
1536         * src/view-line.c:
1537         * src/view-text.c:
1538                 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
1539                 thus _() strings were not being translated.
1540
1541 2004-11-14  Jim Evins  <evins@snaught.com>
1542
1543         * src/debug.h:
1544         * src/debug.c: (gl_debug_init), (gl_debug):
1545                 Borrowed from gedit:  use environmental variables to select debug
1546                 sections.
1547         * src/splash.c:
1548                 Removed unused include of debug.h.
1549         * src/glabels.c: (main):
1550                 Added call to gl_debug_init(), and removed debug clutter from command line
1551                 options.
1552         * src/glabels-batch.c: (main):
1553                 Added call to gl_debug_init().
1554
1555 2004-11-13  Jim Evins  <evins@snaught.com>
1556
1557         Drawing and property toolbars were being initialized with the "icons and text"
1558         look in Fedora Core 3.  Even though none of the buttons had any text attached to
1559         them, the buttons were being sized as if they were.  This led to less real estate
1560         for the property editor, leading to Bug #1064630.  The
1561         
1562         * data/ui/glabels-ui.xml:
1563                 Added explicit "look" property to both drawing and property toolbars.
1564         * src/prefs-model.c: (gl_prefs_model_save_settings),
1565         (gl_prefs_model_load_settings):
1566         * src/prefs-model.h:
1567                 Removed drawing_toolbar_button_style configuration parameter.
1568         * src/ui.c: (view_menu_item_toggled_cb),
1569         (set_app_drawing_toolbar_style):
1570                 Do not attempt to adjust look property of the drawing toolbar.
1571
1572 2004-10-28  Jim Evins  <evins@snaught.com>
1573
1574         * data/pixmaps/glabels-about-logo.png:
1575                 Updated about logo.
1576         
1577 2004-10-28  Jim Evins  <evins@snaught.com>
1578
1579         * data/man/glabels.1:
1580         * src/glabels-batch.c: (main):
1581         * src/print.h:
1582         * src/print.c: (gl_print_batch):
1583
1584                 Added option to glabels-batch to select the first label to begin
1585                 printing on.
1586
1587 2004-09-26  Jim Evins  <evins@snaught.com>
1588
1589         * data/desktop/glabels.desktop.in:
1590                 Point to app icon, "glabels.png"
1591         * data/mime/glabels.keys.in:
1592                 Point at mime icon, "glabels-application-x-glabels.png"
1593         * data/pixmaps/Makefile.am:
1594                 Added glabels_app_icondir.  Renamed icons.
1595         * data/pixmaps/glabels.png:
1596                 New cleaned up app icon.  Deleted glabels-icon.png.
1597         * data/pixmaps/glabels-application-x-glabels.png:
1598                 New mime icon.
1599         * data/pixmaps/glabels-splash.png:
1600                 Renamed glabels-logo to glabels-splash to be more correct about role.
1601         * src/glabels.c:
1602         * src/template-designer.c:
1603                 Point at app icon, "glabels.png"
1604         * src/splash.c:
1605                 Point at renamed splash image, "glabels-splash.png"
1606
1607 2004-08-22  Jim Evins  <evins@snaught.com>
1608
1609         * AUTHORS:
1610         * src/glabels-batch.c: (main):
1611                 Applied patch with minor mods to allow selecting merge source and
1612                 crop-marks on glabels-batch's command line.  Original patch provided by
1613                 José Dapena Paz <jdapena@igalia.com>.
1614         
1615 2004-08-15  Jim Evins  <evins@snaught.com>
1616
1617         * data/desktop/glabels.desktop.in:
1618                 - Added encoding line
1619                 - Removed period from comment
1620                 - Fixed Terminal line, changed "0" to "false"
1621                 - Added semicolen to Categories line
1622         * po/ja.po:
1623                 - Made sure desktop.in comment string above still translated properly
1624
1625 2004-08-14  Jim Evins  <evins@snaught.com>
1626
1627         * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
1628         * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
1629         * src/xml-label-191.c: (xml191_parse_sheet):
1630                 Fixed improper freeing of gettext strings.  Merged from 2.0.1.
1631         * configure.in:
1632                 Reconciled libglabels versioning with 2.0.1.
1633         
1634
1635 2004-08-14  Jim Evins  <evins@snaught.com>
1636
1637         * configure.in:
1638                 Updated version to 2.1cvs.
1639         
1640 2004-08-14  Jim Evins  <evins@snaught.com>
1641
1642         * po/ja.po:
1643                 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
1644
1645 2004-08-14  Jim Evins  <evins@snaught.com>
1646
1647         Fixes for Bug #1008181.
1648
1649         * src/bc.c: (gl_barcode_default_digits):
1650                 Make a format of zero digits, harmless.
1651         * src/xml-label.c: (xml_parse_object_barcode):
1652                 Set default value of the format property of barcode objects to 10, not
1653                 zero.  This will prevent crashes when reading pre 2.0.x files.
1654
1655 2004-08-09  Jim Evins  <evins@snaught.com>
1656
1657         * NEWS:
1658         * TODO:
1659         * help/C/glabels-C.omf:
1660         * help/C/glabels.xml:
1661                 Brought documentation up-to-date for 2.0.0 release.
1662         
1663 2004-08-09  Jim Evins  <evins@snaught.com>
1664
1665         These are hopefully the final preparations for 2.0.0.
1666
1667         * data/mime/Makefile.am:
1668                 Include glabels.xml in EXTRA_DIST.
1669         * configure.in:
1670                 - Updated comment style.
1671                 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
1672                 - Added package and version info to configuration printout
1673                 - Update version to 2.0.0
1674         * libglabels/Makefile.am:
1675                 Use the new LIBGLABELS_VERSION_INFO macro.
1676
1677 2004-08-09  Jim Evins  <evins@snaught.com>
1678
1679         * configure.in:
1680         * glabels.spec.in:
1681                 Cleanup of required library macros.
1682
1683 2004-08-08  Jim Evins  <evins@snaught.com>
1684
1685         * glabels.spec.in:
1686                 - Updated URL
1687                 - More specific of what to install in /usr/bin and /usr/lib
1688                 - Remove built mime registration files from staging directory
1689
1690 2004-08-08  Jim Evins  <evins@snaught.com>
1691
1692         * data/mime/Makefile.am:
1693                 Fixed typo:  key_files should have been keys_files.
1694
1695 2004-08-08  Jim Evins  <evins@snaught.com>
1696
1697         Reorganization of runtime data files.  Also added registration of mimetype with
1698         new freedesktop.org mime database if available.
1699         
1700         * data/*
1701                 Moved files to appropriate subdirectories, creating local Makefile.am
1702                 in each subdirectory.
1703                 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
1704                   These are now installed at $datadir/glabels/templates.
1705                 - Moved glabels.1 to man subdirectory.
1706                 - Moved glabels-2.0.dtd to dtd subdirectory.
1707                 - Moved glabels.desktop.in to desktop subdirectory.
1708                 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
1709         * data/pixmaps/*
1710                 Moved "./pixmaps" to "./data/pixmaps"
1711         * data/ui/*
1712                 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
1713         * data/glade/*
1714                 Moved libglade files from src to data/glade. Created Makefile.am.
1715         * Makefile.am:
1716                 Removed pixmaps from SUBDIRS.
1717         * configure.in:
1718                 - Removed pixmaps from makefiles.
1719                 - Added makefiles for new subdirs of data.
1720                 - Added tests for freedesktop.org mime database.
1721         * glabels.spec.in:
1722                 - Added tests for freedesktop.org mime database for post install and
1723                   post un-install actions.
1724         * libglabels/Makefile.am:
1725                 Moved system template files to $(datadir)/glabels/templates.
1726         * libglabels/libglabels-private.h:
1727                 Moved system template files to $(datadir)/glabels/templates.
1728         * po/POTFILES.in:
1729                 - Accounted for movement of ui and libglade files.
1730                 - Added missing .in files.
1731                 - Reorganized by directory.
1732         * src/Makefile.am:
1733                 Accounted for movement of ui and libglade files.
1734         * data/mime/glabels.xml.in:
1735                 New file for registering with freedesktop.org mime database.
1736
1737 2004-08-07  Jim Evins  <evins@snaught.com>
1738
1739         * src/recent-files/*:
1740                 Re-synced to latest libegg/recent-files.
1741         
1742 2004-08-07  Jim Evins  <evins@snaught.com>
1743
1744         * Makefile.am:
1745         * configure.in:
1746         * help/*
1747                 Renamed "./doc" directory to "./help" which contains user documentation,
1748                 to be more consistent with other GNOME applications.
1749         
1750
1751 2004-07-26  Jim Evins  <evins@snaught.com>
1752
1753         * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
1754                 Corrected button order of merge properties dialog.
1755
1756 2004-07-18  Jim Evins  <evins@snaught.com>
1757
1758         * data/glabels-2.0.dtd:
1759         * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
1760         (gl_barcode_get_prefered_n):
1761         * src/bc.h:
1762         * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
1763         (gl_label_barcode_get_props), (get_size):
1764         * src/label-barcode.h:
1765         * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
1766         (style_changed_cb), (gl_object_editor_set_bc_style),
1767         (gl_object_editor_get_bc_style):
1768         * src/object-editor-data-page.c: (data_radio_toggled_cb),
1769         (gl_object_editor_set_data), (gl_object_editor_get_data):
1770         * src/object-editor-private.h:
1771         * src/object-editor.c: (gl_object_editor_set_key_names):
1772         * src/object-editor.glade:
1773         * src/object-editor.h:
1774         * src/print.c: (draw_barcode_object):
1775         * src/view-barcode.c: (update_object_from_editor_cb),
1776         (update_editor_from_object_cb),
1777         (gl_view_barcode_create_event_handler), (draw_barcode):
1778         * src/xml-label-04.c: (xml04_parse_barcode_props):
1779         * src/xml-label-191.c: (xml191_parse_barcode_props):
1780         * src/xml-label.c: (xml_parse_object_barcode),
1781         (xml_create_object_barcode):
1782                 Added "format" attribute to barcode objects.  This attribute is used
1783                 to properly format freeform barcodes barcodes prior to merge data is
1784                 applied, so that barcodes can be accurately layed out.  This addresses
1785                 remaining issues of feature request #824787.  Also added an example of
1786                 the format in the object editor.
1787
1788 2004-07-12  Jim Evins  <evins@snaught.com>
1789
1790         Various code cleanups.
1791
1792         * src/label-barcode.c:
1793                 Removed unneeded include of gnome-glyphlist.h.
1794         
1795         * src/label-text.c: (get_size):
1796                 Fixed memory leak: unref glyphlists when done with them.
1797         
1798         * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
1799         * src/object-editor-data-page.c:
1800         (gl_object_editor_prepare_data_page):
1801         * src/object-editor-image-page.c:
1802         (gl_object_editor_prepare_image_page):
1803         * src/object-editor-line-page.c:
1804         (gl_object_editor_prepare_line_page):
1805         * src/object-editor-lsize-page.c:
1806         (gl_object_editor_prepare_lsize_page):
1807         * src/object-editor-position-page.c:
1808         (gl_object_editor_prepare_position_page):
1809         * src/object-editor-size-page.c:
1810         (gl_object_editor_prepare_size_page):
1811         * src/object-editor-text-page.c:
1812         (gl_object_editor_prepare_text_page):
1813                 Removed unneeded size groups, originally intended to keep widgets aligned.
1814                 Now use tables to lay these out in object-editor.glade.
1815         
1816         * src/print.c: (draw_text_object):
1817                 Fixed memory leak: unref glyphlists when done with them.
1818
1819         * src/view-barcode.c: (draw_barcode):
1820                 Fixed memory leak: unref glyphlists when done with them.
1821
1822         * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
1823                 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
1824                   return value.
1825                 - Fixed memory leak: unref glyphlists when done with them.
1826
1827 2004-07-11  Jim Evins  <evins@snaught.com>
1828
1829         * data/glabels-2.0.dtd:
1830         * src/label-text.c: (gl_label_text_instance_init), (copy),
1831         (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
1832         * src/label-text.h:
1833         * src/object-editor-private.h:
1834         * src/object-editor-text-page.c:
1835         (gl_object_editor_prepare_text_page),
1836         (gl_object_editor_set_text_auto_shrink),
1837         (gl_object_editor_get_text_auto_shrink):
1838         * src/object-editor.c: (gl_object_editor_set_key_names):
1839         * src/object-editor.glade:
1840         * src/object-editor.h:
1841         * src/print.c: (draw_text_object):
1842         * src/view-text.c: (update_object_from_editor_cb),
1843         (update_editor_from_object_cb):
1844         * src/xml-label.c: (xml_parse_object_text),
1845         (xml_create_object_text):
1846                 Added option to allow document merge to auto shrink text size to fit
1847                 within the text box.  The code in print.c that actually shrinks the
1848                 text is loosely based on a patch submitted by Mark Harrison
1849                 <mark.harrison@velocitynet.com.au>.  This addresses feature request
1850                 #661421.
1851         
1852 2004-07-11  Jim Evins  <evins@snaught.com>
1853
1854         * data/glabels-2.0.dtd:
1855         * libglabels/template.c: (gl_template_rect_label_type_new),
1856         (gl_template_round_label_type_new),
1857         (gl_template_cd_label_type_new), (gl_template_label_type_dup),
1858         (template_full_page):
1859         * libglabels/template.h:
1860         * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
1861         (xml_create_label_node):
1862         * pixmaps/ex-rect-size.png:
1863         * src/print.c: (clip_to_outline), (clip_punchouts):
1864         * src/template-designer.c: (construct_rect_size_page),
1865         (rect_size_page_prepare_cb), (layout_page_prepare_cb),
1866         (build_template):
1867         * src/template-designer.glade:
1868         * src/xml-label-191.c: (xml191_parse_label):
1869                 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
1870                 properties for rectangular labels.  Templates remain backwards compatible,
1871                 but this breaks the libglabels API (I don't know of anyone outside of
1872                 glabels using libglabels at this time -- what can I say, the program is
1873                 is still "unstable").  This addresses the suggestion in Feature Request
1874                 #976313.
1875
1876 2004-07-05  Jim Evins  <evins@snaught.com>
1877         * src/print.c: (print_crop_marks), (draw_outline):
1878                 Changed crop marks and label outlines to black, instead of 25% gray.
1879                 This addresses debian Bug #257460.
1880
1881 2004-07-05  Jim Evins  <evins@snaught.com>
1882
1883         * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
1884         * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
1885                 Preserve "is_default" of fill and line color_combos when creating from
1886                 existing objects.
1887
1888 2004-07-02  Jim Evins  <evins@snaught.com>
1889
1890         * data/glabels.1:
1891                 Created man page.  Based on page submitted by Matthew J. Lockner, however
1892                 it has been severely edited.
1893         
1894         * data/avery-other-templates.xml
1895         * data/misc-other-templates.xml:
1896                 Started new files for predefined templates with non-standard sheet sizes.
1897                 These have been initially populated with the Avery 06141 and
1898                 OfficeMax #86112, both provided by Matthew J. Lockner.
1899         
1900         * data/Makefile.am:
1901                 Install above manpage and template files.
1902         
1903         * glabels.spec.in:
1904                 Make sure we install man pages.
1905         
1906         * src/glabels-batch.c:
1907                 Changed short form of help option to '-?' to be consistent with glabels.
1908         
1909         * AUTHORS:
1910                 Added acknowledgement for above labels.
1911
1912 2004-07-02  Jim Evins  <evins@snaught.com>
1913
1914         * src/glabels.c: (main), (save_session_cb):
1915                 - Now include libbonoboui.h, recent.h, and file.h to provide missing
1916                   prototypes.
1917                 - save_session_cb() now returns gboolean.
1918                 - Minor formatting changes.
1919
1920         * src/window.h:
1921         * src/window.c:
1922                 - Now include file.h to provide missing prototype.
1923                 - gl_window_get_type() now returns GType, not guint.  I believe this may
1924                   ultimately be cause of the segfault reported in Bug #982287, since
1925                   GType is actually a gulong, which may not be compatible on other
1926                   architectures (64bit) -- I cannot personally test this at this time.
1927                   I was sloppy in several other xxx_get_type() functions which also
1928                   returned guint -- see next group of files:
1929         
1930         * src/window.c: (gl_window_get_type):
1931         * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
1932         * src/canvas-hacktext.h:
1933         * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
1934         (gl_hig_category_get_type), (gl_hig_vbox_get_type),
1935         (gl_hig_hbox_get_type):
1936         * src/hig.h:
1937         * src/label-barcode.c: (gl_label_barcode_get_type):
1938         * src/label-barcode.h:
1939         * src/label-box.c: (gl_label_box_get_type):
1940         * src/label-box.h:
1941         * src/label-ellipse.c: (gl_label_ellipse_get_type):
1942         * src/label-ellipse.h:
1943         * src/label-image.c: (gl_label_image_get_type):
1944         * src/label-image.h:
1945         * src/label-line.c: (gl_label_line_get_type):
1946         * src/label-line.h:
1947         * src/label-object.c: (gl_label_object_get_type):
1948         * src/label-object.h:
1949         * src/label-text.c: (gl_label_text_get_type):
1950         * src/label-text.h:
1951         * src/label.c: (gl_label_get_type):
1952         * src/label.h:
1953         * src/merge-properties-dialog.c:
1954         (gl_merge_properties_dialog_get_type):
1955         * src/merge-properties-dialog.h:
1956         * src/merge-text.c: (gl_merge_text_get_type):
1957         * src/merge-text.h:
1958         * src/merge.c: (gl_merge_get_type):
1959         * src/merge.h:
1960         * src/object-editor.c: (gl_object_editor_get_type):
1961         * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
1962         * src/prefs-dialog.h:
1963         * src/prefs-model.c: (gl_prefs_model_get_type):
1964         * src/prefs-model.h:
1965         * src/print-dialog.c: (gl_print_dialog_get_type):
1966         * src/print-dialog.h:
1967         * src/template-designer.c: (gl_template_designer_get_type):
1968         * src/template-designer.h:
1969         * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
1970         * src/ui-property-bar.h:
1971         * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
1972         * src/ui-sidebar.h:
1973         * src/view-barcode.c: (gl_view_barcode_get_type):
1974         * src/view-barcode.h:
1975         * src/view-box.c: (gl_view_box_get_type):
1976         * src/view-box.h:
1977         * src/view-ellipse.c: (gl_view_ellipse_get_type):
1978         * src/view-ellipse.h:
1979         * src/view-highlight.c: (gl_view_highlight_get_type):
1980         * src/view-highlight.h:
1981         * src/view-image.c: (gl_view_image_get_type):
1982         * src/view-image.h:
1983         * src/view-line.c: (gl_view_line_get_type):
1984         * src/view-line.h:
1985         * src/view-object.c: (gl_view_object_get_type):
1986         * src/view-object.h:
1987         * src/view-text.c: (gl_view_text_get_type):
1988         * src/view-text.h:
1989         * src/view.c: (gl_view_get_type):
1990         * src/view.h:
1991         * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
1992         * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
1993         * src/wdgt-image-select.h:
1994         * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
1995         * src/wdgt-media-select.h:
1996         * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
1997         * src/wdgt-mini-preview.h:
1998         * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
1999         * src/wdgt-print-copies.h:
2000         * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
2001         * src/wdgt-print-merge.h:
2002         * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
2003         * src/wdgt-rotate-label.h:
2004                 - Made sure all xxx_get_type functions returned GType, not guint.  This
2005                   was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
2006                   ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
2007                   wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
2008                   wdt-print-merge.[ch], and wdgt-rotate-label.[ch].  See separate
2009                   window.[ch] details above for more info.
2010                 - Reconciled various coding style differences in all xxx_get_type()
2011                   functions:
2012                         * All prototypes include G_GNUC_CONST.
2013                         * All prototypes specify the return value as GType, not GtkType
2014                           or guint.
2015                         * Info structures are all declared as "static const."
2016                         * Generalized the names of type and info variables.
2017                         * Miscelaneous formatting.
2018
2019 2004-06-08  Jim Evins  <evins@snaught.com>
2020
2021         * src/label.c:
2022         * src/label.h:
2023         * src/xml-label.c:
2024         * AUTHORS:
2025                 Don't touch compression of original file -- still defaults to 9 for
2026                 new files.  Original patch provided by Javier Donaire Segarra
2027                 (#912252 in patch tracker).
2028
2029 2004-05-05  Jim Evins  <evins@snaught.com>
2030
2031         * data/glabels-2.0.dtd:
2032                 Broke DTD previously when adding new barcode types that contain a
2033                 plus sign (+).  Simply changed the BC_STYLE_TYPE entity to "CDATA"
2034                 to avoid the problem.
2035         * data/avery-iso-templates.xml:
2036         * data/zweckform-iso-templates.xml:
2037         * AUTHORS:
2038                 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021.  Templates
2039                 provided by Frank Altpeter.
2040         * libglabels/xml-template.c: (xml_create_label_node):
2041                 Reordered markup and layout sub-nodes so that resulting templates will
2042                 validate against DTD.
2043
2044 2004-03-13  Jim Evins  <evins@snaught.com>
2045
2046         * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
2047                 Changed spin callback signals from "value-changed" back to "changed."
2048                 This was accidentally introduced in a previous revision, and can cause
2049                 size changes just by selecting the size tab.
2050
2051 2004-03-06  Jim Evins  <evins@snaught.com>
2052
2053         * src/view.c: (draw_grid_layer):
2054                 For round labels (round and cd) adjust grid so that it lines up with
2055                 center of label.  Also, no longer draw box around label in the grid layer,
2056                 it is hidden by he fg layer anyway.  Feature suggested by
2057                 nemolivier@free.fr.  Although the grid is aligned with the center of the
2058                 label, the coordinate system is still relative to the upper left corner
2059                 of the rectangle containing the label.
2060
2061 2004-02-25  Jim Evins  <evins@snaught.com>
2062
2063         * configure.in:
2064                 Changed version to 2.0pre1cvs
2065         
2066         * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
2067                 Removed extra xmlFreeDoc() calls upon error.  Also print the doc->URL
2068                 instead of doc->name fields when errors encountered.
2069
2070 2004-02-21  Jim Evins  <evins@snaught.com>
2071
2072         * data/avery-iso-templates.xml:
2073                 Added aliases for Avery 8651.  Patch provided by Wayne Schuller.
2074         
2075         * glabels.spec.in:
2076                 Added libglabels library and include file to installed files.
2077                 
2078         * configure.in:
2079                 Final prep for 1.93.3.
2080
2081 2004-02-20  Jim Evins  <evins@snaught.com>
2082
2083         * src/glabels-batch.c: (main):
2084                 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
2085                 as suggested by Javier Donaire Segarra.  This addresses bug #901063.
2086
2087 2004-02-16  Jim Evins  <evins@snaught.com>
2088
2089         * configure.in:
2090                 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
2091         
2092         * src/Makefile.am:
2093                 Added HAVE_FILE_CHOOSER to INCLUDES.
2094         
2095         * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
2096         (gl_file_save_as), (save_as_response):
2097                 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
2098
2099 2004-02-16  Jim Evins  <evins@snaught.com>
2100
2101         * src/xml-label-04.c: (xml04_parse_image_props):
2102         * src/xml-label-191.c: (xml191_parse_image_props):
2103         * src/xml-label.c: (xml_parse_object_image):
2104                 Delay setting image size until after image has been applied to new
2105                 object.
2106         
2107 2004-02-15  Jim Evins  <evins@snaught.com>
2108
2109         * src/label-barcode.c: (gl_label_barcode_set_data),
2110         (gl_label_barcode_set_props):
2111                 Don't emit "changed" signal, if no change actually made for these
2112                 methods.  Reduces number of unnecessary redraws of barcodes.
2113         
2114         * src/label-object.h:
2115         * src/label-object.c: (gl_label_object_set_position),
2116         (gl_label_object_set_position_relative), (set_size),
2117         (gl_label_object_set_size),
2118         (gl_label_object_set_size_honor_aspect):
2119                 Don't emit "changed" signal, if no change actually made for these
2120                 methods.
2121
2122 2004-02-15  Jim Evins  <evins@snaught.com>
2123
2124         * data/glabels-2.0.dtd:
2125                 Added specific subtypes for various barcode types.
2126         
2127         * src/bc.h:
2128         * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
2129         (gl_barcode_get_styles_list), (gl_barcode_default_digits),
2130         (gl_barcode_can_text), (gl_barcode_text_optional),
2131         (gl_barcode_can_csum), (gl_barcode_csum_optional),
2132         (gl_barcode_id_to_name), (gl_barcode_name_to_id):
2133                 Changed API to use a string id, rather than a fixed enumeration.  Id and
2134                 name are separate strings.  Added entries to backend table for specific
2135                 subtypes for various barcode types.
2136         
2137         * src/bc-postnet.h:
2138         * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
2139         (is_length_valid):
2140                 Modified to conform to above API.  Now more stringent with data length
2141                 for various subtypes.
2142         
2143         * src/bc-gnubarcode.h:
2144         * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
2145         (is_length_valid), (is_length1_valid), (is_length2_valid):
2146                 Modified to conform to above API.  Now more stringent with data length
2147                 for various subtypes.
2148
2149         * src/label-barcode.h:
2150         * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
2151         (gl_label_barcode_get_props), (get_size):
2152                 Modified to use above API for storing barcode type.
2153         
2154         * src/object-editor.h:
2155         * src/object-editor-bc-page.c: (style_changed_cb),
2156         (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
2157                 Modified to use above API for storing barcode type.
2158         
2159         * src/object-editor-size-page.c:
2160         (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
2161         (w_spin_cb), (h_spin_cb), (size_reset_cb):
2162                 Added debug markers.
2163         
2164         * src/object-editor.glade:
2165                 Made barcode style combo's text entry  non-editable.
2166         
2167         * src/print.c: (draw_barcode_object):
2168                 Modified to use above API for barcode type.
2169
2170         * src/view-barcode.c: (update_object_from_editor_cb),
2171         (update_editor_from_object_cb),
2172         (gl_view_barcode_create_event_handler), (draw_barcode):
2173                 Modified to use above API for barcode type.
2174         
2175         * src/xml-label-04.c: (xml04_parse_barcode_props):
2176         * src/xml-label-191.c: (xml191_parse_barcode_props):
2177         * src/xml-label.c: (xml_parse_object_barcode),
2178         (xml_create_object_barcode):
2179                 Modified to use above API for barcode type.
2180
2181 2004-02-07  Jim Evins  <evins@snaught.com>
2182
2183         * src/stock-pixmaps/Makefile.am:
2184         * src/stock-pixmaps/stock_hchain_24.png:
2185         * src/stock-pixmaps/stock_hchain_broken_24.png:
2186         * src/stock-pixmaps/stock_vchain_24.png:
2187         * src/stock-pixmaps/stock_vchain_broken_24.png:
2188                 Added chain pixmaps borrowed from the gimp's default theme.
2189
2190         * src/stock.h:
2191         * src/stock.c: (gl_stock_init), (add_button_icon):
2192                 Added above pixmaps to stock icon sets.  Created add_button_icon() to
2193                 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
2194         
2195         * src/wdgt-chain-button.h
2196         * src/wdgt-chain-button.c
2197         * src/Makefile.am:
2198         * po/POTFILES.in:
2199                 Added this Modified version of gimpchainbutton widget, borrowed from
2200                 the gimp.
2201         
2202         * AUTHORS:
2203                 Added acknowledgements of the above borrowing from the gimp.
2204         
2205         * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
2206         (h_spin_cb):
2207         * src/object-editor.c: (gl_object_editor_construct_chain_button):
2208         * src/object-editor.glade:
2209                 Replaced the keep aspect ratio check box with the above chain-button
2210                 widget.
2211         
2212         * src/text-node.c: (gl_text_node_equal):
2213         * src/text-node.h:
2214                 Added function gl_text_node_equal() to compare text_nodes.
2215         
2216         * src/label-image.c: (gl_label_image_set_filename):
2217                 Replaced incomplete text_node comparison code with invocation of
2218                 gl_text_node_equal.  This fixed the problem of not being able to
2219                 resize an image using the object_editor if the aspect ratio is not
2220                 locked.
2221
2222 2004-02-04  Jim Evins  <evins@snaught.com>
2223
2224         * src/object-editor-image-page.c:
2225         (gl_object_editor_prepare_image_page):
2226                 Track "changed" signal of pixmap entry's GtkEntry rather than its
2227                 "activate" signal -- this catches all changes to the entry rather than
2228                 just changes resulting from a browse, so one can easily pull previous
2229                 entries from the history. (This change is marked below on 2004-02-03,
2230                 but somehow never got checked in.)
2231
2232         * src/view-highlight.c: (sl_resize_event_handler),
2233         (sr_resize_event_handler), (st_resize_event_handler),
2234         (sb_resize_event_handler):
2235                 Side resize handles will now confirm the actual resize that the object
2236                 accepted before adjusting position parameters.  Previously some interesting
2237                 things happened when resizing a barcode to its minimum size.
2238
2239 2004-02-03  Jim Evins  <evins@snaught.com>
2240
2241         * src/object-editor-image-page.c:
2242         (gl_object_editor_prepare_image_page):
2243                 Track "changed" signal of pixmap entry's GtkEntry rather than its
2244                 "activate" signal -- this catches all changes to the entry rather than
2245                 just changes resulting from a browse, so one can easily pull previous
2246                 entries from the history.
2247         
2248         * src/view-highlight.c: (tl_resize_event_handler),
2249         (tr_resize_event_handler), (bl_resize_event_handler),
2250         (br_resize_event_handler):
2251                 Allow control key to be dropped while dragging a corner resize handle
2252                 without losing the aspect ratio lock.
2253
2254 2004-02-02  Jim Evins  <evins@snaught.com>
2255
2256         * src/label-image.c: (gl_label_image_set_filename):
2257                 When setting a new filename adjust size such that the aspect ratio of
2258                 the image is preserved using the current size as a bounding box.
2259                 
2260         * src/view-image.c: (update_object_from_editor_cb):
2261                 When updating object from editor, feed back possible size changes to
2262                 editor as a result of a possible change in image.
2263         
2264         * src/object-editor-size-page.c: (size_reset_cb):
2265                 Fixed typo when blocking spin handlers.  If the base size is larger than
2266                 the max size, treat max size as a bounding box while keeping aspect
2267                 ratio.
2268                 
2269
2270 2004-02-02  Jim Evins  <evins@snaught.com>
2271
2272         * src/label-object.h:
2273         * src/label-object.c: (gl_label_object_set_size),
2274         (gl_label_object_set_size_honor_aspect):
2275                 Added gl_label_object_set_size_honor_aspect() which will maintain the
2276                 current aspect ratio by modifying the supplied w or h apropriately.
2277         
2278         * src/view-highlight.c: (tl_resize_event_handler),
2279         (tr_resize_event_handler), (bl_resize_event_handler),
2280         (br_resize_event_handler):
2281                 Corner handles will now maintain the current aspect ratio if the
2282                 control key is pressed while resizing.  This addresses feature
2283                 request #816603.
2284        
2285
2286 2004-01-31  Jim Evins  <evins@snaught.com>
2287
2288         * AUTHORS:
2289         * data/avery-us-templates.xml:
2290                 Added entries for "LSK-3," "LSK-5," and "LSK-8."  Submitted by JBadger.
2291         
2292         * libglabels/template.c: (read_template_files_from_dir):
2293                 Corrected problem with testing for extensions.
2294         
2295         * src/object-editor.glade:
2296                 Corrected grouping of radio buttons in barcode data page.
2297
2298         * src/print.c: (draw_barcode_object):
2299         * src/view-barcode.c: (draw_barcode):
2300                 Corrected problem with calculation of y_offset for locating characters.
2301
2302 2004-01-24  Jim Evins  <evins@snaught.com>
2303
2304         * AUTHORS:
2305         * data/avery-us-templates.xml:
2306                 Added Avery 5824, submitted by Fred Bacon.
2307         
2308 2004-01-20  Jim Evins  <evins@snaught.com>
2309
2310         Catching up on a couple of backlogged user template submissions.
2311
2312         * data/avery-iso-templates.xml:
2313                 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
2314                 Suggested by Linas Jakucionis.
2315         
2316         * data/zweckform-iso-templates.xml:
2317                 Added Zweckform 4760, submitted by Thomas Vill.
2318
2319         * AUTHORS:
2320                 Updated to reflect above submissions.
2321
2322 2004-01-06  Jim Evins  <evins@snaught.com>
2323
2324         Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
2325         xml.[ch] into a separate library called libglabels, to facilitate third
2326         party use of glabels template files.  This was suggested by Wayne Schuller.
2327         Once split-out, some modifications to the structures and functions to
2328         make a cleaner more useful API, hopefully.  Rather extensive changes have
2329         propogated to other modules.
2330
2331         * src/paper.h:
2332         * src/paper.c:
2333         * src/template.h:
2334         * src/template.c:
2335         * src/xml-paper.h:
2336         * src/xml-paper.c:
2337         * src/xml-template.h:
2338         * src/xml-template.c:
2339         * src/xml.h:
2340         * src/xml.c:
2341                 These files have been moved to libglabels/.  API cleanup performed.
2342
2343         * libglabels/libglabels.h:
2344         * libglabels/libglabels-private.h:
2345         * libglabels/Makefile.am:
2346                 These files have been added to finish out libglabels.
2347         
2348         * Makefile.am:
2349         * configure.in:
2350         * glabels.spec.in:
2351         * po/POTFILES.in:
2352         * src/Makefile.am:
2353                 Modified to reflect new sets of files in src/ and libglabels/.
2354
2355         * COPYING.LIBGLABELS:
2356         * COPYING-DOCS:
2357                 Added copy of the LGPL for libglabels, and a copy the GFDL for
2358                 documentation.
2359         
2360         * src/glabels-batch.c:
2361         * src/glabels.c:
2362         * src/label.c: (gl_label_finalize), (gl_label_set_template),
2363         (gl_label_get_size):
2364         * src/label.h:
2365         * src/prefs-model.c: (gl_prefs_model_load_settings):
2366         * src/print-dialog.c:
2367         * src/print.c: (gl_print_simple), (gl_print_merge_collated),
2368         (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
2369         (print_crop_marks), (print_label), (draw_outline),
2370         (clip_to_outline), (clip_punchouts):
2371         * src/template-designer.c: (construct_pg_size_page),
2372         (pg_size_page_changed_cb), (layout_page_changed_cb),
2373         (print_test_cb), (build_template):
2374         * src/util.c: (gl_util_fraction):
2375         * src/util.h:
2376         * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
2377         (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
2378         (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
2379         (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
2380         (draw_markup_margin_round), (draw_markup_margin_cd),
2381         (draw_markup_margin_cd_bc), (draw_markup_line),
2382         (draw_markup_circle), (gl_view_copy):
2383         * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
2384         (page_size_entry_changed_cb), (details_update), (get_layout_desc),
2385         (get_label_size_desc):
2386         * src/wdgt-mini-preview.c:
2387         (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
2388         (cdbc_item):
2389         * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
2390         * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
2391         * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
2392         (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
2393         * src/wdgt-rotate-label.h:
2394         * src/xml-label-04.c: (xml04_parse_media_description):
2395         * src/xml-label-191.c: (gl_xml_label_191_parse),
2396         (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
2397         (xml191_parse_markup), (xml191_parse_alias):
2398         * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
2399         (xml_label_to_doc):
2400                 Various changes to accomodate new libglabels API.
2401         
2402 2004-01-03  Jim Evins  <evins@snaught.com>
2403
2404         * configure.in:
2405                 Release 1.93.2.
2406
2407 2004-01-03  Jim Evins  <evins@snaught.com>
2408
2409         * AUTHORS:
2410                 Added acknowledgement of contributions by Wayne Schuller.
2411         
2412         * src/commands.c: (gl_cmd_file_print):
2413                 Create extra reference to print dialog, so that it can be properly re-used.
2414         
2415         * src/mygal/mygal-combo-box.h:
2416         * src/mygal/mygal-combo-box.c:
2417         (mygal_combo_box_popup_hide_unconditional),
2418         (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
2419         (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
2420         (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
2421         (mygal_combo_box_set_tearable):
2422                 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
2423                 complete the rename of this widget to prevent namespace collisions
2424                 with Gtk+-2.3.
2425         
2426         * src/prefs-dialog.glade:
2427                 Fixed alignment of Fill/Color widgets.
2428
2429 2004-01-03  Jim Evins  <evins@snaught.com>
2430
2431         * data/avery-iso-templates.xml:
2432                 Added user submitted templates.
2433                 Avery 8435A & 8435B, submitted by Ludger Solbach.
2434
2435         * doc/C/glabels.xml:
2436                 Added minimal documentation, noting the new template designer.
2437
2438 2004-01-03  Jim Evins  <evins@snaught.com>
2439
2440         * pixmaps/ex-rect-size.png:
2441         * pixmaps/ex-round-size.png:
2442         * pixmaps/ex-cd-size.png:
2443         * pixmaps/Makefile.am:
2444                 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
2445                 files to be used as illustrations/examples in the template-designer.
2446
2447         * src/template-designer.c: (construct_rect_size_page),
2448         (construct_round_size_page), (construct_cd_size_page),
2449         (construct_nlayouts_page), (rect_size_page_prepare_cb),
2450         (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
2451         (layout_page_prepare_cb), (build_template):
2452         * src/template-designer.glade:
2453                 Added illustrations for rectangle, round, and cd label size pages.
2454                 Added margin spinboxes to these pages, and now add a margin markup
2455                 to the constructed template.  Added realistic default values for
2456                 some of the size spinboxes.  Cleaned up the code for setting spinbox
2457                 ranges on the layouts page.
2458
2459 2004-01-02  Jim Evins  <evins@snaught.com>
2460
2461         * src/object-editor-size-page.c: (h_spin_cb):
2462                 Fixed cut-n-paste error in h_spin_cb that loaded h from
2463                 the wrong spinbutton.
2464
2465         * src/object-editor.h:
2466         * src/object-editor.c: (gl_object_editor_class_init),
2467         (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
2468         * src/object-editor-private.h:
2469         * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
2470         (size_reset_cb):
2471                 Added "size_changed" signal.
2472                 
2473         * src/view-text.c: (construct_properties_editor),
2474         (update_object_from_editor_cb),
2475         (update_object_from_editor_size_cb):
2476                 Track size changes from object editor separately from other
2477                 properties.  This is so the default size (0,0) of a text
2478                 object is not modified unintentionally.
2479
2480 2003-12-30  Wayne Schuller  <k_wayne@linuxpower.org>
2481
2482         Added feature: line spacing - allows you to comfortably space a text box to
2483         fit a label perfectly.
2484
2485         * data/glabels-2.0.dtd:
2486         * src/label-object.c: (gl_label_object_set_text_line_spacing),
2487         (gl_label_object_get_text_alignment),
2488         (gl_label_object_get_text_line_spacing):
2489         * src/label-object.h:
2490         * src/label-text.c: (gl_label_text_class_init),
2491         (gl_label_text_instance_init), (copy), (get_size),
2492         (set_text_line_spacing), (get_text_alignment),
2493         (get_text_line_spacing):
2494         * src/object-editor-private.h:
2495         * src/object-editor-text-page.c:
2496         (gl_object_editor_prepare_text_page),
2497         (gl_object_editor_set_text_line_spacing),
2498         (gl_object_editor_get_text_line_spacing):
2499         * src/object-editor.glade:
2500         * src/object-editor.h:
2501         * src/prefs-dialog.c: (construct_object_page),
2502         (update_object_page_from_prefs), (update_prefs_from_object_page):
2503         * src/prefs-dialog.glade:
2504         * src/prefs-model.c: (gl_prefs_model_save_settings),
2505         (gl_prefs_model_load_settings), (get_float):
2506         * src/prefs-model.h:
2507         * src/print.c: (draw_text_object):
2508         * src/ui-sidebar.c:
2509         * src/view-text.c: (update_object_from_editor_cb),
2510         (update_editor_from_object_cb),
2511         (gl_view_text_create_event_handler), (draw_hacktext):
2512         * src/view.c: (gl_view_construct),
2513         (gl_view_set_selection_text_line_spacing),
2514         (gl_view_set_default_text_line_spacing),
2515         (gl_view_get_default_text_line_spacing):
2516         * src/view.h:
2517         * src/xml-label.c: (xml_parse_toplevel_span),
2518         (xml_create_toplevel_span):
2519
2520 2003-12-30  Jim Evins  <evins@snaught.com>
2521
2522         * src/template-designer.c:
2523         * src/template-designer.h:
2524         * src/template-designer.glade:
2525                 New template designer assistant.
2526         
2527         * po/POTFILES.in:
2528         * src/Makefile.am:
2529                 Added entries for src/template-designer.* files.
2530         
2531         * pixmaps/ex-1layout.png
2532         * pixmaps/ex-2layouts.png
2533         * pixmaps/Makefile.am:
2534                 Added the new image files ex-*.png used as illustrations in the
2535                 template designer assistant.
2536         
2537         * src/print-dialog.h:
2538         * src/print-dialog.c: (gl_print_dialog_finalize),
2539         (gl_print_dialog_new), (gl_print_dialog_construct),
2540         (gl_print_dialog_force_outline_flag):
2541                 Changed first argument of gl_print_dialog_new() from glView to glLabel,
2542                 to support printing from the template designer assistant which does not
2543                 have a full-fledged view.  Nothing else from the view object was being
2544                 used by the dialog anyway.
2545
2546                 Added the gl_print_dialog_force_outline_flag() method, for better
2547                 integration with the template designer assistant.
2548                 
2549
2550         * src/commands.h:
2551         * src/commands.c: (gl_cmd_file_template_designer),
2552         (gl_cmd_file_print):
2553                 Modified print command to provide label instead of view to dialog.
2554                 Added the gl_cmd_file_template_designer() command to invoke the
2555                 template designer assistant.
2556         
2557         * src/ui.c:
2558         * src/glabels-ui.xml:
2559                 Added support for template designer assistant.
2560         
2561         * src/wdgt-mini-preview.h:
2562         * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
2563         (gl_wdgt_mini_preview_set_bg_color):
2564                 Preview is now centered in canvas.  Added
2565                 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
2566                 assistant to match the background color with its own.
2567         
2568         * src/print.c: (clip_to_outline):
2569                 Fixed really stupid bug when adding waste to clip region of rectangular
2570                 labels/cards.  Each side of the clip region needs to be extended by
2571                 twice the waste margin, as well as negatively offset by the waste
2572                 margin.
2573
2574 2003-12-28  Jim Evins  <evins@snaught.com>
2575
2576         * src/prefs-dialog.c: (update_object_page_from_prefs):
2577                 Block intermediary function align_toggle_cb() instead of
2578                 update_prefs_from_object_page() for the three alignment
2579                 widgets.
2580
2581 2003-12-28  Wayne Schuller  <k_wayne@linuxpower.org>
2582
2583         * src/file.c: (gl_file_new), (gl_file_properties):
2584                 Swap button order and set default for higificatory pleasure.
2585
2586 2003-12-27  Jim Evins  <evins@snaught.com>
2587
2588         * barcode-0.98/Makefile.am:
2589                 One last time:  removed doc/Makefile and po/Makefile.in.in from
2590                 EXTRA_DIST files.
2591         
2592 2003-12-27  Jim Evins  <evins@snaught.com>
2593
2594         * barcode-0.98/Makefile.am:
2595                 Removed config.stat entry from EXTRA_DIST files.
2596         
2597         * barcode-0.98/Makefile.in:
2598                 Removed.
2599
2600 2003-12-27  Jim Evins  <evins@snaught.com>
2601
2602         * configure.in:
2603                 Updated to work with latest gnome-common package from CVS.
2604                 Removed recursive configuration of barcode-0.98.
2605
2606         * acconfig.h:
2607         * macros/*:
2608                 Removed.
2609         
2610         * Makefile.am:
2611                 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
2612         
2613         * barcode-0.98/Makefile.in:
2614         * barcode-0.98/configure.in:
2615         * barcode-0.98/Makefile.am:
2616         * barcode-0.98/README.glabels:
2617                 Modified to ignore the barcode package's build system, and build
2618                 as a part of glabels.
2619                 Renamed Makefile.in to Makefile.in.dist.
2620                 Renamed configure.in to configure.in.dist.
2621                 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
2622         
2623         * src/Makefile.am:
2624         * src/mygal/Makefile.am:
2625         * src/recent-files/Makefile.am:
2626                 In order to build against the GNOME 2.5 platform, 
2627                 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
2628         
2629         * src/mygal/Makefile.am:
2630         * src/mygal/mygal-combo-box.c:
2631         * src/mygal/mygal-combo-box.h:
2632         * src/mygal/widget-color-combo.c:
2633         * src/mygal/widget-color-combo.h:
2634         * po/POTFILES.in:
2635                 In order to build against the GNOME 2.5 platform, 
2636                 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
2637                 collisions with the real gtk_combo_box widget, now a part of gtk.
2638         
2639 2003-12-26  Jim Evins  <evins@snaught.com>
2640
2641         * src/paper.c:
2642         * src/template.c:
2643         * src/util.c:
2644         * src/util.h:
2645                 Moved local versions of get_home_data_dir() in paper.c and
2646                 template.c to util package.  Cleaned up formatting in
2647                 util.[ch].
2648
2649         * src/template.c:
2650                 In gl_template_register() save a copy of the template in
2651                 ~/.glabels if the template is not known.  Still need to
2652                 handle duplicate filename case and duplicate name but
2653                 different template case.
2654         
2655         * src/xml-label.c:
2656         * src/xml.h:
2657                 Moved local definition of NAME_SPACE macro from xml-label.c
2658                 to xml.h.
2659         
2660         * src/xml-template.c:
2661         * src/xml-template.h:
2662                 Added function gl_xml_template_write_template_to_file(), used
2663                 in gl_template_register().