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