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