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