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