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