1 2007-04-30 Jim Evins <evins@snaught.com>
4 * src/color.c: (gl_color_shadow), (gl_color_node_new_default),
5 (gl_color_node_equal), (gl_color_node_expand):
6 * src/label-barcode.c: (draw_object):
7 * src/label-box.c: (draw_object), (draw_shadow):
8 * src/label-ellipse.c: (draw_object), (draw_shadow):
9 * src/label-line.c: (draw_object), (draw_shadow):
10 * src/label-text.c: (draw_object), (draw_shadow):
11 * src/wdgt-mini-preview.c: (draw_shadow), (draw_labels):
12 * src/wdgt-rotate-label.c: (drawingarea_update):
13 Some cleanup to color related code.
15 2007-04-30 Jim Evins <evins@snaught.com>
18 Added glLabelRegion structure type.
19 * src/label-object.c: (gl_label_object_get_extent):
21 Modified gl_label_object_get_extent() to fill in a glLabelRegion struct.
23 * src/view.c: (gl_view_update_region), (draw_select_region_layer),
24 (gl_view_select_region), (gl_view_align_selection_left),
25 (gl_view_align_selection_right), (gl_view_align_selection_hcenter),
26 (gl_view_align_selection_top), (gl_view_align_selection_bottom),
27 (gl_view_align_selection_vcenter),
28 (gl_view_center_selection_horiz), (gl_view_center_selection_vert),
29 (gl_view_move_selection), (gl_view_can_selection_text),
30 (motion_notify_event_cb), (button_press_event_cb),
31 (button_release_event_cb):
32 - Reconcile with new gl_label_object_get_extent() API.
33 - Use glLabelRegion for view->select_region.
34 - Added gl_view_update_region() to clip updates to region.
35 - Use gl_view_update_region() during manipulation of view->select_region.
37 2007-04-26 Jim Evins <evins@snaught.com>
39 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
41 * src/print.c: (print_crop_marks), (draw_outline):
42 * src/view-object.c: (gl_view_object_draw_handles):
43 * src/view.c: (draw_bg_layer), (draw_grid_layer),
44 (draw_markup_layer), (draw_fg_layer), (draw_select_region_layer):
45 * src/wdgt-mini-preview.c: (draw_paper), (draw_labels):
46 * src/wdgt-rotate-label.c: (drawingarea_update):
47 Added defines for various magic numbers.
49 2007-04-25 Jim Evins <evins@snaught.com>
51 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
52 Scale text down. Cairo seems to render text too large.
54 2007-04-25 Jim Evins <evins@snaught.com>
57 * src/view.c: (gl_view_update), (expose_cb),
58 (motion_notify_event_cb), (button_press_event_cb),
59 (button_release_event_cb):
60 - Try not to let updates get backed up.
61 - Grab pointer when doing any drag operations.
63 2007-04-11 Jim Evins <evins@snaught.com>
65 * src/cairo-label-path.c: (gl_cairo_label_path),
66 (gl_cairo_rect_label_path), (gl_cairo_round_label_path),
67 (gl_cairo_cd_label_path):
68 * src/cairo-label-path.h:
69 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
71 * src/print.c: (draw_outline), (clip_to_outline):
72 * src/view.c: (draw_bg_layer), (draw_fg_layer):
73 * src/wdgt-mini-preview.c: (draw_labels):
74 * src/wdgt-rotate-label.c: (drawingarea_update):
75 Modified to universally use gl_cairo_label_path() to create paths
76 for labels. Added shadow to mini preview in rotate widget.
78 2007-04-10 Jim Evins <evins@snaught.com>
80 * libglabels/template.h:
81 * libglabels/template.c: (gl_template_get_name_list_unique),
82 (gl_template_get_name_list_all), (gl_template_from_name):
83 Modified libglabels to allow you to get a list of all template names
84 including all aliases or just a list of primary names of each unique
87 * src/file.c: (gl_file_properties):
88 * src/glabels.c: (main):
89 * src/mini-preview-pixbuf-cache.h:
90 * src/mini-preview-pixbuf-cache.c:
91 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
92 (filter_changed_cb), (load_list):
93 Added mini-preview pixbuf cache, so that only one mini-preview is
94 needed for a unique template and gets reused for all aliases. These
95 pixbufs will also live for the life of the program so they are not
96 rebuilt everytime a new label dialog is invoked.
97 * src/mini-preview-pixbuf.c: (draw_paper),
98 (draw_rect_label_outline), (draw_round_label_outline),
99 (draw_cd_label_outline):
100 Removed some comment artifacts.
102 2007-04-04 Jim Evins <evins@snaught.com>
104 * src/mini-preview-pixbuf.c: (gl_mini_preview_pixbuf_new),
105 (draw_paper), (draw_label_outlines), (draw_rect_label_outline),
106 (draw_round_label_outline), (draw_cd_label_outline):
107 * src/wdgt-media-select.c: (load_list):
108 * src/wdgt-rotate-label.c: (draw_cd_label_outline):
109 Cosmetic enhancments to mini previews.
111 2007-04-04 Jim Evins <evins@snaught.com>
113 * src/ui-property-bar.c: (gl_ui_property_bar_finalize),
114 (gl_ui_property_bar_construct):
115 Save copy of GladeXML tree so that we don't lose tooltips.
117 2007-04-02 Jim Evins <evins@snaught.com>
119 * src/merge-properties-dialog.c:
120 * src/new-label-dialog.c:
121 * src/object-editor.c:
122 * src/prefs-dialog.c:
124 * src/template-designer.c:
125 * src/ui-property-bar.c:
126 * src/wdgt-media-select.c:
127 * src/wdgt-rotate-label.c:
128 Fixed several memory leaks.
130 2007-04-01 Jim Evins <evins@snaught.com>
132 * src/label-text.c: (gl_label_text_init), (copy),
133 (gl_label_text_set_lines), (buffer_changed_cb), (get_size),
134 (set_font_family), (set_font_size), (set_font_weight),
135 (set_font_italic_flag), (set_text_alignment),
136 (set_text_line_spacing):
137 Cache object size, so that expensive extent calculations are only done
140 2007-03-30 Jim Evins <evins@snaught.com>
142 * src/prefs-model.c: (gl_prefs_model_load_settings):
143 Default to an unlimited list of recent documents, since this parameter
144 seems to be pre-filter anyway.
146 2007-03-30 Jim Evins <evins@snaught.com>
148 * src/label-box.c: (draw_shadow):
149 * src/label-ellipse.c: (draw_shadow):
150 Added missing shadow fill.
152 2007-03-28 Jim Evins <evins@snaught.com>
154 * src/ui-commands.c: (gl_ui_cmd_file_print):
155 Unreferencing the print operation sometimes crashes. Just don't do it
158 2007-03-28 Jim Evins <evins@snaught.com>
160 * src/print-op.c: (gl_print_op_construct),
161 (gl_print_op_get_settings), (gl_print_op_set_settings),
162 (gl_print_op_free_settings), (create_custom_widget_cb):
164 * src/ui-commands.c: (gl_ui_cmd_file_print):
165 * src/window.c: (gl_window_init):
167 Save print settings and custom settings between print operations
170 2007-03-24 Jim Evins <evins@snaught.com>
172 * src/object-editor-image-page.c:
173 (gl_object_editor_prepare_image_page),
174 (gl_object_editor_set_image), (img_selection_changed_cb):
175 Workaround for GtkFileChooserButton bug # 327243. This the root
176 cause for gLabels bug # 1192884. I have actually observed 3 delayed
177 "selection-changed" signals -- the first 2 return NULL -- this is
178 what caused the image to reset to the default followed by setting
179 it back to the original image, trying to fit it into a new bounding
180 box. This sequence of events is much more evident with the new
183 2007-03-23 Jim Evins <evins@snaught.com>
185 Merged all changes from experimental cairo branch to trunk.
186 Trunk no longer depends on libgnomecanvas or libgnomeprint[ui].
188 2007-03-23 Jim Evins <evins@snaught.com>
190 * src/label-object.h:
191 * src/label-object.c: (gl_label_object_class_init),
192 (gl_label_object_get_raw_size), (gl_label_object_get_size):
193 Created "get_raw_size" method.
194 * src/label-barcode.c: (get_size):
195 * src/xml-label.c: (xml_create_object_text),
196 (xml_create_object_barcode):
197 Use new "get_raw_size" method on label-objects when apropos.
199 * src/label-text.c: (get_size), (draw_object), (draw_shadow),
200 (auto_shrink_font_size):
201 Added "auto shrink" functionality back.
203 2007-03-19 Jim Evins <evins@snaught.com>
205 * src/label-text.c: (draw_object), (draw_shadow):
206 Don't use negative scales in workaround from previous commit.
209 2007-03-18 Jim Evins <evins@snaught.com>
212 Forgot to remove include of xml-lable-191 in previous commit.
213 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
214 Workaround for pango Bug #341481. Render text at device scale,
215 and scale font size accordingly. Also, don't do any hinting.
217 2007-03-18 Jim Evins <evins@snaught.com>
219 * src/cairo-ellipse-path.c:
220 * src/cairo-ellipse-path.h:
221 Forgot to add these new files during last mass commit.
223 2007-03-18 Jim Evins <evins@snaught.com>
226 * src/xml-label-191.c:
227 * src/xml-label-191.h:
228 Removed -- Very buggy. Version 1.91 is a very old "unstable" version,
229 so there is no need to keep compatability.
232 * src/cairo-label-path.c:
233 * src/cairo-label-path.h:
234 * src/cairo-markup-path.c:
238 * src/glabels-batch.c:
240 * src/label-barcode.c:
242 * src/label-ellipse.c:
245 * src/label-object.c:
246 * src/label-object.h:
250 * src/merge-properties-dialog.c:
252 * src/new-label-dialog.c:
253 * src/object-editor-bc-page.c:
254 * src/object-editor-data-page.c:
255 * src/object-editor-edit-page.c:
256 * src/object-editor-fill-page.c:
257 * src/object-editor-image-page.c:
258 * src/object-editor-line-page.c:
259 * src/object-editor-private.h:
260 * src/object-editor-shadow-page.c:
261 * src/object-editor-text-page.c:
262 * src/object-editor.c:
263 * src/pixbuf-cache.c:
268 * src/template-designer.c:
270 * src/ui-property-bar.c:
272 * src/view-barcode.c:
274 * src/view-ellipse.c:
281 * src/wdgt-media-select.c:
282 * src/wdgt-print-copies.c:
283 * src/wdgt-print-merge.c:
285 * src/xml-label-04.c:
287 Many changes, including:
288 - Move draw methods from view-*() to label-*().
289 - Use same drawing code for on screen view and printing.
290 - Fix all issues exposed with '-Wall -Werror'.
292 2007-03-14 Jim Evins <evins@snaught.com>
295 * src/cairo-handle-path.c:
296 * src/cairo-handle-path.h:
297 * src/cairo-object-path.c:
298 * src/cairo-object-path.h:
299 Removed cairo-handle-path.[ch] and cairo-object-path.[ch].
300 * src/view-barcode.c: (gl_view_barcode_class_init), (draw_object),
302 * src/view-box.c: (gl_view_box_class_init), (draw_object),
303 (draw_shadow), (object_at):
304 * src/view-ellipse.c: (gl_view_ellipse_class_init),
305 (create_ellipse_path), (draw_object), (draw_shadow), (object_at):
306 * src/view-image.c: (gl_view_image_class_init), (draw_object),
308 * src/view-line.c: (gl_view_line_class_init), (draw_object),
309 (draw_shadow), (object_at):
310 * src/view-object.c: (gl_view_object_draw), (gl_view_object_at),
311 (create_handle_path), (gl_view_object_draw_handles),
312 (gl_view_object_handle_at):
314 * src/view-text.c: (gl_view_text_class_init), (draw_object),
315 (draw_shadow), (object_at):
316 * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
317 Some restructuring of new code.
319 2007-03-12 Jim Evins <evins@snaught.com>
322 * src/cairo-object-path.c:
323 * src/view-barcode.c:
324 * src/view-barcode.h:
326 Added barcode object support to view.
328 2007-03-12 Jim Evins <evins@snaught.com>
334 * src/cairo-object-path.c:
335 * src/cairo-object-path.h:
337 * src/view-ellipse.c:
342 Added text object support to view. Added object_at method to all
345 2007-03-11 Jim Evins <evins@snaught.com>
348 * src/cairo-object-path.c: (gl_cairo_object_path),
349 (gl_cairo_image_object_path):
350 * src/view-image.c: (gl_view_image_class_init),
351 (gl_view_image_finalize), (gl_view_image_new),
352 (update_editor_from_label_cb), (draw),
353 (gl_view_image_get_create_cursor),
354 (gl_view_image_create_button_press_event),
355 (gl_view_image_create_motion_event),
356 (gl_view_image_create_button_release_event):
358 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
359 (selection_received_cb), (motion_notify_event_cb),
360 (button_press_event_cb), (button_release_event_cb):
361 Added image object support to view.
363 2007-03-11 Jim Evins <evins@snaught.com>
366 * src/cairo-object-path.c: (gl_cairo_object_path),
367 (gl_cairo_line_object_path):
368 * src/view-line.c: (gl_view_line_class_init), (gl_view_line_new),
369 (update_object_from_editor_cb), (update_editor_from_object_cb),
370 (update_editor_from_label_cb), (draw),
371 (gl_view_line_get_create_cursor),
372 (gl_view_line_create_button_press_event),
373 (gl_view_line_create_motion_event),
374 (gl_view_line_create_button_release_event):
376 * src/view-object.c: (gl_view_object_resize_event):
377 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
378 (selection_received_cb), (motion_notify_event_cb),
379 (button_press_event_cb), (button_release_event_cb):
380 Added line object support to view.
381 * src/cairo-handle-path.c:
382 Made handles slightly larger.
385 2007-03-11 Jim Evins <evins@snaught.com>
388 * src/cairo-handle-path.c:
389 * src/cairo-label-path.c: (gl_cairo_rect_label_path),
390 (gl_cairo_round_label_path), (gl_cairo_cd_label_path):
391 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
392 (gl_cairo_markup_margin_round_path),
393 (gl_cairo_markup_margin_cd_path), (gl_cairo_markup_circle_path):
394 * src/cairo-object-path.c: (gl_cairo_object_path),
395 (gl_cairo_ellipse_object_path):
396 * src/label-object.c: (gl_label_object_rotate):
399 * src/view-ellipse.c: (gl_view_ellipse_class_init),
400 (gl_view_ellipse_new), (update_object_from_editor_cb),
401 (update_editor_from_object_cb), (update_editor_from_label_cb),
402 (draw), (gl_view_ellipse_get_create_cursor),
403 (gl_view_ellipse_create_button_press_event),
404 (gl_view_ellipse_create_motion_event),
405 (gl_view_ellipse_create_button_release_event):
406 * src/view-ellipse.h:
409 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
410 (select_object_real), (selection_received_cb),
411 (motion_notify_event_cb), (button_press_event_cb),
412 (button_release_event_cb):
414 Added ellipse object support to view. Plus other cleanup.
416 2007-03-11 Jim Evins <evins@snaught.com>
419 * src/view-box.c: (gl_view_box_get_create_cursor),
420 (gl_view_box_create_button_press_event),
421 (gl_view_box_create_motion_event),
422 (gl_view_box_create_button_release_event):
423 * src/view-object.c: (gl_view_object_set_view),
424 (gl_view_object_handle_at):
426 * src/view.c: (gl_view_arrow_mode), (gl_view_object_create_mode),
427 (motion_notify_event_cb), (button_press_event_cb),
428 (button_release_event_cb), (key_press_event_cb):
429 Added creation code for box object.
431 2007-03-09 Jim Evins <evins@snaught.com>
433 * src/view-object.c: (gl_view_object_resize_event):
435 * src/view.c: (motion_notify_event_cb):
436 Fix bugs with resizing transformed objects.
437 * src/cairo-handle-path.c: (gl_cairo_handle_path):
438 * src/cairo-object-path.c: (gl_cairo_object_path):
439 * src/cairo-object-path.h:
440 * src/label-object.c: (gl_label_object_init),
441 (gl_label_object_dup), (gl_label_object_get_extent),
442 (gl_label_object_flip_horiz), (gl_label_object_flip_vert),
443 (gl_label_object_rotate), (gl_label_object_set_matrix),
444 (gl_label_object_get_matrix):
445 * src/label-object.h:
446 * src/print.c: (draw_object):
448 * src/view-highlight.c:
449 * src/view-highlight.h:
450 * src/xml-label-191.c: (xml191_parse_object):
451 * src/xml-label.c: (xml_parse_affine_attrs),
452 (xml_create_affine_attrs):
453 Replace libart affine matrices with cairo matrices.
455 2007-03-08 Jim Evins <evins@snaught.com>
458 * src/view.c: (gl_view_update), (motion_notify_event_cb):
459 * src/view-object.c: (gl_view_object_handle_at),
460 (gl_view_object_resize_event):
461 Added resize code -- still a bit buggy.
463 2007-03-07 Jim Evins <evins@snaught.com>
466 * src/cairo-handle-path.c:
467 * src/cairo-handle-path.h:
468 * src/view-box.c: (gl_view_box_new):
469 * src/view-object.c: (gl_view_object_set_object),
470 (gl_view_object_draw_handles), (gl_view_object_handle_at):
472 * src/view.c: (draw_highlight_layer), (select_object_real),
473 (unselect_object_real), (view_handle_at), (motion_notify_event_cb),
474 (button_press_event_cb), (button_release_event_cb),
475 (key_press_event_cb):
477 Added beginnings of object resize handles.
479 2007-03-07 Jim Evins <evins@snaught.com>
482 * src/view.c: (gl_view_init), (gl_view_arrow_mode),
483 (gl_view_object_create_mode), (motion_notify_event_cb),
484 (button_press_event_cb), (button_release_event_cb),
485 (key_press_event_cb):
486 Added move selection support.
488 2007-03-05 Jim Evins <evins@snaught.com>
490 * src/cairo-object-path.c: (gl_cairo_object_path):
491 * src/view-object.c: (gl_view_object_draw),
492 (gl_view_object_draw_highlight):
493 * src/view.c: (view_object_at), (motion_notify_event_cb),
494 (button_press_event_cb), (button_release_event_cb):
495 Additional refinements to select logic.
497 2007-03-05 Jim Evins <evins@snaught.com>
500 * src/view.c: (gl_view_init), (gl_view_construct),
501 (label_changed_cb), (draw_layers), (draw_select_region_layer),
502 (gl_view_select_region), (object_at), (motion_notify_event_cb),
503 (button_press_event_cb), (button_release_event_cb):
504 Added initial select region support and context menu.
506 2007-03-04 Jim Evins <evins@snaught.com>
524 * src/wdgt-print-copies.c:
525 * src/wdgt-print-merge.c:
527 Initial port to a raw Cairo canvas. This removes all remaining
528 dependencies on libgnomecanvas and libgnomeprint[ui]. Basically
529 the view is becoming a canvas widget in its own right. Still needs
531 * src/cairo-label-path.c:
532 * src/cairo-label-path.h:
533 * src/cairo-markup-path.c:
534 * src/cairo-markup-path.h:
535 * src/cairo-object-path.c:
536 * src/cairo-object-path.h:
537 New files to support cairo canvas.
538 * src/canvas-hacktext.c:
539 * src/canvas-hacktext.h:
542 2007-02-18 Jim Evins <evins@snaught.com>
545 GNOME_FONT_BOOK changed to PANGO_WEIGHT_NORMAL.
547 2007-02-14 Jim Evins <evins@snaught.com>
551 * src/bc-gnubarcode.c:
552 * src/bc-gnubarcode.h:
557 * src/canvas-hacktext.c:
558 * src/canvas-hacktext.h:
565 * src/label-barcode.c:
566 * src/label-barcode.h:
569 * src/label-ellipse.c:
570 * src/label-ellipse.h:
575 * src/label-object.c:
576 * src/label-object.h:
581 * src/merge-evolution.c:
582 * src/merge-evolution.h:
585 * src/merge-properties-dialog.c:
586 * src/merge-properties-dialog.h:
593 * src/mini-preview-pixbuf.h:
594 * src/new-label-dialog.c:
595 * src/new-label-dialog.h:
596 * src/object-editor-bc-page.c:
597 * src/object-editor-data-page.c:
598 * src/object-editor-edit-page.c:
599 * src/object-editor-fill-page.c:
600 * src/object-editor-image-page.c:
601 * src/object-editor-line-page.c:
602 * src/object-editor-lsize-page.c:
603 * src/object-editor-position-page.c:
604 * src/object-editor-private.h:
605 * src/object-editor-size-page.c:
606 * src/object-editor-text-page.c:
607 * src/object-editor.c:
608 * src/object-editor.h:
609 * src/pixbuf-cache.c:
610 * src/pixbuf-cache.h:
611 * src/prefs-dialog.c:
612 * src/prefs-dialog.h:
620 * src/template-designer.c:
625 * src/ui-property-bar.c:
626 * src/ui-property-bar.h:
635 * src/view-barcode.c:
636 * src/view-barcode.h:
639 * src/view-ellipse.c:
640 * src/view-ellipse.h:
641 * src/view-highlight.c:
642 * src/view-highlight.h:
653 * src/wdgt-chain-button.c:
654 * src/wdgt-chain-button.h:
655 * src/wdgt-media-select.c:
656 * src/wdgt-mini-preview.c:
657 * src/wdgt-print-copies.c:
658 * src/wdgt-print-copies.h:
659 * src/wdgt-print-merge.c:
660 * src/wdgt-print-merge.h:
661 * src/wdgt-rotate-label.c:
663 * src/xml-label-04.c:
664 * src/xml-label-04.h:
665 * src/xml-label-191.c:
666 * src/xml-label-191.h:
670 Assorted superficial cleanup. Including:
671 - Use G_DEFINE_TYPE for all objects.
672 - Reconcile style of all class initializer functions
673 - Reconcile style of all finalize functions
674 - Add emacs mode line to all source files
676 2007-02-06 Jim Evins <evins@snaught.com>
678 Assorted cleanup and removal of deprecated items.
683 Removed annoying splash screen.
684 * src/glabels-batch.c: (main):
685 * src/glabels.c: (main):
686 Converted from popt to GOption.
687 * src/object-editor-shadow-page.c:
688 (gl_object_editor_set_shadow_state):
689 Removed deprecated method on GtkToggleButton.
690 * src/ui-commands.c: (gl_ui_cmd_help_about):
691 Removed dependency on libgnomui/qnome-url.h.
692 * src/template-designer.c:
693 Removed dependency on libgnome/gnome-program.h.
696 2007-02-04 Jim Evins <evins@snaught.com>
701 * src/print.c: (draw_text_object):
702 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_construct):
703 Removed GnomeCanvas artifacts from color.[ch] and related modules.
705 2007-02-04 Jim Evins <evins@snaught.com>
707 * src/wdgt-mini-preview.c:
708 * src/wdgt-mini-preview.h:
709 Ported widget from GnomeCanvas to Cairo.
711 2007-02-03 Jim Evins <evins@snaught.com>
713 * data/glade/template-designer.glade:
714 * src/template-designer.c:
715 * src/template-designer.h:
716 Ported GnomeDruid to GtkAssistant. Since libglade does not
717 yet support the GtkAssistant and we derive directly from
718 the Assistant, the pages are layed out in a GtkNotebook in
719 the glade description -- we then append each page to the
722 2007-01-25 Jim Evins <evins@snaught.com>
724 * data/glade/object-editor.glade:
725 Added dummy page to notebook, to prevent shadow page from
726 becoming the default current page at creation.
727 * src/view-box.c: (construct_properties_editor):
728 * src/view-ellipse.c: (construct_properties_editor):
729 * src/view-line.c: (construct_properties_editor):
730 * src/view-text.c: (construct_properties_editor):
731 Reconciled order of params.
733 2007-01-19 Jim Evins <evins@snaught.com>
735 * src/label-barcode.h:
736 * src/label-object.c: (gl_label_object_set_font_weight),
737 (gl_label_object_set_text_alignment),
738 (gl_label_object_get_font_weight),
739 (gl_label_object_get_text_alignment):
740 * src/label-object.h:
741 * src/label-text.c: (gl_label_text_instance_init), (copy),
742 (get_size), (set_font_family), (set_font_weight),
743 (set_text_alignment), (get_font_weight), (get_text_alignment):
745 * src/object-editor-text-page.c:
746 (gl_object_editor_prepare_text_page),
747 (gl_object_editor_set_font_family),
748 (gl_object_editor_set_font_weight),
749 (gl_object_editor_get_font_weight),
750 (gl_object_editor_set_text_alignment),
751 (gl_object_editor_get_text_alignment),
752 (gl_object_editor_set_text_color):
753 * src/object-editor.h:
754 * src/prefs-dialog.c: (construct_object_page),
755 (update_object_page_from_prefs), (update_prefs_from_object_page):
756 * src/prefs-model.c: (gl_prefs_model_save_settings),
757 (gl_prefs_model_load_settings):
759 * src/print.c: (draw_text_object):
760 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
761 (reset_to_default_properties), (update_text_properties),
762 (font_bold_toggled_cb), (text_align_toggled_cb):
764 * src/util.c: (gl_util_align_to_string), (gl_util_string_to_align),
765 (gl_util_weight_to_string), (gl_util_string_to_weight),
766 (gl_util_get_font_family_list), (gl_util_font_family_list_free):
768 * src/view-text.c: (update_object_from_editor_cb),
769 (update_editor_from_object_cb), (draw_hacktext), (draw_cursor):
770 * src/view.c: (gl_view_set_selection_text_alignment),
771 (gl_view_set_default_text_alignment),
772 (gl_view_get_default_text_alignment):
774 * src/xml-label-04.c: (xml04_parse_text_props):
775 * src/xml-label-191.c: (xml191_parse_text_props):
776 * src/xml-label.c: (xml_parse_object_text),
777 (xml_parse_toplevel_span), (xml_create_object_text),
778 (xml_create_toplevel_span):
779 Converted all model internals to Pango. GnomeFont remains in
780 view until GnomeCanvas can be replaced with a cairo-based canvas.
782 2007-01-17 Jim Evins <evins@snaught.com>
788 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type),
789 (gl_wdgt_print_copies_construct):
790 * src/wdgt-print-copies.h:
791 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type),
792 (gl_wdgt_print_merge_construct):
793 * src/wdgt-print-merge.h:
794 Removed all remaining HIG wrapper widgets.
796 2007-01-16 Jim Evins <evins@snaught.com>
799 * src/print-dialog.c:
800 * src/print-dialog.h:
803 * src/template-designer.c: (print_test_cb):
804 * src/ui-commands.c: (gl_ui_cmd_file_print):
806 Renamed PrintDialog to PrintOp. Added constructor for batch
808 * src/glabels-batch.c: (main):
809 Converted to use new PrintOp object for printing.
811 2007-01-15 Jim Evins <evins@snaught.com>
813 * data/glade/Makefile.am:
814 * data/glade/print-custom-widget.glade:
815 * src/print-dialog.c:
816 * src/print-dialog.h:
819 * src/template-designer.c: (print_test_cb):
820 * src/ui-commands.c: (gl_ui_cmd_file_print):
821 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_copies):
822 * src/wdgt-print-merge.h:
823 * src/window.c: (gl_window_init):
825 Initial conversion to GtkPrintOperation.
827 - Remove font and other libgnomeprint[ui] from elsewhere
828 - Add batch initialization of print operation
830 2007-01-08 Jim Evins <evins@snaught.com>
832 Updated dependencies. Set version to 2.1.pre4cvs.
834 2007-01-03 Jim Evins <evins@snaught.com>
837 Removed EggRecent stuff.
846 Ported from EggRecent to GtkRecentManager.
849 2007-01-02 Jim Evins <evins@snaught.com>
852 * iec16022-0.2.1/BUGS:
853 * iec16022-0.2.1/CHANGELOG:
854 * iec16022-0.2.1/CREDITS:
855 * iec16022-0.2.1/INSTALL:
856 * iec16022-0.2.1/LICENSE:
857 * iec16022-0.2.1/Makefile.am:
858 * iec16022-0.2.1/Makefile.dist:
859 * iec16022-0.2.1/README:
860 * iec16022-0.2.1/README.glabels:
861 * iec16022-0.2.1/TODO:
862 * iec16022-0.2.1/iec16022.1:
863 * iec16022-0.2.1/iec16022.c:
864 * iec16022-0.2.1/iec16022ecc200.c:
865 * iec16022-0.2.1/iec16022ecc200.h:
866 * iec16022-0.2.1/image.c:
867 * iec16022-0.2.1/image.h:
868 * iec16022-0.2.1/reedsol.c:
869 * iec16022-0.2.1/reedsol.h:
870 * iec16022-0.2.1/test/testsuite-example.bin:
871 * iec16022-0.2.1/test/testsuite-example.eps:
872 * iec16022-0.2.1/test/testsuite-example.hex:
873 * iec16022-0.2.1/test/testsuite-example.png:
874 * iec16022-0.2.1/test/testsuite-example.text:
875 * iec16022-0.2.1/test/testsuite.sh:
876 Include modified copy of iec16022-0.2.1 to provide encoding
877 support for datamatrix 2D barcodes.
882 Added initial datamatrix 2D barcode backend to barcode code.
885 Automatic updates to later versions of these files.
887 2006-11-28 Jim Evins <evins@snaught.com>
889 * data/templates/avery-iso-templates.xml:
890 * data/templates/avery-us-templates.xml:
891 * data/templates/categories.xml:
892 * data/templates/misc-iso-templates.xml:
893 * data/templates/misc-us-templates.xml:
894 * data/templates/zweckform-iso-templates.xml:
897 2006-09-12 Jim Evins <evins@snaught.com>
899 * data/dtd/glabels-2.0.dtd:
900 * data/templates/Makefile.am:
901 * data/templates/avery-iso-templates.xml:
902 * data/templates/avery-other-templates.xml:
903 * data/templates/avery-us-templates.xml:
904 * data/templates/categories.xml:
905 * data/templates/misc-iso-templates.xml:
906 * data/templates/misc-other-templates.xml:
907 * data/templates/zweckform-iso-templates.xml:
908 * data/glade/Makefile.am:
909 * data/glade/new-label-dialog.glade:
910 * data/glade/wdgt-media-select.glade:
911 * data/glade/wdgt-rotate-label.glade:
912 * libglabels/Makefile.am:
913 * libglabels/category.c:
914 * libglabels/category.h:
915 * libglabels/libglabels.h:
916 * libglabels/paper.c:
917 * libglabels/template.c:
918 * libglabels/template.h:
919 * libglabels/xml-category.c:
920 * libglabels/xml-category.h:
921 * libglabels/xml-template.c:
922 Added support for category meta data.
925 * src/mini-preview-pixbuf.c:
926 * src/mini-preview-pixbuf.h:
927 * src/new-label-dialog.c:
928 * src/new-label-dialog.h:
929 * src/wdgt-media-select.c:
930 * src/wdgt-media-select.h:
931 * src/wdgt-rotate-label.c:
932 * src/wdgt-rotate-label.h:
933 New "new label" dialog.
935 2006-05-27 Jim Evins <evins@snaught.com>
940 Preparation for 2.1.3.
946 2006-05-22 Jim Evins <evins@snaught.com>
948 * src/print.c: (draw_barcode_object):
949 Don't print "Invalid barcode data" if data field is empty. Patch provided
950 by Darren Warner <warnerd@users.sourceforge.net>. Fixes Bug #1479839.
952 Added acknowledgment for above patch.
953 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
954 * src/bc-postnet.c: (postnet_code):
955 Removed "Invalid barcode data" warnings from stderr.
956 * src/view-barcode.c: (draw_barcode):
957 Draw box around barcode extent if data empty or invalid. Center a
958 message whether the data is empty or invalid in box.
960 2006-05-22 Jim Evins <evins@snaught.com>
962 * src/print.c: (draw_text_object):
963 Check shadow state when printing text.
965 2006-05-20 Jim Evins <evins@snaught.com>
967 * src/ui-commands.c: (gl_ui_cmd_view_grid_toggle),
968 (gl_ui_cmd_view_markup_toggle):
969 Fixed crash when grid or markup have been toggled off during
970 a previous session. Bug #1434324.
972 2006-04-05 Jim Evins <evins@snaught.com>
974 * src/object-editor.c: (gl_object_editor_set_key_names):
975 Fixed potential crash when freeing empty key list.
977 2006-03-11 Jim Evins <evins@snaught.com>
979 * src/print.c: (draw_text_object):
980 * src/view-text.c: (gl_view_text_new),
981 (construct_properties_editor), (update_object_from_editor_cb),
982 (update_editor_from_object_cb), (update_editor_from_label_cb),
984 Added shadow support to text object.
986 2006-02-18 Jim Evins <evins@snaught.com>
988 * src/print.c: (draw_line_object):
989 * src/view-line.c: (gl_view_line_new),
990 (construct_properties_editor), (update_canvas_item_from_object_cb),
991 (update_object_from_editor_cb), (update_editor_from_object_cb),
992 (update_editor_from_label_cb):
993 Added shadow support to line object.
995 2006-02-16 Jim Evins <evins@snaught.com>
999 * src/print.c: (draw_ellipse_object):
1000 * src/view-ellipse.c: (gl_view_ellipse_new),
1001 (construct_properties_editor), (update_canvas_item_from_object_cb),
1002 (update_object_from_editor_cb), (update_editor_from_object_cb),
1003 (update_editor_from_label_cb):
1004 Added shadow support to ellipse object.
1006 2006-02-15 Jim Evins <evins@snaught.com>
1008 * src/label-object.c:
1009 Changed default shadow offsets.
1010 * src/view-box.c: (gl_view_box_new):
1011 Simplified gl_view_box_new() so that is does not duplicate code
1012 in update_canvas_item_from_object_cb().
1014 2006-02-07 Jim Evins <evins@snaught.com>
1016 * data/glade/object-editor.glade:
1017 Fixed color groups of color combos.
1019 Added default shadow color.
1020 * src/object-editor.c: (gl_object_editor_construct_color_combo):
1021 Added shadow color group.
1023 2006-02-06 Jim Evins <evins@snaught.com>
1025 * src/object-editor-shadow-page.c:
1026 Forgot to add this file.
1027 * src/view-box.c: (gl_view_box_new),
1028 (update_canvas_item_from_object_cb), (update_editor_from_label_cb):
1029 Update limits on shadow offset spinbuttons.
1031 2006-01-19 Jim Evins <evins@snaught.com>
1033 * src/merge-evolution.c: (gl_merge_evolution_get_key_list):
1034 Initialize key_list to NULL.
1035 * data/glade/object-editor.glade:
1039 * src/label-object.c:
1040 * src/label-object.h:
1041 * src/object-editor-fill-page.c:
1042 * src/object-editor-private.h:
1043 * src/object-editor.c:
1044 * src/object-editor.h:
1046 Created infrastructure for shadow support.
1049 Initial shadow support in box object only.
1051 2006-01-05 Jim Evins <evins@snaught.com>
1053 * src/merge-properties-dialog.c: (src_changed_cb):
1054 Be extra paranoid before calling strcmp().
1055 * src/merge.c: (gl_merge_set_src):
1056 Don't make (merge == NULL) a critical error.
1058 2005-12-22 Jim Evins <evins@snaught.com>
1060 * src/glabels-batch.c: (main):
1061 Compile warning free with gcc 4.0.
1063 2005-12-21 Jim Evins <evins@snaught.com>
1066 Updated example RPM spec file.
1068 2005-12-21 Jim Evins <evins@snaught.com>
1072 Preparation for 2.1.2.
1074 2005-12-20 Jim Evins <evins@snaught.com>
1077 Define unique G_LOG_DOMAIN for glabels.
1078 * src/critical-error-handler.c: (gl_critical_error_handler_init):
1079 * src/warning-handler.c: (gl_warning_handler_init),
1081 Register for G_LOG_DOMAIN instead of NULL.
1083 2005-12-10 Jim Evins <evins@snaught.com>
1085 * src/merge-evolution.c:
1086 * src/merge-vcard.c:
1089 2005-12-08 Jim Evins <evins@snaught.com>
1091 * libglabels/paper.c: (read_paper_files_from_dir):
1092 * libglabels/template.c: (gl_template_register),
1093 (read_template_files_from_dir):
1094 * libglabels/xml-paper.c: (gl_xml_paper_read_papers_from_file),
1095 (gl_xml_paper_parse_papers_doc):
1096 * libglabels/xml-template.c:
1097 (gl_xml_template_read_templates_from_file),
1098 (gl_xml_template_parse_templates_doc),
1099 (gl_xml_template_parse_template_node),
1100 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
1101 (xml_parse_label_cd_node), (xml_parse_layout_node),
1102 (xml_parse_markup_margin_node), (xml_parse_markup_line_node),
1103 (xml_parse_markup_circle_node),
1104 (gl_xml_template_write_templates_to_file), (xml_create_label_node):
1105 * libglabels/xml.c: (gl_xml_get_prop_length):
1106 Re-classified g_warnings to g_messages.
1108 * src/glabels.c: (main):
1109 * src/warning-handler.c: (gl_warning_handler_init),
1111 * src/warning-handler.h:
1112 Added warning message handler to make sure the user is
1113 presented with appropriate non-fatal errors.
1114 * src/critical-error-handler.c: (critical_error_handler):
1115 Changed exit to abort.
1116 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new), (render_pass1):
1117 * src/bc-postnet.c: (postnet_code):
1118 * src/bc.c: (id_to_index), (name_to_index):
1119 * src/merge.c: (gl_merge_register_backend), (gl_merge_new):
1120 * src/object-editor.c: (gl_object_notebook_construct_valist):
1121 * src/prefs-dialog.c: (update_locale_page_from_prefs):
1122 * src/prefs.c: (gl_prefs_get_units_per_point),
1123 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
1124 (gl_prefs_get_units_string):
1125 * src/print.c: (draw_outline), (clip_to_outline), (clip_punchouts):
1126 * src/splash.c: (gl_splash):
1127 * src/ui-commands.c: (gl_ui_cmd_help_contents):
1128 * src/view-highlight.c: (gl_view_highlight_new),
1129 (highlight_resizable_box_construct), (object_changed_cb),
1130 (view_scale_changed_cb):
1131 * src/view.c: (draw_label_layer), (draw_bg_fg_layers),
1132 (draw_markup_layer), (draw_markup_margin),
1133 (gl_view_object_create_mode), (canvas_event),
1134 (selection_received_cb):
1135 * src/wdgt-mini-preview.c: (mini_outline_list_new):
1136 * src/wdgt-rotate-label.c: (mini_preview_canvas_update):
1137 * src/xml-label-04.c: (gl_xml_label_04_parse),
1138 (xml04_parse_media_description), (xml04_parse_text_props),
1139 (xml04_parse_barcode_props):
1140 * src/xml-label-191.c: (gl_xml_label_191_parse),
1141 (xml191_parse_objects), (xml191_parse_object),
1142 (xml191_parse_text_props), (xml191_parse_image_props),
1143 (xml191_parse_barcode_props), (xml191_parse_data),
1144 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
1145 (xml191_parse_markup):
1146 * src/xml-label.c: (gl_xml_label_open), (gl_xml_label_open_buffer),
1147 (xml_doc_to_label), (xml_parse_label), (xml_parse_objects),
1148 (xml_parse_object_text), (xml_parse_object_image),
1149 (xml_parse_object_barcode), (xml_parse_data),
1150 (xml_parse_toplevel_span), (gl_xml_label_save),
1151 (xml_create_objects):
1152 Re-classified g_warnings to g_messages.
1153 * src/merge-evolution.c: (gl_merge_evolution_open),
1154 (gl_merge_evolution_close), (gl_merge_evolution_get_record):
1155 Use g_warning to output errors encountered while
1156 communicating with the evolution data server
1157 instead of embedding them in the data.
1159 2005-12-08 Jim Evins <evins@snaught.com>
1161 * libglabels/libglabels-private.h:
1163 * libglabels/paper.c: (read_papers):
1164 * libglabels/template.c: (read_templates):
1165 Made appropriate warnings critical.
1167 * src/critical-error-handler.h:
1168 * src/critical-error-handler.c: (gl_critical_error_handler_init),
1169 (critical_error_handler):
1170 Created critical error handler.
1171 * src/glabels.c: (main):
1172 Register critical error handler.
1173 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
1174 * src/object-editor.c: (gl_object_editor_init):
1175 * src/prefs-dialog.c: (gl_prefs_dialog_init):
1176 * src/template-designer.c: (gl_template_designer_init):
1177 * src/ui-property-bar.c: (gl_ui_property_bar_instance_init):
1178 Made appropriate warnings critical.
1180 2005-11-27 Jim Evins <evins@snaught.com>
1182 * src/merge-evolution.c: (gl_merge_evolution_get_key_list),
1183 (gl_merge_evolution_get_primary_key),
1184 (gl_merge_evolution_get_record):
1185 Don't create "record_key" pseudo-key. Don't populate
1186 fields with null data.
1188 2005-11-25 Jim Evins <evins@snaught.com>
1190 * src/merge-evolution.c: (gl_merge_evolution_finalize),
1191 (gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
1192 (gl_merge_evolution_get_record), (gl_merge_evolution_copy),
1194 Query EDS for all supported fields. Patch provided by
1195 Austin Henry <ahenry@users.sourceforge.net>.
1197 2005-10-29 Jim Evins <evins@snaught.com>
1199 * src/glabels.c: (main):
1200 * src/label-barcode.c: (gl_label_barcode_finalize):
1201 * src/label-text.c: (gl_label_text_finalize), (set_font_family):
1202 * src/label.c: (gl_label_instance_init), (gl_label_finalize):
1203 * src/object-editor.c: (gl_object_editor_finalize):
1204 Another pass at valgrinding -- plugged several memory leaks.
1205 * src/view-text.c: (gl_view_text_new),
1206 (update_canvas_item_from_object_cb), (draw_hacktext):
1207 Commented out artifacts of edit-in-place code.
1209 2005-10-28 Jim Evins <evins@snaught.com>
1211 * src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
1212 Fixed use of uninitialized variable. Caught by
1213 d binderman <dcb314@hotmail.com>.
1215 2005-10-27 Jim Evins <evins@snaught.com>
1217 * src/merge-evolution.c: (gl_merge_evolution_get_record):
1218 * src/merge-vcard.c: (gl_merge_vcard_get_record),
1220 Additional cleanup of EDS and vcard backends. Provided by
1221 Austin Henry <ahenry@users.sourceforge.net>.
1223 2005-10-24 Jim Evins <evins@snaught.com>
1227 * src/merge-evolution.c:
1228 * src/merge-evolution.h:
1229 * src/merge-init.c: (gl_merge_init):
1230 * src/merge-properties-dialog.c: (type_changed_cb):
1231 * src/merge-vcard.c:
1232 * src/merge-vcard.h:
1233 * src/ui-commands.c: (gl_ui_cmd_help_about):
1234 Added Evolution Data Server and VCard merge backends. Original patch
1235 provided by Austin Henry <ahenry@users.sourceforge.net>.
1237 Only support EDS and VCard backends if libebook is installed. Allow
1238 user to disable support, even if installed.
1240 2005-10-24 Jim Evins <evins@snaught.com>
1243 * data/templates/avery-iso-templates.xml:
1244 * data/templates/avery-us-templates.xml:
1245 * data/templates/misc-iso-templates.xml:
1246 * data/templates/zweckform-iso-templates.xml:
1247 Collected all template changes and submissions since last
1250 2005-10-23 Jim Evins <evins@snaught.com>
1253 * data/mime/Makefile.am:
1254 Added configure options to disable update-mime-database and
1255 update-desktop-database as part of the install. Patch
1256 provided by Leonardo Boshell (qhoracio@sourceforge.net).
1258 2005-10-23 Jim Evins <evins@snaught.com>
1261 * libglabels/xml.c: (gl_xml_get_prop_string),
1262 (gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
1263 (gl_xml_is_node), (gl_xml_get_node_content):
1264 Added new XML utility functions.
1265 * libglabels/xml-paper.c:
1266 * libglabels/xml-template.c:
1268 Cleanup by using new xml utilities created above.
1269 * libglabels/paper.c: (gl_paper_free):
1270 * src/file.c: (new_response):
1271 * src/object-editor-image-page.c: (add_image_filters_to_chooser):
1272 * src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
1273 (gl_pixbuf_cache_get_pixbuf):
1274 * src/ui-property-bar.c:
1275 (gl_ui_property_bar_construct_color_combo):
1276 * src/view-highlight.c: (gl_view_highlight_finalize):
1277 * src/view-image.c: (update_object_from_editor_cb):
1278 * src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
1279 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
1280 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
1281 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
1282 (draw_markup_margin_round), (draw_markup_margin_cd),
1283 (draw_markup_margin_cd_bc):
1284 * src/wdgt-mini-preview.c: (mini_outline_list_new):
1285 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
1286 Plugged various memory leaks located with valgrind.
1287 * src/view-image.c: (update_canvas_item_from_object_cb):
1288 Don't allow a width or height of zero when drawing pixbuf.
1290 2005-10-22 Jim Evins <evins@snaught.com>
1292 * libglabels/xml-paper.c:
1293 * libglabels/xml-template.c:
1296 * src/bc-gnubarcode.c:
1297 * src/canvas-hacktext.c:
1299 * src/object-editor-data-page.c:
1300 * src/print-dialog.c:
1303 * src/template-designer.c:
1305 * src/ui-property-bar.c:
1307 * src/view-barcode.c:
1309 * src/view-ellipse.c:
1314 * src/wdgt-media-select.c:
1315 * src/xml-label-04.c:
1316 * src/xml-label-191.c:
1318 Modified to compile warning free with gcc-4.0. Mostly
1319 casting to change signedness of characters. Did not
1320 attack gnu-barcode library yet.
1322 2005-10-22 Jim Evins <evins@snaught.com>
1324 * src/glabels.c: (main):
1325 * src/splash.c: (gl_splash):
1326 Removed some small memory leaks.
1330 2005-09-19 Jim Evins <evins@snaught.com>
1332 * data/glade/property-bar.glade:
1333 Remove items from font_family_combo. This prevents the
1334 double entry after adding text model and list of fonts.
1335 * src/ui-property-bar.c: (reset_to_default_properties):
1336 Free font_family_list.
1338 2005-07-01 Jim Evins <evins@snaught.com>
1341 Updated italian translation (Daniele Medri)
1343 2005-06-26 Jim Evins <evins@snaught.com>
1345 * docs/libglabels/libglabels-decl-list.txt:
1346 Somehow never got checked in before.
1347 * docs/libglabels/libglabels.types:
1348 Removed -- don't need it afterall.
1350 2005-06-20 Jim Evins <evins@snaught.com>
1353 Final prep for 2.1.1 release.
1355 2005-06-20 Jim Evins <evins@snaught.com>
1358 Final preps for 2.1.1 release.
1359 * docs/libglabels/libglabels.types:
1360 Somehow never got checked in before.
1362 Bring up-to-date with recent reorg of ui code.
1365 2005-06-19 Jim Evins <evins@snaught.com>
1367 * src/template-designer.c: (construct_layout_page):
1368 Removed attempt to match background color of mini preview widget to
1371 2005-06-17 Jim Evins <evins@snaught.com>
1373 * help/C/figures/merge-ex2-4.png:
1374 * help/C/glabels.xml:
1375 Fixed spelling error.
1377 2005-06-13 Jim Evins <evins@snaught.com>
1379 * help/C/figures/merge-ex1-1.png:
1380 * help/C/figures/merge-ex1-2.png:
1381 * help/C/figures/merge-ex1-3.png:
1382 * help/C/figures/merge-ex1-4.png:
1383 * help/C/figures/merge-ex2-1.png:
1384 * help/C/figures/merge-ex2-2.png:
1385 * help/C/figures/merge-ex2-3.png:
1386 * help/C/figures/merge-ex2-4.png:
1387 Added figures for document merge tutorial.
1388 * help/C/glabels.xml:
1389 Added document merge tutorial.
1391 2005-05-19 Jim Evins <evins@snaught.com>
1393 * data/glade/merge-properties-dialog.glade:
1394 Fixed irregular spacing.
1395 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
1396 (gl_merge_properties_dialog_construct):
1397 Set outer padding and remove separator.
1399 2005-05-18 Jim Evins <evins@snaught.com>
1403 Removed glHigDialog class.
1404 * src/file.c: (gl_file_new), (create_new_dialog_widgets),
1405 (gl_file_properties), (create_properties_dialog_widgets):
1406 * src/prefs-dialog.h:
1407 * src/prefs-dialog.c: (gl_prefs_dialog_get_type),
1408 (gl_prefs_dialog_init), (gl_prefs_dialog_construct):
1409 * src/print-dialog.h:
1410 * src/prefs-dialog.h:
1411 * src/print-dialog.c: (gl_print_dialog_get_type),
1412 (gl_print_dialog_init), (gl_print_dialog_construct):
1413 Replaced all instances of glHigDialog with GtkDialog.
1415 2005-05-17 Jim Evins <evins@snaught.com>
1419 Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
1420 * src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
1421 (save_as_response), (gl_file_close):
1422 Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.
1424 2005-05-15 Jim Evins <evins@snaught.com>
1426 * src/ui-commands.h:
1434 A little code reformatting -- no functional changes.
1436 2005-05-14 Jim Evins <evins@snaught.com>
1439 Removed obsolete macros.
1441 Added marshalling template to support new view signal: "context_menu_activate."
1443 * src/view.c: (gl_view_class_init), (gl_view_construct),
1444 (canvas_event_arrow_mode):
1445 - Removed hardcoded context menus and added new signal "context_menu_activate"
1446 to push this up to the uimanager.
1447 - Removed merge properties and print dialogs so that they can be managed with
1448 the window by the uimanager.
1449 * src/merge-properties-dialog.h:
1450 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
1451 (gl_merge_properties_dialog_construct):
1452 Changed calling convention of gl_merge_properties_dialog_new() to use
1453 glLabel and GtkWindow instead of view to make more consistent with other
1455 * src/print-dialog.h:
1456 * src/print-dialog.c: (gl_print_dialog_new),
1457 (gl_print_dialog_construct):
1458 Removed last artifact of libbonoboui.
1459 * src/ui-commands.c: (gl_ui_cmd_file_print),
1460 (gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
1461 Reconciled style for launching dialogs.
1462 * src/ui.c: (gl_ui_new):
1463 Added context menus to ui manager.
1464 * src/view-object.c: (item_event_arrow_mode):
1465 No longer try to select objects with right-click.
1467 * src/window.c: (gl_window_init), (gl_window_set_label),
1468 (context_menu_activate_cb):
1469 Context menus and all dialogs are now managed in a consistent way in window
1472 2005-05-11 Jim Evins <evins@snaught.com>
1475 * src/window.c: (gl_window_init), (gl_window_destroy):
1476 * src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
1477 * src/ui-commands.c: (gl_ui_cmd_file_open_recent):
1478 Moved management of recent_view back from window.c to ui.c -- it just feels
1481 2005-05-10 Jim Evins <evins@snaught.com>
1484 * src/window.c: (gl_window_init):
1486 * src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
1487 (menu_item_select_cb), (menu_item_deselect_cb):
1488 Added GtkStatusbar which displays menu tooltips.
1490 2005-05-09 Jim Evins <evins@snaught.com>
1492 Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
1497 Removed dependencies on libbonoboui.
1499 * data/ui/Makefile.am:
1500 * data/ui/glabels-ui.xml:
1501 Removed data/ui directory.
1502 * data/glade/Makefile.am:
1503 * data/property-bar.glade:
1504 Added glade description of property-bar for new libglade implementation
1511 * src/ui-commands.h:
1512 * src/ui-commands.c:
1513 Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
1514 since the distinction between "commands" and "tools" is no longer that clear.
1517 Modified to expect glWindow instead of GtkWindow. gl_file_open_recent()
1518 no longer has knowledge of eggRecent*.
1519 * src/glabels.c: (main):
1520 Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
1522 * src/object-editor.c: (gl_object_editor_init):
1523 Make sure notebook does not respond to a "show_all" on the parent.
1524 * src/recent-files/Makefile.am:
1525 * src/recent-files/*.[ch]
1526 Updated from latest version of libegg which now has a view based on
1527 GtkUIManager. Removed unused bonobo and gtk views.
1528 * src/ui-property-bar.h:
1529 * src/ui-property-bar.c:
1530 New implementation based on libglade.
1533 Sidebar is now simply a GtkWidget and does not expect to be a part of
1534 a libbonoboui interface.
1539 Converted for use with GtkUIManager.
1542 Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
1543 to create menus and toolbars.
1545 2005-04-25 Jim Evins <evins@snaught.com>
1547 * data/templates/misc-iso-templates.xml:
1548 Added Fellows 04715 template provided by Steve Saxon.
1550 Updated acknowledgement for above.
1552 2005-04-23 Jim Evins <evins@snaught.com>
1554 * src/util.c: (gl_util_combo_box_set_strings):
1555 Make sure to clear model before loading a new list of strings.
1556 * src/wdgt-media-select.h:
1557 * src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
1558 (gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
1559 (template_combo_changed_cb), (prefs_changed_cb),
1560 (gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
1561 (gl_wdgt_media_select_get_page_size),
1562 (gl_wdgt_media_select_set_page_size):
1563 Replaced the deprecated GtkCombo widget with the new
1566 2005-04-21 Jim Evins <evins@snaught.com>
1568 * data/glade/template-designer.glade:
1569 * src/template-designer.c: (construct_pg_size_page),
1570 (pg_size_page_changed_cb), (build_template):
1571 Replaced the deprecated GtkCombo widget with the new
1574 2005-04-20 Jim Evins <evins@snaught.com>
1576 * data/glade/prefs-dialog.glade:
1577 * src/prefs-dialog.c: (construct_object_page),
1578 (update_object_page_from_prefs), (update_prefs_from_object_page):
1579 Replaced the deprecated GtkCombo widget with the new
1582 2005-04-19 Jim Evins <evins@snaught.com>
1584 * data/glade/object-editor.glade:
1585 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
1586 (style_changed_cb), (gl_object_editor_set_bc_style),
1587 (gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
1588 (gl_object_editor_get_bc_color):
1589 * src/object-editor-data-page.c:
1590 (gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
1591 (gl_object_editor_get_data):
1592 * src/object-editor-edit-page.c:
1593 (gl_object_editor_prepare_edit_page), (insert_button_cb):
1594 * src/object-editor-fill-page.c:
1595 (gl_object_editor_prepare_fill_page),
1596 (gl_object_editor_set_fill_color),
1597 (gl_object_editor_get_fill_color):
1598 * src/object-editor-image-page.c:
1599 (gl_object_editor_prepare_image_page),
1600 (gl_object_editor_set_image), (gl_object_editor_get_image):
1601 * src/object-editor-line-page.c:
1602 (gl_object_editor_prepare_line_page),
1603 (gl_object_editor_set_line_color),
1604 (gl_object_editor_get_line_color):
1605 * src/object-editor-private.h:
1606 * src/object-editor-text-page.c:
1607 (gl_object_editor_prepare_text_page),
1608 (gl_object_editor_set_font_family),
1609 (gl_object_editor_get_font_family),
1610 (gl_object_editor_set_text_color),
1611 (gl_object_editor_get_text_color):
1612 * src/object-editor.c: (gl_object_editor_set_key_names):
1614 In the object editor: replaced all instances of the deprecated
1615 GtkCombo widget with the new GtkComboBox.
1617 2005-04-18 Jim Evins <evins@snaught.com>
1620 Neglected to save this one in previous checkin to support
1623 2005-04-17 Jim Evins <evins@snaught.com>
1625 * libglabels/libglabels-private.h:
1626 * libglabels/paper.c:
1627 * libglabels/paper.h:
1628 * libglabels/template.c:
1629 * libglabels/template.h:
1630 * libglabels/xml-paper.c:
1631 * libglabels/xml-paper.h:
1632 * libglabels/xml-template.c:
1637 * src/bc-gnubarcode.c:
1648 * src/label-barcode.c:
1650 * src/label-ellipse.c:
1651 * src/label-image.c:
1652 * src/label-image.h:
1654 * src/label-object.c:
1658 * src/merge-properties-dialog.c:
1659 * src/object-editor-bc-page.c:
1660 * src/object-editor-data-page.c:
1661 * src/object-editor-edit-page.c:
1662 * src/object-editor-fill-page.c:
1663 * src/object-editor-image-page.c:
1664 * src/object-editor-line-page.c:
1665 * src/object-editor-lsize-page.c:
1666 * src/object-editor-position-page.c:
1667 * src/object-editor-private.h:
1668 * src/object-editor-size-page.c:
1669 * src/object-editor-text-page.c:
1670 * src/object-editor.c:
1671 * src/object-editor.h:
1672 * src/pixbuf-cache.h:
1673 * src/prefs-dialog.c:
1674 * src/prefs-dialog.h:
1675 * src/prefs-model.c:
1676 * src/prefs-model.h:
1678 * src/print-dialog.c:
1679 * src/print-dialog.h:
1687 * src/template-designer.c:
1688 * src/template-designer.h:
1691 * src/ui-property-bar.c: (gl_ui_property_bar_construct):
1697 * src/view-barcode.c:
1699 * src/view-ellipse.c:
1700 * src/view-highlight.c:
1701 * src/view-highlight.h:
1704 * src/view-object.c:
1705 * src/view-object.h:
1709 * src/wdgt-chain-button.c:
1710 * src/wdgt-media-select.c:
1711 * src/wdgt-media-select.h:
1712 * src/wdgt-mini-preview.c:
1713 * src/wdgt-mini-preview.h:
1714 * src/wdgt-print-copies.c:
1715 * src/wdgt-print-copies.h:
1716 * src/wdgt-print-merge.c:
1717 * src/wdgt-print-merge.h:
1718 * src/wdgt-rotate-label.c:
1719 * src/wdgt-rotate-label.h:
1722 * src/xml-label-04.c:
1723 * src/xml-label-191.c:
1725 Cleanup of header files:
1726 - all header files are now stand-alone, verified by including
1727 first in corresponding "c" files
1728 - replaced blanket includes of gnome, gtk, and glib with
1731 2005-04-16 Jim Evins <evins@snaught.com>
1733 * data/glade/Makefile.am:
1734 * data/glade/merge-properties-dialog.glade:
1735 Added merge properties dialog glade description file.
1736 * src/merge-properties-dialog.h:
1737 * src/merge-properties-dialog.c:
1738 (gl_merge_properties_dialog_get_type),
1739 (gl_merge_properties_dialog_init),
1740 (gl_merge_properties_dialog_finalize),
1741 (gl_merge_properties_dialog_new),
1742 (gl_merge_properties_dialog_construct), (type_changed_cb),
1743 (src_changed_cb), (response_cb), (load_tree),
1744 (record_select_toggled_cb), (select_all_button_clicked_cb),
1745 (unselect_all_button_clicked_cb):
1746 Modified merge properties dialog to use libglade. Added
1747 "select all" and "unselect all" buttons.
1748 * src/merge-text.c: (parse_line):
1749 Handle empty lines better.
1750 * src/merge.c: (gl_merge_eval_key):
1751 Evaluate the key whether the record is selected or not.
1753 * src/util.c: (gl_util_combo_box_add_text_model):
1754 Since libglade does not use the gtk_combo_box_new_text()
1755 constructor for GtkComboBoxes, a utility function was created
1756 to add an appropriate text model to a GtkComboBox.
1757 * src/view.c: (gl_view_edit_merge_props):
1758 Removed unnecessary "show all's".
1760 2005-04-15 Jim Evins <evins@snaught.com>
1763 Updated russian translation (Vitaly Lipatov)
1764 * data/templates/misc-iso-templates.xml:
1765 Added templates for russian business cards provided by Vitaly Lipatov.
1767 Updated acknowledgements for above.
1769 2005-04-15 Jim Evins <evins@snaught.com>
1771 * data/templates/avery-us-templates.xml:
1772 Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
1773 * data/templates/misc-iso-templates.xml:
1774 Added Ryman standard CD/DVD template, provided by Dan Clark.
1776 Added acknowledgements for above.
1778 2005-04-10 Jim Evins <evins@snaught.com>
1780 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
1781 * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
1782 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
1783 (xml_parse_label_cd_node), (xml_parse_alias_node):
1784 * libglabels/xml.c: (gl_xml_get_prop_double),
1785 (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
1786 (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
1787 * src/xml-label-04.c: (xml04_parse_media_description),
1788 (xml04_parse_text_props), (xml04_parse_barcode_props),
1789 (xml04_parse_merge_properties):
1790 * src/xml-label-191.c: (xml191_parse_object),
1791 (xml191_parse_text_props), (xml191_parse_barcode_props),
1792 (xml191_parse_merge_fields), (xml191_parse_pixdata),
1793 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
1794 (xml191_parse_alias):
1795 * src/xml-label.c: (xml_parse_object_text),
1796 (xml_parse_object_barcode), (xml_parse_merge_fields),
1797 (xml_parse_pixdata), (xml_parse_toplevel_span):
1798 Make sure to use xmlFree for anything obtained from libxml
1799 in case libxml and glib use different memory management
1802 2005-04-08 Jim Evins <evins@snaught.com>
1805 * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
1806 (gl_util_combo_box_set_active_text):
1807 Added utility functions to simplify working with GtkComboBox
1809 * src/ui-property-bar.h:
1810 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
1811 (reset_to_default_properties), (update_text_properties),
1812 (font_family_changed_cb):
1813 Replaced deprecated GtkCombo with GtkComboBox.
1816 2005-04-03 Jim Evins <evins@snaught.com>
1819 * src/wdgt-image-select.h:
1820 * src/wdgt-image-select.c:
1821 Removed obsolete wdgt-image-select.[ch] files.
1822 * libglabels/paper.c: (gl_paper_dup):
1823 Fixed rename of parameter introduced during documentation
1825 * data/glade/object-editor.glade:
1826 * src/object-editor-image-page.c:
1827 (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
1828 (gl_object_editor_set_image), (gl_object_editor_get_image),
1829 (update_preview_cb), (add_image_filters_to_chooser):
1830 * src/object-editor-private.h:
1831 Replaced deprecated GnomePixmapEntry with
1832 GtkFileChooserButton.
1834 2005-04-02 Jim Evins <evins@snaught.com>
1836 * src/mygal/mygal-combo-box.c: (deactivate_arrow),
1837 (mygal_combo_box_popup_hide_unconditional),
1838 (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
1839 (mygal_combo_toggle_pressed), (mygal_combo_box_init),
1840 (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
1841 (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
1842 (cb_tearable_button_release), (mygal_combo_box_set_tearable):
1843 Renamed all internal gtk_combo functions to mygal_combo
1844 to prevent namespace confusion.
1846 2005-04-02 Jim Evins <evins@snaught.com>
1848 * src/mygal/color-palette.c: (color_palette_change_custom_color),
1849 (cust_color_set), (color_palette_setup):
1850 * src/mygal/color-palette.h:
1851 Replaced deprecated GnomeColorPicker with GtkColorButton.
1853 2005-04-02 Jim Evins <evins@snaught.com>
1855 * docs/libglabels/libglabels-sections.txt:
1856 * docs/libglabels/libglabels-undocumented.txt:
1857 * docs/libglabels/tmpl/enums.sgml:
1858 * docs/libglabels/tmpl/paper.sgml:
1859 * docs/libglabels/tmpl/xml-paper.sgml:
1860 * docs/libglabels/tmpl/xml-template.sgml:
1861 * libglabels/enums.h:
1862 * libglabels/paper.c: (gl_paper_dup):
1863 * libglabels/paper.h:
1864 * libglabels/xml-paper.c:
1865 * libglabels/xml-template.c:
1866 More documentation updates for libglabels.
1868 2005-03-23 Jim Evins <evins@snaught.com>
1871 Automatically updated.
1876 * docs/libglabels/Makefile.am:
1877 * docs/libglabels/libglabels-docs.sgml:
1878 * docs/libglabels/libglabels-sections.txt:
1879 * docs/libglabels/libglabels-undocumented.txt:
1880 * docs/libglabels/tmpl/enums.sgml:
1881 * docs/libglabels/tmpl/libglabels-unused.sgml:
1882 * docs/libglabels/tmpl/libglabels.sgml:
1883 * docs/libglabels/tmpl/paper.sgml:
1884 * docs/libglabels/tmpl/template.sgml:
1885 * docs/libglabels/tmpl/xml-paper.sgml:
1886 * docs/libglabels/tmpl/xml-template.sgml:
1887 * docs/libglabels/tmpl/xml.sgml:
1888 Added basic gtk-doc stuff to support documenting libglabels
1891 Updated function comments with gtk-doc markup.
1895 2005-03-22 Jim Evins <evins@snaught.com>
1897 Since the development version now requires gtk-2.6/gnome-2.10, I
1898 have made a first pass at removing deprecations.
1901 * libglabels/Makefile.am:
1903 Added configure option to turn on X_DISABLE_DEPRECATED flags.
1904 Also removed all remnants of HAVE_FILECHOOSER.
1905 * src/file.c: (gl_file_open_real):
1906 Removed code for old GtkFileSelection.
1907 * libglabels/libglabels-private.h:
1908 * libglabels/paper.c:
1909 * libglabels/template.c:
1910 * libglabels/xml-paper.c:
1911 * libglabels/xml-template.c:
1915 * src/glabels-batch.c:
1919 * src/merge-properties-dialog.c:
1921 * src/object-editor.c:
1922 * src/prefs-dialog.c:
1924 * src/print-dialog.c:
1927 * src/template-designer.c:
1928 * src/ui-property-bar.c:
1930 * src/view-barcode.c:
1932 * src/view-ellipse.c:
1937 * src/wdgt-image-select.c:
1938 * src/wdgt-media-select.c:
1939 * src/wdgt-print-copies.c:
1940 * src/wdgt-print-merge.c:
1941 * src/wdgt-rotate-label.c:
1943 * src/xml-label-04.c:
1944 * src/xml-label-191.c:
1946 Added '#include <glib/gi18n.h>" where needed.
1947 Removed any unused '#include <gnome.h>"s.
1949 2005-03-22 Jim Evins <evins@snaught.com>
1951 * src/commands.c: (activate_url), (gl_cmd_help_about):
1952 Replaced GnomeAbout with GtkAboutDialog. Therefore the
1953 development version of glabels now depends on GTK 2.6 and
1956 Updated library dependencies.
1958 2005-02-28 Jim Evins <evins@snaught.com>
1961 * data/templates/misc-iso-templates.xml:
1962 Added 'Ednet 45021' template provided by Ali Akcaagac
1965 2005-02-14 Jim Evins <evins@snaught.com>
1967 * data/templates/avery-us-templates.xml:
1968 Updated templates to use inches instead of points.
1969 * src/print-dialog.c: (printer_page_new):
1970 Changed packing style when adding printer selector widget. This fixes
1973 2005-02-13 Jim Evins <evins@snaught.com>
1977 Updated spanish translations. (sergio rivadero)
1979 2005-02-05 Jim Evins <evins@snaught.com>
1981 Some cleanup to libglabels.
1984 Updated version to 2.1.1cvs. Added generation of libglabels.pc.
1985 * libglabels/libglabels.pc.in
1987 * libglabels/enums.h
1988 Created. Currently only contains glUnitsType which provides enumerations
1989 for all possible units of distance.
1990 * libglabels/Makefile.am:
1991 Incorporated new files enums.h and libglabels.pc[.in].
1992 * libglabels/libglabels.h:
1994 * libglabels/template.h:
1995 * libglabels/template.c: (gl_template_layout_new):
1996 Changed parameters nx and ny to gint from gdouble.
1998 * libglabels/xml.c: (gl_xml_get_prop_length),
1999 (gl_xml_set_prop_length), (gl_xml_set_default_units):
2000 Added support for different output units.
2001 * src/prefs-dialog.c: (update_locale_page_from_prefs),
2002 (update_prefs_from_locale_page):
2003 * src/prefs-model.c: (string_to_units), (units_to_string):
2004 * src/prefs-model.h:
2005 * src/prefs.c: (gl_prefs_get_units_per_point),
2006 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
2007 (gl_prefs_get_units_string):
2009 * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
2010 Reconciled all length enumerations with the new enumerations provided
2011 in libglabels/enums.h.
2013 2005-02-03 Jim Evins <evins@snaught.com>
2016 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
2018 Updated Italian translations. (Daniele Medri)
2020 Updated credits to reflect above translations.
2023 2005-01-22 Jim Evins <evins@snaught.com>
2028 Added MESSAGE-OF-DOOM to EXTRA_DIST.
2030 Final prep for 2.1.0.
2032 Set version to 2.1.0. Output MESSAGE-OF-DOOM.
2034 Added '--remove-original' flag to desktop-file-install, so that there is
2035 only one menu entry.
2037 2005-01-20 Jim Evins <evins@snaught.com>
2039 * data/glade/object-editor.glade:
2040 - Font family entry should not be editable.
2041 - img_key_entry should have sensitivity=YES, so that it follows the
2042 sensitivity of img_key_combo.
2044 2005-01-19 Jim Evins <evins@snaught.com>
2047 Give credit to Frederic Ruaudel for the color merge patches.
2049 2005-01-18 Frederic Ruaudel <grumz@users.sf.net>
2051 Add support to merge color for all other color attribute (Feature
2052 Requests item #1008635. If the data is invalid, the color used is transparent
2053 (GL_COLOR_NONE). The format for color in merge data file are those accepted
2054 by gdk_color_parse() these include name for a color from rgb.txt, such as
2055 DarkSlateGray, or a hex specification such as #305050. File format has been
2056 changed but backward compatibility is preserved for all format. For
2057 box/ellipse/line, keep attribute "line_color" for static color or replace by
2058 "line_color_field" for merge data. For text/barcode objects, keep attribute
2059 "color" for static color or replace by "color_field" for merge data. In the
2060 edit canvas window, merged color are represented by half-transparent black
2063 * data/dtd/glabels-2.0.dtd:
2064 Added line_color_field to line_attrs. Added color_field to
2065 Object-barcode and Span.
2066 * data/glade/object-editor.glade:
2067 Modify the layout of the editor to add merge possibility to color options
2069 Fix a copy/paste error in a comment
2071 Add default color for merge color representation in the editor canvas.
2072 * src/label-barcode.c:
2073 * src/object-editor-bc-page.c:
2074 * src/view-barcode.c:
2075 Add merge color support for barcode color.
2078 Add merge color support for box border color.
2079 * src/label-ellipse.c:
2080 * src/view-ellipse.c:
2081 Add merge color support for ellipse border color.
2084 Add merge color support for line color.
2085 * src/label-object.c:
2086 * src/label-object.h:
2087 * src/object-editor.c:
2088 * src/object-editor.h:
2089 * src/ui-property-bar.c:
2092 * src/xml-label-04.c:
2093 * src/xml-label-191.c:
2094 Add support for merging to other color attribute.
2096 * src/object-editor-text-page.c:
2098 Add merge color support for text color.
2099 * src/object-editor-fill-page.c:
2100 Change a blocked handler that didn't match the good widget. Fix the type
2101 of some debug message.
2102 * src/object-editor-line-page.c:
2103 Add merging support to line color option.
2104 * src/object-editor-private.h:
2105 Add variables for new widget.
2107 Modify the draw functions to get merge data if needed.
2109 Change the default size of the window in order to see all widget in the
2110 "text style tab" of the editor.
2112 Modify the parser to record/retreive the field value for objects that need
2113 "color" attribute. For box/ellipse/line, keep attribute "line_color" for
2114 static color or replace by "line_color_field" for merge data. For
2115 text/barcode objects, keep attribute "color" for static color or replace
2116 by "color_field" for merge data.
2118 2005-01-17 Jim Evins <evins@snaught.com>
2120 * src/view.c: (screen_changed_cb):
2121 Don't do anything if we don't have a screen.
2123 2005-01-06 Jim Evins <evins@snaught.com>
2125 * src/view.c: (get_home_scale):
2126 Fixed bad call to gtk_widget_has_screen() -- huh?.
2128 2005-01-06 Jim Evins <evins@snaught.com>
2130 * data/dtd/glabels-2.0.dtd:
2131 Added fill_color_field to fill_attrs. Also added xmlns attribute to all
2134 2005-01-06 Jim Evins <evins@snaught.com>
2136 * data/glade/object-editor.glade:
2137 Set entries for fill and data field key dropdowns to NOT editable.
2138 * src/view-box.c: (construct_properties_editor):
2139 * src/view-ellipse.c: (construct_properties_editor):
2140 Update object editor when label's merge property has changed.
2141 * src/xml-label.c: (xml_parse_object_ellipse):
2142 Completed the merge color support for the ellipse item.
2144 2005-01-06 Frederic Ruaudel <grumz@users.sf.net>
2146 Add support to merge color for object that have a "Fill color" attribute (Feature
2147 Requests item #1008635. If the data is invalid, the color used is transparent
2148 (GL_COLOR_NONE). The format for color in merge data file are those accepted
2149 by gdk_color_parse() these include name for a color from rgb.txt, such as
2150 DarkSlateGray, or a hex specification such as #305050. File format has been
2151 changed but backward compatibility is preserved for all format. For box/ellipse,
2152 keep attribute "fill_color" for static color or replace by "fill_color_field"
2155 * data/glade/object-editor.glade:
2156 Modify "Fill" tab to add the merge key combo and convert the labels into
2160 Add "glColorNode" structure and associated functions to manage it. This
2161 structure is equivalent for color than the "glTextNode". It holds the color
2163 * src/label-object.h:
2164 * src/label-object.c:
2166 * src/label-ellipse.c:
2167 * src/ui-property-bar.c:
2171 * src/view-ellipse.c:
2172 * src/xml-label-04.c:
2173 * src/xml-label-191.c:
2174 Change functions of objects that have a "fill color" attribute to use the
2175 new "glColorNode" structure. Use barcode code as example.
2177 Add the color.[ch] file to glabels_batch binary that now need support for
2179 * src/object-editor.h:
2180 * src/object-editor.c:
2181 * src/object-editor-fill-page.c:
2182 Manage the new widget of the editor's "Fill" tab : key combo and radio button
2183 to choose between static color or merge key. Use barcode code as example.
2184 * src/object-editor-private.h:
2185 Add new widget in the "_glObjectEditorPrivate" structure.
2187 Modify the draw functions to get merge data if needed.
2189 Modify the parser to record/retreive the field value for objects that need
2190 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
2191 color or "fill_color_field" for merge data.
2193 2005-01-04 Jim Evins <evins@snaught.com>
2196 * data/templates/avery-iso-templates.xml:
2197 * data/templates/misc-iso-templates.xml:
2198 * data/templates/misc-us-templates.xml:
2199 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
2202 2004-11-26 Jim Evins <evins@snaught.com>
2206 Updated french translations provided by Florent Morel <florent@taket.org>.
2207 * src/view-barcode.c:
2209 * src/view-ellipse.c:
2213 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
2214 thus _() strings were not being translated.
2216 2004-11-14 Jim Evins <evins@snaught.com>
2219 * src/debug.c: (gl_debug_init), (gl_debug):
2220 Borrowed from gedit: use environmental variables to select debug
2223 Removed unused include of debug.h.
2224 * src/glabels.c: (main):
2225 Added call to gl_debug_init(), and removed debug clutter from command line
2227 * src/glabels-batch.c: (main):
2228 Added call to gl_debug_init().
2230 2004-11-13 Jim Evins <evins@snaught.com>
2232 Drawing and property toolbars were being initialized with the "icons and text"
2233 look in Fedora Core 3. Even though none of the buttons had any text attached to
2234 them, the buttons were being sized as if they were. This led to less real estate
2235 for the property editor, leading to Bug #1064630. The
2237 * data/ui/glabels-ui.xml:
2238 Added explicit "look" property to both drawing and property toolbars.
2239 * src/prefs-model.c: (gl_prefs_model_save_settings),
2240 (gl_prefs_model_load_settings):
2241 * src/prefs-model.h:
2242 Removed drawing_toolbar_button_style configuration parameter.
2243 * src/ui.c: (view_menu_item_toggled_cb),
2244 (set_app_drawing_toolbar_style):
2245 Do not attempt to adjust look property of the drawing toolbar.
2247 2004-10-28 Jim Evins <evins@snaught.com>
2249 * data/pixmaps/glabels-about-logo.png:
2252 2004-10-28 Jim Evins <evins@snaught.com>
2254 * data/man/glabels.1:
2255 * src/glabels-batch.c: (main):
2257 * src/print.c: (gl_print_batch):
2259 Added option to glabels-batch to select the first label to begin
2262 2004-09-26 Jim Evins <evins@snaught.com>
2264 * data/desktop/glabels.desktop.in:
2265 Point to app icon, "glabels.png"
2266 * data/mime/glabels.keys.in:
2267 Point at mime icon, "glabels-application-x-glabels.png"
2268 * data/pixmaps/Makefile.am:
2269 Added glabels_app_icondir. Renamed icons.
2270 * data/pixmaps/glabels.png:
2271 New cleaned up app icon. Deleted glabels-icon.png.
2272 * data/pixmaps/glabels-application-x-glabels.png:
2274 * data/pixmaps/glabels-splash.png:
2275 Renamed glabels-logo to glabels-splash to be more correct about role.
2277 * src/template-designer.c:
2278 Point at app icon, "glabels.png"
2280 Point at renamed splash image, "glabels-splash.png"
2282 2004-08-22 Jim Evins <evins@snaught.com>
2285 * src/glabels-batch.c: (main):
2286 Applied patch with minor mods to allow selecting merge source and
2287 crop-marks on glabels-batch's command line. Original patch provided by
2288 José Dapena Paz <jdapena@igalia.com>.
2290 2004-08-15 Jim Evins <evins@snaught.com>
2292 * data/desktop/glabels.desktop.in:
2293 - Added encoding line
2294 - Removed period from comment
2295 - Fixed Terminal line, changed "0" to "false"
2296 - Added semicolen to Categories line
2298 - Made sure desktop.in comment string above still translated properly
2300 2004-08-14 Jim Evins <evins@snaught.com>
2302 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
2303 * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
2304 * src/xml-label-191.c: (xml191_parse_sheet):
2305 Fixed improper freeing of gettext strings. Merged from 2.0.1.
2307 Reconciled libglabels versioning with 2.0.1.
2310 2004-08-14 Jim Evins <evins@snaught.com>
2313 Updated version to 2.1cvs.
2315 2004-08-14 Jim Evins <evins@snaught.com>
2318 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
2320 2004-08-14 Jim Evins <evins@snaught.com>
2322 Fixes for Bug #1008181.
2324 * src/bc.c: (gl_barcode_default_digits):
2325 Make a format of zero digits, harmless.
2326 * src/xml-label.c: (xml_parse_object_barcode):
2327 Set default value of the format property of barcode objects to 10, not
2328 zero. This will prevent crashes when reading pre 2.0.x files.
2330 2004-08-09 Jim Evins <evins@snaught.com>
2334 * help/C/glabels-C.omf:
2335 * help/C/glabels.xml:
2336 Brought documentation up-to-date for 2.0.0 release.
2338 2004-08-09 Jim Evins <evins@snaught.com>
2340 These are hopefully the final preparations for 2.0.0.
2342 * data/mime/Makefile.am:
2343 Include glabels.xml in EXTRA_DIST.
2345 - Updated comment style.
2346 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
2347 - Added package and version info to configuration printout
2348 - Update version to 2.0.0
2349 * libglabels/Makefile.am:
2350 Use the new LIBGLABELS_VERSION_INFO macro.
2352 2004-08-09 Jim Evins <evins@snaught.com>
2356 Cleanup of required library macros.
2358 2004-08-08 Jim Evins <evins@snaught.com>
2362 - More specific of what to install in /usr/bin and /usr/lib
2363 - Remove built mime registration files from staging directory
2365 2004-08-08 Jim Evins <evins@snaught.com>
2367 * data/mime/Makefile.am:
2368 Fixed typo: key_files should have been keys_files.
2370 2004-08-08 Jim Evins <evins@snaught.com>
2372 Reorganization of runtime data files. Also added registration of mimetype with
2373 new freedesktop.org mime database if available.
2376 Moved files to appropriate subdirectories, creating local Makefile.am
2377 in each subdirectory.
2378 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
2379 These are now installed at $datadir/glabels/templates.
2380 - Moved glabels.1 to man subdirectory.
2381 - Moved glabels-2.0.dtd to dtd subdirectory.
2382 - Moved glabels.desktop.in to desktop subdirectory.
2383 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
2385 Moved "./pixmaps" to "./data/pixmaps"
2387 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
2389 Moved libglade files from src to data/glade. Created Makefile.am.
2391 Removed pixmaps from SUBDIRS.
2393 - Removed pixmaps from makefiles.
2394 - Added makefiles for new subdirs of data.
2395 - Added tests for freedesktop.org mime database.
2397 - Added tests for freedesktop.org mime database for post install and
2398 post un-install actions.
2399 * libglabels/Makefile.am:
2400 Moved system template files to $(datadir)/glabels/templates.
2401 * libglabels/libglabels-private.h:
2402 Moved system template files to $(datadir)/glabels/templates.
2404 - Accounted for movement of ui and libglade files.
2405 - Added missing .in files.
2406 - Reorganized by directory.
2408 Accounted for movement of ui and libglade files.
2409 * data/mime/glabels.xml.in:
2410 New file for registering with freedesktop.org mime database.
2412 2004-08-07 Jim Evins <evins@snaught.com>
2414 * src/recent-files/*:
2415 Re-synced to latest libegg/recent-files.
2417 2004-08-07 Jim Evins <evins@snaught.com>
2422 Renamed "./doc" directory to "./help" which contains user documentation,
2423 to be more consistent with other GNOME applications.
2426 2004-07-26 Jim Evins <evins@snaught.com>
2428 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
2429 Corrected button order of merge properties dialog.
2431 2004-07-18 Jim Evins <evins@snaught.com>
2433 * data/glabels-2.0.dtd:
2434 * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
2435 (gl_barcode_get_prefered_n):
2437 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
2438 (gl_label_barcode_get_props), (get_size):
2439 * src/label-barcode.h:
2440 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
2441 (style_changed_cb), (gl_object_editor_set_bc_style),
2442 (gl_object_editor_get_bc_style):
2443 * src/object-editor-data-page.c: (data_radio_toggled_cb),
2444 (gl_object_editor_set_data), (gl_object_editor_get_data):
2445 * src/object-editor-private.h:
2446 * src/object-editor.c: (gl_object_editor_set_key_names):
2447 * src/object-editor.glade:
2448 * src/object-editor.h:
2449 * src/print.c: (draw_barcode_object):
2450 * src/view-barcode.c: (update_object_from_editor_cb),
2451 (update_editor_from_object_cb),
2452 (gl_view_barcode_create_event_handler), (draw_barcode):
2453 * src/xml-label-04.c: (xml04_parse_barcode_props):
2454 * src/xml-label-191.c: (xml191_parse_barcode_props):
2455 * src/xml-label.c: (xml_parse_object_barcode),
2456 (xml_create_object_barcode):
2457 Added "format" attribute to barcode objects. This attribute is used
2458 to properly format freeform barcodes barcodes prior to merge data is
2459 applied, so that barcodes can be accurately layed out. This addresses
2460 remaining issues of feature request #824787. Also added an example of
2461 the format in the object editor.
2463 2004-07-12 Jim Evins <evins@snaught.com>
2465 Various code cleanups.
2467 * src/label-barcode.c:
2468 Removed unneeded include of gnome-glyphlist.h.
2470 * src/label-text.c: (get_size):
2471 Fixed memory leak: unref glyphlists when done with them.
2473 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
2474 * src/object-editor-data-page.c:
2475 (gl_object_editor_prepare_data_page):
2476 * src/object-editor-image-page.c:
2477 (gl_object_editor_prepare_image_page):
2478 * src/object-editor-line-page.c:
2479 (gl_object_editor_prepare_line_page):
2480 * src/object-editor-lsize-page.c:
2481 (gl_object_editor_prepare_lsize_page):
2482 * src/object-editor-position-page.c:
2483 (gl_object_editor_prepare_position_page):
2484 * src/object-editor-size-page.c:
2485 (gl_object_editor_prepare_size_page):
2486 * src/object-editor-text-page.c:
2487 (gl_object_editor_prepare_text_page):
2488 Removed unneeded size groups, originally intended to keep widgets aligned.
2489 Now use tables to lay these out in object-editor.glade.
2491 * src/print.c: (draw_text_object):
2492 Fixed memory leak: unref glyphlists when done with them.
2494 * src/view-barcode.c: (draw_barcode):
2495 Fixed memory leak: unref glyphlists when done with them.
2497 * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
2498 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
2500 - Fixed memory leak: unref glyphlists when done with them.
2502 2004-07-11 Jim Evins <evins@snaught.com>
2504 * data/glabels-2.0.dtd:
2505 * src/label-text.c: (gl_label_text_instance_init), (copy),
2506 (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
2508 * src/object-editor-private.h:
2509 * src/object-editor-text-page.c:
2510 (gl_object_editor_prepare_text_page),
2511 (gl_object_editor_set_text_auto_shrink),
2512 (gl_object_editor_get_text_auto_shrink):
2513 * src/object-editor.c: (gl_object_editor_set_key_names):
2514 * src/object-editor.glade:
2515 * src/object-editor.h:
2516 * src/print.c: (draw_text_object):
2517 * src/view-text.c: (update_object_from_editor_cb),
2518 (update_editor_from_object_cb):
2519 * src/xml-label.c: (xml_parse_object_text),
2520 (xml_create_object_text):
2521 Added option to allow document merge to auto shrink text size to fit
2522 within the text box. The code in print.c that actually shrinks the
2523 text is loosely based on a patch submitted by Mark Harrison
2524 <mark.harrison@velocitynet.com.au>. This addresses feature request
2527 2004-07-11 Jim Evins <evins@snaught.com>
2529 * data/glabels-2.0.dtd:
2530 * libglabels/template.c: (gl_template_rect_label_type_new),
2531 (gl_template_round_label_type_new),
2532 (gl_template_cd_label_type_new), (gl_template_label_type_dup),
2533 (template_full_page):
2534 * libglabels/template.h:
2535 * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
2536 (xml_create_label_node):
2537 * pixmaps/ex-rect-size.png:
2538 * src/print.c: (clip_to_outline), (clip_punchouts):
2539 * src/template-designer.c: (construct_rect_size_page),
2540 (rect_size_page_prepare_cb), (layout_page_prepare_cb),
2542 * src/template-designer.glade:
2543 * src/xml-label-191.c: (xml191_parse_label):
2544 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
2545 properties for rectangular labels. Templates remain backwards compatible,
2546 but this breaks the libglabels API (I don't know of anyone outside of
2547 glabels using libglabels at this time -- what can I say, the program is
2548 is still "unstable"). This addresses the suggestion in Feature Request
2551 2004-07-05 Jim Evins <evins@snaught.com>
2552 * src/print.c: (print_crop_marks), (draw_outline):
2553 Changed crop marks and label outlines to black, instead of 25% gray.
2554 This addresses debian Bug #257460.
2556 2004-07-05 Jim Evins <evins@snaught.com>
2558 * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
2559 * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
2560 Preserve "is_default" of fill and line color_combos when creating from
2563 2004-07-02 Jim Evins <evins@snaught.com>
2566 Created man page. Based on page submitted by Matthew J. Lockner, however
2567 it has been severely edited.
2569 * data/avery-other-templates.xml
2570 * data/misc-other-templates.xml:
2571 Started new files for predefined templates with non-standard sheet sizes.
2572 These have been initially populated with the Avery 06141 and
2573 OfficeMax #86112, both provided by Matthew J. Lockner.
2576 Install above manpage and template files.
2579 Make sure we install man pages.
2581 * src/glabels-batch.c:
2582 Changed short form of help option to '-?' to be consistent with glabels.
2585 Added acknowledgement for above labels.
2587 2004-07-02 Jim Evins <evins@snaught.com>
2589 * src/glabels.c: (main), (save_session_cb):
2590 - Now include libbonoboui.h, recent.h, and file.h to provide missing
2592 - save_session_cb() now returns gboolean.
2593 - Minor formatting changes.
2597 - Now include file.h to provide missing prototype.
2598 - gl_window_get_type() now returns GType, not guint. I believe this may
2599 ultimately be cause of the segfault reported in Bug #982287, since
2600 GType is actually a gulong, which may not be compatible on other
2601 architectures (64bit) -- I cannot personally test this at this time.
2602 I was sloppy in several other xxx_get_type() functions which also
2603 returned guint -- see next group of files:
2605 * src/window.c: (gl_window_get_type):
2606 * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
2607 * src/canvas-hacktext.h:
2608 * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
2609 (gl_hig_category_get_type), (gl_hig_vbox_get_type),
2610 (gl_hig_hbox_get_type):
2612 * src/label-barcode.c: (gl_label_barcode_get_type):
2613 * src/label-barcode.h:
2614 * src/label-box.c: (gl_label_box_get_type):
2616 * src/label-ellipse.c: (gl_label_ellipse_get_type):
2617 * src/label-ellipse.h:
2618 * src/label-image.c: (gl_label_image_get_type):
2619 * src/label-image.h:
2620 * src/label-line.c: (gl_label_line_get_type):
2622 * src/label-object.c: (gl_label_object_get_type):
2623 * src/label-object.h:
2624 * src/label-text.c: (gl_label_text_get_type):
2626 * src/label.c: (gl_label_get_type):
2628 * src/merge-properties-dialog.c:
2629 (gl_merge_properties_dialog_get_type):
2630 * src/merge-properties-dialog.h:
2631 * src/merge-text.c: (gl_merge_text_get_type):
2633 * src/merge.c: (gl_merge_get_type):
2635 * src/object-editor.c: (gl_object_editor_get_type):
2636 * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
2637 * src/prefs-dialog.h:
2638 * src/prefs-model.c: (gl_prefs_model_get_type):
2639 * src/prefs-model.h:
2640 * src/print-dialog.c: (gl_print_dialog_get_type):
2641 * src/print-dialog.h:
2642 * src/template-designer.c: (gl_template_designer_get_type):
2643 * src/template-designer.h:
2644 * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
2645 * src/ui-property-bar.h:
2646 * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
2648 * src/view-barcode.c: (gl_view_barcode_get_type):
2649 * src/view-barcode.h:
2650 * src/view-box.c: (gl_view_box_get_type):
2652 * src/view-ellipse.c: (gl_view_ellipse_get_type):
2653 * src/view-ellipse.h:
2654 * src/view-highlight.c: (gl_view_highlight_get_type):
2655 * src/view-highlight.h:
2656 * src/view-image.c: (gl_view_image_get_type):
2658 * src/view-line.c: (gl_view_line_get_type):
2660 * src/view-object.c: (gl_view_object_get_type):
2661 * src/view-object.h:
2662 * src/view-text.c: (gl_view_text_get_type):
2664 * src/view.c: (gl_view_get_type):
2666 * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
2667 * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
2668 * src/wdgt-image-select.h:
2669 * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
2670 * src/wdgt-media-select.h:
2671 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
2672 * src/wdgt-mini-preview.h:
2673 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
2674 * src/wdgt-print-copies.h:
2675 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
2676 * src/wdgt-print-merge.h:
2677 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
2678 * src/wdgt-rotate-label.h:
2679 - Made sure all xxx_get_type functions returned GType, not guint. This
2680 was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
2681 ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
2682 wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
2683 wdt-print-merge.[ch], and wdgt-rotate-label.[ch]. See separate
2684 window.[ch] details above for more info.
2685 - Reconciled various coding style differences in all xxx_get_type()
2687 * All prototypes include G_GNUC_CONST.
2688 * All prototypes specify the return value as GType, not GtkType
2690 * Info structures are all declared as "static const."
2691 * Generalized the names of type and info variables.
2692 * Miscelaneous formatting.
2694 2004-06-08 Jim Evins <evins@snaught.com>
2700 Don't touch compression of original file -- still defaults to 9 for
2701 new files. Original patch provided by Javier Donaire Segarra
2702 (#912252 in patch tracker).
2704 2004-05-05 Jim Evins <evins@snaught.com>
2706 * data/glabels-2.0.dtd:
2707 Broke DTD previously when adding new barcode types that contain a
2708 plus sign (+). Simply changed the BC_STYLE_TYPE entity to "CDATA"
2709 to avoid the problem.
2710 * data/avery-iso-templates.xml:
2711 * data/zweckform-iso-templates.xml:
2713 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021. Templates
2714 provided by Frank Altpeter.
2715 * libglabels/xml-template.c: (xml_create_label_node):
2716 Reordered markup and layout sub-nodes so that resulting templates will
2717 validate against DTD.
2719 2004-03-13 Jim Evins <evins@snaught.com>
2721 * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
2722 Changed spin callback signals from "value-changed" back to "changed."
2723 This was accidentally introduced in a previous revision, and can cause
2724 size changes just by selecting the size tab.
2726 2004-03-06 Jim Evins <evins@snaught.com>
2728 * src/view.c: (draw_grid_layer):
2729 For round labels (round and cd) adjust grid so that it lines up with
2730 center of label. Also, no longer draw box around label in the grid layer,
2731 it is hidden by he fg layer anyway. Feature suggested by
2732 nemolivier@free.fr. Although the grid is aligned with the center of the
2733 label, the coordinate system is still relative to the upper left corner
2734 of the rectangle containing the label.
2736 2004-02-25 Jim Evins <evins@snaught.com>
2739 Changed version to 2.0pre1cvs
2741 * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
2742 Removed extra xmlFreeDoc() calls upon error. Also print the doc->URL
2743 instead of doc->name fields when errors encountered.
2745 2004-02-21 Jim Evins <evins@snaught.com>
2747 * data/avery-iso-templates.xml:
2748 Added aliases for Avery 8651. Patch provided by Wayne Schuller.
2751 Added libglabels library and include file to installed files.
2754 Final prep for 1.93.3.
2756 2004-02-20 Jim Evins <evins@snaught.com>
2758 * src/glabels-batch.c: (main):
2759 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
2760 as suggested by Javier Donaire Segarra. This addresses bug #901063.
2762 2004-02-16 Jim Evins <evins@snaught.com>
2765 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
2768 Added HAVE_FILE_CHOOSER to INCLUDES.
2770 * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
2771 (gl_file_save_as), (save_as_response):
2772 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
2774 2004-02-16 Jim Evins <evins@snaught.com>
2776 * src/xml-label-04.c: (xml04_parse_image_props):
2777 * src/xml-label-191.c: (xml191_parse_image_props):
2778 * src/xml-label.c: (xml_parse_object_image):
2779 Delay setting image size until after image has been applied to new
2782 2004-02-15 Jim Evins <evins@snaught.com>
2784 * src/label-barcode.c: (gl_label_barcode_set_data),
2785 (gl_label_barcode_set_props):
2786 Don't emit "changed" signal, if no change actually made for these
2787 methods. Reduces number of unnecessary redraws of barcodes.
2789 * src/label-object.h:
2790 * src/label-object.c: (gl_label_object_set_position),
2791 (gl_label_object_set_position_relative), (set_size),
2792 (gl_label_object_set_size),
2793 (gl_label_object_set_size_honor_aspect):
2794 Don't emit "changed" signal, if no change actually made for these
2797 2004-02-15 Jim Evins <evins@snaught.com>
2799 * data/glabels-2.0.dtd:
2800 Added specific subtypes for various barcode types.
2803 * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
2804 (gl_barcode_get_styles_list), (gl_barcode_default_digits),
2805 (gl_barcode_can_text), (gl_barcode_text_optional),
2806 (gl_barcode_can_csum), (gl_barcode_csum_optional),
2807 (gl_barcode_id_to_name), (gl_barcode_name_to_id):
2808 Changed API to use a string id, rather than a fixed enumeration. Id and
2809 name are separate strings. Added entries to backend table for specific
2810 subtypes for various barcode types.
2813 * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
2815 Modified to conform to above API. Now more stringent with data length
2816 for various subtypes.
2818 * src/bc-gnubarcode.h:
2819 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
2820 (is_length_valid), (is_length1_valid), (is_length2_valid):
2821 Modified to conform to above API. Now more stringent with data length
2822 for various subtypes.
2824 * src/label-barcode.h:
2825 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
2826 (gl_label_barcode_get_props), (get_size):
2827 Modified to use above API for storing barcode type.
2829 * src/object-editor.h:
2830 * src/object-editor-bc-page.c: (style_changed_cb),
2831 (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
2832 Modified to use above API for storing barcode type.
2834 * src/object-editor-size-page.c:
2835 (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
2836 (w_spin_cb), (h_spin_cb), (size_reset_cb):
2837 Added debug markers.
2839 * src/object-editor.glade:
2840 Made barcode style combo's text entry non-editable.
2842 * src/print.c: (draw_barcode_object):
2843 Modified to use above API for barcode type.
2845 * src/view-barcode.c: (update_object_from_editor_cb),
2846 (update_editor_from_object_cb),
2847 (gl_view_barcode_create_event_handler), (draw_barcode):
2848 Modified to use above API for barcode type.
2850 * src/xml-label-04.c: (xml04_parse_barcode_props):
2851 * src/xml-label-191.c: (xml191_parse_barcode_props):
2852 * src/xml-label.c: (xml_parse_object_barcode),
2853 (xml_create_object_barcode):
2854 Modified to use above API for barcode type.
2856 2004-02-07 Jim Evins <evins@snaught.com>
2858 * src/stock-pixmaps/Makefile.am:
2859 * src/stock-pixmaps/stock_hchain_24.png:
2860 * src/stock-pixmaps/stock_hchain_broken_24.png:
2861 * src/stock-pixmaps/stock_vchain_24.png:
2862 * src/stock-pixmaps/stock_vchain_broken_24.png:
2863 Added chain pixmaps borrowed from the gimp's default theme.
2866 * src/stock.c: (gl_stock_init), (add_button_icon):
2867 Added above pixmaps to stock icon sets. Created add_button_icon() to
2868 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
2870 * src/wdgt-chain-button.h
2871 * src/wdgt-chain-button.c
2874 Added this Modified version of gimpchainbutton widget, borrowed from
2878 Added acknowledgements of the above borrowing from the gimp.
2880 * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
2882 * src/object-editor.c: (gl_object_editor_construct_chain_button):
2883 * src/object-editor.glade:
2884 Replaced the keep aspect ratio check box with the above chain-button
2887 * src/text-node.c: (gl_text_node_equal):
2889 Added function gl_text_node_equal() to compare text_nodes.
2891 * src/label-image.c: (gl_label_image_set_filename):
2892 Replaced incomplete text_node comparison code with invocation of
2893 gl_text_node_equal. This fixed the problem of not being able to
2894 resize an image using the object_editor if the aspect ratio is not
2897 2004-02-04 Jim Evins <evins@snaught.com>
2899 * src/object-editor-image-page.c:
2900 (gl_object_editor_prepare_image_page):
2901 Track "changed" signal of pixmap entry's GtkEntry rather than its
2902 "activate" signal -- this catches all changes to the entry rather than
2903 just changes resulting from a browse, so one can easily pull previous
2904 entries from the history. (This change is marked below on 2004-02-03,
2905 but somehow never got checked in.)
2907 * src/view-highlight.c: (sl_resize_event_handler),
2908 (sr_resize_event_handler), (st_resize_event_handler),
2909 (sb_resize_event_handler):
2910 Side resize handles will now confirm the actual resize that the object
2911 accepted before adjusting position parameters. Previously some interesting
2912 things happened when resizing a barcode to its minimum size.
2914 2004-02-03 Jim Evins <evins@snaught.com>
2916 * src/object-editor-image-page.c:
2917 (gl_object_editor_prepare_image_page):
2918 Track "changed" signal of pixmap entry's GtkEntry rather than its
2919 "activate" signal -- this catches all changes to the entry rather than
2920 just changes resulting from a browse, so one can easily pull previous
2921 entries from the history.
2923 * src/view-highlight.c: (tl_resize_event_handler),
2924 (tr_resize_event_handler), (bl_resize_event_handler),
2925 (br_resize_event_handler):
2926 Allow control key to be dropped while dragging a corner resize handle
2927 without losing the aspect ratio lock.
2929 2004-02-02 Jim Evins <evins@snaught.com>
2931 * src/label-image.c: (gl_label_image_set_filename):
2932 When setting a new filename adjust size such that the aspect ratio of
2933 the image is preserved using the current size as a bounding box.
2935 * src/view-image.c: (update_object_from_editor_cb):
2936 When updating object from editor, feed back possible size changes to
2937 editor as a result of a possible change in image.
2939 * src/object-editor-size-page.c: (size_reset_cb):
2940 Fixed typo when blocking spin handlers. If the base size is larger than
2941 the max size, treat max size as a bounding box while keeping aspect
2945 2004-02-02 Jim Evins <evins@snaught.com>
2947 * src/label-object.h:
2948 * src/label-object.c: (gl_label_object_set_size),
2949 (gl_label_object_set_size_honor_aspect):
2950 Added gl_label_object_set_size_honor_aspect() which will maintain the
2951 current aspect ratio by modifying the supplied w or h apropriately.
2953 * src/view-highlight.c: (tl_resize_event_handler),
2954 (tr_resize_event_handler), (bl_resize_event_handler),
2955 (br_resize_event_handler):
2956 Corner handles will now maintain the current aspect ratio if the
2957 control key is pressed while resizing. This addresses feature
2961 2004-01-31 Jim Evins <evins@snaught.com>
2964 * data/avery-us-templates.xml:
2965 Added entries for "LSK-3," "LSK-5," and "LSK-8." Submitted by JBadger.
2967 * libglabels/template.c: (read_template_files_from_dir):
2968 Corrected problem with testing for extensions.
2970 * src/object-editor.glade:
2971 Corrected grouping of radio buttons in barcode data page.
2973 * src/print.c: (draw_barcode_object):
2974 * src/view-barcode.c: (draw_barcode):
2975 Corrected problem with calculation of y_offset for locating characters.
2977 2004-01-24 Jim Evins <evins@snaught.com>
2980 * data/avery-us-templates.xml:
2981 Added Avery 5824, submitted by Fred Bacon.
2983 2004-01-20 Jim Evins <evins@snaught.com>
2985 Catching up on a couple of backlogged user template submissions.
2987 * data/avery-iso-templates.xml:
2988 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
2989 Suggested by Linas Jakucionis.
2991 * data/zweckform-iso-templates.xml:
2992 Added Zweckform 4760, submitted by Thomas Vill.
2995 Updated to reflect above submissions.
2997 2004-01-06 Jim Evins <evins@snaught.com>
2999 Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
3000 xml.[ch] into a separate library called libglabels, to facilitate third
3001 party use of glabels template files. This was suggested by Wayne Schuller.
3002 Once split-out, some modifications to the structures and functions to
3003 make a cleaner more useful API, hopefully. Rather extensive changes have
3004 propogated to other modules.
3012 * src/xml-template.h:
3013 * src/xml-template.c:
3016 These files have been moved to libglabels/. API cleanup performed.
3018 * libglabels/libglabels.h:
3019 * libglabels/libglabels-private.h:
3020 * libglabels/Makefile.am:
3021 These files have been added to finish out libglabels.
3028 Modified to reflect new sets of files in src/ and libglabels/.
3030 * COPYING.LIBGLABELS:
3032 Added copy of the LGPL for libglabels, and a copy the GFDL for
3035 * src/glabels-batch.c:
3037 * src/label.c: (gl_label_finalize), (gl_label_set_template),
3038 (gl_label_get_size):
3040 * src/prefs-model.c: (gl_prefs_model_load_settings):
3041 * src/print-dialog.c:
3042 * src/print.c: (gl_print_simple), (gl_print_merge_collated),
3043 (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
3044 (print_crop_marks), (print_label), (draw_outline),
3045 (clip_to_outline), (clip_punchouts):
3046 * src/template-designer.c: (construct_pg_size_page),
3047 (pg_size_page_changed_cb), (layout_page_changed_cb),
3048 (print_test_cb), (build_template):
3049 * src/util.c: (gl_util_fraction):
3051 * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
3052 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
3053 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
3054 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
3055 (draw_markup_margin_round), (draw_markup_margin_cd),
3056 (draw_markup_margin_cd_bc), (draw_markup_line),
3057 (draw_markup_circle), (gl_view_copy):
3058 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
3059 (page_size_entry_changed_cb), (details_update), (get_layout_desc),
3060 (get_label_size_desc):
3061 * src/wdgt-mini-preview.c:
3062 (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
3064 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
3065 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
3066 * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
3067 (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
3068 * src/wdgt-rotate-label.h:
3069 * src/xml-label-04.c: (xml04_parse_media_description):
3070 * src/xml-label-191.c: (gl_xml_label_191_parse),
3071 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
3072 (xml191_parse_markup), (xml191_parse_alias):
3073 * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
3075 Various changes to accomodate new libglabels API.
3077 2004-01-03 Jim Evins <evins@snaught.com>
3082 2004-01-03 Jim Evins <evins@snaught.com>
3085 Added acknowledgement of contributions by Wayne Schuller.
3087 * src/commands.c: (gl_cmd_file_print):
3088 Create extra reference to print dialog, so that it can be properly re-used.
3090 * src/mygal/mygal-combo-box.h:
3091 * src/mygal/mygal-combo-box.c:
3092 (mygal_combo_box_popup_hide_unconditional),
3093 (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
3094 (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
3095 (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
3096 (mygal_combo_box_set_tearable):
3097 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
3098 complete the rename of this widget to prevent namespace collisions
3101 * src/prefs-dialog.glade:
3102 Fixed alignment of Fill/Color widgets.
3104 2004-01-03 Jim Evins <evins@snaught.com>
3106 * data/avery-iso-templates.xml:
3107 Added user submitted templates.
3108 Avery 8435A & 8435B, submitted by Ludger Solbach.
3110 * doc/C/glabels.xml:
3111 Added minimal documentation, noting the new template designer.
3113 2004-01-03 Jim Evins <evins@snaught.com>
3115 * pixmaps/ex-rect-size.png:
3116 * pixmaps/ex-round-size.png:
3117 * pixmaps/ex-cd-size.png:
3118 * pixmaps/Makefile.am:
3119 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
3120 files to be used as illustrations/examples in the template-designer.
3122 * src/template-designer.c: (construct_rect_size_page),
3123 (construct_round_size_page), (construct_cd_size_page),
3124 (construct_nlayouts_page), (rect_size_page_prepare_cb),
3125 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
3126 (layout_page_prepare_cb), (build_template):
3127 * src/template-designer.glade:
3128 Added illustrations for rectangle, round, and cd label size pages.
3129 Added margin spinboxes to these pages, and now add a margin markup
3130 to the constructed template. Added realistic default values for
3131 some of the size spinboxes. Cleaned up the code for setting spinbox
3132 ranges on the layouts page.
3134 2004-01-02 Jim Evins <evins@snaught.com>
3136 * src/object-editor-size-page.c: (h_spin_cb):
3137 Fixed cut-n-paste error in h_spin_cb that loaded h from
3138 the wrong spinbutton.
3140 * src/object-editor.h:
3141 * src/object-editor.c: (gl_object_editor_class_init),
3142 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
3143 * src/object-editor-private.h:
3144 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
3146 Added "size_changed" signal.
3148 * src/view-text.c: (construct_properties_editor),
3149 (update_object_from_editor_cb),
3150 (update_object_from_editor_size_cb):
3151 Track size changes from object editor separately from other
3152 properties. This is so the default size (0,0) of a text
3153 object is not modified unintentionally.
3155 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
3157 Added feature: line spacing - allows you to comfortably space a text box to
3158 fit a label perfectly.
3160 * data/glabels-2.0.dtd:
3161 * src/label-object.c: (gl_label_object_set_text_line_spacing),
3162 (gl_label_object_get_text_alignment),
3163 (gl_label_object_get_text_line_spacing):
3164 * src/label-object.h:
3165 * src/label-text.c: (gl_label_text_class_init),
3166 (gl_label_text_instance_init), (copy), (get_size),
3167 (set_text_line_spacing), (get_text_alignment),
3168 (get_text_line_spacing):
3169 * src/object-editor-private.h:
3170 * src/object-editor-text-page.c:
3171 (gl_object_editor_prepare_text_page),
3172 (gl_object_editor_set_text_line_spacing),
3173 (gl_object_editor_get_text_line_spacing):
3174 * src/object-editor.glade:
3175 * src/object-editor.h:
3176 * src/prefs-dialog.c: (construct_object_page),
3177 (update_object_page_from_prefs), (update_prefs_from_object_page):
3178 * src/prefs-dialog.glade:
3179 * src/prefs-model.c: (gl_prefs_model_save_settings),
3180 (gl_prefs_model_load_settings), (get_float):
3181 * src/prefs-model.h:
3182 * src/print.c: (draw_text_object):
3184 * src/view-text.c: (update_object_from_editor_cb),
3185 (update_editor_from_object_cb),
3186 (gl_view_text_create_event_handler), (draw_hacktext):
3187 * src/view.c: (gl_view_construct),
3188 (gl_view_set_selection_text_line_spacing),
3189 (gl_view_set_default_text_line_spacing),
3190 (gl_view_get_default_text_line_spacing):
3192 * src/xml-label.c: (xml_parse_toplevel_span),
3193 (xml_create_toplevel_span):
3195 2003-12-30 Jim Evins <evins@snaught.com>
3197 * src/template-designer.c:
3198 * src/template-designer.h:
3199 * src/template-designer.glade:
3200 New template designer assistant.
3204 Added entries for src/template-designer.* files.
3206 * pixmaps/ex-1layout.png
3207 * pixmaps/ex-2layouts.png
3208 * pixmaps/Makefile.am:
3209 Added the new image files ex-*.png used as illustrations in the
3210 template designer assistant.
3212 * src/print-dialog.h:
3213 * src/print-dialog.c: (gl_print_dialog_finalize),
3214 (gl_print_dialog_new), (gl_print_dialog_construct),
3215 (gl_print_dialog_force_outline_flag):
3216 Changed first argument of gl_print_dialog_new() from glView to glLabel,
3217 to support printing from the template designer assistant which does not
3218 have a full-fledged view. Nothing else from the view object was being
3219 used by the dialog anyway.
3221 Added the gl_print_dialog_force_outline_flag() method, for better
3222 integration with the template designer assistant.
3226 * src/commands.c: (gl_cmd_file_template_designer),
3227 (gl_cmd_file_print):
3228 Modified print command to provide label instead of view to dialog.
3229 Added the gl_cmd_file_template_designer() command to invoke the
3230 template designer assistant.
3233 * src/glabels-ui.xml:
3234 Added support for template designer assistant.
3236 * src/wdgt-mini-preview.h:
3237 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
3238 (gl_wdgt_mini_preview_set_bg_color):
3239 Preview is now centered in canvas. Added
3240 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
3241 assistant to match the background color with its own.
3243 * src/print.c: (clip_to_outline):
3244 Fixed really stupid bug when adding waste to clip region of rectangular
3245 labels/cards. Each side of the clip region needs to be extended by
3246 twice the waste margin, as well as negatively offset by the waste
3249 2003-12-28 Jim Evins <evins@snaught.com>
3251 * src/prefs-dialog.c: (update_object_page_from_prefs):
3252 Block intermediary function align_toggle_cb() instead of
3253 update_prefs_from_object_page() for the three alignment
3256 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
3258 * src/file.c: (gl_file_new), (gl_file_properties):
3259 Swap button order and set default for higificatory pleasure.
3261 2003-12-27 Jim Evins <evins@snaught.com>
3263 * barcode-0.98/Makefile.am:
3264 One last time: removed doc/Makefile and po/Makefile.in.in from
3267 2003-12-27 Jim Evins <evins@snaught.com>
3269 * barcode-0.98/Makefile.am:
3270 Removed config.stat entry from EXTRA_DIST files.
3272 * barcode-0.98/Makefile.in:
3275 2003-12-27 Jim Evins <evins@snaught.com>
3278 Updated to work with latest gnome-common package from CVS.
3279 Removed recursive configuration of barcode-0.98.
3286 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
3288 * barcode-0.98/Makefile.in:
3289 * barcode-0.98/configure.in:
3290 * barcode-0.98/Makefile.am:
3291 * barcode-0.98/README.glabels:
3292 Modified to ignore the barcode package's build system, and build
3293 as a part of glabels.
3294 Renamed Makefile.in to Makefile.in.dist.
3295 Renamed configure.in to configure.in.dist.
3296 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
3299 * src/mygal/Makefile.am:
3300 * src/recent-files/Makefile.am:
3301 In order to build against the GNOME 2.5 platform,
3302 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
3304 * src/mygal/Makefile.am:
3305 * src/mygal/mygal-combo-box.c:
3306 * src/mygal/mygal-combo-box.h:
3307 * src/mygal/widget-color-combo.c:
3308 * src/mygal/widget-color-combo.h:
3310 In order to build against the GNOME 2.5 platform,
3311 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
3312 collisions with the real gtk_combo_box widget, now a part of gtk.
3314 2003-12-26 Jim Evins <evins@snaught.com>
3320 Moved local versions of get_home_data_dir() in paper.c and
3321 template.c to util package. Cleaned up formatting in
3325 In gl_template_register() save a copy of the template in
3326 ~/.glabels if the template is not known. Still need to
3327 handle duplicate filename case and duplicate name but
3328 different template case.
3332 Moved local definition of NAME_SPACE macro from xml-label.c
3335 * src/xml-template.c:
3336 * src/xml-template.h:
3337 Added function gl_xml_template_write_template_to_file(), used
3338 in gl_template_register().