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