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