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