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