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