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