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