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