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