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