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