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