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