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