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