]> git.sur5r.net Git - glabels/blob - glabels2/ChangeLog
2009-02-21 JimEvins <evins@snaught.com>
[glabels] / glabels2 / ChangeLog
1 2009-02-21  JimEvins  <evins@snaught.com>
2
3         * src/prefs-model.c: (gl_prefs_model_save_settings),
4         (gl_prefs_model_load_settings):
5         * src/prefs-model.h:
6         * src/ui-commands.c:
7         * src/ui-property-bar.c:
8         * src/ui.c: (view_ui_item_toggled_cb),
9         (set_app_main_toolbar_style), (set_app_drawing_toolbar_style):
10                 Removed tooltip toggling capability, which wasn't working
11                 anyway.
12
13 2009-02-21  JimEvins  <evins@snaught.com>
14
15         * README:
16         * configure.in:
17         * data/builder/object-editor.glade:
18         * data/builder/prefs-dialog.glade:
19         * data/builder/property-bar.glade:
20         * data/builder/template-designer.glade:
21         * gtk-doc.make:
22         * src/color-combo-color-menu-item.c:
23         * src/color-combo-color-menu-item.h:
24         * src/color-combo-menu.h:
25         * src/glabels-batch.c: (main):
26         * src/glabels.c: (main):
27         * src/merge-properties-dialog.h:
28         * src/new-label-dialog.h:
29         * src/object-editor-lsize-page.c:
30         (gl_object_editor_prepare_lsize_page), (lsize_prefs_changed_cb):
31         * src/object-editor.h:
32         * src/prefs-dialog.h:
33         * src/print-op.h:
34         * src/template-designer.h:
35         * src/ui-commands.c: (gl_ui_cmd_view_property_bar_tips_toggle),
36         (gl_ui_cmd_help_contents), (gl_ui_cmd_help_about):
37         * src/ui-property-bar.c:
38         * src/ui-property-bar.h:
39         * src/ui-sidebar.c: (gl_ui_sidebar_construct),
40         (selection_changed_cb):
41         * src/ui-sidebar.h:
42         * src/view.h:
43         * src/wdgt-media-select.h:
44         * src/wdgt-merge-menu.h:
45         * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_class_init):
46         * src/wdgt-mini-preview.h:
47         * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
48         * src/wdgt-print-copies.h:
49         * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
50         * src/wdgt-print-merge.h:
51         * src/wdgt-rotate-label.h:
52         * src/window.h:
53                 Removed final dependencies on libgnome and libgnomeui.
54                 Removed all currently deprecated symbols as of GTK 2.14.
55         
56 2009-01-07  Jim Evins  <evins@snaught.com>
57
58         * src/critical-error-handler.c: (critical_error_handler):
59         * src/ui-commands.c: (gl_ui_cmd_help_contents):
60         * src/warning-handler.c: (warning_handler):
61         * src/view.c: (selection_received_cb):
62                 Compile without warning with additional CFLAGS of
63                 -O1 -Wall -Wformat=2.
64         
65 2009-01-02  Jim Evins  <evins@snaught.com>
66
67         * COPYING.README_FIRST:
68                 Fixed typo.
69
70 2008-12-27  Jim Evins  <evins@snaught.com>
71
72         * data/templates/avery-iso-templates.xml:
73         * data/templates/avery-other-templates.xml:
74         * data/templates/avery-us-templates.xml:
75         * data/templates/brother-other-templates.xml:
76         * data/templates/misc-iso-templates.xml:
77         * data/templates/misc-other-templates.xml:
78         * data/templates/zweckform-iso-templates.xml:
79                 Make sure all descriptions are marked as translatable.
80
81 2008-12-27  Jim Evins  <evins@snaught.com>
82
83         * de.po:
84                 Updated german translation (Mario Blättermann)
85         * AUTHORS:
86                 Updated credits to reflect above translation.
87         * data/builder/object-editor.glade:
88         * data/builder/prefs-dialog.glade:
89         * data/builder/template-designer.glade:
90                 Removed "translatable" attribute from whitespace strings,
91                 which are used only to help layout.
92
93 2008-12-21  Jim Evins  <evins@snaught.com>
94
95         * data/templates/avery-us-templates.xml:
96         * data/templates/misc-iso-templates.xml:
97                 A couple of recent template submissions.
98         * AUTHORS:
99                 Acknowledgements for above templates.
100
101 2008-12-21  Jim Evins  <evins@snaught.com>
102
103         * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
104                 Don't check for handles on aggregate selections.
105
106 2008-12-20  Jim Evins  <evins@snaught.com>
107
108         * configure.in:
109                 Updated prerequisite library versions required.
110         
111 2008-12-18  Jim Evins  <evins@snaught.com>
112
113         * src/view.c: (selection_received_cb):
114                 Fixed paste bug that caused a duplicate phantom view_object to be created for
115                 each new label_object.  This is because the view now (as of r673) the view
116                 monitiors the label for new objects and creates view_objects automatically.
117
118 2008-12-14  Jim Evins  <evins@snaught.com>
119
120         * src/ui.c: (gl_ui_new):
121                 Bug #2395628.  Fixed i18n for application shell.
122         * po/POTFILES.in:
123                 Bug #2395628.  Reconciled POTFILES.in with current files.
124         
125 2008-12-14  Jim Evins  <evins@snaught.com>
126
127         * configure.in:
128                 Bug #2316013.  Added PKG_PROG_PKG_CONFIG.
129         
130 2008-11-15  Jim Evins  <evins@snaught.com>
131
132         * libglabels/db.c: (lgl_db_register_template):
133         * libglabels/xml-template.c:
134         (lgl_xml_template_parse_template_node):
135         * src/glabels-batch.c:
136         * src/view-text.c: (gl_view_text_create_button_press_event):
137                 Fixed several issues such as possible use of uninitialized variables found with "-O1 -Wall".
138
139 2008-11-09  Jim Evins  <evins@snaught.com>
140
141         * data/templates/misc-iso-templates.xml:
142                 Another user submitted template.
143
144 2008-10-27  Jim Evins  <evins@snaught.com>
145
146         * data/templates/avery-us-templates.xml:
147         * data/templates/misc-iso-templates.xml:
148         * data/templates/zweckform-iso-templates.xml:
149                 Caught up on user submitted templates.
150         * AUTHORS:
151                 Acknowledgements for above templates.
152
153 2008-10-23  Jim Evins  <evins@snaught.com>
154
155         * src/label-text.c: (set_font_family):
156         * src/object-editor-text-page.c:
157         (gl_object_editor_prepare_text_page),
158         (gl_object_editor_set_font_family):
159         * src/prefs-dialog.c: (construct_object_page),
160         (update_object_page_from_prefs):
161         * src/ui-property-bar.c: (gl_ui_property_bar_construct),
162         (reset_to_default_properties):
163         * src/util.c: (gl_util_get_font_family_list):
164         * src/util.h:
165                 Bug #1902275 and Bug #2186214.  Cache font list so that it is not re-created
166                 everytime the list is requested.
167         * src/object-editor-text-page.c:
168         (gl_object_editor_set_font_family):
169                 Don't change font-family if it hasn't actually changed.
170
171 2008-10-19  Jim Evins  <evins@snaught.com>
172
173         * data/builder/object-editor.glade:
174                 Some tweaking of builder/glade widgets.
175         
176 2008-10-18  Jim Evins  <evins@snaught.com>
177
178         Migrated all use of libglade to GtkBuilder.
179
180         * data/glade/Makefile.am:
181         * data/glade/merge-properties-dialog.glade:
182         * data/glade/new-label-dialog.glade:
183         * data/glade/object-editor.glade:
184         * data/glade/prefs-dialog.glade:
185         * data/glade/print-custom-widget.glade:
186         * data/glade/property-bar.glade:
187         * data/glade/template-designer.glade:
188         * data/glade/wdgt-media-select.glade:
189                 Removed data/glade directory.
190         * data/builder/Makefile.am:
191         * data/builder/merge-properties-dialog.glade:
192         * data/builder/new-label-dialog.glade:
193         * data/builder/object-editor.glade:
194         * data/builder/prefs-dialog.glade:
195         * data/builder/print-custom-widget.glade:
196         * data/builder/property-bar.glade:
197         * data/builder/template-designer.glade:
198         * data/builder/wdgt-media-select.glade:
199                 Added data/builder directory.
200         * configure.in:
201         * data/Makefile.am:
202         * src/Makefile.am:
203                 Change glade to builder.
204         * src/merge-properties-dialog.c:
205         (gl_merge_properties_dialog_finalize),
206         (gl_merge_properties_dialog_construct):
207         * src/new-label-dialog.c: (gl_new_label_dialog_finalize),
208         (gl_new_label_dialog_construct):
209         * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
210         * src/object-editor-data-page.c:
211         (gl_object_editor_prepare_data_page):
212         * src/object-editor-edit-page.c:
213         (gl_object_editor_prepare_edit_page):
214         * src/object-editor-fill-page.c:
215         (gl_object_editor_prepare_fill_page):
216         * src/object-editor-image-page.c:
217         (gl_object_editor_prepare_image_page):
218         * src/object-editor-line-page.c:
219         (gl_object_editor_prepare_line_page):
220         * src/object-editor-lsize-page.c:
221         (gl_object_editor_prepare_lsize_page):
222         * src/object-editor-position-page.c:
223         (gl_object_editor_prepare_position_page):
224         * src/object-editor-private.h:
225         * src/object-editor-shadow-page.c:
226         (gl_object_editor_prepare_shadow_page):
227         * src/object-editor-size-page.c:
228         (gl_object_editor_prepare_size_page):
229         * src/object-editor-text-page.c:
230         (gl_object_editor_prepare_text_page):
231         * src/object-editor.c: (gl_object_editor_init):
232         * src/prefs-dialog.c: (gl_prefs_dialog_init),
233         (gl_prefs_dialog_construct), (construct_locale_page),
234         (construct_object_page):
235         * src/print-op.c: (gl_print_op_finalize),
236         (create_custom_widget_cb):
237         * src/template-designer.c: (gl_template_designer_class_init),
238         (gl_template_designer_finalize), (gl_template_designer_construct),
239         (construct_start_page), (construct_name_page),
240         (construct_pg_size_page), (construct_shape_page),
241         (construct_rect_size_page), (construct_round_size_page),
242         (construct_cd_size_page), (construct_nlayouts_page),
243         (construct_layout_page), (construct_finish_page):
244         * src/template-designer.h:
245         * src/ui-property-bar.c: (gl_ui_property_bar_init),
246         (gl_ui_property_bar_finalize), (gl_ui_property_bar_new),
247         (gl_ui_property_bar_construct), (reset_to_default_properties),
248         (gl_ui_property_bar_set_view), (gl_ui_property_bar_set_tooltips),
249         (update_text_properties), (update_fill_color), (update_line_color),
250         (update_line_width), (selection_changed_cb),
251         (font_family_changed_cb), (font_size_changed_cb),
252         (text_color_changed_cb), (fill_color_changed_cb),
253         (line_color_changed_cb), (line_width_changed_cb),
254         (font_bold_toggled_cb), (font_italic_toggled_cb),
255         (text_align_toggled_cb), (set_doc_items_sensitive),
256         (set_text_items_sensitive), (set_fill_items_sensitive),
257         (set_line_color_items_sensitive), (set_line_width_items_sensitive):
258         * src/ui-property-bar.h:
259         * src/util.c: (gl_util_get_builder_widgets):
260         * src/util.h:
261         * src/wdgt-media-select.c: (gl_wdgt_media_select_finalize),
262         (gl_wdgt_media_select_construct):
263                 Migration of glade to builder.
264         * src/color.h:
265                 New macros for color combo initialization.
266         * TODO:
267                 Added idea for internal merge database.
268         * docs/libglabels/libglabels-undocumented.txt:
269         * docs/libglabels/tmpl/paper.sgml:
270         * gtk-doc.make:
271                 Automagic.
272
273 2008-10-12  Jim Evins  <evins@snaught.com>
274
275         * src/mygal/Makefile.am:
276         * src/mygal/color-group.c:
277         * src/mygal/color-group.h:
278         * src/mygal/color-palette.c:
279         * src/mygal/color-palette.h:
280         * src/mygal/e-colors.c:
281         * src/mygal/e-colors.h:
282         * src/mygal/e-marshal.list:
283         * src/mygal/e-util.h:
284         * src/mygal/mygal-combo-box.c:
285         * src/mygal/mygal-combo-box.h:
286         * src/mygal/widget-color-combo.c:
287         * src/mygal/widget-color-combo.h:
288         * AUTHORS:
289         * configure.in:
290                 Deleted mygal.
291         * src/color-combo.c:
292         * src/color-combo.h:
293         * src/color-combo-color-menu-item.c:
294         * src/color-combo-color-menu-item.h:
295         * src/color-combo-history.c:
296         * src/color-combo-history.h:
297         * src/color-combo-menu.c:
298         * src/color-combo-menu.h:
299         * src/marshal.list:
300         * src/util.c:
301         * src/util.h:
302         * src/Makefile.am:
303                 Created new glColorCombo widget.
304         * src/object-editor-bc-page.c:
305         * src/object-editor-edit-page.c:
306         * src/object-editor-fill-page.c:
307         * src/object-editor-line-page.c:
308         * src/object-editor-shadow-page.c:
309         * src/object-editor-text-page.c:
310         * src/object-editor.c:
311         * src/prefs-dialog.c:
312         * src/ui-property-bar.c:
313                 Replaced use of mygal color combo with new glColorCombo widget.
314
315 2008-08-29  Jim Evins  <evins@snaught.com>
316
317         * src/file.c: (gl_file_open), (gl_file_save_as):
318                 Bug #2069668.  Corrected button order in Open and "Save as"
319                 dialogs.
320
321 2008-08-17  Jim Evins  <evins@snaught.com>
322
323         * data/dtd/glabels-2.2.dtd:
324         * data/templates/paper-sizes.xml:
325         * libglabels/db.c: (lgl_db_init):
326         * libglabels/paper.c: (lgl_paper_new), (lgl_paper_dup), (lgl_paper_free):
327         * libglabels/paper.h:
328         * libglabels/xml-paper.c: (lgl_xml_paper_parse_paper_node):
329         * src/print-op.c: (set_page_size):
330                 Bug #2049431.  Always explicitely set page size.  Added pwg_size field (PWG 5101.1-2002
331                 size specification) to the libglabels paper database to allow the page size to be
332                 communicated to GtkPrintOp un-ambiguously.
333
334 2008-07-25  Jim Evins  <evins@snaught.com>
335
336         * src/object-editor-size-page.c: (size_reset_cb),
337         (gl_object_editor_set_max_size):
338                 Bug #1993550.  Set size limits based on longest side of label.
339
340 2008-07-19  Jim Evins  <evins@snaught.com>
341
342         * configure.in:
343         * src/mygal/Makefile.am:
344                 Make sure libtool handles library dependencies for mygal
345                 properly.
346         
347 2008-05-21  Jim Evins  <evins@snaught.com>
348
349         * src/glabels-batch.c: (main):
350                 Bug #1968653.  Initialize prefs subsystem.
351
352 2008-05-09  Jim Evins  <evins@snaught.com>
353
354         * data/glade/object-editor.glade:
355                 Bug #1959135.  A couple of radio buttons somehow became
356                 ungrouped.
357
358 2008-04-07  Jim Evins  <evins@snaught.com>
359
360         * src/wdgt-rotate-label.h:
361         * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_init),
362         (gl_wdgt_rotate_label_new), (toggled_cb), (create_pixbuf),
363         (gl_wdgt_rotate_label_get_state), (gl_wdgt_rotate_label_set_state),
364         (gl_wdgt_rotate_label_set_template_name):
365                 Modified wdgt-rotate-label to better indicate the rotation choices.
366         * data/glade/Makefile.am:
367         * data/glade/wdgt-rotate-label.glade:
368                 Deleted wdgt-rotate-label.glade.
369
370 2008-04-04  Jim Evins  <evins@snaught.com>
371
372         * data/templates/brother-other-templates.xml:
373                 Added categories to existing templates.
374         * data/templates/misc-other-templates.xml:
375                 Moved dymo templates to their own file.
376         * data/templates/Makefile.am:
377         * data/templates/dymo-other-templates.xml:
378                 Additional dymo templates provided by Harald Welte <laforge@gnumonks.org>.
379         * AUTHORS:
380                 Acknowledgement for above templates.
381
382 2008-03-24  Jim Evins  <evins@snaught.com>
383
384         * src/xml-label.c: (xml_doc_to_label):
385                 Bug #1872584.  Don't refuse to parse label file if namespace is
386                 unrecognized -- it may be from a newer version of glabels.
387         
388 2008-03-15  Jim Evins  <evins@snaught.com>
389
390         * data/templates/Makefile.am:
391         * data/templates/brother-other-templates.xml:
392                 Added brother templates.
393         * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
394         (gl_cairo_markup_margin_cd_path):
395         * src/view.c: (draw_markup_layer):
396                 Fixed markup drawing errors when label is rotated.
397
398 2008-03-03  Jim Evins  <evins@snaught.com>
399
400         * configure.in:
401         * ko.po:
402                 Added korean translation provided by xein@naver.com.
403         
404 2008-02-21  Jim Evins  <evins@snaught.com>
405
406         * src/ui.c:
407                 Fixed typo that prevented "Save" from being deactivated when
408                 document is not modified.
409         
410 2008-02-18  Jim Evins  <evins@snaught.com>
411
412         * src/prefs-model.c: (gl_prefs_model_save_settings),
413         (gl_prefs_model_load_settings):
414                 Set default units for file output.
415
416 2008-02-18  Jim Evins  <evins@snaught.com>
417
418         * help/C/glabels.xml:
419                 Fixed example template.
420
421 2008-02-16  Jim Evins  <evins@snaught.com>
422
423         * AUTHORS:
424         * data/templates/avery-iso-templates.xml:
425         * data/templates/avery-us-templates.xml:
426         * data/templates/misc-iso-templates.xml:
427         * data/templates/misc-us-templates.xml:
428                 Caught up on user submitted templates.
429
430 2008-02-04  Jim Evins  <evins@snaught.com>
431
432         * src/view-image.c: (update_object_from_editor_cb):
433                 Bug #1886438.  Don't update the image size unless it is actually
434                 triggered by a change in image source.  The result of this bug
435                 was that any attempt to edit the size spinboxes, immediately
436                 reset the size.
437         
438 2008-02-03  Jim Evins  <evins@snaught.com>
439
440         * src/label-image.c: (gl_label_image_class_init), (set_size):
441                 Enforce minimum size for images.
442
443 2008-02-03  Jim Evins  <evins@snaught.com>
444
445         * src/object-editor-edit-page.c: (field_selected_cb):
446         * src/object-editor-lsize-page.c: (gl_object_editor_set_max_lsize):
447         * src/object-editor-private.h:
448         * src/object-editor-shadow-page.c:
449         (gl_object_editor_set_max_shadow_offset):
450         * src/object-editor-size-page.c: (gl_object_editor_set_max_size):
451         * src/object-editor.c: (gl_object_editor_finalize),
452         (gl_object_editor_new), (gl_object_notebook_construct_valist),
453         (label_changed_cb):
454         * src/object-editor.h:
455         * src/ui-sidebar.c: (gl_ui_sidebar_construct):
456         * src/view-barcode.c: (construct_properties_editor):
457         * src/view-box.c: (construct_properties_editor):
458         * src/view-ellipse.c: (construct_properties_editor):
459         * src/view-image.c: (construct_properties_editor):
460         * src/view-line.c: (construct_properties_editor):
461         * src/view-object.c: (gl_view_object_finalize):
462         * src/view-text.c: (construct_properties_editor),
463                 Move update_editor_from_label callback from individual view objects
464                 to the object editor, so that signals can be disconnected when
465                 object editor is finalized.
466         * src/view-text.c: (gl_view_text_create_button_press_event):
467                 Fixed bug that caused multiple view objects to be created for a
468                 single text object.  This bug would manifest itself as a crash
469                 when deleting multi-object selections which included text objects.
470         
471 2008-02-02  Jim Evins  <evins@snaught.com>
472
473         * src/Makefile.am:
474         * src/wdgt-merge-menu.c:
475         * src/wdgt-merge-menu.h:
476         * src/debug.c: (gl_debug_init):
477         * src/debug.h:
478         * src/marshal.list:
479                 New merge menu widget.
480         * data/glade/object-editor.glade:
481         * src/object-editor-private.h:
482         * src/object-editor.c: (gl_object_editor_set_key_names):
483         * src/object-editor-edit-page.c:
484         (gl_object_editor_prepare_edit_page), (field_selected_cb),
485         (insert_button_cb):
486                 Simplified UI for inserting fields into text objects by launching
487                 a merge menu and directly inserting fields from the menu.  No more
488                 selecting field in combobox, then pressing insert button.
489
490 2008-01-31  Jim Evins  <evins@snaught.com>
491
492         * src/label-barcode.c: (draw_object):
493                 Fixed rendering problem when "Invalid data" is displayed when text
494                 object is lower in stacking order.
495
496 2008-01-30  Jim Evins  <evins@snaught.com>
497
498         * src/label-text.c: (get_size), (draw_object), (draw_shadow):
499                 Don't turn off cairo_hint_metrics.  This causes serious issues with
500                 bitmap fonts.
501
502 2008-01-29  Jim Evins  <evins@snaught.com>
503
504         * src/print-op.c: (gl_print_op_construct),
505         (gl_print_op_construct_batch), (set_page_size):
506                 Explicitly set page size for "other" page sizes.
507
508 2008-01-25  Jim Evins  <evins@snaught.com>
509
510         * src/bc.c:
511                 Fixed Code128C backend parameters.
512         * src/label-barcode.c: (get_size):
513                 Bug #1766425.  If barcode is not renderable with either
514                 input data or default data, use a default size.  Also
515                 fixed small leak.
516
517 2008-01-16  Jim Evins  <evins@snaught.com>
518
519         * src/print.c: (print_label):
520                 Bug #1872568.  Don't apply special transforms (rotate and
521                 mirror) to clipping region or outline.
522
523 2008-01-01  Jim Evins  <evins@snaught.com>
524
525         * src/util.c:
526                 Sort font lists alphabetically.
527
528 2008-01-01  Jim Evins  <evins@snaught.com>
529
530         * src/merge-evolution.c:
531                 Do a case-insensitive sort.
532
533 2008-01-01  Jim Evins  <evins@snaught.com>
534
535         * src/merge-evolution.c:
536                 Sort evolution by "file_under" field.  Original patch provided
537                 by Peter Cherriman <glabels-devel2712@bubieyehyeh.me.uk> in
538                 Patch #1860423.
539         * AUTHORS:
540                 Added acknowledgement for above patch.
541
542 2008-01-01  Jim Evins  <evins@snaught.com>
543
544         * NEWS:
545         * configure.in:
546         * glabels.spec.in:
547                 Reconcile with 2.2 branch.
548         
549
550 2007-12-21  Jim Evins  <evins@snaught.com>
551
552         * COPYING.LIBGLABELS:
553         * COPYING.README_FIRST:
554         * README:
555                 Updating license information to make more complete and understandable.
556
557 2007-12-16  Jim Evins  <evins@snaught.com>
558
559         * configure.in:
560                 Updated version to 2.pre2.
561         * help/C/glabels.xml:
562                 Updated documentation.
563         * src/ui-commands.c: (gl_ui_cmd_help_about):
564                 Updated copyright string.
565
566 2007-12-15  Jim Evins  <evins@snaught.com>
567
568         * data/glade/object-editor.glade:
569                 Removed any GtkTable that contained a GtkComboBox because the size of
570                 the combo box was not constrained properly.  This sacrifices the nice
571                 orderly labels for combo boxes that don't extend beyond the edge of the
572                 window.
573
574 2007-12-15  Jim Evins  <evins@snaught.com>
575
576         * libglabels/db.c: (lgl_db_lookup_template_from_name):
577         * src/object-editor.c: (gl_object_editor_finalize):
578         * src/wdgt-media-select.c: (gl_wdgt_media_select_finalize):
579                 Fixed several small memory leaks.
580
581 2007-12-14  Jim Evins  <evins@snaught.com>
582
583         * libglabels/db.c:
584                 Optimize template search by name by using a GHashTable.
585         * src/mini-preview-pixbuf-cache.c:
586         * src/mini-preview-pixbuf-cache.h:
587                 Store one pixbuf per template, but use a key for each alias.
588         * src/wdgt-media-select.c:
589                 Optimize loading of tree data, thus optimizing the "new label" dialog.
590
591 2007-12-12  Jim Evins  <evins@snaught.com>
592
593         * data/templates/avery-us-templates.xml:
594                 More templates and aliases.
595
596 2007-12-08  Jim Evins  <evins@snaught.com>
597
598         * TODO:
599                 More prep for 2.1.5/2.2.0.
600
601 2007-12-08  Jim Evins  <evins@snaught.com>
602
603         * NEWS:
604         * README:
605         * TODO:
606         * configure.in:
607                 Preparation for 2.1.5.
608
609 2007-12-08  Jim Evins  <evins@snaught.com>
610
611         * docs/libglabels/libglabels-decl-list.txt:
612         * docs/libglabels/libglabels-docs.sgml:
613         * docs/libglabels/libglabels-sections.txt:
614         * docs/libglabels/libglabels-undocumented.txt:
615         * docs/libglabels/tmpl/db.sgml:
616         * docs/libglabels/tmpl/str.sgml:
617         * libglabels/str.c:
618                 Documentation cleanup for libglabels.
619
620 2007-11-29  Jim Evins  <evins@snaught.com>
621
622         * libglabels/db.h:
623         * libglabels/db.c:
624                 Added lgl_db_does_template_name_exist().
625                 In lgl_db_lookup_template_from_name() substitute brand/part of new template from
626                 requested alias.
627         * src/prefs-model.c:
628                 Proof read recent templates -- make sure they still exist.
629         * src/wdgt-media-select.c:
630                 Default to "search all templates" tab if no recent templates found.
631
632 2007-11-28  Jim Evins  <evins@snaught.com>
633
634         * data/glade/wdgt-media-select.glade:
635         * src/wdgt-media-select.c:
636                 Added tabbed notebook to allow selection of recent template versus searching the
637                 entire database.
638         
639
640 2007-11-26  Jim Evins  <evins@snaught.com>
641
642         * libglabels/Makefile.am:
643         * libglabels/libglabels.h:
644                 Make str.h public.
645         * src/label.c:
646         * src/prefs-dialog.c:
647         * src/prefs-model.c:
648         * src/prefs-model.h:
649         * src/prefs.c:
650         * src/prefs.h:
651                 Added tracking of recently used templates.
652
653 2007-11-20  Jim Evins  <evins@snaught.com>
654
655         * data/glade/template-designer.glade:
656         * src/template-designer.c:
657                 Added warning icon when match brand and part match an existing template.
658
659 2007-11-18  Jim Evins  <evins@snaught.com>
660
661         * libglabels/Makefile.am:
662         * libglabels/str.h:
663         * libglabels/str.c:
664                 Added lgl_str_utf8_casecmp().
665         * libglabels/libglabels-private.h:
666                 Use lgl_str_utf8_casecmp() for UTF8_EQUAL macro -- do case insensitive comparisons.
667         * libglabels/db.c: (lgl_db_get_brand_list):
668                 Use lgl_str_utf8_casecmp() to determine if we have seen brand before when building
669                 brand list.
670
671 2007-11-18  Jim Evins  <evins@snaught.com>
672
673         * data/glade/template-designer.glade:
674         * src/template-designer.c:
675                 Don't advance past name page, if brand and part match an existing template.
676
677 2007-11-18  Jim Evins  <evins@snaught.com>
678
679         * libglabels/db.c: (lgl_db_register_template), (read_templates):
680                 When registering a new template, don't add to "User defined" category before
681                 writing to file.  Add to "User defined" category when reading from "~/.glabels"
682                 directory instead.  This will allow legacy templates (and manually created
683                 templates) to be automatically added to the "user defined" category.
684         * libglabels/xml-template.c:
685         (lgl_xml_template_create_template_node):
686                 Fixed typo/bug causing brand to be wrong.
687         
688 2007-11-16  Jim Evins  <evins@snaught.com>
689
690         * libglabels/db.c:
691         * libglabels/db.h:
692                 Added return codes to lgl_db_register_template().  Added lgl_db_does_template_exist()
693                 function.  Automatically create "User defined" category and add to all user
694                 registered templates.
695         * libglabels/xml-template.c:
696         * libglabels/xml-template.h:
697                 Return number of bytes written from lgl_xml_template_write_templates_to_file() and
698                 lgl_xml_template_write_template_to_file().
699         * docs/libglabels/libglabels-decl-list.txt:
700         * docs/libglabels/libglabels-sections.txt:
701         * docs/libglabels/libglabels-undocumented.txt:
702         * docs/libglabels/tmpl/db.sgml:
703         * docs/libglabels/tmpl/xml-template.sgml:
704                 Update documentation to reflect above changes.
705
706 2007-10-28  Jim Evins  <evins@snaught.com>
707
708         * libglabels/xml-template.c:
709                 Remove any leading white space from part #s when parsing old names.
710         * src/mini-preview-pixbuf-cache.c:
711                 If name isn't in cache add it.
712
713 2007-10-26  Jim Evins  <evins@snaught.com>
714
715         * libglabels/Makefile.am:
716         * libglabels/category.c:
717         * libglabels/category.h:
718         * libglabels/db.c:
719         * libglabels/db.h:
720         * libglabels/libglabels-private.h:
721         * libglabels/libglabels.h:
722         * libglabels/paper.c:
723         * libglabels/paper.h:
724         * libglabels/template.c:
725         * libglabels/template.h:
726         * libglabels/xml-template.c:
727                 Another pass at screwing with the libglabels API.  Moved all
728                 database related stuff to db.[ch].
729         * docs/libglabels/libglabels-decl-list.txt:
730         * docs/libglabels/libglabels-docs.sgml:
731         * docs/libglabels/libglabels-sections.txt:
732         * docs/libglabels/libglabels-undocumented.txt:
733         * docs/libglabels/tmpl/category.sgml:
734         * docs/libglabels/tmpl/db.sgml:
735         * docs/libglabels/tmpl/init.sgml:
736         * docs/libglabels/tmpl/libglabels-unused.sgml:
737         * docs/libglabels/tmpl/paper.sgml:
738         * docs/libglabels/tmpl/template-construction.sgml:
739         * docs/libglabels/tmpl/template-db.sgml:
740         * docs/libglabels/tmpl/template-misc.sgml:
741         * docs/libglabels/tmpl/template-struct.sgml:
742         * docs/libglabels/tmpl/template.sgml:
743                 Updated documentation to reflect above changes to libglabels API.
744         * src/file.c:
745         * src/glabels-batch.c:
746         * src/glabels.c:
747         * src/mini-preview-pixbuf-cache.c:
748         * src/prefs-model.c:
749         * src/print.c:
750         * src/template-designer.c:
751         * src/wdgt-media-select.c:
752         * src/wdgt-mini-preview.c:
753         * src/wdgt-rotate-label.c:
754         * src/xml-label-04.c:
755         * src/xml-label.c:
756                 Reconciled usage with above libglabels API changes.
757
758 2007-10-21  Jim Evins  <evins@snaught.com>
759
760         * data/glade/wdgt-media-select.glade:
761         * src/wdgt-media-select.c:
762                 Added brand to filter settings.
763
764 2007-10-21  Jim Evins  <evins@snaught.com>
765
766         * data/dtd/glabels-2.2.dtd:
767                 Forgot to replace Alias name attribute with brand and part attributes.
768         * data/templates/avery-iso-templates.xml:
769         * data/templates/avery-other-templates.xml:
770         * data/templates/avery-us-templates.xml:
771         * data/templates/misc-iso-templates.xml:
772         * data/templates/misc-other-templates.xml:
773         * data/templates/misc-us-templates.xml:
774         * data/templates/zweckform-iso-templates.xml:
775                 Replaced all name attributes with brand/part attribute pairs.
776
777 2007-10-20  Jim Evins  <evins@snaught.com>
778
779         * src/stock-pixmaps/*.png
780                 Updated icons to use Tango color palette.
781         
782 2007-10-20  Jim Evins  <evins@snaught.com>
783
784         * data/dtd/Makefile.am:
785         * data/dtd/glabels-2.0.dtd:
786         * data/dtd/glabels-2.2.dtd:
787                 Rename glabels-2.0.dtd to glabels-2.2.dtd.  Added brand and part attributes to
788                 template node.
789         * libglabels/template.c:
790         * libglabels/template.h:
791         * libglabels/xml-template.c:
792         * libglabels/xml.h:
793                 Added brand and part attributes to template and alias structures and nodes.
794         * src/file.c:
795         * src/label.c:
796         * src/mini-preview-pixbuf-cache.c:
797         * src/template-designer.c:
798         * src/wdgt-media-select.c:
799                 Use modified libglabels API.
800         * docs/libglabels/libglabels-decl-list.txt:
801         * docs/libglabels/libglabels-sections.txt:
802         * docs/libglabels/libglabels-undocumented.txt:
803         * docs/libglabels/tmpl/template-construction.sgml:
804         * docs/libglabels/tmpl/template-db.sgml:
805         * docs/libglabels/tmpl/template-struct.sgml:
806                 Update libglabels documentation to reflect above modifications.
807
808 2007-10-14  Jim Evins  <evins@snaught.com>
809
810         * docs/libglabels/libglabels-decl-list.txt:
811         * docs/libglabels/libglabels-sections.txt:
812         * docs/libglabels/libglabels-undocumented.txt:
813         * docs/libglabels/tmpl/category.sgml:
814         * libglabels/category.c:
815         * libglabels/category.h:
816                 Added lgl_category_get_id_list() and lgl_category_free_id_list() to have
817         parity with paper functions.
818
819 2007-10-12  Jim Evins  <evins@snaught.com>
820
821         * docs/libglabels/libglabels-decl-list.txt:
822         * docs/libglabels/libglabels-sections.txt:
823         * docs/libglabels/libglabels-undocumented.txt:
824         * docs/libglabels/tmpl/category.sgml:
825         * docs/libglabels/tmpl/enums.sgml:
826         * docs/libglabels/tmpl/libglabels-unused.sgml:
827         * docs/libglabels/tmpl/paper.sgml:
828         * docs/libglabels/tmpl/template-struct.sgml:
829         * libglabels/init.c:
830         * libglabels/template.c:
831         * libglabels/template.h:
832                 Another pass at fleshing out the libglabels documentation.
833         * src/cairo-label-path.c:
834         * src/cairo-markup-path.c:
835         * src/label.c:
836         * src/mini-preview-pixbuf.c:
837         * src/print-op.c:
838         * src/print.c:
839         * src/view.c:
840         * src/wdgt-media-select.c:
841         * src/wdgt-mini-preview.c:
842         * src/wdgt-print-copies.c:
843         * src/wdgt-print-merge.c:
844         * src/wdgt-rotate-label.c:
845                 Removed lgl_template_get_first_frame() from libglabels API and all references.
846
847 2007-10-11  Jim Evins  <evins@snaught.com>
848         * configure.in:
849                 Extended checks for deprecated symbols.
850         * libglabels/template.c:
851                 Removed g_strcasecmp references, which are deprecated.
852
853 2007-10-09  Jim Evins  <evins@snaught.com>
854
855         * src/merge-evolution.c:
856                 Create address book if it does not exist.  Also, be more robust about handling
857                 error conditions -- don't just assume GError has been set.
858
859 2007-10-08  Jim Evins  <evins@snaught.com>
860
861         * libglabels/template.c:
862         * libglabels/xml-template.c:
863         * src/template-designer.c:
864                 Missed some symbols with libglabels API work.
865
866 2007-10-01  Jim Evins  <evins@snaught.com>
867
868         * docs/libglabels/libglabels-decl-list.txt:
869         * docs/libglabels/libglabels-docs.sgml:
870         * docs/libglabels/libglabels-sections.txt:
871         * docs/libglabels/libglabels-undocumented.txt:
872         * docs/libglabels/tmpl/category.sgml:
873         * docs/libglabels/tmpl/enums.sgml:
874         * docs/libglabels/tmpl/init.sgml:
875         * docs/libglabels/tmpl/libglabels-unused.sgml:
876         * docs/libglabels/tmpl/paper.sgml:
877         * docs/libglabels/tmpl/template-construction.sgml:
878         * docs/libglabels/tmpl/template-db.sgml:
879         * docs/libglabels/tmpl/template-misc.sgml:
880         * docs/libglabels/tmpl/template-struct.sgml:
881         * docs/libglabels/tmpl/template.sgml:
882         * docs/libglabels/tmpl/xml-category.sgml:
883         * docs/libglabels/tmpl/xml-template.sgml:
884         * libglabels/category.h:
885         * libglabels/init.c:
886         * libglabels/libglabels-private.h:
887         * libglabels/paper.h:
888         * libglabels/template.c:
889         * libglabels/template.h:
890         * libglabels/xml-template.h:
891                 Basic documentation framework for libglabels updated.  This still needs some
892                 fleshing out.
893         
894 2007-09-27  Jim Evins  <evins@snaught.com>
895
896         * docs/libglabels/libglabels-decl-list.txt:
897         * docs/libglabels/libglabels-docs.sgml:
898         * docs/libglabels/libglabels-sections.txt:
899         * docs/libglabels/libglabels-undocumented.txt:
900         * docs/libglabels/tmpl/enums.sgml:
901         * docs/libglabels/tmpl/init.sgml:
902         * docs/libglabels/tmpl/libglabels-unused.sgml:
903         * docs/libglabels/tmpl/paper.sgml:
904         * docs/libglabels/tmpl/template.sgml:
905         * docs/libglabels/tmpl/xml-paper.sgml:
906         * docs/libglabels/tmpl/xml-template.sgml:
907         * docs/libglabels/tmpl/xml.sgml:
908         * libglabels/Makefile.am:
909         * libglabels/category.c:
910         * libglabels/category.h:
911         * libglabels/enums.h:
912         * libglabels/init.c:
913         * libglabels/init.h:
914         * libglabels/libglabels-private.h:
915         * libglabels/libglabels.h:
916         * libglabels/paper.c:
917         * libglabels/paper.h:
918         * libglabels/template.c:
919         * libglabels/template.h:
920         * libglabels/xml-category.c:
921         * libglabels/xml-category.h:
922         * libglabels/xml-paper.c:
923         * libglabels/xml-paper.h:
924         * libglabels/xml-template.c:
925         * libglabels/xml-template.h:
926         * libglabels/xml.c:
927         * libglabels/xml.h:
928         * src/cairo-label-path.c:
929         * src/cairo-label-path.h:
930         * src/cairo-markup-path.c:
931         * src/cairo-markup-path.h:
932         * src/file.c:
933         * src/glabels-batch.c:
934         * src/glabels.c:
935         * src/label-object.c:
936         * src/label.c:
937         * src/label.h:
938         * src/mini-preview-pixbuf-cache.c:
939         * src/mini-preview-pixbuf.c:
940         * src/mini-preview-pixbuf.h:
941         * src/prefs-dialog.c:
942         * src/prefs-model.c:
943         * src/prefs-model.h:
944         * src/prefs.c:
945         * src/prefs.h:
946         * src/print-op.c:
947         * src/print.c:
948         * src/template-designer.c:
949         * src/view-barcode.c:
950         * src/view-box.c:
951         * src/view-ellipse.c:
952         * src/view-image.c:
953         * src/view-line.c:
954         * src/view.c:
955         * src/wdgt-media-select.c:
956         * src/wdgt-mini-preview.c:
957         * src/wdgt-mini-preview.h:
958         * src/wdgt-print-copies.c:
959         * src/wdgt-print-merge.c:
960         * src/wdgt-rotate-label.c:
961         * src/xml-label-04.c:
962         * src/xml-label.c:
963                 Major cleanup of libglabels API -- this breaks API compatibility with older
964                 development and stable versions -- as far as I know, there are currently
965                 no external users of this library yet.
966         
967 2007-09-14  Jim Evins  <evins@snaught.com>
968
969         * src/marshal.list:
970         * src/label.c:
971         * src/label.h:
972         * src/label-object.c:
973         * src/label-object.h:
974         * src/label-barcode.c:
975         * src/label-ellipse.c:
976         * src/view.c:
977         * src/view-object.c:
978         * src/view-barcode.c:
979         * src/view-box.c:
980         * src/view-ellipse.c:
981         * src/view-image.c:
982         * src/view-line.c:
983         * src/view-text.c:
984                 Better separation of model from view.
985
986 2007-08-21  Jim Evins  <evins@snaught.com>
987
988         * src/print-op.c: (create_custom_widget_cb):
989                 Fix problem with force_outline_flag -- don't override with default.
990
991 2007-08-21  Jim Evins  <evins@snaught.com>
992
993         * data/dtd/glabels-2.0.dtd:
994         * libglabels/template.c:
995         * libglabels/template.h:
996         * libglabels/xml-template.c:
997         * src/cairo-markup-path.c:
998                 Added "Markup-rect" element to template format.
999
1000 2007-08-21  Jim Evins  <evins@snaught.com>
1001
1002         * configure.in:
1003                 Changed version to 2.1.pre5svn.
1004         * src/view.c: (draw_markup_layer):
1005                 Do a stroke for each markup path, otherwise multiple markups
1006                 get connected.
1007
1008 2007-08-17  Jim Evins  <evins@snaught.com>
1009
1010         * configure.in:
1011                 Bump libglabels revision numbers for 2.1.4 release.
1012
1013 2007-08-16  Jim Evins  <evins@snaught.com>
1014
1015         * Makefile.am:
1016                 Include subdir iec16022-0.2.1.
1017         * NEWS:
1018         * configure.in:
1019         * glabels.spec.in:
1020                 Preparation for 2.1.4.
1021         
1022
1023 2007-08-11  Jim Evins  <evins@snaught.com>
1024
1025         * po/POTFILES.in:
1026                 Updated file list.
1027         * configure.in:
1028         * po/eo.po:
1029                 Added Esperanto translation.  Provided by Antonio C.
1030                 Codazzi "la Filozofo" <f_sophia@libero.it>.
1031         * po/fr.po:
1032                 Updated French translation. Provided by Claude Paroz
1033                 <claude@2xlibre.net>.
1034         * AUTHORS:
1035                 Updated to reflect above translations.
1036
1037 2007-08-11  Jim Evins  <evins@snaught.com>
1038
1039         * AUTHORS:
1040         * data/templates/avery-iso-templates.xml:
1041         * data/templates/avery-us-templates.xml:
1042         * data/templates/misc-iso-templates.xml:
1043         * data/templates/misc-other-templates.xml:
1044         * data/templates/misc-us-templates.xml:
1045         * data/templates/zweckform-iso-templates.xml:
1046                 Caught up with backlog of template submissions.
1047
1048 2007-08-10  Jim Evins  <evins@snaught.com>
1049
1050         * src/bc-postnet.c: (gl_barcode_postnet_new):
1051         * src/bc.c:
1052                 Added support for Brazilian CEPNet barcodes.  This is simply an
1053                 instance of the US POSTNET format with 8 digits.  Patch supplied
1054                 by Mário Meyer in bug # 1768792.
1055         * AUTHORS:
1056                 Updated acknowledgments to reflect above patch and recent shuffling
1057                 of underlying technology.
1058
1059 2007-05-13  Jim Evins  <evins@snaught.com>
1060
1061         * src/merge-text.c: (parse_line), (parse_field):
1062                 Remove leading and trailing spaces from CSV fields, unless quoted.
1063
1064 2007-05-09  Jim Evins  <evins@snaught.com>
1065
1066         * src/object-editor-bc-page.c:
1067         * src/object-editor-data-page.c:
1068         * src/object-editor-fill-page.c:
1069         * src/object-editor-image-page.c:
1070         * src/object-editor-line-page.c:
1071         * src/object-editor-lsize-page.c:
1072         * src/object-editor-position-page.c:
1073         * src/object-editor-private.h:
1074         * src/object-editor-shadow-page.c:
1075         * src/object-editor-size-page.c:
1076         * src/object-editor-text-page.c:
1077         * src/object-editor.c:
1078         * src/prefs-dialog.c:
1079         * src/template-designer.c:
1080         * src/ui-property-bar.c:
1081         * src/wdgt-media-select.c:
1082                 Replaced signal block/unblock pairs with simple flags.  This reduces
1083                 some code clutter, hopefully making it easier to read.
1084
1085 2007-05-05  Jim Evins  <evins@snaught.com>
1086
1087         * src/template-designer.c: (apply_cb):
1088                 Add new template to mini-preview pixbuf cache.
1089
1090 2007-05-03  Jim Evins  <evins@snaught.com>
1091
1092         * src/label-image.c: (gl_label_image_init), (draw_object):
1093                 Scale default pixbuf up, to prevent bluring.  Use cairo_fill to
1094                 render image.
1095
1096 2007-05-02  Jim Evins  <evins@snaught.com>
1097
1098         * src/view.c: (draw_select_region_layer), (motion_notify_event_cb),
1099         (button_release_event_cb):
1100                 Removed attempt at rendering optimization by clipping the updates
1101                 to areas affected -- this actually seemed to hurt update performance.
1102
1103 2007-04-30  Jim Evins  <evins@snaught.com>
1104
1105         * src/color.h:
1106         * src/color.c: (gl_color_shadow), (gl_color_node_new_default),
1107         (gl_color_node_equal), (gl_color_node_expand):
1108         * src/label-barcode.c: (draw_object):
1109         * src/label-box.c: (draw_object), (draw_shadow):
1110         * src/label-ellipse.c: (draw_object), (draw_shadow):
1111         * src/label-line.c: (draw_object), (draw_shadow):
1112         * src/label-text.c: (draw_object), (draw_shadow):
1113         * src/wdgt-mini-preview.c: (draw_shadow), (draw_labels):
1114         * src/wdgt-rotate-label.c: (drawingarea_update):
1115                 Some cleanup to color related code.
1116
1117 2007-04-30  Jim Evins  <evins@snaught.com>
1118
1119         * src/label.h:
1120                 Added glLabelRegion structure type.
1121         * src/label-object.c: (gl_label_object_get_extent):
1122         * src/label-object.h:
1123                 Modified gl_label_object_get_extent() to fill in a glLabelRegion struct.
1124         * src/view.h:
1125         * src/view.c: (gl_view_update_region), (draw_select_region_layer),
1126         (gl_view_select_region), (gl_view_align_selection_left),
1127         (gl_view_align_selection_right), (gl_view_align_selection_hcenter),
1128         (gl_view_align_selection_top), (gl_view_align_selection_bottom),
1129         (gl_view_align_selection_vcenter),
1130         (gl_view_center_selection_horiz), (gl_view_center_selection_vert),
1131         (gl_view_move_selection), (gl_view_can_selection_text),
1132         (motion_notify_event_cb), (button_press_event_cb),
1133         (button_release_event_cb):
1134                 - Reconcile with new gl_label_object_get_extent() API.
1135                 - Use glLabelRegion for view->select_region.
1136                 - Added gl_view_update_region() to clip updates to region.
1137                 - Use gl_view_update_region() during manipulation of view->select_region.
1138
1139 2007-04-26  Jim Evins  <evins@snaught.com>
1140
1141         * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
1142         (draw_label_outline):
1143         * src/print.c: (print_crop_marks), (draw_outline):
1144         * src/view-object.c: (gl_view_object_draw_handles):
1145         * src/view.c: (draw_bg_layer), (draw_grid_layer),
1146         (draw_markup_layer), (draw_fg_layer), (draw_select_region_layer):
1147         * src/wdgt-mini-preview.c: (draw_paper), (draw_labels):
1148         * src/wdgt-rotate-label.c: (drawingarea_update):
1149                 Added defines for various magic numbers.
1150
1151 2007-04-25  Jim Evins  <evins@snaught.com>
1152
1153         * src/label-text.c: (get_size), (draw_object), (draw_shadow):
1154                 Scale text down.  Cairo seems to render text too large.
1155
1156 2007-04-25  Jim Evins  <evins@snaught.com>
1157
1158         * src/view.h:
1159         * src/view.c: (gl_view_update), (expose_cb),
1160         (motion_notify_event_cb), (button_press_event_cb),
1161         (button_release_event_cb):
1162                 - Try not to let updates get backed up.
1163                 - Grab pointer when doing any drag operations.
1164
1165 2007-04-11  Jim Evins  <evins@snaught.com>
1166
1167         * src/cairo-label-path.c: (gl_cairo_label_path),
1168         (gl_cairo_rect_label_path), (gl_cairo_round_label_path),
1169         (gl_cairo_cd_label_path):
1170         * src/cairo-label-path.h:
1171         * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
1172         (draw_label_outline):
1173         * src/print.c: (draw_outline), (clip_to_outline):
1174         * src/view.c: (draw_bg_layer), (draw_fg_layer):
1175         * src/wdgt-mini-preview.c: (draw_labels):
1176         * src/wdgt-rotate-label.c: (drawingarea_update):
1177                 Modified to universally use gl_cairo_label_path() to create paths
1178                 for labels.  Added shadow to mini preview in rotate widget.
1179
1180 2007-04-10  Jim Evins  <evins@snaught.com>
1181
1182         * libglabels/template.h:
1183         * libglabels/template.c: (gl_template_get_name_list_unique),
1184         (gl_template_get_name_list_all), (gl_template_from_name):
1185                 Modified libglabels to allow you to get a list of all template names
1186                 including all aliases or just a list of primary names of each unique
1187                 template.
1188         * src/Makefile.am:
1189         * src/file.c: (gl_file_properties):
1190         * src/glabels.c: (main):
1191         * src/mini-preview-pixbuf-cache.h:
1192         * src/mini-preview-pixbuf-cache.c:
1193         * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
1194         (filter_changed_cb), (load_list):
1195                 Added mini-preview pixbuf cache, so that only one mini-preview is
1196                 needed for a unique template and gets reused for all aliases.  These
1197                 pixbufs will also live for the life of the program so they are not
1198                 rebuilt everytime a new label dialog is invoked.
1199         * src/mini-preview-pixbuf.c: (draw_paper),
1200         (draw_rect_label_outline), (draw_round_label_outline),
1201         (draw_cd_label_outline):
1202                 Removed some comment artifacts.
1203
1204 2007-04-04  Jim Evins  <evins@snaught.com>
1205
1206         * src/mini-preview-pixbuf.c: (gl_mini_preview_pixbuf_new),
1207         (draw_paper), (draw_label_outlines), (draw_rect_label_outline),
1208         (draw_round_label_outline), (draw_cd_label_outline):
1209         * src/wdgt-media-select.c: (load_list):
1210         * src/wdgt-rotate-label.c: (draw_cd_label_outline):
1211                 Cosmetic enhancments to mini previews.
1212
1213 2007-04-04  Jim Evins  <evins@snaught.com>
1214
1215         * src/ui-property-bar.c: (gl_ui_property_bar_finalize),
1216         (gl_ui_property_bar_construct):
1217                 Save copy of GladeXML tree so that we don't lose tooltips.
1218
1219 2007-04-02  Jim Evins  <evins@snaught.com>
1220
1221         * src/merge-properties-dialog.c:
1222         * src/new-label-dialog.c:
1223         * src/object-editor.c:
1224         * src/prefs-dialog.c:
1225         * src/print-op.c:
1226         * src/template-designer.c:
1227         * src/ui-property-bar.c:
1228         * src/wdgt-media-select.c:
1229         * src/wdgt-rotate-label.c:
1230                 Fixed several memory leaks.
1231
1232 2007-04-01  Jim Evins  <evins@snaught.com>
1233
1234         * src/label-text.c: (gl_label_text_init), (copy),
1235         (gl_label_text_set_lines), (buffer_changed_cb), (get_size),
1236         (set_font_family), (set_font_size), (set_font_weight),
1237         (set_font_italic_flag), (set_text_alignment),
1238         (set_text_line_spacing):
1239                 Cache object size, so that expensive extent calculations are only done
1240                 when needed.
1241
1242 2007-03-30  Jim Evins  <evins@snaught.com>
1243
1244         * src/prefs-model.c: (gl_prefs_model_load_settings):
1245                 Default to an unlimited list of recent documents, since this parameter
1246                 seems to be pre-filter anyway.
1247
1248 2007-03-30  Jim Evins  <evins@snaught.com>
1249
1250         * src/label-box.c: (draw_shadow):
1251         * src/label-ellipse.c: (draw_shadow):
1252                 Added missing shadow fill.
1253         
1254 2007-03-28  Jim Evins  <evins@snaught.com>
1255
1256         * src/ui-commands.c: (gl_ui_cmd_file_print):
1257                 Unreferencing the print operation sometimes crashes.  Just don't do it
1258                 right now.
1259
1260 2007-03-28  Jim Evins  <evins@snaught.com>
1261
1262         * src/print-op.c: (gl_print_op_construct),
1263         (gl_print_op_get_settings), (gl_print_op_set_settings),
1264         (gl_print_op_free_settings), (create_custom_widget_cb):
1265         * src/print-op.h:
1266         * src/ui-commands.c: (gl_ui_cmd_file_print):
1267         * src/window.c: (gl_window_init):
1268         * src/window.h:
1269                 Save print settings and custom settings between print operations
1270                 on the same window.
1271
1272 2007-03-24  Jim Evins  <evins@snaught.com>
1273
1274         * src/object-editor-image-page.c:
1275         (gl_object_editor_prepare_image_page),
1276         (gl_object_editor_set_image), (img_selection_changed_cb):
1277                 Workaround for GtkFileChooserButton bug # 327243.  This the root
1278                 cause for gLabels bug # 1192884.  I have actually observed 3 delayed
1279                 "selection-changed" signals -- the first 2 return NULL -- this is
1280                 what caused the image to reset to the default followed by setting
1281                 it back to the original image, trying to fit it into a new bounding
1282                 box.  This sequence of events is much more evident with the new
1283                 cairo rendering.
1284
1285 2007-03-23  Jim Evins  <evins@snaught.com>
1286
1287         Merged all changes from experimental cairo branch to trunk.
1288         Trunk no longer depends on libgnomecanvas or libgnomeprint[ui].
1289
1290 2007-03-23  Jim Evins  <evins@snaught.com>
1291
1292         * src/label-object.h:
1293         * src/label-object.c: (gl_label_object_class_init),
1294         (gl_label_object_get_raw_size), (gl_label_object_get_size):
1295                 Created "get_raw_size" method.
1296         * src/label-barcode.c: (get_size):
1297         * src/xml-label.c: (xml_create_object_text),
1298         (xml_create_object_barcode):
1299                 Use new "get_raw_size" method on label-objects when apropos.
1300         * src/label-text.h:
1301         * src/label-text.c: (get_size), (draw_object), (draw_shadow),
1302         (auto_shrink_font_size):
1303                 Added "auto shrink" functionality back.
1304
1305 2007-03-19  Jim Evins  <evins@snaught.com>
1306
1307         * src/label-text.c: (draw_object), (draw_shadow):
1308                 Don't use negative scales in workaround from previous commit.
1309         
1310
1311 2007-03-18  Jim Evins  <evins@snaught.com>
1312
1313         * src/xml-label.c:
1314                 Forgot to remove include of xml-lable-191 in previous commit.
1315         * src/label-text.c: (get_size), (draw_object), (draw_shadow):
1316                 Workaround for pango Bug #341481.  Render text at device scale,
1317                 and scale font size accordingly.  Also, don't do any hinting.
1318
1319 2007-03-18  Jim Evins  <evins@snaught.com>
1320
1321         * src/cairo-ellipse-path.c:
1322         * src/cairo-ellipse-path.h:
1323                 Forgot to add these new files during last mass commit.
1324
1325 2007-03-18  Jim Evins  <evins@snaught.com>
1326
1327         * src/Makefile.am:
1328         * src/xml-label-191.c:
1329         * src/xml-label-191.h:
1330                 Removed -- Very buggy.  Version 1.91 is a very old "unstable" version,
1331                 so there is no need to keep compatability.
1332         * src/base64.c:
1333         * src/bc-iec16022.c:
1334         * src/cairo-label-path.c:
1335         * src/cairo-label-path.h:
1336         * src/cairo-markup-path.c:
1337         * src/color.c:
1338         * src/debug.c:
1339         * src/file.c:
1340         * src/glabels-batch.c:
1341         * src/glabels.c:
1342         * src/label-barcode.c:
1343         * src/label-box.c:
1344         * src/label-ellipse.c:
1345         * src/label-image.c:
1346         * src/label-line.c:
1347         * src/label-object.c:
1348         * src/label-object.h:
1349         * src/label-text.c:
1350         * src/label.c:
1351         * src/label.h:
1352         * src/merge-properties-dialog.c:
1353         * src/merge.c:
1354         * src/new-label-dialog.c:
1355         * src/object-editor-bc-page.c:
1356         * src/object-editor-data-page.c:
1357         * src/object-editor-edit-page.c:
1358         * src/object-editor-fill-page.c:
1359         * src/object-editor-image-page.c:
1360         * src/object-editor-line-page.c:
1361         * src/object-editor-private.h:
1362         * src/object-editor-shadow-page.c:
1363         * src/object-editor-text-page.c:
1364         * src/object-editor.c:
1365         * src/pixbuf-cache.c:
1366         * src/print-op.c:
1367         * src/print.c:
1368         * src/recent.c:
1369         * src/stock.c:
1370         * src/template-designer.c:
1371         * src/text-node.c:
1372         * src/ui-property-bar.c:
1373         * src/ui.c:
1374         * src/view-barcode.c:
1375         * src/view-box.c:
1376         * src/view-ellipse.c:
1377         * src/view-image.c:
1378         * src/view-line.c:
1379         * src/view-object.c:
1380         * src/view-object.h:
1381         * src/view-text.c:
1382         * src/view.c:
1383         * src/wdgt-media-select.c:
1384         * src/wdgt-print-copies.c:
1385         * src/wdgt-print-merge.c:
1386         * src/window.c:
1387         * src/xml-label-04.c:
1388         * src/xml-label.c:
1389                 Many changes, including:
1390                 - Move draw methods from view-*() to label-*().
1391                 - Use same drawing code for on screen view and printing.
1392                 - Fix all issues exposed with '-Wall -Werror'.
1393
1394 2007-03-14  Jim Evins  <evins@snaught.com>
1395
1396         * src/Makefile.am:
1397         * src/cairo-handle-path.c:
1398         * src/cairo-handle-path.h:
1399         * src/cairo-object-path.c:
1400         * src/cairo-object-path.h:
1401                 Removed cairo-handle-path.[ch] and cairo-object-path.[ch].
1402         * src/view-barcode.c: (gl_view_barcode_class_init), (draw_object),
1403         (object_at):
1404         * src/view-box.c: (gl_view_box_class_init), (draw_object),
1405         (draw_shadow), (object_at):
1406         * src/view-ellipse.c: (gl_view_ellipse_class_init),
1407         (create_ellipse_path), (draw_object), (draw_shadow), (object_at):
1408         * src/view-image.c: (gl_view_image_class_init), (draw_object),
1409         (object_at):
1410         * src/view-line.c: (gl_view_line_class_init), (draw_object),
1411         (draw_shadow), (object_at):
1412         * src/view-object.c: (gl_view_object_draw), (gl_view_object_at),
1413         (create_handle_path), (gl_view_object_draw_handles),
1414         (gl_view_object_handle_at):
1415         * src/view-object.h:
1416         * src/view-text.c: (gl_view_text_class_init), (draw_object),
1417         (draw_shadow), (object_at):
1418         * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
1419                 Some restructuring of new code.
1420
1421 2007-03-12  Jim Evins  <evins@snaught.com>
1422
1423         * src/Makefile.am:
1424         * src/cairo-object-path.c:
1425         * src/view-barcode.c:
1426         * src/view-barcode.h:
1427         * src/view.c:
1428                 Added barcode object support to view.
1429
1430 2007-03-12  Jim Evins  <evins@snaught.com>
1431
1432         * src/Makefile.am:
1433         * src/view-text.h:
1434         * src/view-text.c:
1435         * src/view.c:
1436         * src/cairo-object-path.c:
1437         * src/cairo-object-path.h:
1438         * src/view-box.c:
1439         * src/view-ellipse.c:
1440         * src/view-image.c:
1441         * src/view-line.c:
1442         * src/view-object.c:
1443         * src/view-object.h:
1444                 Added text object support to view.  Added object_at method to all
1445                 view_objects.
1446
1447 2007-03-11  Jim Evins  <evins@snaught.com>
1448
1449         * src/Makefile.am:
1450         * src/cairo-object-path.c: (gl_cairo_object_path),
1451         (gl_cairo_image_object_path):
1452         * src/view-image.c: (gl_view_image_class_init),
1453         (gl_view_image_finalize), (gl_view_image_new),
1454         (update_editor_from_label_cb), (draw),
1455         (gl_view_image_get_create_cursor),
1456         (gl_view_image_create_button_press_event),
1457         (gl_view_image_create_motion_event),
1458         (gl_view_image_create_button_release_event):
1459         * src/view-image.h:
1460         * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
1461         (selection_received_cb), (motion_notify_event_cb),
1462         (button_press_event_cb), (button_release_event_cb):
1463                 Added image object support to view.
1464
1465 2007-03-11  Jim Evins  <evins@snaught.com>
1466
1467         * src/Makefile.am:
1468         * src/cairo-object-path.c: (gl_cairo_object_path),
1469         (gl_cairo_line_object_path):
1470         * src/view-line.c: (gl_view_line_class_init), (gl_view_line_new),
1471         (update_object_from_editor_cb), (update_editor_from_object_cb),
1472         (update_editor_from_label_cb), (draw),
1473         (gl_view_line_get_create_cursor),
1474         (gl_view_line_create_button_press_event),
1475         (gl_view_line_create_motion_event),
1476         (gl_view_line_create_button_release_event):
1477         * src/view-line.h:
1478         * src/view-object.c: (gl_view_object_resize_event):
1479         * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
1480         (selection_received_cb), (motion_notify_event_cb),
1481         (button_press_event_cb), (button_release_event_cb):
1482                 Added line object support to view.
1483         * src/cairo-handle-path.c:
1484                 Made handles slightly larger.
1485
1486
1487 2007-03-11  Jim Evins  <evins@snaught.com>
1488
1489         * src/Makefile.am:
1490         * src/cairo-handle-path.c:
1491         * src/cairo-label-path.c: (gl_cairo_rect_label_path),
1492         (gl_cairo_round_label_path), (gl_cairo_cd_label_path):
1493         * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
1494         (gl_cairo_markup_margin_round_path),
1495         (gl_cairo_markup_margin_cd_path), (gl_cairo_markup_circle_path):
1496         * src/cairo-object-path.c: (gl_cairo_object_path),
1497         (gl_cairo_ellipse_object_path):
1498         * src/label-object.c: (gl_label_object_rotate):
1499         * src/view-box.c:
1500         * src/view-box.h:
1501         * src/view-ellipse.c: (gl_view_ellipse_class_init),
1502         (gl_view_ellipse_new), (update_object_from_editor_cb),
1503         (update_editor_from_object_cb), (update_editor_from_label_cb),
1504         (draw), (gl_view_ellipse_get_create_cursor),
1505         (gl_view_ellipse_create_button_press_event),
1506         (gl_view_ellipse_create_motion_event),
1507         (gl_view_ellipse_create_button_release_event):
1508         * src/view-ellipse.h:
1509         * src/view-object.c:
1510         * src/view-object.h:
1511         * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
1512         (select_object_real), (selection_received_cb),
1513         (motion_notify_event_cb), (button_press_event_cb),
1514         (button_release_event_cb):
1515         * src/view.h:
1516                 Added ellipse object support to view.  Plus other cleanup.
1517
1518 2007-03-11  Jim Evins  <evins@snaught.com>
1519
1520         * src/view-box.h:
1521         * src/view-box.c: (gl_view_box_get_create_cursor),
1522         (gl_view_box_create_button_press_event),
1523         (gl_view_box_create_motion_event),
1524         (gl_view_box_create_button_release_event):
1525         * src/view-object.c: (gl_view_object_set_view),
1526         (gl_view_object_handle_at):
1527         * src/view.h:
1528         * src/view.c: (gl_view_arrow_mode), (gl_view_object_create_mode),
1529         (motion_notify_event_cb), (button_press_event_cb),
1530         (button_release_event_cb), (key_press_event_cb):
1531                 Added creation code for box object.
1532
1533 2007-03-09  Jim Evins  <evins@snaught.com>
1534
1535         * src/view-object.c: (gl_view_object_resize_event):
1536         * src/view-object.h:
1537         * src/view.c: (motion_notify_event_cb):
1538                 Fix bugs with resizing transformed objects.
1539         * src/cairo-handle-path.c: (gl_cairo_handle_path):
1540         * src/cairo-object-path.c: (gl_cairo_object_path):
1541         * src/cairo-object-path.h:
1542         * src/label-object.c: (gl_label_object_init),
1543         (gl_label_object_dup), (gl_label_object_get_extent),
1544         (gl_label_object_flip_horiz), (gl_label_object_flip_vert),
1545         (gl_label_object_rotate), (gl_label_object_set_matrix),
1546         (gl_label_object_get_matrix):
1547         * src/label-object.h:
1548         * src/print.c: (draw_object):
1549         * src/view-box.c:
1550         * src/view-highlight.c:
1551         * src/view-highlight.h:
1552         * src/xml-label-191.c: (xml191_parse_object):
1553         * src/xml-label.c: (xml_parse_affine_attrs),
1554         (xml_create_affine_attrs):
1555                 Replace libart affine matrices with cairo matrices.
1556
1557 2007-03-08  Jim Evins  <evins@snaught.com>
1558
1559         * src/view-object.h:
1560         * src/view.c: (gl_view_update), (motion_notify_event_cb):
1561         * src/view-object.c: (gl_view_object_handle_at),
1562         (gl_view_object_resize_event):
1563                 Added resize code -- still a bit buggy.
1564         
1565 2007-03-07  Jim Evins  <evins@snaught.com>
1566
1567         * src/Makefile.am:
1568         * src/cairo-handle-path.c:
1569         * src/cairo-handle-path.h:
1570         * src/view-box.c: (gl_view_box_new):
1571         * src/view-object.c: (gl_view_object_set_object),
1572         (gl_view_object_draw_handles), (gl_view_object_handle_at):
1573         * src/view-object.h:
1574         * src/view.c: (draw_highlight_layer), (select_object_real),
1575         (unselect_object_real), (view_handle_at), (motion_notify_event_cb),
1576         (button_press_event_cb), (button_release_event_cb),
1577         (key_press_event_cb):
1578         * src/view.h:
1579                 Added beginnings of object resize handles.
1580
1581 2007-03-07  Jim Evins  <evins@snaught.com>
1582
1583         * src/view.h:
1584         * src/view.c: (gl_view_init), (gl_view_arrow_mode),
1585         (gl_view_object_create_mode), (motion_notify_event_cb),
1586         (button_press_event_cb), (button_release_event_cb),
1587         (key_press_event_cb):
1588                 Added move selection support.
1589
1590 2007-03-05  Jim Evins  <evins@snaught.com>
1591
1592         * src/cairo-object-path.c: (gl_cairo_object_path):
1593         * src/view-object.c: (gl_view_object_draw),
1594         (gl_view_object_draw_highlight):
1595         * src/view.c: (view_object_at), (motion_notify_event_cb),
1596         (button_press_event_cb), (button_release_event_cb):
1597                 Additional refinements to select logic.
1598
1599 2007-03-05  Jim Evins  <evins@snaught.com>
1600
1601         * src/view.h:
1602         * src/view.c: (gl_view_init), (gl_view_construct),
1603         (label_changed_cb), (draw_layers), (draw_select_region_layer),
1604         (gl_view_select_region), (object_at), (motion_notify_event_cb),
1605         (button_press_event_cb), (button_release_event_cb):
1606                 Added initial select region support and context menu.
1607
1608 2007-03-04  Jim Evins  <evins@snaught.com>
1609
1610         * configure.in:
1611         * src/Makefile.am:
1612         * src/debug.c:
1613         * src/debug.h:
1614         * src/file.c:
1615         * src/label.c:
1616         * src/label.h:
1617         * src/print-op.c:
1618         * src/print.c:
1619         * src/ui-commands.c:
1620         * src/view-box.c:
1621         * src/view-box.h:
1622         * src/view-object.c:
1623         * src/view-object.h:
1624         * src/view.c:
1625         * src/view.h:
1626         * src/wdgt-print-copies.c:
1627         * src/wdgt-print-merge.c:
1628         * src/xml-label.c:
1629                 Initial port to a raw Cairo canvas.  This removes all remaining
1630                 dependencies on libgnomecanvas and libgnomeprint[ui].  Basically
1631                 the view is becoming a canvas widget in its own right.  Still needs
1632                 a lot of work.
1633         * src/cairo-label-path.c:
1634         * src/cairo-label-path.h:
1635         * src/cairo-markup-path.c:
1636         * src/cairo-markup-path.h:
1637         * src/cairo-object-path.c:
1638         * src/cairo-object-path.h:
1639                 New files to support cairo canvas.
1640         * src/canvas-hacktext.c:
1641         * src/canvas-hacktext.h:
1642                 Removed.
1643
1644 2007-02-18  Jim Evins  <evins@snaught.com>
1645
1646         * src/bc.h:
1647                 GNOME_FONT_BOOK changed to PANGO_WEIGHT_NORMAL.
1648
1649 2007-02-14  Jim Evins  <evins@snaught.com>
1650
1651         * src/base64.c:
1652         * src/base64.h:
1653         * src/bc-gnubarcode.c:
1654         * src/bc-gnubarcode.h:
1655         * src/bc-postnet.c:
1656         * src/bc-postnet.h:
1657         * src/bc.c:
1658         * src/bc.h:
1659         * src/canvas-hacktext.c:
1660         * src/canvas-hacktext.h:
1661         * src/debug.c:
1662         * src/debug.h:
1663         * src/file.c:
1664         * src/file.h:
1665         * src/glabels.c:
1666         * src/hig.h:
1667         * src/label-barcode.c:
1668         * src/label-barcode.h:
1669         * src/label-box.c:
1670         * src/label-box.h:
1671         * src/label-ellipse.c:
1672         * src/label-ellipse.h:
1673         * src/label-image.c:
1674         * src/label-image.h:
1675         * src/label-line.c:
1676         * src/label-line.h:
1677         * src/label-object.c:
1678         * src/label-object.h:
1679         * src/label-text.c:
1680         * src/label-text.h:
1681         * src/label.c:
1682         * src/label.h:
1683         * src/merge-evolution.c:
1684         * src/merge-evolution.h:
1685         * src/merge-init.c:
1686         * src/merge-init.h:
1687         * src/merge-properties-dialog.c:
1688         * src/merge-properties-dialog.h:
1689         * src/merge-text.c:
1690         * src/merge-text.h:
1691         * src/merge-vcard.c:
1692         * src/merge-vcard.h:
1693         * src/merge.c:
1694         * src/merge.h:
1695         * src/mini-preview-pixbuf.h:
1696         * src/new-label-dialog.c:
1697         * src/new-label-dialog.h:
1698         * src/object-editor-bc-page.c:
1699         * src/object-editor-data-page.c:
1700         * src/object-editor-edit-page.c:
1701         * src/object-editor-fill-page.c:
1702         * src/object-editor-image-page.c:
1703         * src/object-editor-line-page.c:
1704         * src/object-editor-lsize-page.c:
1705         * src/object-editor-position-page.c:
1706         * src/object-editor-private.h:
1707         * src/object-editor-size-page.c:
1708         * src/object-editor-text-page.c:
1709         * src/object-editor.c:
1710         * src/object-editor.h:
1711         * src/pixbuf-cache.c:
1712         * src/pixbuf-cache.h:
1713         * src/prefs-dialog.c:
1714         * src/prefs-dialog.h:
1715         * src/prefs-model.c:
1716         * src/prefs-model.h:
1717         * src/prefs.c:
1718         * src/prefs.h:
1719         * src/print-op.c:
1720         * src/stock.c:
1721         * src/stock.h:
1722         * src/template-designer.c:
1723         * src/text-node.c:
1724         * src/text-node.h:
1725         * src/ui-commands.c:
1726         * src/ui-commands.h:
1727         * src/ui-property-bar.c:
1728         * src/ui-property-bar.h:
1729         * src/ui-sidebar.c:
1730         * src/ui-sidebar.h:
1731         * src/ui-util.c:
1732         * src/ui-util.h:
1733         * src/ui.c:
1734         * src/ui.h:
1735         * src/util.c:
1736         * src/util.h:
1737         * src/view-barcode.c:
1738         * src/view-barcode.h:
1739         * src/view-box.c:
1740         * src/view-box.h:
1741         * src/view-ellipse.c:
1742         * src/view-ellipse.h:
1743         * src/view-highlight.c:
1744         * src/view-highlight.h:
1745         * src/view-image.c:
1746         * src/view-image.h:
1747         * src/view-line.c:
1748         * src/view-line.h:
1749         * src/view-object.c:
1750         * src/view-object.h:
1751         * src/view-text.c:
1752         * src/view-text.h:
1753         * src/view.c:
1754         * src/view.h:
1755         * src/wdgt-chain-button.c:
1756         * src/wdgt-chain-button.h:
1757         * src/wdgt-media-select.c:
1758         * src/wdgt-mini-preview.c:
1759         * src/wdgt-print-copies.c:
1760         * src/wdgt-print-copies.h:
1761         * src/wdgt-print-merge.c:
1762         * src/wdgt-print-merge.h:
1763         * src/wdgt-rotate-label.c:
1764         * src/window.h:
1765         * src/xml-label-04.c:
1766         * src/xml-label-04.h:
1767         * src/xml-label-191.c:
1768         * src/xml-label-191.h:
1769         * src/xml-label.c:
1770         * src/xml-label.h:
1771
1772         Assorted superficial cleanup.  Including:
1773         - Use G_DEFINE_TYPE for all objects.
1774         - Reconcile style of all class initializer functions
1775         - Reconcile style of all finalize functions
1776         - Add emacs mode line to all source files
1777                 
1778 2007-02-06  Jim Evins  <evins@snaught.com>
1779
1780 Assorted cleanup and removal of deprecated items.
1781         
1782         * src/splash.c:
1783         * src/splash.h:
1784         * src/Makefile.am:
1785                 Removed annoying splash screen.
1786         * src/glabels-batch.c: (main):
1787         * src/glabels.c: (main):
1788                 Converted from popt to GOption.
1789         * src/object-editor-shadow-page.c:
1790         (gl_object_editor_set_shadow_state):
1791                 Removed deprecated method on GtkToggleButton.
1792         * src/ui-commands.c: (gl_ui_cmd_help_about):
1793                 Removed dependency on libgnomui/qnome-url.h.
1794         * src/template-designer.c:
1795                 Removed dependency on libgnome/gnome-program.h.
1796         
1797
1798 2007-02-04  Jim Evins  <evins@snaught.com>
1799
1800         * src/color.c:
1801         * src/color.h:
1802         * src/prefs-model.c:
1803         * src/print.c: (draw_text_object):
1804         * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_construct):
1805                 Removed GnomeCanvas artifacts from color.[ch] and related modules.
1806
1807 2007-02-04  Jim Evins  <evins@snaught.com>
1808
1809         * src/wdgt-mini-preview.c:
1810         * src/wdgt-mini-preview.h:
1811                 Ported widget from GnomeCanvas to Cairo.
1812
1813 2007-02-03  Jim Evins  <evins@snaught.com>
1814
1815         * data/glade/template-designer.glade:
1816         * src/template-designer.c:
1817         * src/template-designer.h:
1818                 Ported GnomeDruid to GtkAssistant.  Since libglade does not
1819                 yet support the GtkAssistant and we derive directly from
1820                 the Assistant, the pages are layed out in a GtkNotebook in
1821                 the glade description -- we then append each page to the
1822                 assistant.
1823
1824 2007-01-25  Jim Evins  <evins@snaught.com>
1825
1826         * data/glade/object-editor.glade:
1827                 Added dummy page to notebook, to prevent shadow page from
1828                 becoming the default current page at creation.
1829         * src/view-box.c: (construct_properties_editor):
1830         * src/view-ellipse.c: (construct_properties_editor):
1831         * src/view-line.c: (construct_properties_editor):
1832         * src/view-text.c: (construct_properties_editor):
1833                 Reconciled order of params.
1834
1835 2007-01-19  Jim Evins  <evins@snaught.com>
1836
1837         * src/label-barcode.h:
1838         * src/label-object.c: (gl_label_object_set_font_weight),
1839         (gl_label_object_set_text_alignment),
1840         (gl_label_object_get_font_weight),
1841         (gl_label_object_get_text_alignment):
1842         * src/label-object.h:
1843         * src/label-text.c: (gl_label_text_instance_init), (copy),
1844         (get_size), (set_font_family), (set_font_weight),
1845         (set_text_alignment), (get_font_weight), (get_text_alignment):
1846         * src/label-text.h:
1847         * src/object-editor-text-page.c:
1848         (gl_object_editor_prepare_text_page),
1849         (gl_object_editor_set_font_family),
1850         (gl_object_editor_set_font_weight),
1851         (gl_object_editor_get_font_weight),
1852         (gl_object_editor_set_text_alignment),
1853         (gl_object_editor_get_text_alignment),
1854         (gl_object_editor_set_text_color):
1855         * src/object-editor.h:
1856         * src/prefs-dialog.c: (construct_object_page),
1857         (update_object_page_from_prefs), (update_prefs_from_object_page):
1858         * src/prefs-model.c: (gl_prefs_model_save_settings),
1859         (gl_prefs_model_load_settings):
1860         * src/prefs-model.h:
1861         * src/print.c: (draw_text_object):
1862         * src/ui-property-bar.c: (gl_ui_property_bar_construct),
1863         (reset_to_default_properties), (update_text_properties),
1864         (font_bold_toggled_cb), (text_align_toggled_cb):
1865         * src/ui-sidebar.c:
1866         * src/util.c: (gl_util_align_to_string), (gl_util_string_to_align),
1867         (gl_util_weight_to_string), (gl_util_string_to_weight),
1868         (gl_util_get_font_family_list), (gl_util_font_family_list_free):
1869         * src/util.h:
1870         * src/view-text.c: (update_object_from_editor_cb),
1871         (update_editor_from_object_cb), (draw_hacktext), (draw_cursor):
1872         * src/view.c: (gl_view_set_selection_text_alignment),
1873         (gl_view_set_default_text_alignment),
1874         (gl_view_get_default_text_alignment):
1875         * src/view.h:
1876         * src/xml-label-04.c: (xml04_parse_text_props):
1877         * src/xml-label-191.c: (xml191_parse_text_props):
1878         * src/xml-label.c: (xml_parse_object_text),
1879         (xml_parse_toplevel_span), (xml_create_object_text),
1880         (xml_create_toplevel_span):
1881                 Converted all model internals to Pango.  GnomeFont remains in
1882         view until GnomeCanvas can be replaced with a cairo-based canvas.
1883         
1884 2007-01-17  Jim Evins  <evins@snaught.com>
1885
1886         * src/Makefile.am:
1887         * src/hig.c:
1888                 Deleted hig.c.
1889         * src/hig.h:
1890         * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type),
1891         (gl_wdgt_print_copies_construct):
1892         * src/wdgt-print-copies.h:
1893         * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type),
1894         (gl_wdgt_print_merge_construct):
1895         * src/wdgt-print-merge.h:
1896                 Removed all remaining HIG wrapper widgets.
1897
1898 2007-01-16  Jim Evins  <evins@snaught.com>
1899
1900         * src/Makefile.am:
1901         * src/print-dialog.c:
1902         * src/print-dialog.h:
1903         * src/print-op.c:
1904         * src/print-op.h:
1905         * src/template-designer.c: (print_test_cb):
1906         * src/ui-commands.c: (gl_ui_cmd_file_print):
1907         * src/print.c:
1908                 Renamed PrintDialog to PrintOp.  Added constructor for batch
1909                 printing.
1910         * src/glabels-batch.c: (main):
1911                 Converted to use new PrintOp object for printing.
1912
1913 2007-01-15  Jim Evins  <evins@snaught.com>
1914
1915         * data/glade/Makefile.am:
1916         * data/glade/print-custom-widget.glade:
1917         * src/print-dialog.c:
1918         * src/print-dialog.h:
1919         * src/print.c:
1920         * src/print.h:
1921         * src/template-designer.c: (print_test_cb):
1922         * src/ui-commands.c: (gl_ui_cmd_file_print):
1923         * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_copies):
1924         * src/wdgt-print-merge.h:
1925         * src/window.c: (gl_window_init):
1926         * src/window.h:
1927                 Initial conversion to GtkPrintOperation.
1928                 Still to do:
1929                  - Remove font and other libgnomeprint[ui] from elsewhere
1930                  - Add batch initialization of print operation
1931
1932 2007-01-08  Jim Evins  <evins@snaught.com>
1933         * configure.in:
1934                 Updated dependencies.  Set version to 2.1.pre4cvs.
1935
1936 2007-01-03  Jim Evins  <evins@snaught.com>
1937
1938         * src/recent-files/*
1939                 Removed EggRecent stuff.
1940         * configure.in:
1941         * src/Makefile.am:
1942         * src/file.c:
1943         * src/recent.c:
1944         * src/recent.h:
1945         * src/ui-commands.c:
1946         * src/ui-commands.h:
1947         * src/ui.c:
1948                 Ported from EggRecent to GtkRecentManager.
1949         
1950
1951 2007-01-02  Jim Evins  <evins@snaught.com>
1952
1953         * configure.in:
1954         * iec16022-0.2.1/BUGS:
1955         * iec16022-0.2.1/CHANGELOG:
1956         * iec16022-0.2.1/CREDITS:
1957         * iec16022-0.2.1/INSTALL:
1958         * iec16022-0.2.1/LICENSE:
1959         * iec16022-0.2.1/Makefile.am:
1960         * iec16022-0.2.1/Makefile.dist:
1961         * iec16022-0.2.1/README:
1962         * iec16022-0.2.1/README.glabels:
1963         * iec16022-0.2.1/TODO:
1964         * iec16022-0.2.1/iec16022.1:
1965         * iec16022-0.2.1/iec16022.c:
1966         * iec16022-0.2.1/iec16022ecc200.c:
1967         * iec16022-0.2.1/iec16022ecc200.h:
1968         * iec16022-0.2.1/image.c:
1969         * iec16022-0.2.1/image.h:
1970         * iec16022-0.2.1/reedsol.c:
1971         * iec16022-0.2.1/reedsol.h:
1972         * iec16022-0.2.1/test/testsuite-example.bin:
1973         * iec16022-0.2.1/test/testsuite-example.eps:
1974         * iec16022-0.2.1/test/testsuite-example.hex:
1975         * iec16022-0.2.1/test/testsuite-example.png:
1976         * iec16022-0.2.1/test/testsuite-example.text:
1977         * iec16022-0.2.1/test/testsuite.sh:
1978                 Include modified copy of iec16022-0.2.1 to provide encoding
1979                 support for datamatrix 2D barcodes.
1980         * src/Makefile.am:
1981         * src/bc-iec16022.c:
1982         * src/bc-iec16022.h:
1983         * src/bc.c:
1984                 Added initial datamatrix 2D barcode backend to barcode code.
1985         * INSTALL:
1986         * gtk-doc.make:
1987                 Automatic updates to later versions of these files.
1988
1989 2006-11-28  Jim Evins  <evins@snaught.com>
1990
1991         * data/templates/avery-iso-templates.xml:
1992         * data/templates/avery-us-templates.xml:
1993         * data/templates/categories.xml:
1994         * data/templates/misc-iso-templates.xml:
1995         * data/templates/misc-us-templates.xml:
1996         * data/templates/zweckform-iso-templates.xml:
1997                 More categorization.
1998         
1999 2006-09-12  Jim Evins  <evins@snaught.com>
2000
2001         * data/dtd/glabels-2.0.dtd:
2002         * data/templates/Makefile.am:
2003         * data/templates/avery-iso-templates.xml:
2004         * data/templates/avery-other-templates.xml:
2005         * data/templates/avery-us-templates.xml:
2006         * data/templates/categories.xml:
2007         * data/templates/misc-iso-templates.xml:
2008         * data/templates/misc-other-templates.xml:
2009         * data/templates/zweckform-iso-templates.xml:
2010         * data/glade/Makefile.am:
2011         * data/glade/new-label-dialog.glade:
2012         * data/glade/wdgt-media-select.glade:
2013         * data/glade/wdgt-rotate-label.glade:
2014         * libglabels/Makefile.am:
2015         * libglabels/category.c:
2016         * libglabels/category.h:
2017         * libglabels/libglabels.h:
2018         * libglabels/paper.c:
2019         * libglabels/template.c:
2020         * libglabels/template.h:
2021         * libglabels/xml-category.c:
2022         * libglabels/xml-category.h:
2023         * libglabels/xml-template.c:
2024                 Added support for category meta data.
2025         * src/Makefile.am:
2026         * src/file.c:
2027         * src/mini-preview-pixbuf.c:
2028         * src/mini-preview-pixbuf.h:
2029         * src/new-label-dialog.c:
2030         * src/new-label-dialog.h:
2031         * src/wdgt-media-select.c:
2032         * src/wdgt-media-select.h:
2033         * src/wdgt-rotate-label.c:
2034         * src/wdgt-rotate-label.h:
2035                 New "new label" dialog.
2036
2037 2006-05-27  Jim Evins  <evins@snaught.com>
2038
2039         * NEWS:
2040         * autogen.sh:
2041         * configure.in:
2042                 Preparation for 2.1.3.
2043         * acinclude.m4:
2044         * omf.make:
2045         * xmldocs.make:
2046                 Removed.
2047         
2048 2006-05-22  Jim Evins  <evins@snaught.com>
2049
2050         * src/print.c: (draw_barcode_object):
2051                 Don't print "Invalid barcode data" if data field is empty.  Patch provided
2052                 by Darren Warner <warnerd@users.sourceforge.net>.  Fixes Bug #1479839.
2053         * AUTHORS:
2054                 Added acknowledgment for above patch.
2055         * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
2056         * src/bc-postnet.c: (postnet_code):
2057                 Removed "Invalid barcode data" warnings from stderr.
2058         * src/view-barcode.c: (draw_barcode):
2059                 Draw box around barcode extent if data empty or invalid.  Center a
2060                 message whether the data is empty or invalid in box.
2061
2062 2006-05-22  Jim Evins  <evins@snaught.com>
2063
2064         * src/print.c: (draw_text_object):
2065                 Check shadow state when printing text.
2066
2067 2006-05-20  Jim Evins  <evins@snaught.com>
2068
2069         * src/ui-commands.c: (gl_ui_cmd_view_grid_toggle),
2070         (gl_ui_cmd_view_markup_toggle):
2071                 Fixed crash when grid or markup have been toggled off during
2072                 a previous session.  Bug #1434324.
2073
2074 2006-04-05  Jim Evins  <evins@snaught.com>
2075
2076         * src/object-editor.c: (gl_object_editor_set_key_names):
2077                 Fixed potential crash when freeing empty key list.
2078
2079 2006-03-11  Jim Evins  <evins@snaught.com>
2080
2081         * src/print.c: (draw_text_object):
2082         * src/view-text.c: (gl_view_text_new),
2083         (construct_properties_editor), (update_object_from_editor_cb),
2084         (update_editor_from_object_cb), (update_editor_from_label_cb),
2085         (draw_hacktext):
2086                 Added shadow support to text object.
2087         
2088 2006-02-18  Jim Evins  <evins@snaught.com>
2089
2090         * src/print.c: (draw_line_object):
2091         * src/view-line.c: (gl_view_line_new),
2092         (construct_properties_editor), (update_canvas_item_from_object_cb),
2093         (update_object_from_editor_cb), (update_editor_from_object_cb),
2094         (update_editor_from_label_cb):
2095                 Added shadow support to line object.
2096
2097 2006-02-16  Jim Evins  <evins@snaught.com>
2098
2099         * src/view-box.c:
2100                 Comment changes.
2101         * src/print.c: (draw_ellipse_object):
2102         * src/view-ellipse.c: (gl_view_ellipse_new),
2103         (construct_properties_editor), (update_canvas_item_from_object_cb),
2104         (update_object_from_editor_cb), (update_editor_from_object_cb),
2105         (update_editor_from_label_cb):
2106                 Added shadow support to ellipse object.
2107
2108 2006-02-15  Jim Evins  <evins@snaught.com>
2109
2110         * src/label-object.c:
2111                 Changed default shadow offsets.
2112         * src/view-box.c: (gl_view_box_new):
2113                 Simplified gl_view_box_new() so that is does not duplicate code
2114                 in update_canvas_item_from_object_cb().
2115
2116 2006-02-07  Jim Evins  <evins@snaught.com>
2117
2118         * data/glade/object-editor.glade:
2119                 Fixed color groups of color combos.
2120         * src/color.h:
2121                 Added default shadow color.
2122         * src/object-editor.c: (gl_object_editor_construct_color_combo):
2123                 Added shadow color group.
2124
2125 2006-02-06  Jim Evins  <evins@snaught.com>
2126
2127         * src/object-editor-shadow-page.c:
2128                 Forgot to add this file.
2129         * src/view-box.c: (gl_view_box_new),
2130         (update_canvas_item_from_object_cb), (update_editor_from_label_cb):
2131                 Update limits on shadow offset spinbuttons.
2132
2133 2006-01-19  Jim Evins  <evins@snaught.com>
2134
2135         * src/merge-evolution.c: (gl_merge_evolution_get_key_list):
2136                 Initialize key_list to NULL.
2137         * data/glade/object-editor.glade:
2138         * src/Makefile.am:
2139         * src/color.c:
2140         * src/color.h:
2141         * src/label-object.c:
2142         * src/label-object.h:
2143         * src/object-editor-fill-page.c:
2144         * src/object-editor-private.h:
2145         * src/object-editor.c:
2146         * src/object-editor.h:
2147         * src/xml-label.c:
2148                 Created infrastructure for shadow support.
2149         * src/view-box.c:
2150         * src/print.c:
2151                 Initial shadow support in box object only.
2152         
2153 2006-01-05  Jim Evins  <evins@snaught.com>
2154
2155         * src/merge-properties-dialog.c: (src_changed_cb):
2156                 Be extra paranoid before calling strcmp().
2157         * src/merge.c: (gl_merge_set_src):
2158                 Don't make (merge == NULL) a critical error.
2159
2160 2005-12-22  Jim Evins  <evins@snaught.com>
2161
2162         * src/glabels-batch.c: (main):
2163                 Compile warning free with gcc 4.0.
2164
2165 2005-12-21  Jim Evins  <evins@snaught.com>
2166
2167         * glabels.spec.in:
2168                 Updated example RPM spec file.
2169         
2170 2005-12-21  Jim Evins  <evins@snaught.com>
2171
2172         * NEWS:
2173         * configure.in:
2174                 Preparation for 2.1.2.
2175         
2176 2005-12-20  Jim Evins  <evins@snaught.com>
2177
2178         * src/Makefile.am:
2179                 Define unique G_LOG_DOMAIN for glabels.
2180         * src/critical-error-handler.c: (gl_critical_error_handler_init):
2181         * src/warning-handler.c: (gl_warning_handler_init),
2182         (warning_handler):
2183                 Register for G_LOG_DOMAIN instead of NULL.
2184         
2185 2005-12-10  Jim Evins  <evins@snaught.com>
2186
2187         * src/merge-evolution.c:
2188         * src/merge-vcard.c:
2189                 Fixed indentation.
2190
2191 2005-12-08  Jim Evins  <evins@snaught.com>
2192
2193         * libglabels/paper.c: (read_paper_files_from_dir):
2194         * libglabels/template.c: (gl_template_register),
2195         (read_template_files_from_dir):
2196         * libglabels/xml-paper.c: (gl_xml_paper_read_papers_from_file),
2197         (gl_xml_paper_parse_papers_doc):
2198         * libglabels/xml-template.c:
2199         (gl_xml_template_read_templates_from_file),
2200         (gl_xml_template_parse_templates_doc),
2201         (gl_xml_template_parse_template_node),
2202         (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
2203         (xml_parse_label_cd_node), (xml_parse_layout_node),
2204         (xml_parse_markup_margin_node), (xml_parse_markup_line_node),
2205         (xml_parse_markup_circle_node),
2206         (gl_xml_template_write_templates_to_file), (xml_create_label_node):
2207         * libglabels/xml.c: (gl_xml_get_prop_length):
2208                 Re-classified g_warnings to g_messages.
2209         * src/Makefile.am:
2210         * src/glabels.c: (main):
2211         * src/warning-handler.c: (gl_warning_handler_init),
2212         (warning_handler):
2213         * src/warning-handler.h:
2214                 Added warning message handler to make sure the user is
2215                 presented with appropriate non-fatal errors.
2216         * src/critical-error-handler.c: (critical_error_handler):
2217                 Changed exit to abort.
2218         * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new), (render_pass1):
2219         * src/bc-postnet.c: (postnet_code):
2220         * src/bc.c: (id_to_index), (name_to_index):
2221         * src/merge.c: (gl_merge_register_backend), (gl_merge_new):
2222         * src/object-editor.c: (gl_object_notebook_construct_valist):
2223         * src/prefs-dialog.c: (update_locale_page_from_prefs):
2224         * src/prefs.c: (gl_prefs_get_units_per_point),
2225         (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
2226         (gl_prefs_get_units_string):
2227         * src/print.c: (draw_outline), (clip_to_outline), (clip_punchouts):
2228         * src/splash.c: (gl_splash):
2229         * src/ui-commands.c: (gl_ui_cmd_help_contents):
2230         * src/view-highlight.c: (gl_view_highlight_new),
2231         (highlight_resizable_box_construct), (object_changed_cb),
2232         (view_scale_changed_cb):
2233         * src/view.c: (draw_label_layer), (draw_bg_fg_layers),
2234         (draw_markup_layer), (draw_markup_margin),
2235         (gl_view_object_create_mode), (canvas_event),
2236         (selection_received_cb):
2237         * src/wdgt-mini-preview.c: (mini_outline_list_new):
2238         * src/wdgt-rotate-label.c: (mini_preview_canvas_update):
2239         * src/xml-label-04.c: (gl_xml_label_04_parse),
2240         (xml04_parse_media_description), (xml04_parse_text_props),
2241         (xml04_parse_barcode_props):
2242         * src/xml-label-191.c: (gl_xml_label_191_parse),
2243         (xml191_parse_objects), (xml191_parse_object),
2244         (xml191_parse_text_props), (xml191_parse_image_props),
2245         (xml191_parse_barcode_props), (xml191_parse_data),
2246         (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
2247         (xml191_parse_markup):
2248         * src/xml-label.c: (gl_xml_label_open), (gl_xml_label_open_buffer),
2249         (xml_doc_to_label), (xml_parse_label), (xml_parse_objects),
2250         (xml_parse_object_text), (xml_parse_object_image),
2251         (xml_parse_object_barcode), (xml_parse_data),
2252         (xml_parse_toplevel_span), (gl_xml_label_save),
2253         (xml_create_objects):
2254                 Re-classified g_warnings to g_messages.
2255         * src/merge-evolution.c: (gl_merge_evolution_open),
2256         (gl_merge_evolution_close), (gl_merge_evolution_get_record):
2257                 Use g_warning to output errors encountered while
2258                 communicating with the evolution data server
2259                 instead of embedding them in the data.
2260         
2261 2005-12-08  Jim Evins  <evins@snaught.com>
2262
2263         * libglabels/libglabels-private.h:
2264                 Set G_LOG_DOMAIN
2265         * libglabels/paper.c: (read_papers):
2266         * libglabels/template.c: (read_templates):
2267                 Made appropriate warnings critical.
2268         * src/Makefile.am:
2269         * src/critical-error-handler.h:
2270         * src/critical-error-handler.c: (gl_critical_error_handler_init),
2271         (critical_error_handler):
2272                 Created critical error handler.
2273         * src/glabels.c: (main):
2274                 Register critical error handler.
2275         * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
2276         * src/object-editor.c: (gl_object_editor_init):
2277         * src/prefs-dialog.c: (gl_prefs_dialog_init):
2278         * src/template-designer.c: (gl_template_designer_init):
2279         * src/ui-property-bar.c: (gl_ui_property_bar_instance_init):
2280                 Made appropriate warnings critical.
2281
2282 2005-11-27  Jim Evins  <evins@snaught.com>
2283
2284         * src/merge-evolution.c: (gl_merge_evolution_get_key_list),
2285         (gl_merge_evolution_get_primary_key),
2286         (gl_merge_evolution_get_record):
2287                 Don't create "record_key" pseudo-key.  Don't populate
2288                 fields with null data.
2289
2290 2005-11-25  Jim Evins  <evins@snaught.com>
2291
2292         * src/merge-evolution.c: (gl_merge_evolution_finalize),
2293         (gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
2294         (gl_merge_evolution_get_record), (gl_merge_evolution_copy),
2295         (free_field_list):
2296                 Query EDS for all supported fields.  Patch provided by
2297                 Austin Henry <ahenry@users.sourceforge.net>.
2298
2299 2005-10-29  Jim Evins  <evins@snaught.com>
2300
2301         * src/glabels.c: (main):
2302         * src/label-barcode.c: (gl_label_barcode_finalize):
2303         * src/label-text.c: (gl_label_text_finalize), (set_font_family):
2304         * src/label.c: (gl_label_instance_init), (gl_label_finalize):
2305         * src/object-editor.c: (gl_object_editor_finalize):
2306                 Another pass at valgrinding -- plugged several memory leaks.
2307         * src/view-text.c: (gl_view_text_new),
2308         (update_canvas_item_from_object_cb), (draw_hacktext):
2309                 Commented out artifacts of edit-in-place code.
2310         
2311 2005-10-28  Jim Evins  <evins@snaught.com>
2312
2313         * src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
2314                 Fixed use of uninitialized variable.  Caught by
2315                 d binderman <dcb314@hotmail.com>.
2316
2317 2005-10-27  Jim Evins  <evins@snaught.com>
2318
2319         * src/merge-evolution.c: (gl_merge_evolution_get_record):
2320         * src/merge-vcard.c: (gl_merge_vcard_get_record),
2321         (parse_next_vcard):
2322                 Additional cleanup of EDS and vcard backends.  Provided by
2323                 Austin Henry <ahenry@users.sourceforge.net>.
2324
2325 2005-10-24  Jim Evins  <evins@snaught.com>
2326
2327         * AUTHORS:
2328         * src/Makefile.am:
2329         * src/merge-evolution.c:
2330         * src/merge-evolution.h:
2331         * src/merge-init.c: (gl_merge_init):
2332         * src/merge-properties-dialog.c: (type_changed_cb):
2333         * src/merge-vcard.c:
2334         * src/merge-vcard.h:
2335         * src/ui-commands.c: (gl_ui_cmd_help_about):
2336                 Added Evolution Data Server and VCard merge backends.  Original patch
2337                 provided by Austin Henry <ahenry@users.sourceforge.net>.
2338         * configure.in:
2339                 Only support EDS and VCard backends if libebook is installed.  Allow
2340                 user to disable support, even if installed.
2341         
2342 2005-10-24  Jim Evins  <evins@snaught.com>
2343
2344         * AUTHORS:
2345         * data/templates/avery-iso-templates.xml:
2346         * data/templates/avery-us-templates.xml:
2347         * data/templates/misc-iso-templates.xml:
2348         * data/templates/zweckform-iso-templates.xml:
2349                 Collected all template changes and submissions since last
2350                 release.
2351
2352 2005-10-23  Jim Evins  <evins@snaught.com>
2353
2354         * configure.in:
2355         * data/mime/Makefile.am:
2356                 Added configure options to disable update-mime-database and
2357                 update-desktop-database as part of the install.  Patch
2358                 provided by Leonardo Boshell (qhoracio@sourceforge.net).
2359
2360 2005-10-23  Jim Evins  <evins@snaught.com>
2361
2362         * libglabels/xml.h:
2363         * libglabels/xml.c: (gl_xml_get_prop_string),
2364         (gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
2365         (gl_xml_is_node), (gl_xml_get_node_content):
2366                 Added new XML utility functions.
2367         * libglabels/xml-paper.c:
2368         * libglabels/xml-template.c:
2369         * src/xml-label.c:
2370                 Cleanup by using new xml utilities created above.
2371         * libglabels/paper.c: (gl_paper_free):
2372         * src/file.c: (new_response):
2373         * src/object-editor-image-page.c: (add_image_filters_to_chooser):
2374         * src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
2375         (gl_pixbuf_cache_get_pixbuf):
2376         * src/ui-property-bar.c:
2377         (gl_ui_property_bar_construct_color_combo):
2378         * src/view-highlight.c: (gl_view_highlight_finalize):
2379         * src/view-image.c: (update_object_from_editor_cb):
2380         * src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
2381         (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
2382         (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
2383         (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
2384         (draw_markup_margin_round), (draw_markup_margin_cd),
2385         (draw_markup_margin_cd_bc):
2386         * src/wdgt-mini-preview.c: (mini_outline_list_new):
2387         * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
2388                 Plugged various memory leaks located with valgrind.
2389         * src/view-image.c: (update_canvas_item_from_object_cb):
2390                 Don't allow a width or height of zero when drawing pixbuf.
2391
2392 2005-10-22  Jim Evins  <evins@snaught.com>
2393
2394         * libglabels/xml-paper.c:
2395         * libglabels/xml-template.c:
2396         * libglabels/xml.c:
2397         * src/base64.c:
2398         * src/bc-gnubarcode.c:
2399         * src/canvas-hacktext.c:
2400         * src/label-text.c:
2401         * src/object-editor-data-page.c:
2402         * src/print-dialog.c:
2403         * src/print.c:
2404         * src/recent.c:
2405         * src/template-designer.c:
2406         * src/text-node.c:
2407         * src/ui-property-bar.c:
2408         * src/ui.c:
2409         * src/view-barcode.c:
2410         * src/view-box.c:
2411         * src/view-ellipse.c:
2412         * src/view-image.c:
2413         * src/view-line.c:
2414         * src/view-text.c:
2415         * src/view.c:
2416         * src/wdgt-media-select.c:
2417         * src/xml-label-04.c:
2418         * src/xml-label-191.c:
2419         * src/xml-label.c:
2420                 Modified to compile warning free with gcc-4.0.  Mostly
2421                 casting to change signedness of characters.  Did not
2422                 attack gnu-barcode library yet.
2423
2424 2005-10-22  Jim Evins <evins@snaught.com>
2425
2426         * src/glabels.c: (main):
2427         * src/splash.c: (gl_splash):
2428                 Removed some small memory leaks.
2429         * gtk-doc.make:
2430                 Added.
2431         
2432 2005-09-19  Jim Evins  <evins@snaught.com>
2433
2434         * data/glade/property-bar.glade:
2435                 Remove items from font_family_combo.  This prevents the
2436                 double entry after adding text model and list of fonts.
2437         * src/ui-property-bar.c: (reset_to_default_properties):
2438                 Free font_family_list.
2439
2440 2005-07-01  Jim Evins  <evins@snaught.com>
2441
2442         * po/it.po:
2443                 Updated italian translation (Daniele Medri)
2444
2445 2005-06-26  Jim Evins  <evins@snaught.com>
2446
2447         * docs/libglabels/libglabels-decl-list.txt:
2448                 Somehow never got checked in before.
2449         * docs/libglabels/libglabels.types:
2450                 Removed -- don't need it afterall.
2451
2452 2005-06-20  Jim Evins  <evins@snaught.com>
2453
2454         * NEWS:
2455                 Final prep for 2.1.1 release.
2456
2457 2005-06-20  Jim Evins  <evins@snaught.com>
2458
2459         * configure.in:
2460                 Final preps for 2.1.1 release.
2461         * docs/libglabels/libglabels.types:
2462                 Somehow never got checked in before.
2463         * po/POTFILES.in:
2464                 Bring up-to-date with recent reorg of ui code.
2465                 
2466
2467 2005-06-19  Jim Evins  <evins@snaught.com>
2468
2469         * src/template-designer.c: (construct_layout_page):
2470                 Removed attempt to match background color of mini preview widget to
2471                 background.
2472
2473 2005-06-17  Jim Evins  <evins@snaught.com>
2474
2475         * help/C/figures/merge-ex2-4.png:
2476         * help/C/glabels.xml:
2477                 Fixed spelling error.
2478
2479 2005-06-13  Jim Evins  <evins@snaught.com>
2480
2481         * help/C/figures/merge-ex1-1.png:
2482         * help/C/figures/merge-ex1-2.png:
2483         * help/C/figures/merge-ex1-3.png:
2484         * help/C/figures/merge-ex1-4.png:
2485         * help/C/figures/merge-ex2-1.png:
2486         * help/C/figures/merge-ex2-2.png:
2487         * help/C/figures/merge-ex2-3.png:
2488         * help/C/figures/merge-ex2-4.png:
2489                 Added figures for document merge tutorial.
2490         * help/C/glabels.xml:
2491                 Added document merge tutorial.
2492
2493 2005-05-19  Jim Evins  <evins@snaught.com>
2494
2495         * data/glade/merge-properties-dialog.glade:
2496                 Fixed irregular spacing.
2497         * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
2498         (gl_merge_properties_dialog_construct):
2499                 Set outer padding and remove separator.
2500
2501 2005-05-18  Jim Evins  <evins@snaught.com>
2502
2503         * src/hig.h:
2504         * src/hig.c:
2505                 Removed glHigDialog class.
2506         * src/file.c: (gl_file_new), (create_new_dialog_widgets),
2507         (gl_file_properties), (create_properties_dialog_widgets):
2508         * src/prefs-dialog.h:
2509         * src/prefs-dialog.c: (gl_prefs_dialog_get_type),
2510         (gl_prefs_dialog_init), (gl_prefs_dialog_construct):
2511         * src/print-dialog.h:
2512         * src/prefs-dialog.h:
2513         * src/print-dialog.c: (gl_print_dialog_get_type),
2514         (gl_print_dialog_init), (gl_print_dialog_construct):
2515                 Replaced all instances of glHigDialog with GtkDialog.
2516         
2517 2005-05-17  Jim Evins  <evins@snaught.com>
2518
2519         * src/hig.h:
2520         * src/hig.c:
2521                 Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
2522         * src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
2523         (save_as_response), (gl_file_close):
2524                 Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.
2525
2526 2005-05-15  Jim Evins  <evins@snaught.com>
2527
2528         * src/ui-commands.h:
2529         * src/ui-util.c:
2530         * src/ui-util.h:
2531         * src/ui.c:
2532         * src/ui.h:
2533         * src/view.c:
2534         * src/window.c:
2535         * src/window.h:
2536                 A little code reformatting -- no functional changes.
2537         
2538 2005-05-14  Jim Evins  <evins@snaught.com>
2539
2540         * src/Makefile.am:
2541                 Removed obsolete macros.
2542         * src/marshal.list:
2543                 Added marshalling template to support new view signal: "context_menu_activate."
2544         * src/view.h:
2545         * src/view.c: (gl_view_class_init), (gl_view_construct),
2546         (canvas_event_arrow_mode):
2547                 - Removed hardcoded context menus and added new signal "context_menu_activate"
2548                 to push this up to the uimanager.
2549                 - Removed merge properties and print dialogs so that they can be managed with
2550                 the window by the uimanager.
2551         * src/merge-properties-dialog.h:
2552         * src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
2553         (gl_merge_properties_dialog_construct):
2554                 Changed calling convention of gl_merge_properties_dialog_new() to use
2555                 glLabel and GtkWindow instead of view to make more consistent with other
2556                 dialogs.
2557         * src/print-dialog.h:
2558         * src/print-dialog.c: (gl_print_dialog_new),
2559         (gl_print_dialog_construct):
2560                 Removed last artifact of libbonoboui.
2561         * src/ui-commands.c: (gl_ui_cmd_file_print),
2562         (gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
2563                 Reconciled style for launching dialogs.
2564         * src/ui.c: (gl_ui_new):
2565                 Added context menus to ui manager.
2566         * src/view-object.c: (item_event_arrow_mode):
2567                 No longer try to select objects with right-click.
2568         * src/window.h:
2569         * src/window.c: (gl_window_init), (gl_window_set_label),
2570         (context_menu_activate_cb):
2571                 Context menus and all dialogs are now managed in a consistent way in window
2572                 by the ui manager.
2573
2574 2005-05-11  Jim Evins  <evins@snaught.com>
2575
2576         * src/window.h:
2577         * src/window.c: (gl_window_init), (gl_window_destroy):
2578         * src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
2579         * src/ui-commands.c: (gl_ui_cmd_file_open_recent):
2580                 Moved management of recent_view back from window.c to ui.c -- it just feels
2581                 better there.
2582         
2583 2005-05-10  Jim Evins  <evins@snaught.com>
2584
2585         * src/window.h:
2586         * src/window.c: (gl_window_init):
2587         * src/ui.h:
2588         * src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
2589         (menu_item_select_cb), (menu_item_deselect_cb):
2590                 Added GtkStatusbar which displays menu tooltips.
2591         
2592 2005-05-09  Jim Evins  <evins@snaught.com>
2593
2594         Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
2595         and toolbars.
2596
2597         * configure.in:
2598         * glabels.spec.in:
2599                 Removed dependencies on libbonoboui.
2600         * data/Makefile.am:
2601         * data/ui/Makefile.am:
2602         * data/ui/glabels-ui.xml:
2603                 Removed data/ui directory.
2604         * data/glade/Makefile.am:
2605         * data/property-bar.glade:
2606                 Added glade description of property-bar for new libglade implementation
2607                 of glUIPropertyBar.
2608         * src/Makefile.am:
2609         * src/commands.h:
2610         * src/commands.c:
2611         * src/tools.h:
2612         * src/tools.c:
2613         * src/ui-commands.h:
2614         * src/ui-commands.c:
2615                 Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
2616                 since the distinction between "commands" and "tools" is no longer that clear.
2617         * src/file.h:
2618         * src/file.c:
2619                 Modified to expect glWindow instead of GtkWindow.  gl_file_open_recent()
2620                 no longer has knowledge of eggRecent*.
2621         * src/glabels.c: (main):
2622                 Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
2623                 loop.
2624         * src/object-editor.c: (gl_object_editor_init):
2625                 Make sure notebook does not respond to a "show_all" on the parent.
2626         * src/recent-files/Makefile.am:
2627         * src/recent-files/*.[ch]
2628                 Updated from latest version of libegg which now has a view based on
2629                 GtkUIManager.  Removed unused bonobo and gtk views.
2630         * src/ui-property-bar.h:
2631         * src/ui-property-bar.c:
2632                 New implementation based on libglade.
2633         * src/ui-sidebar.h:
2634         * src/ui-sidebar.c:
2635                 Sidebar is now simply a GtkWidget and does not expect to be a part of
2636                 a libbonoboui interface.
2637         * src/ui-util.h:
2638         * src/ui-util.c:
2639         * src/ui.h:
2640         * src/ui.c:
2641                 Converted for use with GtkUIManager.
2642         * src/window.h:
2643         * src/window.c:
2644                 Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
2645                 to create menus and toolbars.
2646
2647 2005-04-25  Jim Evins  <evins@snaught.com>
2648
2649         * data/templates/misc-iso-templates.xml:
2650                 Added Fellows 04715 template provided by Steve Saxon.
2651         * AUTHORS:
2652                 Updated acknowledgement for above.
2653
2654 2005-04-23  Jim Evins  <evins@snaught.com>
2655
2656         * src/util.c: (gl_util_combo_box_set_strings):
2657                 Make sure to clear model before loading a new list of strings.
2658         * src/wdgt-media-select.h:
2659         * src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
2660         (gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
2661         (template_combo_changed_cb), (prefs_changed_cb),
2662         (gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
2663         (gl_wdgt_media_select_get_page_size),
2664         (gl_wdgt_media_select_set_page_size):
2665                 Replaced the deprecated GtkCombo widget with the new
2666                 GtkComboBox.
2667
2668 2005-04-21  Jim Evins  <evins@snaught.com>
2669
2670         * data/glade/template-designer.glade:
2671         * src/template-designer.c: (construct_pg_size_page),
2672         (pg_size_page_changed_cb), (build_template):
2673                 Replaced the deprecated GtkCombo widget with the new
2674                 GtkComboBox.
2675
2676 2005-04-20  Jim Evins  <evins@snaught.com>
2677
2678         * data/glade/prefs-dialog.glade:
2679         * src/prefs-dialog.c: (construct_object_page),
2680         (update_object_page_from_prefs), (update_prefs_from_object_page):
2681                 Replaced the deprecated GtkCombo widget with the new
2682                 GtkComboBox.
2683         
2684 2005-04-19  Jim Evins  <evins@snaught.com>
2685
2686         * data/glade/object-editor.glade:
2687         * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
2688         (style_changed_cb), (gl_object_editor_set_bc_style),
2689         (gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
2690         (gl_object_editor_get_bc_color):
2691         * src/object-editor-data-page.c:
2692         (gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
2693         (gl_object_editor_get_data):
2694         * src/object-editor-edit-page.c:
2695         (gl_object_editor_prepare_edit_page), (insert_button_cb):
2696         * src/object-editor-fill-page.c:
2697         (gl_object_editor_prepare_fill_page),
2698         (gl_object_editor_set_fill_color),
2699         (gl_object_editor_get_fill_color):
2700         * src/object-editor-image-page.c:
2701         (gl_object_editor_prepare_image_page),
2702         (gl_object_editor_set_image), (gl_object_editor_get_image):
2703         * src/object-editor-line-page.c:
2704         (gl_object_editor_prepare_line_page),
2705         (gl_object_editor_set_line_color),
2706         (gl_object_editor_get_line_color):
2707         * src/object-editor-private.h:
2708         * src/object-editor-text-page.c:
2709         (gl_object_editor_prepare_text_page),
2710         (gl_object_editor_set_font_family),
2711         (gl_object_editor_get_font_family),
2712         (gl_object_editor_set_text_color),
2713         (gl_object_editor_get_text_color):
2714         * src/object-editor.c: (gl_object_editor_set_key_names):
2715         * src/ui-sidebar.c:
2716                 In the object editor: replaced all instances of the deprecated
2717                 GtkCombo widget with the new GtkComboBox.
2718
2719 2005-04-18  Jim Evins  <evins@snaught.com>
2720
2721         * src/stock.c:
2722                 Neglected to save this one in previous checkin to support
2723                 header cleanup.
2724         
2725 2005-04-17  Jim Evins  <evins@snaught.com>
2726
2727         * libglabels/libglabels-private.h:
2728         * libglabels/paper.c:
2729         * libglabels/paper.h:
2730         * libglabels/template.c:
2731         * libglabels/template.h:
2732         * libglabels/xml-paper.c:
2733         * libglabels/xml-paper.h:
2734         * libglabels/xml-template.c:
2735         * libglabels/xml.c:
2736         * libglabels/xml.h:
2737         * src/base64.c:
2738         * src/base64.h:
2739         * src/bc-gnubarcode.c:
2740         * src/bc-postnet.c:
2741         * src/bc.c:
2742         * src/bc.h:
2743         * src/commands.c:
2744         * src/debug.c:
2745         * src/debug.h:
2746         * src/file.c:
2747         * src/file.h:
2748         * src/hig.c:
2749         * src/hig.h:
2750         * src/label-barcode.c:
2751         * src/label-box.c:
2752         * src/label-ellipse.c:
2753         * src/label-image.c:
2754         * src/label-image.h:
2755         * src/label-line.c:
2756         * src/label-object.c:
2757         * src/label-text.c:
2758         * src/label-text.h:
2759         * src/label.c:
2760         * src/merge-properties-dialog.c:
2761         * src/object-editor-bc-page.c:
2762         * src/object-editor-data-page.c:
2763         * src/object-editor-edit-page.c:
2764         * src/object-editor-fill-page.c:
2765         * src/object-editor-image-page.c:
2766         * src/object-editor-line-page.c:
2767         * src/object-editor-lsize-page.c:
2768         * src/object-editor-position-page.c:
2769         * src/object-editor-private.h:
2770         * src/object-editor-size-page.c:
2771         * src/object-editor-text-page.c:
2772         * src/object-editor.c:
2773         * src/object-editor.h:
2774         * src/pixbuf-cache.h:
2775         * src/prefs-dialog.c:
2776         * src/prefs-dialog.h:
2777         * src/prefs-model.c:
2778         * src/prefs-model.h:
2779         * src/prefs.c:
2780         * src/print-dialog.c:
2781         * src/print-dialog.h:
2782         * src/print.c:
2783         * src/print.h:
2784         * src/recent.c:
2785         * src/recent.h:
2786         * src/splash.c:
2787         * src/splash.h:
2788         * src/stock.h:
2789         * src/template-designer.c:
2790         * src/template-designer.h:
2791         * src/text-node.h:
2792         * src/tools.c:
2793         * src/ui-property-bar.c: (gl_ui_property_bar_construct):
2794         * src/ui-sidebar.c:
2795         * src/ui-util.c:
2796         * src/ui.c:
2797         * src/util.c:
2798         * src/util.h:
2799         * src/view-barcode.c:
2800         * src/view-box.c:
2801         * src/view-ellipse.c:
2802         * src/view-highlight.c:
2803         * src/view-highlight.h:
2804         * src/view-image.c:
2805         * src/view-line.c:
2806         * src/view-object.c:
2807         * src/view-object.h:
2808         * src/view-text.c:
2809         * src/view.c:
2810         * src/view.h:
2811         * src/wdgt-chain-button.c:
2812         * src/wdgt-media-select.c:
2813         * src/wdgt-media-select.h:
2814         * src/wdgt-mini-preview.c:
2815         * src/wdgt-mini-preview.h:
2816         * src/wdgt-print-copies.c:
2817         * src/wdgt-print-copies.h:
2818         * src/wdgt-print-merge.c:
2819         * src/wdgt-print-merge.h:
2820         * src/wdgt-rotate-label.c:
2821         * src/wdgt-rotate-label.h:
2822         * src/window.c:
2823         * src/window.h:
2824         * src/xml-label-04.c:
2825         * src/xml-label-191.c:
2826         * src/xml-label.c:
2827                 Cleanup of header files:
2828                 - all header files are now stand-alone, verified by including
2829                   first in corresponding "c" files
2830                 - replaced blanket includes of gnome, gtk, and glib with
2831                   targetted includes
2832         
2833 2005-04-16  Jim Evins  <evins@snaught.com>
2834
2835         * data/glade/Makefile.am:
2836         * data/glade/merge-properties-dialog.glade:
2837                 Added merge properties dialog glade description file.
2838         * src/merge-properties-dialog.h:
2839         * src/merge-properties-dialog.c:
2840         (gl_merge_properties_dialog_get_type),
2841         (gl_merge_properties_dialog_init),
2842         (gl_merge_properties_dialog_finalize),
2843         (gl_merge_properties_dialog_new),
2844         (gl_merge_properties_dialog_construct), (type_changed_cb),
2845         (src_changed_cb), (response_cb), (load_tree),
2846         (record_select_toggled_cb), (select_all_button_clicked_cb),
2847         (unselect_all_button_clicked_cb):
2848                 Modified merge properties dialog to use libglade.  Added
2849                 "select all" and "unselect all" buttons.
2850         * src/merge-text.c: (parse_line):
2851                 Handle empty lines better.
2852         * src/merge.c: (gl_merge_eval_key):
2853                 Evaluate the key whether the record is selected or not.
2854         * src/util.h:
2855         * src/util.c: (gl_util_combo_box_add_text_model):
2856                 Since libglade does not use the gtk_combo_box_new_text()
2857                 constructor for GtkComboBoxes, a utility function was created
2858                 to add an appropriate text model to a GtkComboBox.
2859         * src/view.c: (gl_view_edit_merge_props):
2860                 Removed unnecessary "show all's".
2861
2862 2005-04-15  Jim Evins  <evins@snaught.com>
2863
2864         * po/ru.po:
2865                 Updated russian translation (Vitaly Lipatov)
2866         * data/templates/misc-iso-templates.xml:
2867                 Added templates for russian business cards provided by Vitaly Lipatov.
2868         * AUTHORS:
2869                 Updated acknowledgements for above.
2870
2871 2005-04-15  Jim Evins  <evins@snaught.com>
2872
2873         * data/templates/avery-us-templates.xml:
2874                 Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
2875         * data/templates/misc-iso-templates.xml:
2876                 Added Ryman standard CD/DVD template, provided by Dan Clark.
2877         * AUTHORS:
2878                 Added acknowledgements for above.
2879         
2880 2005-04-10  Jim Evins <evins@snaught.com>
2881
2882         * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
2883         * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
2884         (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
2885         (xml_parse_label_cd_node), (xml_parse_alias_node):
2886         * libglabels/xml.c: (gl_xml_get_prop_double),
2887         (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
2888         (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
2889         * src/xml-label-04.c: (xml04_parse_media_description),
2890         (xml04_parse_text_props), (xml04_parse_barcode_props),
2891         (xml04_parse_merge_properties):
2892         * src/xml-label-191.c: (xml191_parse_object),
2893         (xml191_parse_text_props), (xml191_parse_barcode_props),
2894         (xml191_parse_merge_fields), (xml191_parse_pixdata),
2895         (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
2896         (xml191_parse_alias):
2897         * src/xml-label.c: (xml_parse_object_text),
2898         (xml_parse_object_barcode), (xml_parse_merge_fields),
2899         (xml_parse_pixdata), (xml_parse_toplevel_span):
2900                 Make sure to use xmlFree for anything obtained from libxml
2901                 in case libxml and glib use different memory management
2902                 space.
2903
2904 2005-04-08  Jim Evins <evins@snaught.com>
2905
2906         * src/util.h:
2907         * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
2908         (gl_util_combo_box_set_active_text):
2909                 Added utility functions to simplify working with GtkComboBox
2910                 widgets in GTK-2.6.
2911         * src/ui-property-bar.h:
2912         * src/ui-property-bar.c: (gl_ui_property_bar_construct),
2913         (reset_to_default_properties), (update_text_properties),
2914         (font_family_changed_cb):
2915                 Replaced deprecated GtkCombo with GtkComboBox.
2916         
2917         
2918 2005-04-03  Jim Evins <evins@snaught.com>
2919
2920         * src/Makefile.am:
2921         * src/wdgt-image-select.h:
2922         * src/wdgt-image-select.c:
2923                 Removed obsolete wdgt-image-select.[ch] files.
2924         * libglabels/paper.c: (gl_paper_dup):
2925                 Fixed rename of parameter introduced during documentation
2926                 updates.
2927         * data/glade/object-editor.glade:
2928         * src/object-editor-image-page.c:
2929         (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
2930         (gl_object_editor_set_image), (gl_object_editor_get_image),
2931         (update_preview_cb), (add_image_filters_to_chooser):
2932         * src/object-editor-private.h:
2933                 Replaced deprecated GnomePixmapEntry with
2934                 GtkFileChooserButton.
2935
2936 2005-04-02  Jim Evins <evins@snaught.com>
2937
2938         * src/mygal/mygal-combo-box.c: (deactivate_arrow),
2939         (mygal_combo_box_popup_hide_unconditional),
2940         (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
2941         (mygal_combo_toggle_pressed), (mygal_combo_box_init),
2942         (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
2943         (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
2944         (cb_tearable_button_release), (mygal_combo_box_set_tearable):
2945                 Renamed all internal gtk_combo functions to mygal_combo
2946                 to prevent namespace confusion.
2947
2948 2005-04-02  Jim Evins <evins@snaught.com>
2949
2950         * src/mygal/color-palette.c: (color_palette_change_custom_color),
2951         (cust_color_set), (color_palette_setup):
2952         * src/mygal/color-palette.h:
2953                 Replaced deprecated GnomeColorPicker with GtkColorButton.
2954
2955 2005-04-02  Jim Evins <evins@snaught.com>
2956
2957         * docs/libglabels/libglabels-sections.txt:
2958         * docs/libglabels/libglabels-undocumented.txt:
2959         * docs/libglabels/tmpl/enums.sgml:
2960         * docs/libglabels/tmpl/paper.sgml:
2961         * docs/libglabels/tmpl/xml-paper.sgml:
2962         * docs/libglabels/tmpl/xml-template.sgml:
2963         * libglabels/enums.h:
2964         * libglabels/paper.c: (gl_paper_dup):
2965         * libglabels/paper.h:
2966         * libglabels/xml-paper.c:
2967         * libglabels/xml-template.c:
2968                 More documentation updates for libglabels.
2969         
2970 2005-03-23  Jim Evins  <evins@snaught.com>
2971
2972         * INSTALL:
2973                 Automatically updated.
2974         * Makefile.am:
2975         * autogen.sh:
2976         * configure.in:
2977         * docs/Makefile.am:
2978         * docs/libglabels/Makefile.am:
2979         * docs/libglabels/libglabels-docs.sgml:
2980         * docs/libglabels/libglabels-sections.txt:
2981         * docs/libglabels/libglabels-undocumented.txt:
2982         * docs/libglabels/tmpl/enums.sgml:
2983         * docs/libglabels/tmpl/libglabels-unused.sgml:
2984         * docs/libglabels/tmpl/libglabels.sgml:
2985         * docs/libglabels/tmpl/paper.sgml:
2986         * docs/libglabels/tmpl/template.sgml:
2987         * docs/libglabels/tmpl/xml-paper.sgml:
2988         * docs/libglabels/tmpl/xml-template.sgml:
2989         * docs/libglabels/tmpl/xml.sgml:
2990                 Added basic gtk-doc stuff to support documenting libglabels
2991                 API.
2992         * libglabels/xml.c:
2993                 Updated function comments with gtk-doc markup.
2994         * missing:
2995                 Removed.
2996
2997 2005-03-22  Jim Evins  <evins@snaught.com>
2998
2999         Since the development version now requires gtk-2.6/gnome-2.10, I
3000         have made a first pass at removing deprecations.
3001
3002         * configure.in:
3003         * libglabels/Makefile.am:
3004         * src/Makefile.am:
3005                 Added configure option to turn on X_DISABLE_DEPRECATED flags.
3006                 Also removed all remnants of HAVE_FILECHOOSER.
3007         * src/file.c: (gl_file_open_real):
3008                 Removed code for old GtkFileSelection.
3009         * libglabels/libglabels-private.h:
3010         * libglabels/paper.c:
3011         * libglabels/template.c:
3012         * libglabels/xml-paper.c:
3013         * libglabels/xml-template.c:
3014         * libglabels/xml.c:
3015         * src/bc.c:
3016         * src/file.c:
3017         * src/glabels-batch.c:
3018         * src/glabels.c:
3019         * src/label.c:
3020         * src/merge-init.c:
3021         * src/merge-properties-dialog.c:
3022         * src/merge.c:
3023         * src/object-editor.c:
3024         * src/prefs-dialog.c:
3025         * src/prefs.c:
3026         * src/print-dialog.c:
3027         * src/print.c:
3028         * src/stock.c:
3029         * src/template-designer.c:
3030         * src/ui-property-bar.c:
3031         * src/ui-sidebar.c:
3032         * src/view-barcode.c:
3033         * src/view-box.c:
3034         * src/view-ellipse.c:
3035         * src/view-image.c:
3036         * src/view-line.c:
3037         * src/view-text.c:
3038         * src/view.c:
3039         * src/wdgt-image-select.c:
3040         * src/wdgt-media-select.c:
3041         * src/wdgt-print-copies.c:
3042         * src/wdgt-print-merge.c:
3043         * src/wdgt-rotate-label.c:
3044         * src/window.c:
3045         * src/xml-label-04.c:
3046         * src/xml-label-191.c:
3047         * src/xml-label.c:
3048                 Added '#include <glib/gi18n.h>" where needed.
3049                 Removed any unused '#include <gnome.h>"s.
3050
3051 2005-03-22  Jim Evins  <evins@snaught.com>
3052
3053         * src/commands.c: (activate_url), (gl_cmd_help_about):
3054                 Replaced GnomeAbout with GtkAboutDialog.  Therefore the
3055                 development version of glabels now depends on GTK 2.6 and
3056                 GNOME 2.10.
3057         * configure.in:
3058                 Updated library dependencies.
3059
3060 2005-02-28  Jim Evins  <evins@snaught.com>
3061
3062         * AUTHORS:
3063         * data/templates/misc-iso-templates.xml:
3064                 Added 'Ednet 45021' template provided by Ali Akcaagac
3065                 <aliakc@web.de>.
3066
3067 2005-02-14  Jim Evins  <evins@snaught.com>
3068
3069         * data/templates/avery-us-templates.xml:
3070                 Updated templates to use inches instead of points.
3071         * src/print-dialog.c: (printer_page_new):
3072                 Changed packing style when adding printer selector widget.  This fixes
3073                 debian Bug#295274.
3074
3075 2005-02-13  Jim Evins  <evins@snaught.com>
3076
3077         * AUTHORS:
3078         * po/es.po:
3079                 Updated spanish translations. (sergio rivadero)
3080
3081 2005-02-05  Jim Evins  <evins@snaught.com>
3082
3083         Some cleanup to libglabels.
3084         
3085         * configure.in:
3086                 Updated version to 2.1.1cvs.  Added generation of libglabels.pc.
3087         * libglabels/libglabels.pc.in
3088                 Created.
3089         * libglabels/enums.h
3090                 Created.  Currently only contains glUnitsType which provides enumerations
3091                 for all possible units of distance.
3092         * libglabels/Makefile.am:
3093                 Incorporated new files enums.h and libglabels.pc[.in].
3094         * libglabels/libglabels.h:
3095                 Include enums.h.
3096         * libglabels/template.h:
3097         * libglabels/template.c: (gl_template_layout_new):
3098                 Changed parameters nx and ny to gint from gdouble.
3099         * libglabels/xml.h:
3100         * libglabels/xml.c: (gl_xml_get_prop_length),
3101         (gl_xml_set_prop_length), (gl_xml_set_default_units):
3102                 Added support for different output units.
3103         * src/prefs-dialog.c: (update_locale_page_from_prefs),
3104         (update_prefs_from_locale_page):
3105         * src/prefs-model.c: (string_to_units), (units_to_string):
3106         * src/prefs-model.h:
3107         * src/prefs.c: (gl_prefs_get_units_per_point),
3108         (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
3109         (gl_prefs_get_units_string):
3110         * src/prefs.h:
3111         * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
3112                 Reconciled all length enumerations with the new enumerations provided
3113                 in libglabels/enums.h.
3114
3115 2005-02-03  Jim Evins  <evins@snaught.com>
3116
3117         * po/cs.po:
3118                 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
3119         * po/it.po:
3120                 Updated Italian translations. (Daniele Medri)
3121         * AUTHORS:
3122                 Updated credits to reflect above translations.
3123
3124
3125 2005-01-22  Jim Evins  <evins@snaught.com>
3126
3127         * MESSAGE-OF-DOOM:
3128                 Added.
3129         * Makefile.am:
3130                 Added MESSAGE-OF-DOOM to EXTRA_DIST.
3131         * NEWS:
3132                 Final prep for 2.1.0.
3133         * configure.in:
3134                 Set version to 2.1.0.  Output MESSAGE-OF-DOOM.
3135         * glabels.spec.in:
3136                 Added '--remove-original' flag to desktop-file-install, so that there is
3137                 only one menu entry.
3138         
3139 2005-01-20  Jim Evins  <evins@snaught.com>
3140
3141         * data/glade/object-editor.glade:
3142                 - Font family entry should not be editable.
3143                 - img_key_entry should have sensitivity=YES, so that it follows the
3144                   sensitivity of img_key_combo.
3145         
3146 2005-01-19  Jim Evins  <evins@snaught.com>
3147
3148         * AUTHORS:
3149                 Give credit to Frederic Ruaudel for the color merge patches.
3150
3151 2005-01-18  Frederic Ruaudel  <grumz@users.sf.net>
3152  
3153         Add support to merge color for all other color attribute (Feature 
3154         Requests item #1008635. If the data is invalid, the color used is transparent 
3155         (GL_COLOR_NONE). The format     for color in merge data file are those accepted 
3156         by gdk_color_parse() these include name for a color from rgb.txt, such as 
3157         DarkSlateGray, or a hex specification such as #305050. File format has been 
3158         changed but backward compatibility is preserved for all format. For
3159         box/ellipse/line, keep attribute "line_color" for static color or replace by
3160         "line_color_field" for merge data. For text/barcode objects, keep attribute
3161         "color" for static color or replace by "color_field" for merge data. In the
3162         edit canvas window, merged color are represented by half-transparent black
3163         line/area.
3164  
3165         * data/dtd/glabels-2.0.dtd:
3166                 Added line_color_field to line_attrs. Added color_field to 
3167                 Object-barcode and Span.
3168         * data/glade/object-editor.glade:
3169                 Modify the layout of the editor to add merge possibility to color options
3170         * src/color.c:
3171                 Fix a copy/paste error in a comment
3172         * src/color.h:
3173                 Add default color for merge color representation in the editor canvas.
3174         * src/label-barcode.c:
3175         * src/object-editor-bc-page.c:
3176         * src/view-barcode.c:
3177                 Add merge color support for barcode color.
3178         * src/label-box.c:
3179         * src/view-box.c:
3180                 Add merge color support for box border color.
3181         * src/label-ellipse.c:
3182         * src/view-ellipse.c:
3183                 Add merge color support for ellipse border color.
3184         * src/label-line.c:
3185         * src/view-line.c:
3186                 Add merge color support for line color.
3187         * src/label-object.c:
3188         * src/label-object.h:
3189         * src/object-editor.c:
3190         * src/object-editor.h:
3191         * src/ui-property-bar.c:
3192         * src/view.c:
3193         * src/view.h:
3194         * src/xml-label-04.c:
3195         * src/xml-label-191.c:
3196                 Add support for merging to other color attribute.
3197         * src/label-text.c:
3198         * src/object-editor-text-page.c:
3199         * src/view-text.c:
3200                 Add merge color support for text color.
3201         * src/object-editor-fill-page.c:
3202                 Change a blocked handler that didn't match the good widget. Fix the type
3203                 of some debug message.
3204         * src/object-editor-line-page.c:
3205                 Add merging support to line color option.
3206         * src/object-editor-private.h:
3207                 Add variables for new widget.
3208         * src/print.c:
3209                 Modify the draw functions to get merge data if needed.
3210         * src/window.c:
3211                 Change the default size of the window in order to see all widget in the
3212                 "text style tab" of the editor.
3213         * src/xml-label.c:
3214                 Modify the parser to record/retreive the field value for objects that need
3215                 "color" attribute. For box/ellipse/line, keep attribute "line_color" for 
3216                 static color or replace by "line_color_field" for merge data. For 
3217                 text/barcode objects, keep attribute "color" for static color or replace 
3218                 by "color_field" for merge data.
3219         
3220 2005-01-17  Jim Evins  <evins@snaught.com>
3221
3222         * src/view.c: (screen_changed_cb):
3223                 Don't do anything if we don't have a screen.
3224
3225 2005-01-06  Jim Evins  <evins@snaught.com>
3226
3227         * src/view.c: (get_home_scale):
3228                 Fixed bad call to gtk_widget_has_screen() -- huh?.
3229
3230 2005-01-06  Jim Evins  <evins@snaught.com>
3231
3232         * data/dtd/glabels-2.0.dtd:
3233                 Added fill_color_field to fill_attrs.  Also added xmlns attribute to all
3234                 top-level elements.
3235
3236 2005-01-06  Jim Evins  <evins@snaught.com>
3237
3238         * data/glade/object-editor.glade:
3239                 Set entries for fill and data field key dropdowns to NOT editable.
3240         * src/view-box.c: (construct_properties_editor):
3241         * src/view-ellipse.c: (construct_properties_editor):
3242                 Update object editor when label's merge property has changed.
3243         * src/xml-label.c: (xml_parse_object_ellipse):
3244                 Completed the merge color support for the ellipse item.
3245
3246 2005-01-06  Frederic Ruaudel  <grumz@users.sf.net>
3247
3248         Add support to merge color for object that have a "Fill color" attribute (Feature 
3249         Requests item #1008635. If the data is invalid, the color used is transparent 
3250         (GL_COLOR_NONE). The format     for color in merge data file are those accepted 
3251         by gdk_color_parse() these include name for a color from rgb.txt, such as 
3252         DarkSlateGray, or a hex specification such as #305050. File format has been 
3253         changed but backward compatibility is preserved for all format. For box/ellipse, 
3254         keep attribute "fill_color" for static  color or replace by "fill_color_field" 
3255         for merge data.
3256
3257         * data/glade/object-editor.glade:
3258                 Modify "Fill" tab to add the merge key combo and convert the labels into 
3259                 radio button.
3260         * src/color.h:
3261         * src/color.c:
3262                 Add "glColorNode" structure and associated functions to manage it. This 
3263                 structure is equivalent for color than the "glTextNode". It holds the color
3264                 and the key field.
3265         * src/label-object.h:
3266         * src/label-object.c:
3267         * src/label-box.c:
3268         * src/label-ellipse.c:
3269         * src/ui-property-bar.c:
3270         * src/view.h:
3271         * src/view.c:
3272         * src/view-box.c:
3273         * src/view-ellipse.c:
3274         * src/xml-label-04.c:
3275         * src/xml-label-191.c:
3276                 Change functions of objects that have a "fill color" attribute to use the 
3277                 new "glColorNode" structure. Use barcode code as example.
3278         * src/Makefile.am:
3279                 Add the color.[ch] file to glabels_batch binary that now need support for 
3280                 "glColorNode".
3281         * src/object-editor.h:
3282         * src/object-editor.c:
3283         * src/object-editor-fill-page.c:
3284                 Manage the new widget of the editor's "Fill" tab : key combo and radio button
3285                 to choose between static color or merge key. Use barcode code as example.
3286         * src/object-editor-private.h:
3287                 Add new widget in the "_glObjectEditorPrivate" structure.
3288         * src/print.c:
3289                 Modify the draw functions to get merge data if needed.
3290         * src/xml-label.c:
3291                 Modify the parser to record/retreive the field value for objects that need
3292                 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
3293                 color or "fill_color_field" for merge data.             
3294         
3295 2005-01-04  Jim Evins  <evins@snaught.com>
3296
3297         * AUTHORS:
3298         * data/templates/avery-iso-templates.xml:
3299         * data/templates/misc-iso-templates.xml:
3300         * data/templates/misc-us-templates.xml:
3301                 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
3302                 Nick Hill.
3303
3304 2004-11-26  Jim Evins  <evins@snaught.com>
3305
3306         * AUTHORS:
3307         * po/fr.po:
3308                 Updated french translations provided by Florent Morel <florent@taket.org>.
3309         * src/view-barcode.c:
3310         * src/view-box.c:
3311         * src/view-ellipse.c:
3312         * src/view-image.c:
3313         * src/view-line.c:
3314         * src/view-text.c:
3315                 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
3316                 thus _() strings were not being translated.
3317
3318 2004-11-14  Jim Evins  <evins@snaught.com>
3319
3320         * src/debug.h:
3321         * src/debug.c: (gl_debug_init), (gl_debug):
3322                 Borrowed from gedit:  use environmental variables to select debug
3323                 sections.
3324         * src/splash.c:
3325                 Removed unused include of debug.h.
3326         * src/glabels.c: (main):
3327                 Added call to gl_debug_init(), and removed debug clutter from command line
3328                 options.
3329         * src/glabels-batch.c: (main):
3330                 Added call to gl_debug_init().
3331
3332 2004-11-13  Jim Evins  <evins@snaught.com>
3333
3334         Drawing and property toolbars were being initialized with the "icons and text"
3335         look in Fedora Core 3.  Even though none of the buttons had any text attached to
3336         them, the buttons were being sized as if they were.  This led to less real estate
3337         for the property editor, leading to Bug #1064630.  The
3338         
3339         * data/ui/glabels-ui.xml:
3340                 Added explicit "look" property to both drawing and property toolbars.
3341         * src/prefs-model.c: (gl_prefs_model_save_settings),
3342         (gl_prefs_model_load_settings):
3343         * src/prefs-model.h:
3344                 Removed drawing_toolbar_button_style configuration parameter.
3345         * src/ui.c: (view_menu_item_toggled_cb),
3346         (set_app_drawing_toolbar_style):
3347                 Do not attempt to adjust look property of the drawing toolbar.
3348
3349 2004-10-28  Jim Evins  <evins@snaught.com>
3350
3351         * data/pixmaps/glabels-about-logo.png:
3352                 Updated about logo.
3353         
3354 2004-10-28  Jim Evins  <evins@snaught.com>
3355
3356         * data/man/glabels.1:
3357         * src/glabels-batch.c: (main):
3358         * src/print.h:
3359         * src/print.c: (gl_print_batch):
3360
3361                 Added option to glabels-batch to select the first label to begin
3362                 printing on.
3363
3364 2004-09-26  Jim Evins  <evins@snaught.com>
3365
3366         * data/desktop/glabels.desktop.in:
3367                 Point to app icon, "glabels.png"
3368         * data/mime/glabels.keys.in:
3369                 Point at mime icon, "glabels-application-x-glabels.png"
3370         * data/pixmaps/Makefile.am:
3371                 Added glabels_app_icondir.  Renamed icons.
3372         * data/pixmaps/glabels.png:
3373                 New cleaned up app icon.  Deleted glabels-icon.png.
3374         * data/pixmaps/glabels-application-x-glabels.png:
3375                 New mime icon.
3376         * data/pixmaps/glabels-splash.png:
3377                 Renamed glabels-logo to glabels-splash to be more correct about role.
3378         * src/glabels.c:
3379         * src/template-designer.c:
3380                 Point at app icon, "glabels.png"
3381         * src/splash.c:
3382                 Point at renamed splash image, "glabels-splash.png"
3383
3384 2004-08-22  Jim Evins  <evins@snaught.com>
3385
3386         * AUTHORS:
3387         * src/glabels-batch.c: (main):
3388                 Applied patch with minor mods to allow selecting merge source and
3389                 crop-marks on glabels-batch's command line.  Original patch provided by
3390                 José Dapena Paz <jdapena@igalia.com>.
3391         
3392 2004-08-15  Jim Evins  <evins@snaught.com>
3393
3394         * data/desktop/glabels.desktop.in:
3395                 - Added encoding line
3396                 - Removed period from comment
3397                 - Fixed Terminal line, changed "0" to "false"
3398                 - Added semicolen to Categories line
3399         * po/ja.po:
3400                 - Made sure desktop.in comment string above still translated properly
3401
3402 2004-08-14  Jim Evins  <evins@snaught.com>
3403
3404         * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
3405         * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
3406         * src/xml-label-191.c: (xml191_parse_sheet):
3407                 Fixed improper freeing of gettext strings.  Merged from 2.0.1.
3408         * configure.in:
3409                 Reconciled libglabels versioning with 2.0.1.
3410         
3411
3412 2004-08-14  Jim Evins  <evins@snaught.com>
3413
3414         * configure.in:
3415                 Updated version to 2.1cvs.
3416         
3417 2004-08-14  Jim Evins  <evins@snaught.com>
3418
3419         * po/ja.po:
3420                 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
3421
3422 2004-08-14  Jim Evins  <evins@snaught.com>
3423
3424         Fixes for Bug #1008181.
3425
3426         * src/bc.c: (gl_barcode_default_digits):
3427                 Make a format of zero digits, harmless.
3428         * src/xml-label.c: (xml_parse_object_barcode):
3429                 Set default value of the format property of barcode objects to 10, not
3430                 zero.  This will prevent crashes when reading pre 2.0.x files.
3431
3432 2004-08-09  Jim Evins  <evins@snaught.com>
3433
3434         * NEWS:
3435         * TODO:
3436         * help/C/glabels-C.omf:
3437         * help/C/glabels.xml:
3438                 Brought documentation up-to-date for 2.0.0 release.
3439         
3440 2004-08-09  Jim Evins  <evins@snaught.com>
3441
3442         These are hopefully the final preparations for 2.0.0.
3443
3444         * data/mime/Makefile.am:
3445                 Include glabels.xml in EXTRA_DIST.
3446         * configure.in:
3447                 - Updated comment style.
3448                 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
3449                 - Added package and version info to configuration printout
3450                 - Update version to 2.0.0
3451         * libglabels/Makefile.am:
3452                 Use the new LIBGLABELS_VERSION_INFO macro.
3453
3454 2004-08-09  Jim Evins  <evins@snaught.com>
3455
3456         * configure.in:
3457         * glabels.spec.in:
3458                 Cleanup of required library macros.
3459
3460 2004-08-08  Jim Evins  <evins@snaught.com>
3461
3462         * glabels.spec.in:
3463                 - Updated URL
3464                 - More specific of what to install in /usr/bin and /usr/lib
3465                 - Remove built mime registration files from staging directory
3466
3467 2004-08-08  Jim Evins  <evins@snaught.com>
3468
3469         * data/mime/Makefile.am:
3470                 Fixed typo:  key_files should have been keys_files.
3471
3472 2004-08-08  Jim Evins  <evins@snaught.com>
3473
3474         Reorganization of runtime data files.  Also added registration of mimetype with
3475         new freedesktop.org mime database if available.
3476         
3477         * data/*
3478                 Moved files to appropriate subdirectories, creating local Makefile.am
3479                 in each subdirectory.
3480                 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
3481                   These are now installed at $datadir/glabels/templates.
3482                 - Moved glabels.1 to man subdirectory.
3483                 - Moved glabels-2.0.dtd to dtd subdirectory.
3484                 - Moved glabels.desktop.in to desktop subdirectory.
3485                 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
3486         * data/pixmaps/*
3487                 Moved "./pixmaps" to "./data/pixmaps"
3488         * data/ui/*
3489                 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
3490         * data/glade/*
3491                 Moved libglade files from src to data/glade. Created Makefile.am.
3492         * Makefile.am:
3493                 Removed pixmaps from SUBDIRS.
3494         * configure.in:
3495                 - Removed pixmaps from makefiles.
3496                 - Added makefiles for new subdirs of data.
3497                 - Added tests for freedesktop.org mime database.
3498         * glabels.spec.in:
3499                 - Added tests for freedesktop.org mime database for post install and
3500                   post un-install actions.
3501         * libglabels/Makefile.am:
3502                 Moved system template files to $(datadir)/glabels/templates.
3503         * libglabels/libglabels-private.h:
3504                 Moved system template files to $(datadir)/glabels/templates.
3505         * po/POTFILES.in:
3506                 - Accounted for movement of ui and libglade files.
3507                 - Added missing .in files.
3508                 - Reorganized by directory.
3509         * src/Makefile.am:
3510                 Accounted for movement of ui and libglade files.
3511         * data/mime/glabels.xml.in:
3512                 New file for registering with freedesktop.org mime database.
3513
3514 2004-08-07  Jim Evins  <evins@snaught.com>
3515
3516         * src/recent-files/*:
3517                 Re-synced to latest libegg/recent-files.
3518         
3519 2004-08-07  Jim Evins  <evins@snaught.com>
3520
3521         * Makefile.am:
3522         * configure.in:
3523         * help/*
3524                 Renamed "./doc" directory to "./help" which contains user documentation,
3525                 to be more consistent with other GNOME applications.
3526         
3527
3528 2004-07-26  Jim Evins  <evins@snaught.com>
3529
3530         * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
3531                 Corrected button order of merge properties dialog.
3532
3533 2004-07-18  Jim Evins  <evins@snaught.com>
3534
3535         * data/glabels-2.0.dtd:
3536         * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
3537         (gl_barcode_get_prefered_n):
3538         * src/bc.h:
3539         * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
3540         (gl_label_barcode_get_props), (get_size):
3541         * src/label-barcode.h:
3542         * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
3543         (style_changed_cb), (gl_object_editor_set_bc_style),
3544         (gl_object_editor_get_bc_style):
3545         * src/object-editor-data-page.c: (data_radio_toggled_cb),
3546         (gl_object_editor_set_data), (gl_object_editor_get_data):
3547         * src/object-editor-private.h:
3548         * src/object-editor.c: (gl_object_editor_set_key_names):
3549         * src/object-editor.glade:
3550         * src/object-editor.h:
3551         * src/print.c: (draw_barcode_object):
3552         * src/view-barcode.c: (update_object_from_editor_cb),
3553         (update_editor_from_object_cb),
3554         (gl_view_barcode_create_event_handler), (draw_barcode):
3555         * src/xml-label-04.c: (xml04_parse_barcode_props):
3556         * src/xml-label-191.c: (xml191_parse_barcode_props):
3557         * src/xml-label.c: (xml_parse_object_barcode),
3558         (xml_create_object_barcode):
3559                 Added "format" attribute to barcode objects.  This attribute is used
3560                 to properly format freeform barcodes barcodes prior to merge data is
3561                 applied, so that barcodes can be accurately layed out.  This addresses
3562                 remaining issues of feature request #824787.  Also added an example of
3563                 the format in the object editor.
3564
3565 2004-07-12  Jim Evins  <evins@snaught.com>
3566
3567         Various code cleanups.
3568
3569         * src/label-barcode.c:
3570                 Removed unneeded include of gnome-glyphlist.h.
3571         
3572         * src/label-text.c: (get_size):
3573                 Fixed memory leak: unref glyphlists when done with them.
3574         
3575         * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
3576         * src/object-editor-data-page.c:
3577         (gl_object_editor_prepare_data_page):
3578         * src/object-editor-image-page.c:
3579         (gl_object_editor_prepare_image_page):
3580         * src/object-editor-line-page.c:
3581         (gl_object_editor_prepare_line_page):
3582         * src/object-editor-lsize-page.c:
3583         (gl_object_editor_prepare_lsize_page):
3584         * src/object-editor-position-page.c:
3585         (gl_object_editor_prepare_position_page):
3586         * src/object-editor-size-page.c:
3587         (gl_object_editor_prepare_size_page):
3588         * src/object-editor-text-page.c:
3589         (gl_object_editor_prepare_text_page):
3590                 Removed unneeded size groups, originally intended to keep widgets aligned.
3591                 Now use tables to lay these out in object-editor.glade.
3592         
3593         * src/print.c: (draw_text_object):
3594                 Fixed memory leak: unref glyphlists when done with them.
3595
3596         * src/view-barcode.c: (draw_barcode):
3597                 Fixed memory leak: unref glyphlists when done with them.
3598
3599         * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
3600                 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
3601                   return value.
3602                 - Fixed memory leak: unref glyphlists when done with them.
3603
3604 2004-07-11  Jim Evins  <evins@snaught.com>
3605
3606         * data/glabels-2.0.dtd:
3607         * src/label-text.c: (gl_label_text_instance_init), (copy),
3608         (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
3609         * src/label-text.h:
3610         * src/object-editor-private.h:
3611         * src/object-editor-text-page.c:
3612         (gl_object_editor_prepare_text_page),
3613         (gl_object_editor_set_text_auto_shrink),
3614         (gl_object_editor_get_text_auto_shrink):
3615         * src/object-editor.c: (gl_object_editor_set_key_names):
3616         * src/object-editor.glade:
3617         * src/object-editor.h:
3618         * src/print.c: (draw_text_object):
3619         * src/view-text.c: (update_object_from_editor_cb),
3620         (update_editor_from_object_cb):
3621         * src/xml-label.c: (xml_parse_object_text),
3622         (xml_create_object_text):
3623                 Added option to allow document merge to auto shrink text size to fit
3624                 within the text box.  The code in print.c that actually shrinks the
3625                 text is loosely based on a patch submitted by Mark Harrison
3626                 <mark.harrison@velocitynet.com.au>.  This addresses feature request
3627                 #661421.
3628         
3629 2004-07-11  Jim Evins  <evins@snaught.com>
3630
3631         * data/glabels-2.0.dtd:
3632         * libglabels/template.c: (gl_template_rect_label_type_new),
3633         (gl_template_round_label_type_new),
3634         (gl_template_cd_label_type_new), (gl_template_label_type_dup),
3635         (template_full_page):
3636         * libglabels/template.h:
3637         * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
3638         (xml_create_label_node):
3639         * pixmaps/ex-rect-size.png:
3640         * src/print.c: (clip_to_outline), (clip_punchouts):
3641         * src/template-designer.c: (construct_rect_size_page),
3642         (rect_size_page_prepare_cb), (layout_page_prepare_cb),
3643         (build_template):
3644         * src/template-designer.glade:
3645         * src/xml-label-191.c: (xml191_parse_label):
3646                 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
3647                 properties for rectangular labels.  Templates remain backwards compatible,
3648                 but this breaks the libglabels API (I don't know of anyone outside of
3649                 glabels using libglabels at this time -- what can I say, the program is
3650                 is still "unstable").  This addresses the suggestion in Feature Request
3651                 #976313.
3652
3653 2004-07-05  Jim Evins  <evins@snaught.com>
3654         * src/print.c: (print_crop_marks), (draw_outline):
3655                 Changed crop marks and label outlines to black, instead of 25% gray.
3656                 This addresses debian Bug #257460.
3657
3658 2004-07-05  Jim Evins  <evins@snaught.com>
3659
3660         * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
3661         * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
3662                 Preserve "is_default" of fill and line color_combos when creating from
3663                 existing objects.
3664
3665 2004-07-02  Jim Evins  <evins@snaught.com>
3666
3667         * data/glabels.1:
3668                 Created man page.  Based on page submitted by Matthew J. Lockner, however
3669                 it has been severely edited.
3670         
3671         * data/avery-other-templates.xml
3672         * data/misc-other-templates.xml:
3673                 Started new files for predefined templates with non-standard sheet sizes.
3674                 These have been initially populated with the Avery 06141 and
3675                 OfficeMax #86112, both provided by Matthew J. Lockner.
3676         
3677         * data/Makefile.am:
3678                 Install above manpage and template files.
3679         
3680         * glabels.spec.in:
3681                 Make sure we install man pages.
3682         
3683         * src/glabels-batch.c:
3684                 Changed short form of help option to '-?' to be consistent with glabels.
3685         
3686         * AUTHORS:
3687                 Added acknowledgement for above labels.
3688
3689 2004-07-02  Jim Evins  <evins@snaught.com>
3690
3691         * src/glabels.c: (main), (save_session_cb):
3692                 - Now include libbonoboui.h, recent.h, and file.h to provide missing
3693                   prototypes.
3694                 - save_session_cb() now returns gboolean.
3695                 - Minor formatting changes.
3696
3697         * src/window.h:
3698         * src/window.c:
3699                 - Now include file.h to provide missing prototype.
3700                 - gl_window_get_type() now returns GType, not guint.  I believe this may
3701                   ultimately be cause of the segfault reported in Bug #982287, since
3702                   GType is actually a gulong, which may not be compatible on other
3703                   architectures (64bit) -- I cannot personally test this at this time.
3704                   I was sloppy in several other xxx_get_type() functions which also
3705                   returned guint -- see next group of files:
3706         
3707         * src/window.c: (gl_window_get_type):
3708         * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
3709         * src/canvas-hacktext.h:
3710         * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
3711         (gl_hig_category_get_type), (gl_hig_vbox_get_type),
3712         (gl_hig_hbox_get_type):
3713         * src/hig.h:
3714         * src/label-barcode.c: (gl_label_barcode_get_type):
3715         * src/label-barcode.h:
3716         * src/label-box.c: (gl_label_box_get_type):
3717         * src/label-box.h:
3718         * src/label-ellipse.c: (gl_label_ellipse_get_type):
3719         * src/label-ellipse.h:
3720         * src/label-image.c: (gl_label_image_get_type):
3721         * src/label-image.h:
3722         * src/label-line.c: (gl_label_line_get_type):
3723         * src/label-line.h:
3724         * src/label-object.c: (gl_label_object_get_type):
3725         * src/label-object.h:
3726         * src/label-text.c: (gl_label_text_get_type):
3727         * src/label-text.h:
3728         * src/label.c: (gl_label_get_type):
3729         * src/label.h:
3730         * src/merge-properties-dialog.c:
3731         (gl_merge_properties_dialog_get_type):
3732         * src/merge-properties-dialog.h:
3733         * src/merge-text.c: (gl_merge_text_get_type):
3734         * src/merge-text.h:
3735         * src/merge.c: (gl_merge_get_type):
3736         * src/merge.h:
3737         * src/object-editor.c: (gl_object_editor_get_type):
3738         * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
3739         * src/prefs-dialog.h:
3740         * src/prefs-model.c: (gl_prefs_model_get_type):
3741         * src/prefs-model.h:
3742         * src/print-dialog.c: (gl_print_dialog_get_type):
3743         * src/print-dialog.h:
3744         * src/template-designer.c: (gl_template_designer_get_type):
3745         * src/template-designer.h:
3746         * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
3747         * src/ui-property-bar.h:
3748         * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
3749         * src/ui-sidebar.h:
3750         * src/view-barcode.c: (gl_view_barcode_get_type):
3751         * src/view-barcode.h:
3752         * src/view-box.c: (gl_view_box_get_type):
3753         * src/view-box.h:
3754         * src/view-ellipse.c: (gl_view_ellipse_get_type):
3755         * src/view-ellipse.h:
3756         * src/view-highlight.c: (gl_view_highlight_get_type):
3757         * src/view-highlight.h:
3758         * src/view-image.c: (gl_view_image_get_type):
3759         * src/view-image.h:
3760         * src/view-line.c: (gl_view_line_get_type):
3761         * src/view-line.h:
3762         * src/view-object.c: (gl_view_object_get_type):
3763         * src/view-object.h:
3764         * src/view-text.c: (gl_view_text_get_type):
3765         * src/view-text.h:
3766         * src/view.c: (gl_view_get_type):
3767         * src/view.h:
3768         * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
3769         * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
3770         * src/wdgt-image-select.h:
3771         * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
3772         * src/wdgt-media-select.h:
3773         * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
3774         * src/wdgt-mini-preview.h:
3775         * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
3776         * src/wdgt-print-copies.h:
3777         * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
3778         * src/wdgt-print-merge.h:
3779         * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
3780         * src/wdgt-rotate-label.h:
3781                 - Made sure all xxx_get_type functions returned GType, not guint.  This
3782                   was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
3783                   ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
3784                   wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
3785                   wdt-print-merge.[ch], and wdgt-rotate-label.[ch].  See separate
3786                   window.[ch] details above for more info.
3787                 - Reconciled various coding style differences in all xxx_get_type()
3788                   functions:
3789                         * All prototypes include G_GNUC_CONST.
3790                         * All prototypes specify the return value as GType, not GtkType
3791                           or guint.
3792                         * Info structures are all declared as "static const."
3793                         * Generalized the names of type and info variables.
3794                         * Miscelaneous formatting.
3795
3796 2004-06-08  Jim Evins  <evins@snaught.com>
3797
3798         * src/label.c:
3799         * src/label.h:
3800         * src/xml-label.c:
3801         * AUTHORS:
3802                 Don't touch compression of original file -- still defaults to 9 for
3803                 new files.  Original patch provided by Javier Donaire Segarra
3804                 (#912252 in patch tracker).
3805
3806 2004-05-05  Jim Evins  <evins@snaught.com>
3807
3808         * data/glabels-2.0.dtd:
3809                 Broke DTD previously when adding new barcode types that contain a
3810                 plus sign (+).  Simply changed the BC_STYLE_TYPE entity to "CDATA"
3811                 to avoid the problem.
3812         * data/avery-iso-templates.xml:
3813         * data/zweckform-iso-templates.xml:
3814         * AUTHORS:
3815                 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021.  Templates
3816                 provided by Frank Altpeter.
3817         * libglabels/xml-template.c: (xml_create_label_node):
3818                 Reordered markup and layout sub-nodes so that resulting templates will
3819                 validate against DTD.
3820
3821 2004-03-13  Jim Evins  <evins@snaught.com>
3822
3823         * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
3824                 Changed spin callback signals from "value-changed" back to "changed."
3825                 This was accidentally introduced in a previous revision, and can cause
3826                 size changes just by selecting the size tab.
3827
3828 2004-03-06  Jim Evins  <evins@snaught.com>
3829
3830         * src/view.c: (draw_grid_layer):
3831                 For round labels (round and cd) adjust grid so that it lines up with
3832                 center of label.  Also, no longer draw box around label in the grid layer,
3833                 it is hidden by he fg layer anyway.  Feature suggested by
3834                 nemolivier@free.fr.  Although the grid is aligned with the center of the
3835                 label, the coordinate system is still relative to the upper left corner
3836                 of the rectangle containing the label.
3837
3838 2004-02-25  Jim Evins  <evins@snaught.com>
3839
3840         * configure.in:
3841                 Changed version to 2.0pre1cvs
3842         
3843         * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
3844                 Removed extra xmlFreeDoc() calls upon error.  Also print the doc->URL
3845                 instead of doc->name fields when errors encountered.
3846
3847 2004-02-21  Jim Evins  <evins@snaught.com>
3848
3849         * data/avery-iso-templates.xml:
3850                 Added aliases for Avery 8651.  Patch provided by Wayne Schuller.
3851         
3852         * glabels.spec.in:
3853                 Added libglabels library and include file to installed files.
3854                 
3855         * configure.in:
3856                 Final prep for 1.93.3.
3857
3858 2004-02-20  Jim Evins  <evins@snaught.com>
3859
3860         * src/glabels-batch.c: (main):
3861                 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
3862                 as suggested by Javier Donaire Segarra.  This addresses bug #901063.
3863
3864 2004-02-16  Jim Evins  <evins@snaught.com>
3865
3866         * configure.in:
3867                 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
3868         
3869         * src/Makefile.am:
3870                 Added HAVE_FILE_CHOOSER to INCLUDES.
3871         
3872         * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
3873         (gl_file_save_as), (save_as_response):
3874                 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
3875
3876 2004-02-16  Jim Evins  <evins@snaught.com>
3877
3878         * src/xml-label-04.c: (xml04_parse_image_props):
3879         * src/xml-label-191.c: (xml191_parse_image_props):
3880         * src/xml-label.c: (xml_parse_object_image):
3881                 Delay setting image size until after image has been applied to new
3882                 object.
3883         
3884 2004-02-15  Jim Evins  <evins@snaught.com>
3885
3886         * src/label-barcode.c: (gl_label_barcode_set_data),
3887         (gl_label_barcode_set_props):
3888                 Don't emit "changed" signal, if no change actually made for these
3889                 methods.  Reduces number of unnecessary redraws of barcodes.
3890         
3891         * src/label-object.h:
3892         * src/label-object.c: (gl_label_object_set_position),
3893         (gl_label_object_set_position_relative), (set_size),
3894         (gl_label_object_set_size),
3895         (gl_label_object_set_size_honor_aspect):
3896                 Don't emit "changed" signal, if no change actually made for these
3897                 methods.
3898
3899 2004-02-15  Jim Evins  <evins@snaught.com>
3900
3901         * data/glabels-2.0.dtd:
3902                 Added specific subtypes for various barcode types.
3903         
3904         * src/bc.h:
3905         * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
3906         (gl_barcode_get_styles_list), (gl_barcode_default_digits),
3907         (gl_barcode_can_text), (gl_barcode_text_optional),
3908         (gl_barcode_can_csum), (gl_barcode_csum_optional),
3909         (gl_barcode_id_to_name), (gl_barcode_name_to_id):
3910                 Changed API to use a string id, rather than a fixed enumeration.  Id and
3911                 name are separate strings.  Added entries to backend table for specific
3912                 subtypes for various barcode types.
3913         
3914         * src/bc-postnet.h:
3915         * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
3916         (is_length_valid):
3917                 Modified to conform to above API.  Now more stringent with data length
3918                 for various subtypes.
3919         
3920         * src/bc-gnubarcode.h:
3921         * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
3922         (is_length_valid), (is_length1_valid), (is_length2_valid):
3923                 Modified to conform to above API.  Now more stringent with data length
3924                 for various subtypes.
3925
3926         * src/label-barcode.h:
3927         * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
3928         (gl_label_barcode_get_props), (get_size):
3929                 Modified to use above API for storing barcode type.
3930         
3931         * src/object-editor.h:
3932         * src/object-editor-bc-page.c: (style_changed_cb),
3933         (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
3934                 Modified to use above API for storing barcode type.
3935         
3936         * src/object-editor-size-page.c:
3937         (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
3938         (w_spin_cb), (h_spin_cb), (size_reset_cb):
3939                 Added debug markers.
3940         
3941         * src/object-editor.glade:
3942                 Made barcode style combo's text entry  non-editable.
3943         
3944         * src/print.c: (draw_barcode_object):
3945                 Modified to use above API for barcode type.
3946
3947         * src/view-barcode.c: (update_object_from_editor_cb),
3948         (update_editor_from_object_cb),
3949         (gl_view_barcode_create_event_handler), (draw_barcode):
3950                 Modified to use above API for barcode type.
3951         
3952         * src/xml-label-04.c: (xml04_parse_barcode_props):
3953         * src/xml-label-191.c: (xml191_parse_barcode_props):
3954         * src/xml-label.c: (xml_parse_object_barcode),
3955         (xml_create_object_barcode):
3956                 Modified to use above API for barcode type.
3957
3958 2004-02-07  Jim Evins  <evins@snaught.com>
3959
3960         * src/stock-pixmaps/Makefile.am:
3961         * src/stock-pixmaps/stock_hchain_24.png:
3962         * src/stock-pixmaps/stock_hchain_broken_24.png:
3963         * src/stock-pixmaps/stock_vchain_24.png:
3964         * src/stock-pixmaps/stock_vchain_broken_24.png:
3965                 Added chain pixmaps borrowed from the gimp's default theme.
3966
3967         * src/stock.h:
3968         * src/stock.c: (gl_stock_init), (add_button_icon):
3969                 Added above pixmaps to stock icon sets.  Created add_button_icon() to
3970                 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
3971         
3972         * src/wdgt-chain-button.h
3973         * src/wdgt-chain-button.c
3974         * src/Makefile.am:
3975         * po/POTFILES.in:
3976                 Added this Modified version of gimpchainbutton widget, borrowed from
3977                 the gimp.
3978         
3979         * AUTHORS:
3980                 Added acknowledgements of the above borrowing from the gimp.
3981         
3982         * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
3983         (h_spin_cb):
3984         * src/object-editor.c: (gl_object_editor_construct_chain_button):
3985         * src/object-editor.glade:
3986                 Replaced the keep aspect ratio check box with the above chain-button
3987                 widget.
3988         
3989         * src/text-node.c: (gl_text_node_equal):
3990         * src/text-node.h:
3991                 Added function gl_text_node_equal() to compare text_nodes.
3992         
3993         * src/label-image.c: (gl_label_image_set_filename):
3994                 Replaced incomplete text_node comparison code with invocation of
3995                 gl_text_node_equal.  This fixed the problem of not being able to
3996                 resize an image using the object_editor if the aspect ratio is not
3997                 locked.
3998
3999 2004-02-04  Jim Evins  <evins@snaught.com>
4000
4001         * src/object-editor-image-page.c:
4002         (gl_object_editor_prepare_image_page):
4003                 Track "changed" signal of pixmap entry's GtkEntry rather than its
4004                 "activate" signal -- this catches all changes to the entry rather than
4005                 just changes resulting from a browse, so one can easily pull previous
4006                 entries from the history. (This change is marked below on 2004-02-03,
4007                 but somehow never got checked in.)
4008
4009         * src/view-highlight.c: (sl_resize_event_handler),
4010         (sr_resize_event_handler), (st_resize_event_handler),
4011         (sb_resize_event_handler):
4012                 Side resize handles will now confirm the actual resize that the object
4013                 accepted before adjusting position parameters.  Previously some interesting
4014                 things happened when resizing a barcode to its minimum size.
4015
4016 2004-02-03  Jim Evins  <evins@snaught.com>
4017
4018         * src/object-editor-image-page.c:
4019         (gl_object_editor_prepare_image_page):
4020                 Track "changed" signal of pixmap entry's GtkEntry rather than its
4021                 "activate" signal -- this catches all changes to the entry rather than
4022                 just changes resulting from a browse, so one can easily pull previous
4023                 entries from the history.
4024         
4025         * src/view-highlight.c: (tl_resize_event_handler),
4026         (tr_resize_event_handler), (bl_resize_event_handler),
4027         (br_resize_event_handler):
4028                 Allow control key to be dropped while dragging a corner resize handle
4029                 without losing the aspect ratio lock.
4030
4031 2004-02-02  Jim Evins  <evins@snaught.com>
4032
4033         * src/label-image.c: (gl_label_image_set_filename):
4034                 When setting a new filename adjust size such that the aspect ratio of
4035                 the image is preserved using the current size as a bounding box.
4036                 
4037         * src/view-image.c: (update_object_from_editor_cb):
4038                 When updating object from editor, feed back possible size changes to
4039                 editor as a result of a possible change in image.
4040         
4041         * src/object-editor-size-page.c: (size_reset_cb):
4042                 Fixed typo when blocking spin handlers.  If the base size is larger than
4043                 the max size, treat max size as a bounding box while keeping aspect
4044                 ratio.
4045                 
4046
4047 2004-02-02  Jim Evins  <evins@snaught.com>
4048
4049         * src/label-object.h:
4050         * src/label-object.c: (gl_label_object_set_size),
4051         (gl_label_object_set_size_honor_aspect):
4052                 Added gl_label_object_set_size_honor_aspect() which will maintain the
4053                 current aspect ratio by modifying the supplied w or h apropriately.
4054         
4055         * src/view-highlight.c: (tl_resize_event_handler),
4056         (tr_resize_event_handler), (bl_resize_event_handler),
4057         (br_resize_event_handler):
4058                 Corner handles will now maintain the current aspect ratio if the
4059                 control key is pressed while resizing.  This addresses feature
4060                 request #816603.
4061        
4062
4063 2004-01-31  Jim Evins  <evins@snaught.com>
4064
4065         * AUTHORS:
4066         * data/avery-us-templates.xml:
4067                 Added entries for "LSK-3," "LSK-5," and "LSK-8."  Submitted by JBadger.
4068         
4069         * libglabels/template.c: (read_template_files_from_dir):
4070                 Corrected problem with testing for extensions.
4071         
4072         * src/object-editor.glade:
4073                 Corrected grouping of radio buttons in barcode data page.
4074
4075         * src/print.c: (draw_barcode_object):
4076         * src/view-barcode.c: (draw_barcode):
4077                 Corrected problem with calculation of y_offset for locating characters.
4078
4079 2004-01-24  Jim Evins  <evins@snaught.com>
4080
4081         * AUTHORS:
4082         * data/avery-us-templates.xml:
4083                 Added Avery 5824, submitted by Fred Bacon.
4084         
4085 2004-01-20  Jim Evins  <evins@snaught.com>
4086
4087         Catching up on a couple of backlogged user template submissions.
4088
4089         * data/avery-iso-templates.xml:
4090                 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
4091                 Suggested by Linas Jakucionis.
4092         
4093         * data/zweckform-iso-templates.xml:
4094                 Added Zweckform 4760, submitted by Thomas Vill.
4095
4096         * AUTHORS:
4097                 Updated to reflect above submissions.
4098
4099 2004-01-06  Jim Evins  <evins@snaught.com>
4100
4101         Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
4102         xml.[ch] into a separate library called libglabels, to facilitate third
4103         party use of glabels template files.  This was suggested by Wayne Schuller.
4104         Once split-out, some modifications to the structures and functions to
4105         make a cleaner more useful API, hopefully.  Rather extensive changes have
4106         propogated to other modules.
4107
4108         * src/paper.h:
4109         * src/paper.c:
4110         * src/template.h:
4111         * src/template.c:
4112         * src/xml-paper.h:
4113         * src/xml-paper.c:
4114         * src/xml-template.h:
4115         * src/xml-template.c:
4116         * src/xml.h:
4117         * src/xml.c:
4118                 These files have been moved to libglabels/.  API cleanup performed.
4119
4120         * libglabels/libglabels.h:
4121         * libglabels/libglabels-private.h:
4122         * libglabels/Makefile.am:
4123                 These files have been added to finish out libglabels.
4124         
4125         * Makefile.am:
4126         * configure.in:
4127         * glabels.spec.in:
4128         * po/POTFILES.in:
4129         * src/Makefile.am:
4130                 Modified to reflect new sets of files in src/ and libglabels/.
4131
4132         * COPYING.LIBGLABELS:
4133         * COPYING-DOCS:
4134                 Added copy of the LGPL for libglabels, and a copy the GFDL for
4135                 documentation.
4136         
4137         * src/glabels-batch.c:
4138         * src/glabels.c:
4139         * src/label.c: (gl_label_finalize), (gl_label_set_template),
4140         (gl_label_get_size):
4141         * src/label.h:
4142         * src/prefs-model.c: (gl_prefs_model_load_settings):
4143         * src/print-dialog.c:
4144         * src/print.c: (gl_print_simple), (gl_print_merge_collated),
4145         (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
4146         (print_crop_marks), (print_label), (draw_outline),
4147         (clip_to_outline), (clip_punchouts):
4148         * src/template-designer.c: (construct_pg_size_page),
4149         (pg_size_page_changed_cb), (layout_page_changed_cb),
4150         (print_test_cb), (build_template):
4151         * src/util.c: (gl_util_fraction):
4152         * src/util.h:
4153         * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
4154         (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
4155         (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
4156         (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
4157         (draw_markup_margin_round), (draw_markup_margin_cd),
4158         (draw_markup_margin_cd_bc), (draw_markup_line),
4159         (draw_markup_circle), (gl_view_copy):
4160         * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
4161         (page_size_entry_changed_cb), (details_update), (get_layout_desc),
4162         (get_label_size_desc):
4163         * src/wdgt-mini-preview.c:
4164         (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
4165         (cdbc_item):
4166         * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
4167         * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
4168         * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
4169         (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
4170         * src/wdgt-rotate-label.h:
4171         * src/xml-label-04.c: (xml04_parse_media_description):
4172         * src/xml-label-191.c: (gl_xml_label_191_parse),
4173         (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
4174         (xml191_parse_markup), (xml191_parse_alias):
4175         * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
4176         (xml_label_to_doc):
4177                 Various changes to accomodate new libglabels API.
4178         
4179 2004-01-03  Jim Evins  <evins@snaught.com>
4180
4181         * configure.in:
4182                 Release 1.93.2.
4183
4184 2004-01-03  Jim Evins  <evins@snaught.com>
4185
4186         * AUTHORS:
4187                 Added acknowledgement of contributions by Wayne Schuller.
4188         
4189         * src/commands.c: (gl_cmd_file_print):
4190                 Create extra reference to print dialog, so that it can be properly re-used.
4191         
4192         * src/mygal/mygal-combo-box.h:
4193         * src/mygal/mygal-combo-box.c:
4194         (mygal_combo_box_popup_hide_unconditional),
4195         (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
4196         (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
4197         (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
4198         (mygal_combo_box_set_tearable):
4199                 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
4200                 complete the rename of this widget to prevent namespace collisions
4201                 with Gtk+-2.3.
4202         
4203         * src/prefs-dialog.glade:
4204                 Fixed alignment of Fill/Color widgets.
4205
4206 2004-01-03  Jim Evins  <evins@snaught.com>
4207
4208         * data/avery-iso-templates.xml:
4209                 Added user submitted templates.
4210                 Avery 8435A & 8435B, submitted by Ludger Solbach.
4211
4212         * doc/C/glabels.xml:
4213                 Added minimal documentation, noting the new template designer.
4214
4215 2004-01-03  Jim Evins  <evins@snaught.com>
4216
4217         * pixmaps/ex-rect-size.png:
4218         * pixmaps/ex-round-size.png:
4219         * pixmaps/ex-cd-size.png:
4220         * pixmaps/Makefile.am:
4221                 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
4222                 files to be used as illustrations/examples in the template-designer.
4223
4224         * src/template-designer.c: (construct_rect_size_page),
4225         (construct_round_size_page), (construct_cd_size_page),
4226         (construct_nlayouts_page), (rect_size_page_prepare_cb),
4227         (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
4228         (layout_page_prepare_cb), (build_template):
4229         * src/template-designer.glade:
4230                 Added illustrations for rectangle, round, and cd label size pages.
4231                 Added margin spinboxes to these pages, and now add a margin markup
4232                 to the constructed template.  Added realistic default values for
4233                 some of the size spinboxes.  Cleaned up the code for setting spinbox
4234                 ranges on the layouts page.
4235
4236 2004-01-02  Jim Evins  <evins@snaught.com>
4237
4238         * src/object-editor-size-page.c: (h_spin_cb):
4239                 Fixed cut-n-paste error in h_spin_cb that loaded h from
4240                 the wrong spinbutton.
4241
4242         * src/object-editor.h:
4243         * src/object-editor.c: (gl_object_editor_class_init),
4244         (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
4245         * src/object-editor-private.h:
4246         * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
4247         (size_reset_cb):
4248                 Added "size_changed" signal.
4249                 
4250         * src/view-text.c: (construct_properties_editor),
4251         (update_object_from_editor_cb),
4252         (update_object_from_editor_size_cb):
4253                 Track size changes from object editor separately from other
4254                 properties.  This is so the default size (0,0) of a text
4255                 object is not modified unintentionally.
4256
4257 2003-12-30  Wayne Schuller  <k_wayne@linuxpower.org>
4258
4259         Added feature: line spacing - allows you to comfortably space a text box to
4260         fit a label perfectly.
4261
4262         * data/glabels-2.0.dtd:
4263         * src/label-object.c: (gl_label_object_set_text_line_spacing),
4264         (gl_label_object_get_text_alignment),
4265         (gl_label_object_get_text_line_spacing):
4266         * src/label-object.h:
4267         * src/label-text.c: (gl_label_text_class_init),
4268         (gl_label_text_instance_init), (copy), (get_size),
4269         (set_text_line_spacing), (get_text_alignment),
4270         (get_text_line_spacing):
4271         * src/object-editor-private.h:
4272         * src/object-editor-text-page.c:
4273         (gl_object_editor_prepare_text_page),
4274         (gl_object_editor_set_text_line_spacing),
4275         (gl_object_editor_get_text_line_spacing):
4276         * src/object-editor.glade:
4277         * src/object-editor.h:
4278         * src/prefs-dialog.c: (construct_object_page),
4279         (update_object_page_from_prefs), (update_prefs_from_object_page):
4280         * src/prefs-dialog.glade:
4281         * src/prefs-model.c: (gl_prefs_model_save_settings),
4282         (gl_prefs_model_load_settings), (get_float):
4283         * src/prefs-model.h:
4284         * src/print.c: (draw_text_object):
4285         * src/ui-sidebar.c:
4286         * src/view-text.c: (update_object_from_editor_cb),
4287         (update_editor_from_object_cb),
4288         (gl_view_text_create_event_handler), (draw_hacktext):
4289         * src/view.c: (gl_view_construct),
4290         (gl_view_set_selection_text_line_spacing),
4291         (gl_view_set_default_text_line_spacing),
4292         (gl_view_get_default_text_line_spacing):
4293         * src/view.h:
4294         * src/xml-label.c: (xml_parse_toplevel_span),
4295         (xml_create_toplevel_span):
4296
4297 2003-12-30  Jim Evins  <evins@snaught.com>
4298
4299         * src/template-designer.c:
4300         * src/template-designer.h:
4301         * src/template-designer.glade:
4302                 New template designer assistant.
4303         
4304         * po/POTFILES.in:
4305         * src/Makefile.am:
4306                 Added entries for src/template-designer.* files.
4307         
4308         * pixmaps/ex-1layout.png
4309         * pixmaps/ex-2layouts.png
4310         * pixmaps/Makefile.am:
4311                 Added the new image files ex-*.png used as illustrations in the
4312                 template designer assistant.
4313         
4314         * src/print-dialog.h:
4315         * src/print-dialog.c: (gl_print_dialog_finalize),
4316         (gl_print_dialog_new), (gl_print_dialog_construct),
4317         (gl_print_dialog_force_outline_flag):
4318                 Changed first argument of gl_print_dialog_new() from glView to glLabel,
4319                 to support printing from the template designer assistant which does not
4320                 have a full-fledged view.  Nothing else from the view object was being
4321                 used by the dialog anyway.
4322
4323                 Added the gl_print_dialog_force_outline_flag() method, for better
4324                 integration with the template designer assistant.
4325                 
4326
4327         * src/commands.h:
4328         * src/commands.c: (gl_cmd_file_template_designer),
4329         (gl_cmd_file_print):
4330                 Modified print command to provide label instead of view to dialog.
4331                 Added the gl_cmd_file_template_designer() command to invoke the
4332                 template designer assistant.
4333         
4334         * src/ui.c:
4335         * src/glabels-ui.xml:
4336                 Added support for template designer assistant.
4337         
4338         * src/wdgt-mini-preview.h:
4339         * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
4340         (gl_wdgt_mini_preview_set_bg_color):
4341                 Preview is now centered in canvas.  Added
4342                 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
4343                 assistant to match the background color with its own.
4344         
4345         * src/print.c: (clip_to_outline):
4346                 Fixed really stupid bug when adding waste to clip region of rectangular
4347                 labels/cards.  Each side of the clip region needs to be extended by
4348                 twice the waste margin, as well as negatively offset by the waste
4349                 margin.
4350
4351 2003-12-28  Jim Evins  <evins@snaught.com>
4352
4353         * src/prefs-dialog.c: (update_object_page_from_prefs):
4354                 Block intermediary function align_toggle_cb() instead of
4355                 update_prefs_from_object_page() for the three alignment
4356                 widgets.
4357
4358 2003-12-28  Wayne Schuller  <k_wayne@linuxpower.org>
4359
4360         * src/file.c: (gl_file_new), (gl_file_properties):
4361                 Swap button order and set default for higificatory pleasure.
4362
4363 2003-12-27  Jim Evins  <evins@snaught.com>
4364
4365         * barcode-0.98/Makefile.am:
4366                 One last time:  removed doc/Makefile and po/Makefile.in.in from
4367                 EXTRA_DIST files.
4368         
4369 2003-12-27  Jim Evins  <evins@snaught.com>
4370
4371         * barcode-0.98/Makefile.am:
4372                 Removed config.stat entry from EXTRA_DIST files.
4373         
4374         * barcode-0.98/Makefile.in:
4375                 Removed.
4376
4377 2003-12-27  Jim Evins  <evins@snaught.com>
4378
4379         * configure.in:
4380                 Updated to work with latest gnome-common package from CVS.
4381                 Removed recursive configuration of barcode-0.98.
4382
4383         * acconfig.h:
4384         * macros/*:
4385                 Removed.
4386         
4387         * Makefile.am:
4388                 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
4389         
4390         * barcode-0.98/Makefile.in:
4391         * barcode-0.98/configure.in:
4392         * barcode-0.98/Makefile.am:
4393         * barcode-0.98/README.glabels:
4394                 Modified to ignore the barcode package's build system, and build
4395                 as a part of glabels.
4396                 Renamed Makefile.in to Makefile.in.dist.
4397                 Renamed configure.in to configure.in.dist.
4398                 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
4399         
4400         * src/Makefile.am:
4401         * src/mygal/Makefile.am:
4402         * src/recent-files/Makefile.am:
4403                 In order to build against the GNOME 2.5 platform, 
4404                 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
4405         
4406         * src/mygal/Makefile.am:
4407         * src/mygal/mygal-combo-box.c:
4408         * src/mygal/mygal-combo-box.h:
4409         * src/mygal/widget-color-combo.c:
4410         * src/mygal/widget-color-combo.h:
4411         * po/POTFILES.in:
4412                 In order to build against the GNOME 2.5 platform, 
4413                 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
4414                 collisions with the real gtk_combo_box widget, now a part of gtk.
4415         
4416 2003-12-26  Jim Evins  <evins@snaught.com>
4417
4418         * src/paper.c:
4419         * src/template.c:
4420         * src/util.c:
4421         * src/util.h:
4422                 Moved local versions of get_home_data_dir() in paper.c and
4423                 template.c to util package.  Cleaned up formatting in
4424                 util.[ch].
4425
4426         * src/template.c:
4427                 In gl_template_register() save a copy of the template in
4428                 ~/.glabels if the template is not known.  Still need to
4429                 handle duplicate filename case and duplicate name but
4430                 different template case.
4431         
4432         * src/xml-label.c:
4433         * src/xml.h:
4434                 Moved local definition of NAME_SPACE macro from xml-label.c
4435                 to xml.h.
4436         
4437         * src/xml-template.c:
4438         * src/xml-template.h:
4439                 Added function gl_xml_template_write_template_to_file(), used
4440                 in gl_template_register().