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