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