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