1 2007-04-04 Jim Evins <evins@snaught.com>
3 * src/mini-preview-pixbuf.c: (gl_mini_preview_pixbuf_new),
4 (draw_paper), (draw_label_outlines), (draw_rect_label_outline),
5 (draw_round_label_outline), (draw_cd_label_outline):
6 * src/wdgt-media-select.c: (load_list):
7 * src/wdgt-rotate-label.c: (draw_cd_label_outline):
8 Cosmetic enhancments to mini previews.
10 2007-04-04 Jim Evins <evins@snaught.com>
12 * src/ui-property-bar.c: (gl_ui_property_bar_finalize),
13 (gl_ui_property_bar_construct):
14 Save copy of GladeXML tree so that we don't lose tooltips.
16 2007-04-02 Jim Evins <evins@snaught.com>
18 * src/merge-properties-dialog.c:
19 * src/new-label-dialog.c:
20 * src/object-editor.c:
23 * src/template-designer.c:
24 * src/ui-property-bar.c:
25 * src/wdgt-media-select.c:
26 * src/wdgt-rotate-label.c:
27 Fixed several memory leaks.
29 2007-04-01 Jim Evins <evins@snaught.com>
31 * src/label-text.c: (gl_label_text_init), (copy),
32 (gl_label_text_set_lines), (buffer_changed_cb), (get_size),
33 (set_font_family), (set_font_size), (set_font_weight),
34 (set_font_italic_flag), (set_text_alignment),
35 (set_text_line_spacing):
36 Cache object size, so that expensive extent calculations are only done
39 2007-03-30 Jim Evins <evins@snaught.com>
41 * src/prefs-model.c: (gl_prefs_model_load_settings):
42 Default to an unlimited list of recent documents, since this parameter
43 seems to be pre-filter anyway.
45 2007-03-30 Jim Evins <evins@snaught.com>
47 * src/label-box.c: (draw_shadow):
48 * src/label-ellipse.c: (draw_shadow):
49 Added missing shadow fill.
51 2007-03-28 Jim Evins <evins@snaught.com>
53 * src/ui-commands.c: (gl_ui_cmd_file_print):
54 Unreferencing the print operation sometimes crashes. Just don't do it
57 2007-03-28 Jim Evins <evins@snaught.com>
59 * src/print-op.c: (gl_print_op_construct),
60 (gl_print_op_get_settings), (gl_print_op_set_settings),
61 (gl_print_op_free_settings), (create_custom_widget_cb):
63 * src/ui-commands.c: (gl_ui_cmd_file_print):
64 * src/window.c: (gl_window_init):
66 Save print settings and custom settings between print operations
69 2007-03-24 Jim Evins <evins@snaught.com>
71 * src/object-editor-image-page.c:
72 (gl_object_editor_prepare_image_page),
73 (gl_object_editor_set_image), (img_selection_changed_cb):
74 Workaround for GtkFileChooserButton bug # 327243. This the root
75 cause for gLabels bug # 1192884. I have actually observed 3 delayed
76 "selection-changed" signals -- the first 2 return NULL -- this is
77 what caused the image to reset to the default followed by setting
78 it back to the original image, trying to fit it into a new bounding
79 box. This sequence of events is much more evident with the new
82 2007-03-23 Jim Evins <evins@snaught.com>
84 Merged all changes from experimental cairo branch to trunk.
85 Trunk no longer depends on libgnomecanvas or libgnomeprint[ui].
87 2007-03-23 Jim Evins <evins@snaught.com>
90 * src/label-object.c: (gl_label_object_class_init),
91 (gl_label_object_get_raw_size), (gl_label_object_get_size):
92 Created "get_raw_size" method.
93 * src/label-barcode.c: (get_size):
94 * src/xml-label.c: (xml_create_object_text),
95 (xml_create_object_barcode):
96 Use new "get_raw_size" method on label-objects when apropos.
98 * src/label-text.c: (get_size), (draw_object), (draw_shadow),
99 (auto_shrink_font_size):
100 Added "auto shrink" functionality back.
102 2007-03-19 Jim Evins <evins@snaught.com>
104 * src/label-text.c: (draw_object), (draw_shadow):
105 Don't use negative scales in workaround from previous commit.
108 2007-03-18 Jim Evins <evins@snaught.com>
111 Forgot to remove include of xml-lable-191 in previous commit.
112 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
113 Workaround for pango Bug #341481. Render text at device scale,
114 and scale font size accordingly. Also, don't do any hinting.
116 2007-03-18 Jim Evins <evins@snaught.com>
118 * src/cairo-ellipse-path.c:
119 * src/cairo-ellipse-path.h:
120 Forgot to add these new files during last mass commit.
122 2007-03-18 Jim Evins <evins@snaught.com>
125 * src/xml-label-191.c:
126 * src/xml-label-191.h:
127 Removed -- Very buggy. Version 1.91 is a very old "unstable" version,
128 so there is no need to keep compatability.
131 * src/cairo-label-path.c:
132 * src/cairo-label-path.h:
133 * src/cairo-markup-path.c:
137 * src/glabels-batch.c:
139 * src/label-barcode.c:
141 * src/label-ellipse.c:
144 * src/label-object.c:
145 * src/label-object.h:
149 * src/merge-properties-dialog.c:
151 * src/new-label-dialog.c:
152 * src/object-editor-bc-page.c:
153 * src/object-editor-data-page.c:
154 * src/object-editor-edit-page.c:
155 * src/object-editor-fill-page.c:
156 * src/object-editor-image-page.c:
157 * src/object-editor-line-page.c:
158 * src/object-editor-private.h:
159 * src/object-editor-shadow-page.c:
160 * src/object-editor-text-page.c:
161 * src/object-editor.c:
162 * src/pixbuf-cache.c:
167 * src/template-designer.c:
169 * src/ui-property-bar.c:
171 * src/view-barcode.c:
173 * src/view-ellipse.c:
180 * src/wdgt-media-select.c:
181 * src/wdgt-print-copies.c:
182 * src/wdgt-print-merge.c:
184 * src/xml-label-04.c:
186 Many changes, including:
187 - Move draw methods from view-*() to label-*().
188 - Use same drawing code for on screen view and printing.
189 - Fix all issues exposed with '-Wall -Werror'.
191 2007-03-14 Jim Evins <evins@snaught.com>
194 * src/cairo-handle-path.c:
195 * src/cairo-handle-path.h:
196 * src/cairo-object-path.c:
197 * src/cairo-object-path.h:
198 Removed cairo-handle-path.[ch] and cairo-object-path.[ch].
199 * src/view-barcode.c: (gl_view_barcode_class_init), (draw_object),
201 * src/view-box.c: (gl_view_box_class_init), (draw_object),
202 (draw_shadow), (object_at):
203 * src/view-ellipse.c: (gl_view_ellipse_class_init),
204 (create_ellipse_path), (draw_object), (draw_shadow), (object_at):
205 * src/view-image.c: (gl_view_image_class_init), (draw_object),
207 * src/view-line.c: (gl_view_line_class_init), (draw_object),
208 (draw_shadow), (object_at):
209 * src/view-object.c: (gl_view_object_draw), (gl_view_object_at),
210 (create_handle_path), (gl_view_object_draw_handles),
211 (gl_view_object_handle_at):
213 * src/view-text.c: (gl_view_text_class_init), (draw_object),
214 (draw_shadow), (object_at):
215 * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
216 Some restructuring of new code.
218 2007-03-12 Jim Evins <evins@snaught.com>
221 * src/cairo-object-path.c:
222 * src/view-barcode.c:
223 * src/view-barcode.h:
225 Added barcode object support to view.
227 2007-03-12 Jim Evins <evins@snaught.com>
233 * src/cairo-object-path.c:
234 * src/cairo-object-path.h:
236 * src/view-ellipse.c:
241 Added text object support to view. Added object_at method to all
244 2007-03-11 Jim Evins <evins@snaught.com>
247 * src/cairo-object-path.c: (gl_cairo_object_path),
248 (gl_cairo_image_object_path):
249 * src/view-image.c: (gl_view_image_class_init),
250 (gl_view_image_finalize), (gl_view_image_new),
251 (update_editor_from_label_cb), (draw),
252 (gl_view_image_get_create_cursor),
253 (gl_view_image_create_button_press_event),
254 (gl_view_image_create_motion_event),
255 (gl_view_image_create_button_release_event):
257 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
258 (selection_received_cb), (motion_notify_event_cb),
259 (button_press_event_cb), (button_release_event_cb):
260 Added image object support to view.
262 2007-03-11 Jim Evins <evins@snaught.com>
265 * src/cairo-object-path.c: (gl_cairo_object_path),
266 (gl_cairo_line_object_path):
267 * src/view-line.c: (gl_view_line_class_init), (gl_view_line_new),
268 (update_object_from_editor_cb), (update_editor_from_object_cb),
269 (update_editor_from_label_cb), (draw),
270 (gl_view_line_get_create_cursor),
271 (gl_view_line_create_button_press_event),
272 (gl_view_line_create_motion_event),
273 (gl_view_line_create_button_release_event):
275 * src/view-object.c: (gl_view_object_resize_event):
276 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
277 (selection_received_cb), (motion_notify_event_cb),
278 (button_press_event_cb), (button_release_event_cb):
279 Added line object support to view.
280 * src/cairo-handle-path.c:
281 Made handles slightly larger.
284 2007-03-11 Jim Evins <evins@snaught.com>
287 * src/cairo-handle-path.c:
288 * src/cairo-label-path.c: (gl_cairo_rect_label_path),
289 (gl_cairo_round_label_path), (gl_cairo_cd_label_path):
290 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
291 (gl_cairo_markup_margin_round_path),
292 (gl_cairo_markup_margin_cd_path), (gl_cairo_markup_circle_path):
293 * src/cairo-object-path.c: (gl_cairo_object_path),
294 (gl_cairo_ellipse_object_path):
295 * src/label-object.c: (gl_label_object_rotate):
298 * src/view-ellipse.c: (gl_view_ellipse_class_init),
299 (gl_view_ellipse_new), (update_object_from_editor_cb),
300 (update_editor_from_object_cb), (update_editor_from_label_cb),
301 (draw), (gl_view_ellipse_get_create_cursor),
302 (gl_view_ellipse_create_button_press_event),
303 (gl_view_ellipse_create_motion_event),
304 (gl_view_ellipse_create_button_release_event):
305 * src/view-ellipse.h:
308 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
309 (select_object_real), (selection_received_cb),
310 (motion_notify_event_cb), (button_press_event_cb),
311 (button_release_event_cb):
313 Added ellipse object support to view. Plus other cleanup.
315 2007-03-11 Jim Evins <evins@snaught.com>
318 * src/view-box.c: (gl_view_box_get_create_cursor),
319 (gl_view_box_create_button_press_event),
320 (gl_view_box_create_motion_event),
321 (gl_view_box_create_button_release_event):
322 * src/view-object.c: (gl_view_object_set_view),
323 (gl_view_object_handle_at):
325 * src/view.c: (gl_view_arrow_mode), (gl_view_object_create_mode),
326 (motion_notify_event_cb), (button_press_event_cb),
327 (button_release_event_cb), (key_press_event_cb):
328 Added creation code for box object.
330 2007-03-09 Jim Evins <evins@snaught.com>
332 * src/view-object.c: (gl_view_object_resize_event):
334 * src/view.c: (motion_notify_event_cb):
335 Fix bugs with resizing transformed objects.
336 * src/cairo-handle-path.c: (gl_cairo_handle_path):
337 * src/cairo-object-path.c: (gl_cairo_object_path):
338 * src/cairo-object-path.h:
339 * src/label-object.c: (gl_label_object_init),
340 (gl_label_object_dup), (gl_label_object_get_extent),
341 (gl_label_object_flip_horiz), (gl_label_object_flip_vert),
342 (gl_label_object_rotate), (gl_label_object_set_matrix),
343 (gl_label_object_get_matrix):
344 * src/label-object.h:
345 * src/print.c: (draw_object):
347 * src/view-highlight.c:
348 * src/view-highlight.h:
349 * src/xml-label-191.c: (xml191_parse_object):
350 * src/xml-label.c: (xml_parse_affine_attrs),
351 (xml_create_affine_attrs):
352 Replace libart affine matrices with cairo matrices.
354 2007-03-08 Jim Evins <evins@snaught.com>
357 * src/view.c: (gl_view_update), (motion_notify_event_cb):
358 * src/view-object.c: (gl_view_object_handle_at),
359 (gl_view_object_resize_event):
360 Added resize code -- still a bit buggy.
362 2007-03-07 Jim Evins <evins@snaught.com>
365 * src/cairo-handle-path.c:
366 * src/cairo-handle-path.h:
367 * src/view-box.c: (gl_view_box_new):
368 * src/view-object.c: (gl_view_object_set_object),
369 (gl_view_object_draw_handles), (gl_view_object_handle_at):
371 * src/view.c: (draw_highlight_layer), (select_object_real),
372 (unselect_object_real), (view_handle_at), (motion_notify_event_cb),
373 (button_press_event_cb), (button_release_event_cb),
374 (key_press_event_cb):
376 Added beginnings of object resize handles.
378 2007-03-07 Jim Evins <evins@snaught.com>
381 * src/view.c: (gl_view_init), (gl_view_arrow_mode),
382 (gl_view_object_create_mode), (motion_notify_event_cb),
383 (button_press_event_cb), (button_release_event_cb),
384 (key_press_event_cb):
385 Added move selection support.
387 2007-03-05 Jim Evins <evins@snaught.com>
389 * src/cairo-object-path.c: (gl_cairo_object_path):
390 * src/view-object.c: (gl_view_object_draw),
391 (gl_view_object_draw_highlight):
392 * src/view.c: (view_object_at), (motion_notify_event_cb),
393 (button_press_event_cb), (button_release_event_cb):
394 Additional refinements to select logic.
396 2007-03-05 Jim Evins <evins@snaught.com>
399 * src/view.c: (gl_view_init), (gl_view_construct),
400 (label_changed_cb), (draw_layers), (draw_select_region_layer),
401 (gl_view_select_region), (object_at), (motion_notify_event_cb),
402 (button_press_event_cb), (button_release_event_cb):
403 Added initial select region support and context menu.
405 2007-03-04 Jim Evins <evins@snaught.com>
423 * src/wdgt-print-copies.c:
424 * src/wdgt-print-merge.c:
426 Initial port to a raw Cairo canvas. This removes all remaining
427 dependencies on libgnomecanvas and libgnomeprint[ui]. Basically
428 the view is becoming a canvas widget in its own right. Still needs
430 * src/cairo-label-path.c:
431 * src/cairo-label-path.h:
432 * src/cairo-markup-path.c:
433 * src/cairo-markup-path.h:
434 * src/cairo-object-path.c:
435 * src/cairo-object-path.h:
436 New files to support cairo canvas.
437 * src/canvas-hacktext.c:
438 * src/canvas-hacktext.h:
441 2007-02-18 Jim Evins <evins@snaught.com>
444 GNOME_FONT_BOOK changed to PANGO_WEIGHT_NORMAL.
446 2007-02-14 Jim Evins <evins@snaught.com>
450 * src/bc-gnubarcode.c:
451 * src/bc-gnubarcode.h:
456 * src/canvas-hacktext.c:
457 * src/canvas-hacktext.h:
464 * src/label-barcode.c:
465 * src/label-barcode.h:
468 * src/label-ellipse.c:
469 * src/label-ellipse.h:
474 * src/label-object.c:
475 * src/label-object.h:
480 * src/merge-evolution.c:
481 * src/merge-evolution.h:
484 * src/merge-properties-dialog.c:
485 * src/merge-properties-dialog.h:
492 * src/mini-preview-pixbuf.h:
493 * src/new-label-dialog.c:
494 * src/new-label-dialog.h:
495 * src/object-editor-bc-page.c:
496 * src/object-editor-data-page.c:
497 * src/object-editor-edit-page.c:
498 * src/object-editor-fill-page.c:
499 * src/object-editor-image-page.c:
500 * src/object-editor-line-page.c:
501 * src/object-editor-lsize-page.c:
502 * src/object-editor-position-page.c:
503 * src/object-editor-private.h:
504 * src/object-editor-size-page.c:
505 * src/object-editor-text-page.c:
506 * src/object-editor.c:
507 * src/object-editor.h:
508 * src/pixbuf-cache.c:
509 * src/pixbuf-cache.h:
510 * src/prefs-dialog.c:
511 * src/prefs-dialog.h:
519 * src/template-designer.c:
524 * src/ui-property-bar.c:
525 * src/ui-property-bar.h:
534 * src/view-barcode.c:
535 * src/view-barcode.h:
538 * src/view-ellipse.c:
539 * src/view-ellipse.h:
540 * src/view-highlight.c:
541 * src/view-highlight.h:
552 * src/wdgt-chain-button.c:
553 * src/wdgt-chain-button.h:
554 * src/wdgt-media-select.c:
555 * src/wdgt-mini-preview.c:
556 * src/wdgt-print-copies.c:
557 * src/wdgt-print-copies.h:
558 * src/wdgt-print-merge.c:
559 * src/wdgt-print-merge.h:
560 * src/wdgt-rotate-label.c:
562 * src/xml-label-04.c:
563 * src/xml-label-04.h:
564 * src/xml-label-191.c:
565 * src/xml-label-191.h:
569 Assorted superficial cleanup. Including:
570 - Use G_DEFINE_TYPE for all objects.
571 - Reconcile style of all class initializer functions
572 - Reconcile style of all finalize functions
573 - Add emacs mode line to all source files
575 2007-02-06 Jim Evins <evins@snaught.com>
577 Assorted cleanup and removal of deprecated items.
582 Removed annoying splash screen.
583 * src/glabels-batch.c: (main):
584 * src/glabels.c: (main):
585 Converted from popt to GOption.
586 * src/object-editor-shadow-page.c:
587 (gl_object_editor_set_shadow_state):
588 Removed deprecated method on GtkToggleButton.
589 * src/ui-commands.c: (gl_ui_cmd_help_about):
590 Removed dependency on libgnomui/qnome-url.h.
591 * src/template-designer.c:
592 Removed dependency on libgnome/gnome-program.h.
595 2007-02-04 Jim Evins <evins@snaught.com>
600 * src/print.c: (draw_text_object):
601 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_construct):
602 Removed GnomeCanvas artifacts from color.[ch] and related modules.
604 2007-02-04 Jim Evins <evins@snaught.com>
606 * src/wdgt-mini-preview.c:
607 * src/wdgt-mini-preview.h:
608 Ported widget from GnomeCanvas to Cairo.
610 2007-02-03 Jim Evins <evins@snaught.com>
612 * data/glade/template-designer.glade:
613 * src/template-designer.c:
614 * src/template-designer.h:
615 Ported GnomeDruid to GtkAssistant. Since libglade does not
616 yet support the GtkAssistant and we derive directly from
617 the Assistant, the pages are layed out in a GtkNotebook in
618 the glade description -- we then append each page to the
621 2007-01-25 Jim Evins <evins@snaught.com>
623 * data/glade/object-editor.glade:
624 Added dummy page to notebook, to prevent shadow page from
625 becoming the default current page at creation.
626 * src/view-box.c: (construct_properties_editor):
627 * src/view-ellipse.c: (construct_properties_editor):
628 * src/view-line.c: (construct_properties_editor):
629 * src/view-text.c: (construct_properties_editor):
630 Reconciled order of params.
632 2007-01-19 Jim Evins <evins@snaught.com>
634 * src/label-barcode.h:
635 * src/label-object.c: (gl_label_object_set_font_weight),
636 (gl_label_object_set_text_alignment),
637 (gl_label_object_get_font_weight),
638 (gl_label_object_get_text_alignment):
639 * src/label-object.h:
640 * src/label-text.c: (gl_label_text_instance_init), (copy),
641 (get_size), (set_font_family), (set_font_weight),
642 (set_text_alignment), (get_font_weight), (get_text_alignment):
644 * src/object-editor-text-page.c:
645 (gl_object_editor_prepare_text_page),
646 (gl_object_editor_set_font_family),
647 (gl_object_editor_set_font_weight),
648 (gl_object_editor_get_font_weight),
649 (gl_object_editor_set_text_alignment),
650 (gl_object_editor_get_text_alignment),
651 (gl_object_editor_set_text_color):
652 * src/object-editor.h:
653 * src/prefs-dialog.c: (construct_object_page),
654 (update_object_page_from_prefs), (update_prefs_from_object_page):
655 * src/prefs-model.c: (gl_prefs_model_save_settings),
656 (gl_prefs_model_load_settings):
658 * src/print.c: (draw_text_object):
659 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
660 (reset_to_default_properties), (update_text_properties),
661 (font_bold_toggled_cb), (text_align_toggled_cb):
663 * src/util.c: (gl_util_align_to_string), (gl_util_string_to_align),
664 (gl_util_weight_to_string), (gl_util_string_to_weight),
665 (gl_util_get_font_family_list), (gl_util_font_family_list_free):
667 * src/view-text.c: (update_object_from_editor_cb),
668 (update_editor_from_object_cb), (draw_hacktext), (draw_cursor):
669 * src/view.c: (gl_view_set_selection_text_alignment),
670 (gl_view_set_default_text_alignment),
671 (gl_view_get_default_text_alignment):
673 * src/xml-label-04.c: (xml04_parse_text_props):
674 * src/xml-label-191.c: (xml191_parse_text_props):
675 * src/xml-label.c: (xml_parse_object_text),
676 (xml_parse_toplevel_span), (xml_create_object_text),
677 (xml_create_toplevel_span):
678 Converted all model internals to Pango. GnomeFont remains in
679 view until GnomeCanvas can be replaced with a cairo-based canvas.
681 2007-01-17 Jim Evins <evins@snaught.com>
687 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type),
688 (gl_wdgt_print_copies_construct):
689 * src/wdgt-print-copies.h:
690 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type),
691 (gl_wdgt_print_merge_construct):
692 * src/wdgt-print-merge.h:
693 Removed all remaining HIG wrapper widgets.
695 2007-01-16 Jim Evins <evins@snaught.com>
698 * src/print-dialog.c:
699 * src/print-dialog.h:
702 * src/template-designer.c: (print_test_cb):
703 * src/ui-commands.c: (gl_ui_cmd_file_print):
705 Renamed PrintDialog to PrintOp. Added constructor for batch
707 * src/glabels-batch.c: (main):
708 Converted to use new PrintOp object for printing.
710 2007-01-15 Jim Evins <evins@snaught.com>
712 * data/glade/Makefile.am:
713 * data/glade/print-custom-widget.glade:
714 * src/print-dialog.c:
715 * src/print-dialog.h:
718 * src/template-designer.c: (print_test_cb):
719 * src/ui-commands.c: (gl_ui_cmd_file_print):
720 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_copies):
721 * src/wdgt-print-merge.h:
722 * src/window.c: (gl_window_init):
724 Initial conversion to GtkPrintOperation.
726 - Remove font and other libgnomeprint[ui] from elsewhere
727 - Add batch initialization of print operation
729 2007-01-08 Jim Evins <evins@snaught.com>
731 Updated dependencies. Set version to 2.1.pre4cvs.
733 2007-01-03 Jim Evins <evins@snaught.com>
736 Removed EggRecent stuff.
745 Ported from EggRecent to GtkRecentManager.
748 2007-01-02 Jim Evins <evins@snaught.com>
751 * iec16022-0.2.1/BUGS:
752 * iec16022-0.2.1/CHANGELOG:
753 * iec16022-0.2.1/CREDITS:
754 * iec16022-0.2.1/INSTALL:
755 * iec16022-0.2.1/LICENSE:
756 * iec16022-0.2.1/Makefile.am:
757 * iec16022-0.2.1/Makefile.dist:
758 * iec16022-0.2.1/README:
759 * iec16022-0.2.1/README.glabels:
760 * iec16022-0.2.1/TODO:
761 * iec16022-0.2.1/iec16022.1:
762 * iec16022-0.2.1/iec16022.c:
763 * iec16022-0.2.1/iec16022ecc200.c:
764 * iec16022-0.2.1/iec16022ecc200.h:
765 * iec16022-0.2.1/image.c:
766 * iec16022-0.2.1/image.h:
767 * iec16022-0.2.1/reedsol.c:
768 * iec16022-0.2.1/reedsol.h:
769 * iec16022-0.2.1/test/testsuite-example.bin:
770 * iec16022-0.2.1/test/testsuite-example.eps:
771 * iec16022-0.2.1/test/testsuite-example.hex:
772 * iec16022-0.2.1/test/testsuite-example.png:
773 * iec16022-0.2.1/test/testsuite-example.text:
774 * iec16022-0.2.1/test/testsuite.sh:
775 Include modified copy of iec16022-0.2.1 to provide encoding
776 support for datamatrix 2D barcodes.
781 Added initial datamatrix 2D barcode backend to barcode code.
784 Automatic updates to later versions of these files.
786 2006-11-28 Jim Evins <evins@snaught.com>
788 * data/templates/avery-iso-templates.xml:
789 * data/templates/avery-us-templates.xml:
790 * data/templates/categories.xml:
791 * data/templates/misc-iso-templates.xml:
792 * data/templates/misc-us-templates.xml:
793 * data/templates/zweckform-iso-templates.xml:
796 2006-09-12 Jim Evins <evins@snaught.com>
798 * data/dtd/glabels-2.0.dtd:
799 * data/templates/Makefile.am:
800 * data/templates/avery-iso-templates.xml:
801 * data/templates/avery-other-templates.xml:
802 * data/templates/avery-us-templates.xml:
803 * data/templates/categories.xml:
804 * data/templates/misc-iso-templates.xml:
805 * data/templates/misc-other-templates.xml:
806 * data/templates/zweckform-iso-templates.xml:
807 * data/glade/Makefile.am:
808 * data/glade/new-label-dialog.glade:
809 * data/glade/wdgt-media-select.glade:
810 * data/glade/wdgt-rotate-label.glade:
811 * libglabels/Makefile.am:
812 * libglabels/category.c:
813 * libglabels/category.h:
814 * libglabels/libglabels.h:
815 * libglabels/paper.c:
816 * libglabels/template.c:
817 * libglabels/template.h:
818 * libglabels/xml-category.c:
819 * libglabels/xml-category.h:
820 * libglabels/xml-template.c:
821 Added support for category meta data.
824 * src/mini-preview-pixbuf.c:
825 * src/mini-preview-pixbuf.h:
826 * src/new-label-dialog.c:
827 * src/new-label-dialog.h:
828 * src/wdgt-media-select.c:
829 * src/wdgt-media-select.h:
830 * src/wdgt-rotate-label.c:
831 * src/wdgt-rotate-label.h:
832 New "new label" dialog.
834 2006-05-27 Jim Evins <evins@snaught.com>
839 Preparation for 2.1.3.
845 2006-05-22 Jim Evins <evins@snaught.com>
847 * src/print.c: (draw_barcode_object):
848 Don't print "Invalid barcode data" if data field is empty. Patch provided
849 by Darren Warner <warnerd@users.sourceforge.net>. Fixes Bug #1479839.
851 Added acknowledgment for above patch.
852 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
853 * src/bc-postnet.c: (postnet_code):
854 Removed "Invalid barcode data" warnings from stderr.
855 * src/view-barcode.c: (draw_barcode):
856 Draw box around barcode extent if data empty or invalid. Center a
857 message whether the data is empty or invalid in box.
859 2006-05-22 Jim Evins <evins@snaught.com>
861 * src/print.c: (draw_text_object):
862 Check shadow state when printing text.
864 2006-05-20 Jim Evins <evins@snaught.com>
866 * src/ui-commands.c: (gl_ui_cmd_view_grid_toggle),
867 (gl_ui_cmd_view_markup_toggle):
868 Fixed crash when grid or markup have been toggled off during
869 a previous session. Bug #1434324.
871 2006-04-05 Jim Evins <evins@snaught.com>
873 * src/object-editor.c: (gl_object_editor_set_key_names):
874 Fixed potential crash when freeing empty key list.
876 2006-03-11 Jim Evins <evins@snaught.com>
878 * src/print.c: (draw_text_object):
879 * src/view-text.c: (gl_view_text_new),
880 (construct_properties_editor), (update_object_from_editor_cb),
881 (update_editor_from_object_cb), (update_editor_from_label_cb),
883 Added shadow support to text object.
885 2006-02-18 Jim Evins <evins@snaught.com>
887 * src/print.c: (draw_line_object):
888 * src/view-line.c: (gl_view_line_new),
889 (construct_properties_editor), (update_canvas_item_from_object_cb),
890 (update_object_from_editor_cb), (update_editor_from_object_cb),
891 (update_editor_from_label_cb):
892 Added shadow support to line object.
894 2006-02-16 Jim Evins <evins@snaught.com>
898 * src/print.c: (draw_ellipse_object):
899 * src/view-ellipse.c: (gl_view_ellipse_new),
900 (construct_properties_editor), (update_canvas_item_from_object_cb),
901 (update_object_from_editor_cb), (update_editor_from_object_cb),
902 (update_editor_from_label_cb):
903 Added shadow support to ellipse object.
905 2006-02-15 Jim Evins <evins@snaught.com>
907 * src/label-object.c:
908 Changed default shadow offsets.
909 * src/view-box.c: (gl_view_box_new):
910 Simplified gl_view_box_new() so that is does not duplicate code
911 in update_canvas_item_from_object_cb().
913 2006-02-07 Jim Evins <evins@snaught.com>
915 * data/glade/object-editor.glade:
916 Fixed color groups of color combos.
918 Added default shadow color.
919 * src/object-editor.c: (gl_object_editor_construct_color_combo):
920 Added shadow color group.
922 2006-02-06 Jim Evins <evins@snaught.com>
924 * src/object-editor-shadow-page.c:
925 Forgot to add this file.
926 * src/view-box.c: (gl_view_box_new),
927 (update_canvas_item_from_object_cb), (update_editor_from_label_cb):
928 Update limits on shadow offset spinbuttons.
930 2006-01-19 Jim Evins <evins@snaught.com>
932 * src/merge-evolution.c: (gl_merge_evolution_get_key_list):
933 Initialize key_list to NULL.
934 * data/glade/object-editor.glade:
938 * src/label-object.c:
939 * src/label-object.h:
940 * src/object-editor-fill-page.c:
941 * src/object-editor-private.h:
942 * src/object-editor.c:
943 * src/object-editor.h:
945 Created infrastructure for shadow support.
948 Initial shadow support in box object only.
950 2006-01-05 Jim Evins <evins@snaught.com>
952 * src/merge-properties-dialog.c: (src_changed_cb):
953 Be extra paranoid before calling strcmp().
954 * src/merge.c: (gl_merge_set_src):
955 Don't make (merge == NULL) a critical error.
957 2005-12-22 Jim Evins <evins@snaught.com>
959 * src/glabels-batch.c: (main):
960 Compile warning free with gcc 4.0.
962 2005-12-21 Jim Evins <evins@snaught.com>
965 Updated example RPM spec file.
967 2005-12-21 Jim Evins <evins@snaught.com>
971 Preparation for 2.1.2.
973 2005-12-20 Jim Evins <evins@snaught.com>
976 Define unique G_LOG_DOMAIN for glabels.
977 * src/critical-error-handler.c: (gl_critical_error_handler_init):
978 * src/warning-handler.c: (gl_warning_handler_init),
980 Register for G_LOG_DOMAIN instead of NULL.
982 2005-12-10 Jim Evins <evins@snaught.com>
984 * src/merge-evolution.c:
988 2005-12-08 Jim Evins <evins@snaught.com>
990 * libglabels/paper.c: (read_paper_files_from_dir):
991 * libglabels/template.c: (gl_template_register),
992 (read_template_files_from_dir):
993 * libglabels/xml-paper.c: (gl_xml_paper_read_papers_from_file),
994 (gl_xml_paper_parse_papers_doc):
995 * libglabels/xml-template.c:
996 (gl_xml_template_read_templates_from_file),
997 (gl_xml_template_parse_templates_doc),
998 (gl_xml_template_parse_template_node),
999 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
1000 (xml_parse_label_cd_node), (xml_parse_layout_node),
1001 (xml_parse_markup_margin_node), (xml_parse_markup_line_node),
1002 (xml_parse_markup_circle_node),
1003 (gl_xml_template_write_templates_to_file), (xml_create_label_node):
1004 * libglabels/xml.c: (gl_xml_get_prop_length):
1005 Re-classified g_warnings to g_messages.
1007 * src/glabels.c: (main):
1008 * src/warning-handler.c: (gl_warning_handler_init),
1010 * src/warning-handler.h:
1011 Added warning message handler to make sure the user is
1012 presented with appropriate non-fatal errors.
1013 * src/critical-error-handler.c: (critical_error_handler):
1014 Changed exit to abort.
1015 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new), (render_pass1):
1016 * src/bc-postnet.c: (postnet_code):
1017 * src/bc.c: (id_to_index), (name_to_index):
1018 * src/merge.c: (gl_merge_register_backend), (gl_merge_new):
1019 * src/object-editor.c: (gl_object_notebook_construct_valist):
1020 * src/prefs-dialog.c: (update_locale_page_from_prefs):
1021 * src/prefs.c: (gl_prefs_get_units_per_point),
1022 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
1023 (gl_prefs_get_units_string):
1024 * src/print.c: (draw_outline), (clip_to_outline), (clip_punchouts):
1025 * src/splash.c: (gl_splash):
1026 * src/ui-commands.c: (gl_ui_cmd_help_contents):
1027 * src/view-highlight.c: (gl_view_highlight_new),
1028 (highlight_resizable_box_construct), (object_changed_cb),
1029 (view_scale_changed_cb):
1030 * src/view.c: (draw_label_layer), (draw_bg_fg_layers),
1031 (draw_markup_layer), (draw_markup_margin),
1032 (gl_view_object_create_mode), (canvas_event),
1033 (selection_received_cb):
1034 * src/wdgt-mini-preview.c: (mini_outline_list_new):
1035 * src/wdgt-rotate-label.c: (mini_preview_canvas_update):
1036 * src/xml-label-04.c: (gl_xml_label_04_parse),
1037 (xml04_parse_media_description), (xml04_parse_text_props),
1038 (xml04_parse_barcode_props):
1039 * src/xml-label-191.c: (gl_xml_label_191_parse),
1040 (xml191_parse_objects), (xml191_parse_object),
1041 (xml191_parse_text_props), (xml191_parse_image_props),
1042 (xml191_parse_barcode_props), (xml191_parse_data),
1043 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
1044 (xml191_parse_markup):
1045 * src/xml-label.c: (gl_xml_label_open), (gl_xml_label_open_buffer),
1046 (xml_doc_to_label), (xml_parse_label), (xml_parse_objects),
1047 (xml_parse_object_text), (xml_parse_object_image),
1048 (xml_parse_object_barcode), (xml_parse_data),
1049 (xml_parse_toplevel_span), (gl_xml_label_save),
1050 (xml_create_objects):
1051 Re-classified g_warnings to g_messages.
1052 * src/merge-evolution.c: (gl_merge_evolution_open),
1053 (gl_merge_evolution_close), (gl_merge_evolution_get_record):
1054 Use g_warning to output errors encountered while
1055 communicating with the evolution data server
1056 instead of embedding them in the data.
1058 2005-12-08 Jim Evins <evins@snaught.com>
1060 * libglabels/libglabels-private.h:
1062 * libglabels/paper.c: (read_papers):
1063 * libglabels/template.c: (read_templates):
1064 Made appropriate warnings critical.
1066 * src/critical-error-handler.h:
1067 * src/critical-error-handler.c: (gl_critical_error_handler_init),
1068 (critical_error_handler):
1069 Created critical error handler.
1070 * src/glabels.c: (main):
1071 Register critical error handler.
1072 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
1073 * src/object-editor.c: (gl_object_editor_init):
1074 * src/prefs-dialog.c: (gl_prefs_dialog_init):
1075 * src/template-designer.c: (gl_template_designer_init):
1076 * src/ui-property-bar.c: (gl_ui_property_bar_instance_init):
1077 Made appropriate warnings critical.
1079 2005-11-27 Jim Evins <evins@snaught.com>
1081 * src/merge-evolution.c: (gl_merge_evolution_get_key_list),
1082 (gl_merge_evolution_get_primary_key),
1083 (gl_merge_evolution_get_record):
1084 Don't create "record_key" pseudo-key. Don't populate
1085 fields with null data.
1087 2005-11-25 Jim Evins <evins@snaught.com>
1089 * src/merge-evolution.c: (gl_merge_evolution_finalize),
1090 (gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
1091 (gl_merge_evolution_get_record), (gl_merge_evolution_copy),
1093 Query EDS for all supported fields. Patch provided by
1094 Austin Henry <ahenry@users.sourceforge.net>.
1096 2005-10-29 Jim Evins <evins@snaught.com>
1098 * src/glabels.c: (main):
1099 * src/label-barcode.c: (gl_label_barcode_finalize):
1100 * src/label-text.c: (gl_label_text_finalize), (set_font_family):
1101 * src/label.c: (gl_label_instance_init), (gl_label_finalize):
1102 * src/object-editor.c: (gl_object_editor_finalize):
1103 Another pass at valgrinding -- plugged several memory leaks.
1104 * src/view-text.c: (gl_view_text_new),
1105 (update_canvas_item_from_object_cb), (draw_hacktext):
1106 Commented out artifacts of edit-in-place code.
1108 2005-10-28 Jim Evins <evins@snaught.com>
1110 * src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
1111 Fixed use of uninitialized variable. Caught by
1112 d binderman <dcb314@hotmail.com>.
1114 2005-10-27 Jim Evins <evins@snaught.com>
1116 * src/merge-evolution.c: (gl_merge_evolution_get_record):
1117 * src/merge-vcard.c: (gl_merge_vcard_get_record),
1119 Additional cleanup of EDS and vcard backends. Provided by
1120 Austin Henry <ahenry@users.sourceforge.net>.
1122 2005-10-24 Jim Evins <evins@snaught.com>
1126 * src/merge-evolution.c:
1127 * src/merge-evolution.h:
1128 * src/merge-init.c: (gl_merge_init):
1129 * src/merge-properties-dialog.c: (type_changed_cb):
1130 * src/merge-vcard.c:
1131 * src/merge-vcard.h:
1132 * src/ui-commands.c: (gl_ui_cmd_help_about):
1133 Added Evolution Data Server and VCard merge backends. Original patch
1134 provided by Austin Henry <ahenry@users.sourceforge.net>.
1136 Only support EDS and VCard backends if libebook is installed. Allow
1137 user to disable support, even if installed.
1139 2005-10-24 Jim Evins <evins@snaught.com>
1142 * data/templates/avery-iso-templates.xml:
1143 * data/templates/avery-us-templates.xml:
1144 * data/templates/misc-iso-templates.xml:
1145 * data/templates/zweckform-iso-templates.xml:
1146 Collected all template changes and submissions since last
1149 2005-10-23 Jim Evins <evins@snaught.com>
1152 * data/mime/Makefile.am:
1153 Added configure options to disable update-mime-database and
1154 update-desktop-database as part of the install. Patch
1155 provided by Leonardo Boshell (qhoracio@sourceforge.net).
1157 2005-10-23 Jim Evins <evins@snaught.com>
1160 * libglabels/xml.c: (gl_xml_get_prop_string),
1161 (gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
1162 (gl_xml_is_node), (gl_xml_get_node_content):
1163 Added new XML utility functions.
1164 * libglabels/xml-paper.c:
1165 * libglabels/xml-template.c:
1167 Cleanup by using new xml utilities created above.
1168 * libglabels/paper.c: (gl_paper_free):
1169 * src/file.c: (new_response):
1170 * src/object-editor-image-page.c: (add_image_filters_to_chooser):
1171 * src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
1172 (gl_pixbuf_cache_get_pixbuf):
1173 * src/ui-property-bar.c:
1174 (gl_ui_property_bar_construct_color_combo):
1175 * src/view-highlight.c: (gl_view_highlight_finalize):
1176 * src/view-image.c: (update_object_from_editor_cb):
1177 * src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
1178 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
1179 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
1180 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
1181 (draw_markup_margin_round), (draw_markup_margin_cd),
1182 (draw_markup_margin_cd_bc):
1183 * src/wdgt-mini-preview.c: (mini_outline_list_new):
1184 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
1185 Plugged various memory leaks located with valgrind.
1186 * src/view-image.c: (update_canvas_item_from_object_cb):
1187 Don't allow a width or height of zero when drawing pixbuf.
1189 2005-10-22 Jim Evins <evins@snaught.com>
1191 * libglabels/xml-paper.c:
1192 * libglabels/xml-template.c:
1195 * src/bc-gnubarcode.c:
1196 * src/canvas-hacktext.c:
1198 * src/object-editor-data-page.c:
1199 * src/print-dialog.c:
1202 * src/template-designer.c:
1204 * src/ui-property-bar.c:
1206 * src/view-barcode.c:
1208 * src/view-ellipse.c:
1213 * src/wdgt-media-select.c:
1214 * src/xml-label-04.c:
1215 * src/xml-label-191.c:
1217 Modified to compile warning free with gcc-4.0. Mostly
1218 casting to change signedness of characters. Did not
1219 attack gnu-barcode library yet.
1221 2005-10-22 Jim Evins <evins@snaught.com>
1223 * src/glabels.c: (main):
1224 * src/splash.c: (gl_splash):
1225 Removed some small memory leaks.
1229 2005-09-19 Jim Evins <evins@snaught.com>
1231 * data/glade/property-bar.glade:
1232 Remove items from font_family_combo. This prevents the
1233 double entry after adding text model and list of fonts.
1234 * src/ui-property-bar.c: (reset_to_default_properties):
1235 Free font_family_list.
1237 2005-07-01 Jim Evins <evins@snaught.com>
1240 Updated italian translation (Daniele Medri)
1242 2005-06-26 Jim Evins <evins@snaught.com>
1244 * docs/libglabels/libglabels-decl-list.txt:
1245 Somehow never got checked in before.
1246 * docs/libglabels/libglabels.types:
1247 Removed -- don't need it afterall.
1249 2005-06-20 Jim Evins <evins@snaught.com>
1252 Final prep for 2.1.1 release.
1254 2005-06-20 Jim Evins <evins@snaught.com>
1257 Final preps for 2.1.1 release.
1258 * docs/libglabels/libglabels.types:
1259 Somehow never got checked in before.
1261 Bring up-to-date with recent reorg of ui code.
1264 2005-06-19 Jim Evins <evins@snaught.com>
1266 * src/template-designer.c: (construct_layout_page):
1267 Removed attempt to match background color of mini preview widget to
1270 2005-06-17 Jim Evins <evins@snaught.com>
1272 * help/C/figures/merge-ex2-4.png:
1273 * help/C/glabels.xml:
1274 Fixed spelling error.
1276 2005-06-13 Jim Evins <evins@snaught.com>
1278 * help/C/figures/merge-ex1-1.png:
1279 * help/C/figures/merge-ex1-2.png:
1280 * help/C/figures/merge-ex1-3.png:
1281 * help/C/figures/merge-ex1-4.png:
1282 * help/C/figures/merge-ex2-1.png:
1283 * help/C/figures/merge-ex2-2.png:
1284 * help/C/figures/merge-ex2-3.png:
1285 * help/C/figures/merge-ex2-4.png:
1286 Added figures for document merge tutorial.
1287 * help/C/glabels.xml:
1288 Added document merge tutorial.
1290 2005-05-19 Jim Evins <evins@snaught.com>
1292 * data/glade/merge-properties-dialog.glade:
1293 Fixed irregular spacing.
1294 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
1295 (gl_merge_properties_dialog_construct):
1296 Set outer padding and remove separator.
1298 2005-05-18 Jim Evins <evins@snaught.com>
1302 Removed glHigDialog class.
1303 * src/file.c: (gl_file_new), (create_new_dialog_widgets),
1304 (gl_file_properties), (create_properties_dialog_widgets):
1305 * src/prefs-dialog.h:
1306 * src/prefs-dialog.c: (gl_prefs_dialog_get_type),
1307 (gl_prefs_dialog_init), (gl_prefs_dialog_construct):
1308 * src/print-dialog.h:
1309 * src/prefs-dialog.h:
1310 * src/print-dialog.c: (gl_print_dialog_get_type),
1311 (gl_print_dialog_init), (gl_print_dialog_construct):
1312 Replaced all instances of glHigDialog with GtkDialog.
1314 2005-05-17 Jim Evins <evins@snaught.com>
1318 Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
1319 * src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
1320 (save_as_response), (gl_file_close):
1321 Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.
1323 2005-05-15 Jim Evins <evins@snaught.com>
1325 * src/ui-commands.h:
1333 A little code reformatting -- no functional changes.
1335 2005-05-14 Jim Evins <evins@snaught.com>
1338 Removed obsolete macros.
1340 Added marshalling template to support new view signal: "context_menu_activate."
1342 * src/view.c: (gl_view_class_init), (gl_view_construct),
1343 (canvas_event_arrow_mode):
1344 - Removed hardcoded context menus and added new signal "context_menu_activate"
1345 to push this up to the uimanager.
1346 - Removed merge properties and print dialogs so that they can be managed with
1347 the window by the uimanager.
1348 * src/merge-properties-dialog.h:
1349 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
1350 (gl_merge_properties_dialog_construct):
1351 Changed calling convention of gl_merge_properties_dialog_new() to use
1352 glLabel and GtkWindow instead of view to make more consistent with other
1354 * src/print-dialog.h:
1355 * src/print-dialog.c: (gl_print_dialog_new),
1356 (gl_print_dialog_construct):
1357 Removed last artifact of libbonoboui.
1358 * src/ui-commands.c: (gl_ui_cmd_file_print),
1359 (gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
1360 Reconciled style for launching dialogs.
1361 * src/ui.c: (gl_ui_new):
1362 Added context menus to ui manager.
1363 * src/view-object.c: (item_event_arrow_mode):
1364 No longer try to select objects with right-click.
1366 * src/window.c: (gl_window_init), (gl_window_set_label),
1367 (context_menu_activate_cb):
1368 Context menus and all dialogs are now managed in a consistent way in window
1371 2005-05-11 Jim Evins <evins@snaught.com>
1374 * src/window.c: (gl_window_init), (gl_window_destroy):
1375 * src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
1376 * src/ui-commands.c: (gl_ui_cmd_file_open_recent):
1377 Moved management of recent_view back from window.c to ui.c -- it just feels
1380 2005-05-10 Jim Evins <evins@snaught.com>
1383 * src/window.c: (gl_window_init):
1385 * src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
1386 (menu_item_select_cb), (menu_item_deselect_cb):
1387 Added GtkStatusbar which displays menu tooltips.
1389 2005-05-09 Jim Evins <evins@snaught.com>
1391 Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
1396 Removed dependencies on libbonoboui.
1398 * data/ui/Makefile.am:
1399 * data/ui/glabels-ui.xml:
1400 Removed data/ui directory.
1401 * data/glade/Makefile.am:
1402 * data/property-bar.glade:
1403 Added glade description of property-bar for new libglade implementation
1410 * src/ui-commands.h:
1411 * src/ui-commands.c:
1412 Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
1413 since the distinction between "commands" and "tools" is no longer that clear.
1416 Modified to expect glWindow instead of GtkWindow. gl_file_open_recent()
1417 no longer has knowledge of eggRecent*.
1418 * src/glabels.c: (main):
1419 Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
1421 * src/object-editor.c: (gl_object_editor_init):
1422 Make sure notebook does not respond to a "show_all" on the parent.
1423 * src/recent-files/Makefile.am:
1424 * src/recent-files/*.[ch]
1425 Updated from latest version of libegg which now has a view based on
1426 GtkUIManager. Removed unused bonobo and gtk views.
1427 * src/ui-property-bar.h:
1428 * src/ui-property-bar.c:
1429 New implementation based on libglade.
1432 Sidebar is now simply a GtkWidget and does not expect to be a part of
1433 a libbonoboui interface.
1438 Converted for use with GtkUIManager.
1441 Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
1442 to create menus and toolbars.
1444 2005-04-25 Jim Evins <evins@snaught.com>
1446 * data/templates/misc-iso-templates.xml:
1447 Added Fellows 04715 template provided by Steve Saxon.
1449 Updated acknowledgement for above.
1451 2005-04-23 Jim Evins <evins@snaught.com>
1453 * src/util.c: (gl_util_combo_box_set_strings):
1454 Make sure to clear model before loading a new list of strings.
1455 * src/wdgt-media-select.h:
1456 * src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
1457 (gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
1458 (template_combo_changed_cb), (prefs_changed_cb),
1459 (gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
1460 (gl_wdgt_media_select_get_page_size),
1461 (gl_wdgt_media_select_set_page_size):
1462 Replaced the deprecated GtkCombo widget with the new
1465 2005-04-21 Jim Evins <evins@snaught.com>
1467 * data/glade/template-designer.glade:
1468 * src/template-designer.c: (construct_pg_size_page),
1469 (pg_size_page_changed_cb), (build_template):
1470 Replaced the deprecated GtkCombo widget with the new
1473 2005-04-20 Jim Evins <evins@snaught.com>
1475 * data/glade/prefs-dialog.glade:
1476 * src/prefs-dialog.c: (construct_object_page),
1477 (update_object_page_from_prefs), (update_prefs_from_object_page):
1478 Replaced the deprecated GtkCombo widget with the new
1481 2005-04-19 Jim Evins <evins@snaught.com>
1483 * data/glade/object-editor.glade:
1484 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
1485 (style_changed_cb), (gl_object_editor_set_bc_style),
1486 (gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
1487 (gl_object_editor_get_bc_color):
1488 * src/object-editor-data-page.c:
1489 (gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
1490 (gl_object_editor_get_data):
1491 * src/object-editor-edit-page.c:
1492 (gl_object_editor_prepare_edit_page), (insert_button_cb):
1493 * src/object-editor-fill-page.c:
1494 (gl_object_editor_prepare_fill_page),
1495 (gl_object_editor_set_fill_color),
1496 (gl_object_editor_get_fill_color):
1497 * src/object-editor-image-page.c:
1498 (gl_object_editor_prepare_image_page),
1499 (gl_object_editor_set_image), (gl_object_editor_get_image):
1500 * src/object-editor-line-page.c:
1501 (gl_object_editor_prepare_line_page),
1502 (gl_object_editor_set_line_color),
1503 (gl_object_editor_get_line_color):
1504 * src/object-editor-private.h:
1505 * src/object-editor-text-page.c:
1506 (gl_object_editor_prepare_text_page),
1507 (gl_object_editor_set_font_family),
1508 (gl_object_editor_get_font_family),
1509 (gl_object_editor_set_text_color),
1510 (gl_object_editor_get_text_color):
1511 * src/object-editor.c: (gl_object_editor_set_key_names):
1513 In the object editor: replaced all instances of the deprecated
1514 GtkCombo widget with the new GtkComboBox.
1516 2005-04-18 Jim Evins <evins@snaught.com>
1519 Neglected to save this one in previous checkin to support
1522 2005-04-17 Jim Evins <evins@snaught.com>
1524 * libglabels/libglabels-private.h:
1525 * libglabels/paper.c:
1526 * libglabels/paper.h:
1527 * libglabels/template.c:
1528 * libglabels/template.h:
1529 * libglabels/xml-paper.c:
1530 * libglabels/xml-paper.h:
1531 * libglabels/xml-template.c:
1536 * src/bc-gnubarcode.c:
1547 * src/label-barcode.c:
1549 * src/label-ellipse.c:
1550 * src/label-image.c:
1551 * src/label-image.h:
1553 * src/label-object.c:
1557 * src/merge-properties-dialog.c:
1558 * src/object-editor-bc-page.c:
1559 * src/object-editor-data-page.c:
1560 * src/object-editor-edit-page.c:
1561 * src/object-editor-fill-page.c:
1562 * src/object-editor-image-page.c:
1563 * src/object-editor-line-page.c:
1564 * src/object-editor-lsize-page.c:
1565 * src/object-editor-position-page.c:
1566 * src/object-editor-private.h:
1567 * src/object-editor-size-page.c:
1568 * src/object-editor-text-page.c:
1569 * src/object-editor.c:
1570 * src/object-editor.h:
1571 * src/pixbuf-cache.h:
1572 * src/prefs-dialog.c:
1573 * src/prefs-dialog.h:
1574 * src/prefs-model.c:
1575 * src/prefs-model.h:
1577 * src/print-dialog.c:
1578 * src/print-dialog.h:
1586 * src/template-designer.c:
1587 * src/template-designer.h:
1590 * src/ui-property-bar.c: (gl_ui_property_bar_construct):
1596 * src/view-barcode.c:
1598 * src/view-ellipse.c:
1599 * src/view-highlight.c:
1600 * src/view-highlight.h:
1603 * src/view-object.c:
1604 * src/view-object.h:
1608 * src/wdgt-chain-button.c:
1609 * src/wdgt-media-select.c:
1610 * src/wdgt-media-select.h:
1611 * src/wdgt-mini-preview.c:
1612 * src/wdgt-mini-preview.h:
1613 * src/wdgt-print-copies.c:
1614 * src/wdgt-print-copies.h:
1615 * src/wdgt-print-merge.c:
1616 * src/wdgt-print-merge.h:
1617 * src/wdgt-rotate-label.c:
1618 * src/wdgt-rotate-label.h:
1621 * src/xml-label-04.c:
1622 * src/xml-label-191.c:
1624 Cleanup of header files:
1625 - all header files are now stand-alone, verified by including
1626 first in corresponding "c" files
1627 - replaced blanket includes of gnome, gtk, and glib with
1630 2005-04-16 Jim Evins <evins@snaught.com>
1632 * data/glade/Makefile.am:
1633 * data/glade/merge-properties-dialog.glade:
1634 Added merge properties dialog glade description file.
1635 * src/merge-properties-dialog.h:
1636 * src/merge-properties-dialog.c:
1637 (gl_merge_properties_dialog_get_type),
1638 (gl_merge_properties_dialog_init),
1639 (gl_merge_properties_dialog_finalize),
1640 (gl_merge_properties_dialog_new),
1641 (gl_merge_properties_dialog_construct), (type_changed_cb),
1642 (src_changed_cb), (response_cb), (load_tree),
1643 (record_select_toggled_cb), (select_all_button_clicked_cb),
1644 (unselect_all_button_clicked_cb):
1645 Modified merge properties dialog to use libglade. Added
1646 "select all" and "unselect all" buttons.
1647 * src/merge-text.c: (parse_line):
1648 Handle empty lines better.
1649 * src/merge.c: (gl_merge_eval_key):
1650 Evaluate the key whether the record is selected or not.
1652 * src/util.c: (gl_util_combo_box_add_text_model):
1653 Since libglade does not use the gtk_combo_box_new_text()
1654 constructor for GtkComboBoxes, a utility function was created
1655 to add an appropriate text model to a GtkComboBox.
1656 * src/view.c: (gl_view_edit_merge_props):
1657 Removed unnecessary "show all's".
1659 2005-04-15 Jim Evins <evins@snaught.com>
1662 Updated russian translation (Vitaly Lipatov)
1663 * data/templates/misc-iso-templates.xml:
1664 Added templates for russian business cards provided by Vitaly Lipatov.
1666 Updated acknowledgements for above.
1668 2005-04-15 Jim Evins <evins@snaught.com>
1670 * data/templates/avery-us-templates.xml:
1671 Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
1672 * data/templates/misc-iso-templates.xml:
1673 Added Ryman standard CD/DVD template, provided by Dan Clark.
1675 Added acknowledgements for above.
1677 2005-04-10 Jim Evins <evins@snaught.com>
1679 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
1680 * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
1681 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
1682 (xml_parse_label_cd_node), (xml_parse_alias_node):
1683 * libglabels/xml.c: (gl_xml_get_prop_double),
1684 (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
1685 (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
1686 * src/xml-label-04.c: (xml04_parse_media_description),
1687 (xml04_parse_text_props), (xml04_parse_barcode_props),
1688 (xml04_parse_merge_properties):
1689 * src/xml-label-191.c: (xml191_parse_object),
1690 (xml191_parse_text_props), (xml191_parse_barcode_props),
1691 (xml191_parse_merge_fields), (xml191_parse_pixdata),
1692 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
1693 (xml191_parse_alias):
1694 * src/xml-label.c: (xml_parse_object_text),
1695 (xml_parse_object_barcode), (xml_parse_merge_fields),
1696 (xml_parse_pixdata), (xml_parse_toplevel_span):
1697 Make sure to use xmlFree for anything obtained from libxml
1698 in case libxml and glib use different memory management
1701 2005-04-08 Jim Evins <evins@snaught.com>
1704 * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
1705 (gl_util_combo_box_set_active_text):
1706 Added utility functions to simplify working with GtkComboBox
1708 * src/ui-property-bar.h:
1709 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
1710 (reset_to_default_properties), (update_text_properties),
1711 (font_family_changed_cb):
1712 Replaced deprecated GtkCombo with GtkComboBox.
1715 2005-04-03 Jim Evins <evins@snaught.com>
1718 * src/wdgt-image-select.h:
1719 * src/wdgt-image-select.c:
1720 Removed obsolete wdgt-image-select.[ch] files.
1721 * libglabels/paper.c: (gl_paper_dup):
1722 Fixed rename of parameter introduced during documentation
1724 * data/glade/object-editor.glade:
1725 * src/object-editor-image-page.c:
1726 (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
1727 (gl_object_editor_set_image), (gl_object_editor_get_image),
1728 (update_preview_cb), (add_image_filters_to_chooser):
1729 * src/object-editor-private.h:
1730 Replaced deprecated GnomePixmapEntry with
1731 GtkFileChooserButton.
1733 2005-04-02 Jim Evins <evins@snaught.com>
1735 * src/mygal/mygal-combo-box.c: (deactivate_arrow),
1736 (mygal_combo_box_popup_hide_unconditional),
1737 (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
1738 (mygal_combo_toggle_pressed), (mygal_combo_box_init),
1739 (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
1740 (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
1741 (cb_tearable_button_release), (mygal_combo_box_set_tearable):
1742 Renamed all internal gtk_combo functions to mygal_combo
1743 to prevent namespace confusion.
1745 2005-04-02 Jim Evins <evins@snaught.com>
1747 * src/mygal/color-palette.c: (color_palette_change_custom_color),
1748 (cust_color_set), (color_palette_setup):
1749 * src/mygal/color-palette.h:
1750 Replaced deprecated GnomeColorPicker with GtkColorButton.
1752 2005-04-02 Jim Evins <evins@snaught.com>
1754 * docs/libglabels/libglabels-sections.txt:
1755 * docs/libglabels/libglabels-undocumented.txt:
1756 * docs/libglabels/tmpl/enums.sgml:
1757 * docs/libglabels/tmpl/paper.sgml:
1758 * docs/libglabels/tmpl/xml-paper.sgml:
1759 * docs/libglabels/tmpl/xml-template.sgml:
1760 * libglabels/enums.h:
1761 * libglabels/paper.c: (gl_paper_dup):
1762 * libglabels/paper.h:
1763 * libglabels/xml-paper.c:
1764 * libglabels/xml-template.c:
1765 More documentation updates for libglabels.
1767 2005-03-23 Jim Evins <evins@snaught.com>
1770 Automatically updated.
1775 * docs/libglabels/Makefile.am:
1776 * docs/libglabels/libglabels-docs.sgml:
1777 * docs/libglabels/libglabels-sections.txt:
1778 * docs/libglabels/libglabels-undocumented.txt:
1779 * docs/libglabels/tmpl/enums.sgml:
1780 * docs/libglabels/tmpl/libglabels-unused.sgml:
1781 * docs/libglabels/tmpl/libglabels.sgml:
1782 * docs/libglabels/tmpl/paper.sgml:
1783 * docs/libglabels/tmpl/template.sgml:
1784 * docs/libglabels/tmpl/xml-paper.sgml:
1785 * docs/libglabels/tmpl/xml-template.sgml:
1786 * docs/libglabels/tmpl/xml.sgml:
1787 Added basic gtk-doc stuff to support documenting libglabels
1790 Updated function comments with gtk-doc markup.
1794 2005-03-22 Jim Evins <evins@snaught.com>
1796 Since the development version now requires gtk-2.6/gnome-2.10, I
1797 have made a first pass at removing deprecations.
1800 * libglabels/Makefile.am:
1802 Added configure option to turn on X_DISABLE_DEPRECATED flags.
1803 Also removed all remnants of HAVE_FILECHOOSER.
1804 * src/file.c: (gl_file_open_real):
1805 Removed code for old GtkFileSelection.
1806 * libglabels/libglabels-private.h:
1807 * libglabels/paper.c:
1808 * libglabels/template.c:
1809 * libglabels/xml-paper.c:
1810 * libglabels/xml-template.c:
1814 * src/glabels-batch.c:
1818 * src/merge-properties-dialog.c:
1820 * src/object-editor.c:
1821 * src/prefs-dialog.c:
1823 * src/print-dialog.c:
1826 * src/template-designer.c:
1827 * src/ui-property-bar.c:
1829 * src/view-barcode.c:
1831 * src/view-ellipse.c:
1836 * src/wdgt-image-select.c:
1837 * src/wdgt-media-select.c:
1838 * src/wdgt-print-copies.c:
1839 * src/wdgt-print-merge.c:
1840 * src/wdgt-rotate-label.c:
1842 * src/xml-label-04.c:
1843 * src/xml-label-191.c:
1845 Added '#include <glib/gi18n.h>" where needed.
1846 Removed any unused '#include <gnome.h>"s.
1848 2005-03-22 Jim Evins <evins@snaught.com>
1850 * src/commands.c: (activate_url), (gl_cmd_help_about):
1851 Replaced GnomeAbout with GtkAboutDialog. Therefore the
1852 development version of glabels now depends on GTK 2.6 and
1855 Updated library dependencies.
1857 2005-02-28 Jim Evins <evins@snaught.com>
1860 * data/templates/misc-iso-templates.xml:
1861 Added 'Ednet 45021' template provided by Ali Akcaagac
1864 2005-02-14 Jim Evins <evins@snaught.com>
1866 * data/templates/avery-us-templates.xml:
1867 Updated templates to use inches instead of points.
1868 * src/print-dialog.c: (printer_page_new):
1869 Changed packing style when adding printer selector widget. This fixes
1872 2005-02-13 Jim Evins <evins@snaught.com>
1876 Updated spanish translations. (sergio rivadero)
1878 2005-02-05 Jim Evins <evins@snaught.com>
1880 Some cleanup to libglabels.
1883 Updated version to 2.1.1cvs. Added generation of libglabels.pc.
1884 * libglabels/libglabels.pc.in
1886 * libglabels/enums.h
1887 Created. Currently only contains glUnitsType which provides enumerations
1888 for all possible units of distance.
1889 * libglabels/Makefile.am:
1890 Incorporated new files enums.h and libglabels.pc[.in].
1891 * libglabels/libglabels.h:
1893 * libglabels/template.h:
1894 * libglabels/template.c: (gl_template_layout_new):
1895 Changed parameters nx and ny to gint from gdouble.
1897 * libglabels/xml.c: (gl_xml_get_prop_length),
1898 (gl_xml_set_prop_length), (gl_xml_set_default_units):
1899 Added support for different output units.
1900 * src/prefs-dialog.c: (update_locale_page_from_prefs),
1901 (update_prefs_from_locale_page):
1902 * src/prefs-model.c: (string_to_units), (units_to_string):
1903 * src/prefs-model.h:
1904 * src/prefs.c: (gl_prefs_get_units_per_point),
1905 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
1906 (gl_prefs_get_units_string):
1908 * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
1909 Reconciled all length enumerations with the new enumerations provided
1910 in libglabels/enums.h.
1912 2005-02-03 Jim Evins <evins@snaught.com>
1915 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
1917 Updated Italian translations. (Daniele Medri)
1919 Updated credits to reflect above translations.
1922 2005-01-22 Jim Evins <evins@snaught.com>
1927 Added MESSAGE-OF-DOOM to EXTRA_DIST.
1929 Final prep for 2.1.0.
1931 Set version to 2.1.0. Output MESSAGE-OF-DOOM.
1933 Added '--remove-original' flag to desktop-file-install, so that there is
1934 only one menu entry.
1936 2005-01-20 Jim Evins <evins@snaught.com>
1938 * data/glade/object-editor.glade:
1939 - Font family entry should not be editable.
1940 - img_key_entry should have sensitivity=YES, so that it follows the
1941 sensitivity of img_key_combo.
1943 2005-01-19 Jim Evins <evins@snaught.com>
1946 Give credit to Frederic Ruaudel for the color merge patches.
1948 2005-01-18 Frederic Ruaudel <grumz@users.sf.net>
1950 Add support to merge color for all other color attribute (Feature
1951 Requests item #1008635. If the data is invalid, the color used is transparent
1952 (GL_COLOR_NONE). The format for color in merge data file are those accepted
1953 by gdk_color_parse() these include name for a color from rgb.txt, such as
1954 DarkSlateGray, or a hex specification such as #305050. File format has been
1955 changed but backward compatibility is preserved for all format. For
1956 box/ellipse/line, keep attribute "line_color" for static color or replace by
1957 "line_color_field" for merge data. For text/barcode objects, keep attribute
1958 "color" for static color or replace by "color_field" for merge data. In the
1959 edit canvas window, merged color are represented by half-transparent black
1962 * data/dtd/glabels-2.0.dtd:
1963 Added line_color_field to line_attrs. Added color_field to
1964 Object-barcode and Span.
1965 * data/glade/object-editor.glade:
1966 Modify the layout of the editor to add merge possibility to color options
1968 Fix a copy/paste error in a comment
1970 Add default color for merge color representation in the editor canvas.
1971 * src/label-barcode.c:
1972 * src/object-editor-bc-page.c:
1973 * src/view-barcode.c:
1974 Add merge color support for barcode color.
1977 Add merge color support for box border color.
1978 * src/label-ellipse.c:
1979 * src/view-ellipse.c:
1980 Add merge color support for ellipse border color.
1983 Add merge color support for line color.
1984 * src/label-object.c:
1985 * src/label-object.h:
1986 * src/object-editor.c:
1987 * src/object-editor.h:
1988 * src/ui-property-bar.c:
1991 * src/xml-label-04.c:
1992 * src/xml-label-191.c:
1993 Add support for merging to other color attribute.
1995 * src/object-editor-text-page.c:
1997 Add merge color support for text color.
1998 * src/object-editor-fill-page.c:
1999 Change a blocked handler that didn't match the good widget. Fix the type
2000 of some debug message.
2001 * src/object-editor-line-page.c:
2002 Add merging support to line color option.
2003 * src/object-editor-private.h:
2004 Add variables for new widget.
2006 Modify the draw functions to get merge data if needed.
2008 Change the default size of the window in order to see all widget in the
2009 "text style tab" of the editor.
2011 Modify the parser to record/retreive the field value for objects that need
2012 "color" attribute. For box/ellipse/line, keep attribute "line_color" for
2013 static color or replace by "line_color_field" for merge data. For
2014 text/barcode objects, keep attribute "color" for static color or replace
2015 by "color_field" for merge data.
2017 2005-01-17 Jim Evins <evins@snaught.com>
2019 * src/view.c: (screen_changed_cb):
2020 Don't do anything if we don't have a screen.
2022 2005-01-06 Jim Evins <evins@snaught.com>
2024 * src/view.c: (get_home_scale):
2025 Fixed bad call to gtk_widget_has_screen() -- huh?.
2027 2005-01-06 Jim Evins <evins@snaught.com>
2029 * data/dtd/glabels-2.0.dtd:
2030 Added fill_color_field to fill_attrs. Also added xmlns attribute to all
2033 2005-01-06 Jim Evins <evins@snaught.com>
2035 * data/glade/object-editor.glade:
2036 Set entries for fill and data field key dropdowns to NOT editable.
2037 * src/view-box.c: (construct_properties_editor):
2038 * src/view-ellipse.c: (construct_properties_editor):
2039 Update object editor when label's merge property has changed.
2040 * src/xml-label.c: (xml_parse_object_ellipse):
2041 Completed the merge color support for the ellipse item.
2043 2005-01-06 Frederic Ruaudel <grumz@users.sf.net>
2045 Add support to merge color for object that have a "Fill color" attribute (Feature
2046 Requests item #1008635. If the data is invalid, the color used is transparent
2047 (GL_COLOR_NONE). The format for color in merge data file are those accepted
2048 by gdk_color_parse() these include name for a color from rgb.txt, such as
2049 DarkSlateGray, or a hex specification such as #305050. File format has been
2050 changed but backward compatibility is preserved for all format. For box/ellipse,
2051 keep attribute "fill_color" for static color or replace by "fill_color_field"
2054 * data/glade/object-editor.glade:
2055 Modify "Fill" tab to add the merge key combo and convert the labels into
2059 Add "glColorNode" structure and associated functions to manage it. This
2060 structure is equivalent for color than the "glTextNode". It holds the color
2062 * src/label-object.h:
2063 * src/label-object.c:
2065 * src/label-ellipse.c:
2066 * src/ui-property-bar.c:
2070 * src/view-ellipse.c:
2071 * src/xml-label-04.c:
2072 * src/xml-label-191.c:
2073 Change functions of objects that have a "fill color" attribute to use the
2074 new "glColorNode" structure. Use barcode code as example.
2076 Add the color.[ch] file to glabels_batch binary that now need support for
2078 * src/object-editor.h:
2079 * src/object-editor.c:
2080 * src/object-editor-fill-page.c:
2081 Manage the new widget of the editor's "Fill" tab : key combo and radio button
2082 to choose between static color or merge key. Use barcode code as example.
2083 * src/object-editor-private.h:
2084 Add new widget in the "_glObjectEditorPrivate" structure.
2086 Modify the draw functions to get merge data if needed.
2088 Modify the parser to record/retreive the field value for objects that need
2089 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
2090 color or "fill_color_field" for merge data.
2092 2005-01-04 Jim Evins <evins@snaught.com>
2095 * data/templates/avery-iso-templates.xml:
2096 * data/templates/misc-iso-templates.xml:
2097 * data/templates/misc-us-templates.xml:
2098 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
2101 2004-11-26 Jim Evins <evins@snaught.com>
2105 Updated french translations provided by Florent Morel <florent@taket.org>.
2106 * src/view-barcode.c:
2108 * src/view-ellipse.c:
2112 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
2113 thus _() strings were not being translated.
2115 2004-11-14 Jim Evins <evins@snaught.com>
2118 * src/debug.c: (gl_debug_init), (gl_debug):
2119 Borrowed from gedit: use environmental variables to select debug
2122 Removed unused include of debug.h.
2123 * src/glabels.c: (main):
2124 Added call to gl_debug_init(), and removed debug clutter from command line
2126 * src/glabels-batch.c: (main):
2127 Added call to gl_debug_init().
2129 2004-11-13 Jim Evins <evins@snaught.com>
2131 Drawing and property toolbars were being initialized with the "icons and text"
2132 look in Fedora Core 3. Even though none of the buttons had any text attached to
2133 them, the buttons were being sized as if they were. This led to less real estate
2134 for the property editor, leading to Bug #1064630. The
2136 * data/ui/glabels-ui.xml:
2137 Added explicit "look" property to both drawing and property toolbars.
2138 * src/prefs-model.c: (gl_prefs_model_save_settings),
2139 (gl_prefs_model_load_settings):
2140 * src/prefs-model.h:
2141 Removed drawing_toolbar_button_style configuration parameter.
2142 * src/ui.c: (view_menu_item_toggled_cb),
2143 (set_app_drawing_toolbar_style):
2144 Do not attempt to adjust look property of the drawing toolbar.
2146 2004-10-28 Jim Evins <evins@snaught.com>
2148 * data/pixmaps/glabels-about-logo.png:
2151 2004-10-28 Jim Evins <evins@snaught.com>
2153 * data/man/glabels.1:
2154 * src/glabels-batch.c: (main):
2156 * src/print.c: (gl_print_batch):
2158 Added option to glabels-batch to select the first label to begin
2161 2004-09-26 Jim Evins <evins@snaught.com>
2163 * data/desktop/glabels.desktop.in:
2164 Point to app icon, "glabels.png"
2165 * data/mime/glabels.keys.in:
2166 Point at mime icon, "glabels-application-x-glabels.png"
2167 * data/pixmaps/Makefile.am:
2168 Added glabels_app_icondir. Renamed icons.
2169 * data/pixmaps/glabels.png:
2170 New cleaned up app icon. Deleted glabels-icon.png.
2171 * data/pixmaps/glabels-application-x-glabels.png:
2173 * data/pixmaps/glabels-splash.png:
2174 Renamed glabels-logo to glabels-splash to be more correct about role.
2176 * src/template-designer.c:
2177 Point at app icon, "glabels.png"
2179 Point at renamed splash image, "glabels-splash.png"
2181 2004-08-22 Jim Evins <evins@snaught.com>
2184 * src/glabels-batch.c: (main):
2185 Applied patch with minor mods to allow selecting merge source and
2186 crop-marks on glabels-batch's command line. Original patch provided by
2187 José Dapena Paz <jdapena@igalia.com>.
2189 2004-08-15 Jim Evins <evins@snaught.com>
2191 * data/desktop/glabels.desktop.in:
2192 - Added encoding line
2193 - Removed period from comment
2194 - Fixed Terminal line, changed "0" to "false"
2195 - Added semicolen to Categories line
2197 - Made sure desktop.in comment string above still translated properly
2199 2004-08-14 Jim Evins <evins@snaught.com>
2201 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
2202 * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
2203 * src/xml-label-191.c: (xml191_parse_sheet):
2204 Fixed improper freeing of gettext strings. Merged from 2.0.1.
2206 Reconciled libglabels versioning with 2.0.1.
2209 2004-08-14 Jim Evins <evins@snaught.com>
2212 Updated version to 2.1cvs.
2214 2004-08-14 Jim Evins <evins@snaught.com>
2217 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
2219 2004-08-14 Jim Evins <evins@snaught.com>
2221 Fixes for Bug #1008181.
2223 * src/bc.c: (gl_barcode_default_digits):
2224 Make a format of zero digits, harmless.
2225 * src/xml-label.c: (xml_parse_object_barcode):
2226 Set default value of the format property of barcode objects to 10, not
2227 zero. This will prevent crashes when reading pre 2.0.x files.
2229 2004-08-09 Jim Evins <evins@snaught.com>
2233 * help/C/glabels-C.omf:
2234 * help/C/glabels.xml:
2235 Brought documentation up-to-date for 2.0.0 release.
2237 2004-08-09 Jim Evins <evins@snaught.com>
2239 These are hopefully the final preparations for 2.0.0.
2241 * data/mime/Makefile.am:
2242 Include glabels.xml in EXTRA_DIST.
2244 - Updated comment style.
2245 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
2246 - Added package and version info to configuration printout
2247 - Update version to 2.0.0
2248 * libglabels/Makefile.am:
2249 Use the new LIBGLABELS_VERSION_INFO macro.
2251 2004-08-09 Jim Evins <evins@snaught.com>
2255 Cleanup of required library macros.
2257 2004-08-08 Jim Evins <evins@snaught.com>
2261 - More specific of what to install in /usr/bin and /usr/lib
2262 - Remove built mime registration files from staging directory
2264 2004-08-08 Jim Evins <evins@snaught.com>
2266 * data/mime/Makefile.am:
2267 Fixed typo: key_files should have been keys_files.
2269 2004-08-08 Jim Evins <evins@snaught.com>
2271 Reorganization of runtime data files. Also added registration of mimetype with
2272 new freedesktop.org mime database if available.
2275 Moved files to appropriate subdirectories, creating local Makefile.am
2276 in each subdirectory.
2277 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
2278 These are now installed at $datadir/glabels/templates.
2279 - Moved glabels.1 to man subdirectory.
2280 - Moved glabels-2.0.dtd to dtd subdirectory.
2281 - Moved glabels.desktop.in to desktop subdirectory.
2282 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
2284 Moved "./pixmaps" to "./data/pixmaps"
2286 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
2288 Moved libglade files from src to data/glade. Created Makefile.am.
2290 Removed pixmaps from SUBDIRS.
2292 - Removed pixmaps from makefiles.
2293 - Added makefiles for new subdirs of data.
2294 - Added tests for freedesktop.org mime database.
2296 - Added tests for freedesktop.org mime database for post install and
2297 post un-install actions.
2298 * libglabels/Makefile.am:
2299 Moved system template files to $(datadir)/glabels/templates.
2300 * libglabels/libglabels-private.h:
2301 Moved system template files to $(datadir)/glabels/templates.
2303 - Accounted for movement of ui and libglade files.
2304 - Added missing .in files.
2305 - Reorganized by directory.
2307 Accounted for movement of ui and libglade files.
2308 * data/mime/glabels.xml.in:
2309 New file for registering with freedesktop.org mime database.
2311 2004-08-07 Jim Evins <evins@snaught.com>
2313 * src/recent-files/*:
2314 Re-synced to latest libegg/recent-files.
2316 2004-08-07 Jim Evins <evins@snaught.com>
2321 Renamed "./doc" directory to "./help" which contains user documentation,
2322 to be more consistent with other GNOME applications.
2325 2004-07-26 Jim Evins <evins@snaught.com>
2327 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
2328 Corrected button order of merge properties dialog.
2330 2004-07-18 Jim Evins <evins@snaught.com>
2332 * data/glabels-2.0.dtd:
2333 * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
2334 (gl_barcode_get_prefered_n):
2336 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
2337 (gl_label_barcode_get_props), (get_size):
2338 * src/label-barcode.h:
2339 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
2340 (style_changed_cb), (gl_object_editor_set_bc_style),
2341 (gl_object_editor_get_bc_style):
2342 * src/object-editor-data-page.c: (data_radio_toggled_cb),
2343 (gl_object_editor_set_data), (gl_object_editor_get_data):
2344 * src/object-editor-private.h:
2345 * src/object-editor.c: (gl_object_editor_set_key_names):
2346 * src/object-editor.glade:
2347 * src/object-editor.h:
2348 * src/print.c: (draw_barcode_object):
2349 * src/view-barcode.c: (update_object_from_editor_cb),
2350 (update_editor_from_object_cb),
2351 (gl_view_barcode_create_event_handler), (draw_barcode):
2352 * src/xml-label-04.c: (xml04_parse_barcode_props):
2353 * src/xml-label-191.c: (xml191_parse_barcode_props):
2354 * src/xml-label.c: (xml_parse_object_barcode),
2355 (xml_create_object_barcode):
2356 Added "format" attribute to barcode objects. This attribute is used
2357 to properly format freeform barcodes barcodes prior to merge data is
2358 applied, so that barcodes can be accurately layed out. This addresses
2359 remaining issues of feature request #824787. Also added an example of
2360 the format in the object editor.
2362 2004-07-12 Jim Evins <evins@snaught.com>
2364 Various code cleanups.
2366 * src/label-barcode.c:
2367 Removed unneeded include of gnome-glyphlist.h.
2369 * src/label-text.c: (get_size):
2370 Fixed memory leak: unref glyphlists when done with them.
2372 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
2373 * src/object-editor-data-page.c:
2374 (gl_object_editor_prepare_data_page):
2375 * src/object-editor-image-page.c:
2376 (gl_object_editor_prepare_image_page):
2377 * src/object-editor-line-page.c:
2378 (gl_object_editor_prepare_line_page):
2379 * src/object-editor-lsize-page.c:
2380 (gl_object_editor_prepare_lsize_page):
2381 * src/object-editor-position-page.c:
2382 (gl_object_editor_prepare_position_page):
2383 * src/object-editor-size-page.c:
2384 (gl_object_editor_prepare_size_page):
2385 * src/object-editor-text-page.c:
2386 (gl_object_editor_prepare_text_page):
2387 Removed unneeded size groups, originally intended to keep widgets aligned.
2388 Now use tables to lay these out in object-editor.glade.
2390 * src/print.c: (draw_text_object):
2391 Fixed memory leak: unref glyphlists when done with them.
2393 * src/view-barcode.c: (draw_barcode):
2394 Fixed memory leak: unref glyphlists when done with them.
2396 * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
2397 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
2399 - Fixed memory leak: unref glyphlists when done with them.
2401 2004-07-11 Jim Evins <evins@snaught.com>
2403 * data/glabels-2.0.dtd:
2404 * src/label-text.c: (gl_label_text_instance_init), (copy),
2405 (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
2407 * src/object-editor-private.h:
2408 * src/object-editor-text-page.c:
2409 (gl_object_editor_prepare_text_page),
2410 (gl_object_editor_set_text_auto_shrink),
2411 (gl_object_editor_get_text_auto_shrink):
2412 * src/object-editor.c: (gl_object_editor_set_key_names):
2413 * src/object-editor.glade:
2414 * src/object-editor.h:
2415 * src/print.c: (draw_text_object):
2416 * src/view-text.c: (update_object_from_editor_cb),
2417 (update_editor_from_object_cb):
2418 * src/xml-label.c: (xml_parse_object_text),
2419 (xml_create_object_text):
2420 Added option to allow document merge to auto shrink text size to fit
2421 within the text box. The code in print.c that actually shrinks the
2422 text is loosely based on a patch submitted by Mark Harrison
2423 <mark.harrison@velocitynet.com.au>. This addresses feature request
2426 2004-07-11 Jim Evins <evins@snaught.com>
2428 * data/glabels-2.0.dtd:
2429 * libglabels/template.c: (gl_template_rect_label_type_new),
2430 (gl_template_round_label_type_new),
2431 (gl_template_cd_label_type_new), (gl_template_label_type_dup),
2432 (template_full_page):
2433 * libglabels/template.h:
2434 * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
2435 (xml_create_label_node):
2436 * pixmaps/ex-rect-size.png:
2437 * src/print.c: (clip_to_outline), (clip_punchouts):
2438 * src/template-designer.c: (construct_rect_size_page),
2439 (rect_size_page_prepare_cb), (layout_page_prepare_cb),
2441 * src/template-designer.glade:
2442 * src/xml-label-191.c: (xml191_parse_label):
2443 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
2444 properties for rectangular labels. Templates remain backwards compatible,
2445 but this breaks the libglabels API (I don't know of anyone outside of
2446 glabels using libglabels at this time -- what can I say, the program is
2447 is still "unstable"). This addresses the suggestion in Feature Request
2450 2004-07-05 Jim Evins <evins@snaught.com>
2451 * src/print.c: (print_crop_marks), (draw_outline):
2452 Changed crop marks and label outlines to black, instead of 25% gray.
2453 This addresses debian Bug #257460.
2455 2004-07-05 Jim Evins <evins@snaught.com>
2457 * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
2458 * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
2459 Preserve "is_default" of fill and line color_combos when creating from
2462 2004-07-02 Jim Evins <evins@snaught.com>
2465 Created man page. Based on page submitted by Matthew J. Lockner, however
2466 it has been severely edited.
2468 * data/avery-other-templates.xml
2469 * data/misc-other-templates.xml:
2470 Started new files for predefined templates with non-standard sheet sizes.
2471 These have been initially populated with the Avery 06141 and
2472 OfficeMax #86112, both provided by Matthew J. Lockner.
2475 Install above manpage and template files.
2478 Make sure we install man pages.
2480 * src/glabels-batch.c:
2481 Changed short form of help option to '-?' to be consistent with glabels.
2484 Added acknowledgement for above labels.
2486 2004-07-02 Jim Evins <evins@snaught.com>
2488 * src/glabels.c: (main), (save_session_cb):
2489 - Now include libbonoboui.h, recent.h, and file.h to provide missing
2491 - save_session_cb() now returns gboolean.
2492 - Minor formatting changes.
2496 - Now include file.h to provide missing prototype.
2497 - gl_window_get_type() now returns GType, not guint. I believe this may
2498 ultimately be cause of the segfault reported in Bug #982287, since
2499 GType is actually a gulong, which may not be compatible on other
2500 architectures (64bit) -- I cannot personally test this at this time.
2501 I was sloppy in several other xxx_get_type() functions which also
2502 returned guint -- see next group of files:
2504 * src/window.c: (gl_window_get_type):
2505 * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
2506 * src/canvas-hacktext.h:
2507 * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
2508 (gl_hig_category_get_type), (gl_hig_vbox_get_type),
2509 (gl_hig_hbox_get_type):
2511 * src/label-barcode.c: (gl_label_barcode_get_type):
2512 * src/label-barcode.h:
2513 * src/label-box.c: (gl_label_box_get_type):
2515 * src/label-ellipse.c: (gl_label_ellipse_get_type):
2516 * src/label-ellipse.h:
2517 * src/label-image.c: (gl_label_image_get_type):
2518 * src/label-image.h:
2519 * src/label-line.c: (gl_label_line_get_type):
2521 * src/label-object.c: (gl_label_object_get_type):
2522 * src/label-object.h:
2523 * src/label-text.c: (gl_label_text_get_type):
2525 * src/label.c: (gl_label_get_type):
2527 * src/merge-properties-dialog.c:
2528 (gl_merge_properties_dialog_get_type):
2529 * src/merge-properties-dialog.h:
2530 * src/merge-text.c: (gl_merge_text_get_type):
2532 * src/merge.c: (gl_merge_get_type):
2534 * src/object-editor.c: (gl_object_editor_get_type):
2535 * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
2536 * src/prefs-dialog.h:
2537 * src/prefs-model.c: (gl_prefs_model_get_type):
2538 * src/prefs-model.h:
2539 * src/print-dialog.c: (gl_print_dialog_get_type):
2540 * src/print-dialog.h:
2541 * src/template-designer.c: (gl_template_designer_get_type):
2542 * src/template-designer.h:
2543 * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
2544 * src/ui-property-bar.h:
2545 * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
2547 * src/view-barcode.c: (gl_view_barcode_get_type):
2548 * src/view-barcode.h:
2549 * src/view-box.c: (gl_view_box_get_type):
2551 * src/view-ellipse.c: (gl_view_ellipse_get_type):
2552 * src/view-ellipse.h:
2553 * src/view-highlight.c: (gl_view_highlight_get_type):
2554 * src/view-highlight.h:
2555 * src/view-image.c: (gl_view_image_get_type):
2557 * src/view-line.c: (gl_view_line_get_type):
2559 * src/view-object.c: (gl_view_object_get_type):
2560 * src/view-object.h:
2561 * src/view-text.c: (gl_view_text_get_type):
2563 * src/view.c: (gl_view_get_type):
2565 * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
2566 * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
2567 * src/wdgt-image-select.h:
2568 * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
2569 * src/wdgt-media-select.h:
2570 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
2571 * src/wdgt-mini-preview.h:
2572 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
2573 * src/wdgt-print-copies.h:
2574 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
2575 * src/wdgt-print-merge.h:
2576 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
2577 * src/wdgt-rotate-label.h:
2578 - Made sure all xxx_get_type functions returned GType, not guint. This
2579 was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
2580 ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
2581 wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
2582 wdt-print-merge.[ch], and wdgt-rotate-label.[ch]. See separate
2583 window.[ch] details above for more info.
2584 - Reconciled various coding style differences in all xxx_get_type()
2586 * All prototypes include G_GNUC_CONST.
2587 * All prototypes specify the return value as GType, not GtkType
2589 * Info structures are all declared as "static const."
2590 * Generalized the names of type and info variables.
2591 * Miscelaneous formatting.
2593 2004-06-08 Jim Evins <evins@snaught.com>
2599 Don't touch compression of original file -- still defaults to 9 for
2600 new files. Original patch provided by Javier Donaire Segarra
2601 (#912252 in patch tracker).
2603 2004-05-05 Jim Evins <evins@snaught.com>
2605 * data/glabels-2.0.dtd:
2606 Broke DTD previously when adding new barcode types that contain a
2607 plus sign (+). Simply changed the BC_STYLE_TYPE entity to "CDATA"
2608 to avoid the problem.
2609 * data/avery-iso-templates.xml:
2610 * data/zweckform-iso-templates.xml:
2612 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021. Templates
2613 provided by Frank Altpeter.
2614 * libglabels/xml-template.c: (xml_create_label_node):
2615 Reordered markup and layout sub-nodes so that resulting templates will
2616 validate against DTD.
2618 2004-03-13 Jim Evins <evins@snaught.com>
2620 * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
2621 Changed spin callback signals from "value-changed" back to "changed."
2622 This was accidentally introduced in a previous revision, and can cause
2623 size changes just by selecting the size tab.
2625 2004-03-06 Jim Evins <evins@snaught.com>
2627 * src/view.c: (draw_grid_layer):
2628 For round labels (round and cd) adjust grid so that it lines up with
2629 center of label. Also, no longer draw box around label in the grid layer,
2630 it is hidden by he fg layer anyway. Feature suggested by
2631 nemolivier@free.fr. Although the grid is aligned with the center of the
2632 label, the coordinate system is still relative to the upper left corner
2633 of the rectangle containing the label.
2635 2004-02-25 Jim Evins <evins@snaught.com>
2638 Changed version to 2.0pre1cvs
2640 * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
2641 Removed extra xmlFreeDoc() calls upon error. Also print the doc->URL
2642 instead of doc->name fields when errors encountered.
2644 2004-02-21 Jim Evins <evins@snaught.com>
2646 * data/avery-iso-templates.xml:
2647 Added aliases for Avery 8651. Patch provided by Wayne Schuller.
2650 Added libglabels library and include file to installed files.
2653 Final prep for 1.93.3.
2655 2004-02-20 Jim Evins <evins@snaught.com>
2657 * src/glabels-batch.c: (main):
2658 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
2659 as suggested by Javier Donaire Segarra. This addresses bug #901063.
2661 2004-02-16 Jim Evins <evins@snaught.com>
2664 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
2667 Added HAVE_FILE_CHOOSER to INCLUDES.
2669 * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
2670 (gl_file_save_as), (save_as_response):
2671 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
2673 2004-02-16 Jim Evins <evins@snaught.com>
2675 * src/xml-label-04.c: (xml04_parse_image_props):
2676 * src/xml-label-191.c: (xml191_parse_image_props):
2677 * src/xml-label.c: (xml_parse_object_image):
2678 Delay setting image size until after image has been applied to new
2681 2004-02-15 Jim Evins <evins@snaught.com>
2683 * src/label-barcode.c: (gl_label_barcode_set_data),
2684 (gl_label_barcode_set_props):
2685 Don't emit "changed" signal, if no change actually made for these
2686 methods. Reduces number of unnecessary redraws of barcodes.
2688 * src/label-object.h:
2689 * src/label-object.c: (gl_label_object_set_position),
2690 (gl_label_object_set_position_relative), (set_size),
2691 (gl_label_object_set_size),
2692 (gl_label_object_set_size_honor_aspect):
2693 Don't emit "changed" signal, if no change actually made for these
2696 2004-02-15 Jim Evins <evins@snaught.com>
2698 * data/glabels-2.0.dtd:
2699 Added specific subtypes for various barcode types.
2702 * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
2703 (gl_barcode_get_styles_list), (gl_barcode_default_digits),
2704 (gl_barcode_can_text), (gl_barcode_text_optional),
2705 (gl_barcode_can_csum), (gl_barcode_csum_optional),
2706 (gl_barcode_id_to_name), (gl_barcode_name_to_id):
2707 Changed API to use a string id, rather than a fixed enumeration. Id and
2708 name are separate strings. Added entries to backend table for specific
2709 subtypes for various barcode types.
2712 * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
2714 Modified to conform to above API. Now more stringent with data length
2715 for various subtypes.
2717 * src/bc-gnubarcode.h:
2718 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
2719 (is_length_valid), (is_length1_valid), (is_length2_valid):
2720 Modified to conform to above API. Now more stringent with data length
2721 for various subtypes.
2723 * src/label-barcode.h:
2724 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
2725 (gl_label_barcode_get_props), (get_size):
2726 Modified to use above API for storing barcode type.
2728 * src/object-editor.h:
2729 * src/object-editor-bc-page.c: (style_changed_cb),
2730 (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
2731 Modified to use above API for storing barcode type.
2733 * src/object-editor-size-page.c:
2734 (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
2735 (w_spin_cb), (h_spin_cb), (size_reset_cb):
2736 Added debug markers.
2738 * src/object-editor.glade:
2739 Made barcode style combo's text entry non-editable.
2741 * src/print.c: (draw_barcode_object):
2742 Modified to use above API for barcode type.
2744 * src/view-barcode.c: (update_object_from_editor_cb),
2745 (update_editor_from_object_cb),
2746 (gl_view_barcode_create_event_handler), (draw_barcode):
2747 Modified to use above API for barcode type.
2749 * src/xml-label-04.c: (xml04_parse_barcode_props):
2750 * src/xml-label-191.c: (xml191_parse_barcode_props):
2751 * src/xml-label.c: (xml_parse_object_barcode),
2752 (xml_create_object_barcode):
2753 Modified to use above API for barcode type.
2755 2004-02-07 Jim Evins <evins@snaught.com>
2757 * src/stock-pixmaps/Makefile.am:
2758 * src/stock-pixmaps/stock_hchain_24.png:
2759 * src/stock-pixmaps/stock_hchain_broken_24.png:
2760 * src/stock-pixmaps/stock_vchain_24.png:
2761 * src/stock-pixmaps/stock_vchain_broken_24.png:
2762 Added chain pixmaps borrowed from the gimp's default theme.
2765 * src/stock.c: (gl_stock_init), (add_button_icon):
2766 Added above pixmaps to stock icon sets. Created add_button_icon() to
2767 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
2769 * src/wdgt-chain-button.h
2770 * src/wdgt-chain-button.c
2773 Added this Modified version of gimpchainbutton widget, borrowed from
2777 Added acknowledgements of the above borrowing from the gimp.
2779 * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
2781 * src/object-editor.c: (gl_object_editor_construct_chain_button):
2782 * src/object-editor.glade:
2783 Replaced the keep aspect ratio check box with the above chain-button
2786 * src/text-node.c: (gl_text_node_equal):
2788 Added function gl_text_node_equal() to compare text_nodes.
2790 * src/label-image.c: (gl_label_image_set_filename):
2791 Replaced incomplete text_node comparison code with invocation of
2792 gl_text_node_equal. This fixed the problem of not being able to
2793 resize an image using the object_editor if the aspect ratio is not
2796 2004-02-04 Jim Evins <evins@snaught.com>
2798 * src/object-editor-image-page.c:
2799 (gl_object_editor_prepare_image_page):
2800 Track "changed" signal of pixmap entry's GtkEntry rather than its
2801 "activate" signal -- this catches all changes to the entry rather than
2802 just changes resulting from a browse, so one can easily pull previous
2803 entries from the history. (This change is marked below on 2004-02-03,
2804 but somehow never got checked in.)
2806 * src/view-highlight.c: (sl_resize_event_handler),
2807 (sr_resize_event_handler), (st_resize_event_handler),
2808 (sb_resize_event_handler):
2809 Side resize handles will now confirm the actual resize that the object
2810 accepted before adjusting position parameters. Previously some interesting
2811 things happened when resizing a barcode to its minimum size.
2813 2004-02-03 Jim Evins <evins@snaught.com>
2815 * src/object-editor-image-page.c:
2816 (gl_object_editor_prepare_image_page):
2817 Track "changed" signal of pixmap entry's GtkEntry rather than its
2818 "activate" signal -- this catches all changes to the entry rather than
2819 just changes resulting from a browse, so one can easily pull previous
2820 entries from the history.
2822 * src/view-highlight.c: (tl_resize_event_handler),
2823 (tr_resize_event_handler), (bl_resize_event_handler),
2824 (br_resize_event_handler):
2825 Allow control key to be dropped while dragging a corner resize handle
2826 without losing the aspect ratio lock.
2828 2004-02-02 Jim Evins <evins@snaught.com>
2830 * src/label-image.c: (gl_label_image_set_filename):
2831 When setting a new filename adjust size such that the aspect ratio of
2832 the image is preserved using the current size as a bounding box.
2834 * src/view-image.c: (update_object_from_editor_cb):
2835 When updating object from editor, feed back possible size changes to
2836 editor as a result of a possible change in image.
2838 * src/object-editor-size-page.c: (size_reset_cb):
2839 Fixed typo when blocking spin handlers. If the base size is larger than
2840 the max size, treat max size as a bounding box while keeping aspect
2844 2004-02-02 Jim Evins <evins@snaught.com>
2846 * src/label-object.h:
2847 * src/label-object.c: (gl_label_object_set_size),
2848 (gl_label_object_set_size_honor_aspect):
2849 Added gl_label_object_set_size_honor_aspect() which will maintain the
2850 current aspect ratio by modifying the supplied w or h apropriately.
2852 * src/view-highlight.c: (tl_resize_event_handler),
2853 (tr_resize_event_handler), (bl_resize_event_handler),
2854 (br_resize_event_handler):
2855 Corner handles will now maintain the current aspect ratio if the
2856 control key is pressed while resizing. This addresses feature
2860 2004-01-31 Jim Evins <evins@snaught.com>
2863 * data/avery-us-templates.xml:
2864 Added entries for "LSK-3," "LSK-5," and "LSK-8." Submitted by JBadger.
2866 * libglabels/template.c: (read_template_files_from_dir):
2867 Corrected problem with testing for extensions.
2869 * src/object-editor.glade:
2870 Corrected grouping of radio buttons in barcode data page.
2872 * src/print.c: (draw_barcode_object):
2873 * src/view-barcode.c: (draw_barcode):
2874 Corrected problem with calculation of y_offset for locating characters.
2876 2004-01-24 Jim Evins <evins@snaught.com>
2879 * data/avery-us-templates.xml:
2880 Added Avery 5824, submitted by Fred Bacon.
2882 2004-01-20 Jim Evins <evins@snaught.com>
2884 Catching up on a couple of backlogged user template submissions.
2886 * data/avery-iso-templates.xml:
2887 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
2888 Suggested by Linas Jakucionis.
2890 * data/zweckform-iso-templates.xml:
2891 Added Zweckform 4760, submitted by Thomas Vill.
2894 Updated to reflect above submissions.
2896 2004-01-06 Jim Evins <evins@snaught.com>
2898 Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
2899 xml.[ch] into a separate library called libglabels, to facilitate third
2900 party use of glabels template files. This was suggested by Wayne Schuller.
2901 Once split-out, some modifications to the structures and functions to
2902 make a cleaner more useful API, hopefully. Rather extensive changes have
2903 propogated to other modules.
2911 * src/xml-template.h:
2912 * src/xml-template.c:
2915 These files have been moved to libglabels/. API cleanup performed.
2917 * libglabels/libglabels.h:
2918 * libglabels/libglabels-private.h:
2919 * libglabels/Makefile.am:
2920 These files have been added to finish out libglabels.
2927 Modified to reflect new sets of files in src/ and libglabels/.
2929 * COPYING.LIBGLABELS:
2931 Added copy of the LGPL for libglabels, and a copy the GFDL for
2934 * src/glabels-batch.c:
2936 * src/label.c: (gl_label_finalize), (gl_label_set_template),
2937 (gl_label_get_size):
2939 * src/prefs-model.c: (gl_prefs_model_load_settings):
2940 * src/print-dialog.c:
2941 * src/print.c: (gl_print_simple), (gl_print_merge_collated),
2942 (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
2943 (print_crop_marks), (print_label), (draw_outline),
2944 (clip_to_outline), (clip_punchouts):
2945 * src/template-designer.c: (construct_pg_size_page),
2946 (pg_size_page_changed_cb), (layout_page_changed_cb),
2947 (print_test_cb), (build_template):
2948 * src/util.c: (gl_util_fraction):
2950 * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
2951 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
2952 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
2953 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
2954 (draw_markup_margin_round), (draw_markup_margin_cd),
2955 (draw_markup_margin_cd_bc), (draw_markup_line),
2956 (draw_markup_circle), (gl_view_copy):
2957 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
2958 (page_size_entry_changed_cb), (details_update), (get_layout_desc),
2959 (get_label_size_desc):
2960 * src/wdgt-mini-preview.c:
2961 (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
2963 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
2964 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
2965 * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
2966 (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
2967 * src/wdgt-rotate-label.h:
2968 * src/xml-label-04.c: (xml04_parse_media_description):
2969 * src/xml-label-191.c: (gl_xml_label_191_parse),
2970 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
2971 (xml191_parse_markup), (xml191_parse_alias):
2972 * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
2974 Various changes to accomodate new libglabels API.
2976 2004-01-03 Jim Evins <evins@snaught.com>
2981 2004-01-03 Jim Evins <evins@snaught.com>
2984 Added acknowledgement of contributions by Wayne Schuller.
2986 * src/commands.c: (gl_cmd_file_print):
2987 Create extra reference to print dialog, so that it can be properly re-used.
2989 * src/mygal/mygal-combo-box.h:
2990 * src/mygal/mygal-combo-box.c:
2991 (mygal_combo_box_popup_hide_unconditional),
2992 (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
2993 (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
2994 (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
2995 (mygal_combo_box_set_tearable):
2996 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
2997 complete the rename of this widget to prevent namespace collisions
3000 * src/prefs-dialog.glade:
3001 Fixed alignment of Fill/Color widgets.
3003 2004-01-03 Jim Evins <evins@snaught.com>
3005 * data/avery-iso-templates.xml:
3006 Added user submitted templates.
3007 Avery 8435A & 8435B, submitted by Ludger Solbach.
3009 * doc/C/glabels.xml:
3010 Added minimal documentation, noting the new template designer.
3012 2004-01-03 Jim Evins <evins@snaught.com>
3014 * pixmaps/ex-rect-size.png:
3015 * pixmaps/ex-round-size.png:
3016 * pixmaps/ex-cd-size.png:
3017 * pixmaps/Makefile.am:
3018 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
3019 files to be used as illustrations/examples in the template-designer.
3021 * src/template-designer.c: (construct_rect_size_page),
3022 (construct_round_size_page), (construct_cd_size_page),
3023 (construct_nlayouts_page), (rect_size_page_prepare_cb),
3024 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
3025 (layout_page_prepare_cb), (build_template):
3026 * src/template-designer.glade:
3027 Added illustrations for rectangle, round, and cd label size pages.
3028 Added margin spinboxes to these pages, and now add a margin markup
3029 to the constructed template. Added realistic default values for
3030 some of the size spinboxes. Cleaned up the code for setting spinbox
3031 ranges on the layouts page.
3033 2004-01-02 Jim Evins <evins@snaught.com>
3035 * src/object-editor-size-page.c: (h_spin_cb):
3036 Fixed cut-n-paste error in h_spin_cb that loaded h from
3037 the wrong spinbutton.
3039 * src/object-editor.h:
3040 * src/object-editor.c: (gl_object_editor_class_init),
3041 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
3042 * src/object-editor-private.h:
3043 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
3045 Added "size_changed" signal.
3047 * src/view-text.c: (construct_properties_editor),
3048 (update_object_from_editor_cb),
3049 (update_object_from_editor_size_cb):
3050 Track size changes from object editor separately from other
3051 properties. This is so the default size (0,0) of a text
3052 object is not modified unintentionally.
3054 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
3056 Added feature: line spacing - allows you to comfortably space a text box to
3057 fit a label perfectly.
3059 * data/glabels-2.0.dtd:
3060 * src/label-object.c: (gl_label_object_set_text_line_spacing),
3061 (gl_label_object_get_text_alignment),
3062 (gl_label_object_get_text_line_spacing):
3063 * src/label-object.h:
3064 * src/label-text.c: (gl_label_text_class_init),
3065 (gl_label_text_instance_init), (copy), (get_size),
3066 (set_text_line_spacing), (get_text_alignment),
3067 (get_text_line_spacing):
3068 * src/object-editor-private.h:
3069 * src/object-editor-text-page.c:
3070 (gl_object_editor_prepare_text_page),
3071 (gl_object_editor_set_text_line_spacing),
3072 (gl_object_editor_get_text_line_spacing):
3073 * src/object-editor.glade:
3074 * src/object-editor.h:
3075 * src/prefs-dialog.c: (construct_object_page),
3076 (update_object_page_from_prefs), (update_prefs_from_object_page):
3077 * src/prefs-dialog.glade:
3078 * src/prefs-model.c: (gl_prefs_model_save_settings),
3079 (gl_prefs_model_load_settings), (get_float):
3080 * src/prefs-model.h:
3081 * src/print.c: (draw_text_object):
3083 * src/view-text.c: (update_object_from_editor_cb),
3084 (update_editor_from_object_cb),
3085 (gl_view_text_create_event_handler), (draw_hacktext):
3086 * src/view.c: (gl_view_construct),
3087 (gl_view_set_selection_text_line_spacing),
3088 (gl_view_set_default_text_line_spacing),
3089 (gl_view_get_default_text_line_spacing):
3091 * src/xml-label.c: (xml_parse_toplevel_span),
3092 (xml_create_toplevel_span):
3094 2003-12-30 Jim Evins <evins@snaught.com>
3096 * src/template-designer.c:
3097 * src/template-designer.h:
3098 * src/template-designer.glade:
3099 New template designer assistant.
3103 Added entries for src/template-designer.* files.
3105 * pixmaps/ex-1layout.png
3106 * pixmaps/ex-2layouts.png
3107 * pixmaps/Makefile.am:
3108 Added the new image files ex-*.png used as illustrations in the
3109 template designer assistant.
3111 * src/print-dialog.h:
3112 * src/print-dialog.c: (gl_print_dialog_finalize),
3113 (gl_print_dialog_new), (gl_print_dialog_construct),
3114 (gl_print_dialog_force_outline_flag):
3115 Changed first argument of gl_print_dialog_new() from glView to glLabel,
3116 to support printing from the template designer assistant which does not
3117 have a full-fledged view. Nothing else from the view object was being
3118 used by the dialog anyway.
3120 Added the gl_print_dialog_force_outline_flag() method, for better
3121 integration with the template designer assistant.
3125 * src/commands.c: (gl_cmd_file_template_designer),
3126 (gl_cmd_file_print):
3127 Modified print command to provide label instead of view to dialog.
3128 Added the gl_cmd_file_template_designer() command to invoke the
3129 template designer assistant.
3132 * src/glabels-ui.xml:
3133 Added support for template designer assistant.
3135 * src/wdgt-mini-preview.h:
3136 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
3137 (gl_wdgt_mini_preview_set_bg_color):
3138 Preview is now centered in canvas. Added
3139 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
3140 assistant to match the background color with its own.
3142 * src/print.c: (clip_to_outline):
3143 Fixed really stupid bug when adding waste to clip region of rectangular
3144 labels/cards. Each side of the clip region needs to be extended by
3145 twice the waste margin, as well as negatively offset by the waste
3148 2003-12-28 Jim Evins <evins@snaught.com>
3150 * src/prefs-dialog.c: (update_object_page_from_prefs):
3151 Block intermediary function align_toggle_cb() instead of
3152 update_prefs_from_object_page() for the three alignment
3155 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
3157 * src/file.c: (gl_file_new), (gl_file_properties):
3158 Swap button order and set default for higificatory pleasure.
3160 2003-12-27 Jim Evins <evins@snaught.com>
3162 * barcode-0.98/Makefile.am:
3163 One last time: removed doc/Makefile and po/Makefile.in.in from
3166 2003-12-27 Jim Evins <evins@snaught.com>
3168 * barcode-0.98/Makefile.am:
3169 Removed config.stat entry from EXTRA_DIST files.
3171 * barcode-0.98/Makefile.in:
3174 2003-12-27 Jim Evins <evins@snaught.com>
3177 Updated to work with latest gnome-common package from CVS.
3178 Removed recursive configuration of barcode-0.98.
3185 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
3187 * barcode-0.98/Makefile.in:
3188 * barcode-0.98/configure.in:
3189 * barcode-0.98/Makefile.am:
3190 * barcode-0.98/README.glabels:
3191 Modified to ignore the barcode package's build system, and build
3192 as a part of glabels.
3193 Renamed Makefile.in to Makefile.in.dist.
3194 Renamed configure.in to configure.in.dist.
3195 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
3198 * src/mygal/Makefile.am:
3199 * src/recent-files/Makefile.am:
3200 In order to build against the GNOME 2.5 platform,
3201 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
3203 * src/mygal/Makefile.am:
3204 * src/mygal/mygal-combo-box.c:
3205 * src/mygal/mygal-combo-box.h:
3206 * src/mygal/widget-color-combo.c:
3207 * src/mygal/widget-color-combo.h:
3209 In order to build against the GNOME 2.5 platform,
3210 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
3211 collisions with the real gtk_combo_box widget, now a part of gtk.
3213 2003-12-26 Jim Evins <evins@snaught.com>
3219 Moved local versions of get_home_data_dir() in paper.c and
3220 template.c to util package. Cleaned up formatting in
3224 In gl_template_register() save a copy of the template in
3225 ~/.glabels if the template is not known. Still need to
3226 handle duplicate filename case and duplicate name but
3227 different template case.
3231 Moved local definition of NAME_SPACE macro from xml-label.c
3234 * src/xml-template.c:
3235 * src/xml-template.h:
3236 Added function gl_xml_template_write_template_to_file(), used
3237 in gl_template_register().