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