1 2007-03-23 Jim Evins <evins@snaught.com>
3 Merged all changes from experimental cairo branch to trunk.
4 Trunk no longer depends on libgnomecanvas or libgnomeprint[ui].
6 2007-03-23 Jim Evins <evins@snaught.com>
9 * src/label-object.c: (gl_label_object_class_init),
10 (gl_label_object_get_raw_size), (gl_label_object_get_size):
11 Created "get_raw_size" method.
12 * src/label-barcode.c: (get_size):
13 * src/xml-label.c: (xml_create_object_text),
14 (xml_create_object_barcode):
15 Use new "get_raw_size" method on label-objects when apropos.
17 * src/label-text.c: (get_size), (draw_object), (draw_shadow),
18 (auto_shrink_font_size):
19 Added "auto shrink" functionality back.
21 2007-03-19 Jim Evins <evins@snaught.com>
23 * src/label-text.c: (draw_object), (draw_shadow):
24 Don't use negative scales in workaround from previous commit.
27 2007-03-18 Jim Evins <evins@snaught.com>
30 Forgot to remove include of xml-lable-191 in previous commit.
31 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
32 Workaround for pango Bug #341481. Render text at device scale,
33 and scale font size accordingly. Also, don't do any hinting.
35 2007-03-18 Jim Evins <evins@snaught.com>
37 * src/cairo-ellipse-path.c:
38 * src/cairo-ellipse-path.h:
39 Forgot to add these new files during last mass commit.
41 2007-03-18 Jim Evins <evins@snaught.com>
44 * src/xml-label-191.c:
45 * src/xml-label-191.h:
46 Removed -- Very buggy. Version 1.91 is a very old "unstable" version,
47 so there is no need to keep compatability.
50 * src/cairo-label-path.c:
51 * src/cairo-label-path.h:
52 * src/cairo-markup-path.c:
56 * src/glabels-batch.c:
58 * src/label-barcode.c:
60 * src/label-ellipse.c:
68 * src/merge-properties-dialog.c:
70 * src/new-label-dialog.c:
71 * src/object-editor-bc-page.c:
72 * src/object-editor-data-page.c:
73 * src/object-editor-edit-page.c:
74 * src/object-editor-fill-page.c:
75 * src/object-editor-image-page.c:
76 * src/object-editor-line-page.c:
77 * src/object-editor-private.h:
78 * src/object-editor-shadow-page.c:
79 * src/object-editor-text-page.c:
80 * src/object-editor.c:
86 * src/template-designer.c:
88 * src/ui-property-bar.c:
99 * src/wdgt-media-select.c:
100 * src/wdgt-print-copies.c:
101 * src/wdgt-print-merge.c:
103 * src/xml-label-04.c:
105 Many changes, including:
106 - Move draw methods from view-*() to label-*().
107 - Use same drawing code for on screen view and printing.
108 - Fix all issues exposed with '-Wall -Werror'.
110 2007-03-14 Jim Evins <evins@snaught.com>
113 * src/cairo-handle-path.c:
114 * src/cairo-handle-path.h:
115 * src/cairo-object-path.c:
116 * src/cairo-object-path.h:
117 Removed cairo-handle-path.[ch] and cairo-object-path.[ch].
118 * src/view-barcode.c: (gl_view_barcode_class_init), (draw_object),
120 * src/view-box.c: (gl_view_box_class_init), (draw_object),
121 (draw_shadow), (object_at):
122 * src/view-ellipse.c: (gl_view_ellipse_class_init),
123 (create_ellipse_path), (draw_object), (draw_shadow), (object_at):
124 * src/view-image.c: (gl_view_image_class_init), (draw_object),
126 * src/view-line.c: (gl_view_line_class_init), (draw_object),
127 (draw_shadow), (object_at):
128 * src/view-object.c: (gl_view_object_draw), (gl_view_object_at),
129 (create_handle_path), (gl_view_object_draw_handles),
130 (gl_view_object_handle_at):
132 * src/view-text.c: (gl_view_text_class_init), (draw_object),
133 (draw_shadow), (object_at):
134 * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
135 Some restructuring of new code.
137 2007-03-12 Jim Evins <evins@snaught.com>
140 * src/cairo-object-path.c:
141 * src/view-barcode.c:
142 * src/view-barcode.h:
144 Added barcode object support to view.
146 2007-03-12 Jim Evins <evins@snaught.com>
152 * src/cairo-object-path.c:
153 * src/cairo-object-path.h:
155 * src/view-ellipse.c:
160 Added text object support to view. Added object_at method to all
163 2007-03-11 Jim Evins <evins@snaught.com>
166 * src/cairo-object-path.c: (gl_cairo_object_path),
167 (gl_cairo_image_object_path):
168 * src/view-image.c: (gl_view_image_class_init),
169 (gl_view_image_finalize), (gl_view_image_new),
170 (update_editor_from_label_cb), (draw),
171 (gl_view_image_get_create_cursor),
172 (gl_view_image_create_button_press_event),
173 (gl_view_image_create_motion_event),
174 (gl_view_image_create_button_release_event):
176 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
177 (selection_received_cb), (motion_notify_event_cb),
178 (button_press_event_cb), (button_release_event_cb):
179 Added image object support to view.
181 2007-03-11 Jim Evins <evins@snaught.com>
184 * src/cairo-object-path.c: (gl_cairo_object_path),
185 (gl_cairo_line_object_path):
186 * src/view-line.c: (gl_view_line_class_init), (gl_view_line_new),
187 (update_object_from_editor_cb), (update_editor_from_object_cb),
188 (update_editor_from_label_cb), (draw),
189 (gl_view_line_get_create_cursor),
190 (gl_view_line_create_button_press_event),
191 (gl_view_line_create_motion_event),
192 (gl_view_line_create_button_release_event):
194 * src/view-object.c: (gl_view_object_resize_event):
195 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
196 (selection_received_cb), (motion_notify_event_cb),
197 (button_press_event_cb), (button_release_event_cb):
198 Added line object support to view.
199 * src/cairo-handle-path.c:
200 Made handles slightly larger.
203 2007-03-11 Jim Evins <evins@snaught.com>
206 * src/cairo-handle-path.c:
207 * src/cairo-label-path.c: (gl_cairo_rect_label_path),
208 (gl_cairo_round_label_path), (gl_cairo_cd_label_path):
209 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
210 (gl_cairo_markup_margin_round_path),
211 (gl_cairo_markup_margin_cd_path), (gl_cairo_markup_circle_path):
212 * src/cairo-object-path.c: (gl_cairo_object_path),
213 (gl_cairo_ellipse_object_path):
214 * src/label-object.c: (gl_label_object_rotate):
217 * src/view-ellipse.c: (gl_view_ellipse_class_init),
218 (gl_view_ellipse_new), (update_object_from_editor_cb),
219 (update_editor_from_object_cb), (update_editor_from_label_cb),
220 (draw), (gl_view_ellipse_get_create_cursor),
221 (gl_view_ellipse_create_button_press_event),
222 (gl_view_ellipse_create_motion_event),
223 (gl_view_ellipse_create_button_release_event):
224 * src/view-ellipse.h:
227 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
228 (select_object_real), (selection_received_cb),
229 (motion_notify_event_cb), (button_press_event_cb),
230 (button_release_event_cb):
232 Added ellipse object support to view. Plus other cleanup.
234 2007-03-11 Jim Evins <evins@snaught.com>
237 * src/view-box.c: (gl_view_box_get_create_cursor),
238 (gl_view_box_create_button_press_event),
239 (gl_view_box_create_motion_event),
240 (gl_view_box_create_button_release_event):
241 * src/view-object.c: (gl_view_object_set_view),
242 (gl_view_object_handle_at):
244 * src/view.c: (gl_view_arrow_mode), (gl_view_object_create_mode),
245 (motion_notify_event_cb), (button_press_event_cb),
246 (button_release_event_cb), (key_press_event_cb):
247 Added creation code for box object.
249 2007-03-09 Jim Evins <evins@snaught.com>
251 * src/view-object.c: (gl_view_object_resize_event):
253 * src/view.c: (motion_notify_event_cb):
254 Fix bugs with resizing transformed objects.
255 * src/cairo-handle-path.c: (gl_cairo_handle_path):
256 * src/cairo-object-path.c: (gl_cairo_object_path):
257 * src/cairo-object-path.h:
258 * src/label-object.c: (gl_label_object_init),
259 (gl_label_object_dup), (gl_label_object_get_extent),
260 (gl_label_object_flip_horiz), (gl_label_object_flip_vert),
261 (gl_label_object_rotate), (gl_label_object_set_matrix),
262 (gl_label_object_get_matrix):
263 * src/label-object.h:
264 * src/print.c: (draw_object):
266 * src/view-highlight.c:
267 * src/view-highlight.h:
268 * src/xml-label-191.c: (xml191_parse_object):
269 * src/xml-label.c: (xml_parse_affine_attrs),
270 (xml_create_affine_attrs):
271 Replace libart affine matrices with cairo matrices.
273 2007-03-08 Jim Evins <evins@snaught.com>
276 * src/view.c: (gl_view_update), (motion_notify_event_cb):
277 * src/view-object.c: (gl_view_object_handle_at),
278 (gl_view_object_resize_event):
279 Added resize code -- still a bit buggy.
281 2007-03-07 Jim Evins <evins@snaught.com>
284 * src/cairo-handle-path.c:
285 * src/cairo-handle-path.h:
286 * src/view-box.c: (gl_view_box_new):
287 * src/view-object.c: (gl_view_object_set_object),
288 (gl_view_object_draw_handles), (gl_view_object_handle_at):
290 * src/view.c: (draw_highlight_layer), (select_object_real),
291 (unselect_object_real), (view_handle_at), (motion_notify_event_cb),
292 (button_press_event_cb), (button_release_event_cb),
293 (key_press_event_cb):
295 Added beginnings of object resize handles.
297 2007-03-07 Jim Evins <evins@snaught.com>
300 * src/view.c: (gl_view_init), (gl_view_arrow_mode),
301 (gl_view_object_create_mode), (motion_notify_event_cb),
302 (button_press_event_cb), (button_release_event_cb),
303 (key_press_event_cb):
304 Added move selection support.
306 2007-03-05 Jim Evins <evins@snaught.com>
308 * src/cairo-object-path.c: (gl_cairo_object_path):
309 * src/view-object.c: (gl_view_object_draw),
310 (gl_view_object_draw_highlight):
311 * src/view.c: (view_object_at), (motion_notify_event_cb),
312 (button_press_event_cb), (button_release_event_cb):
313 Additional refinements to select logic.
315 2007-03-05 Jim Evins <evins@snaught.com>
318 * src/view.c: (gl_view_init), (gl_view_construct),
319 (label_changed_cb), (draw_layers), (draw_select_region_layer),
320 (gl_view_select_region), (object_at), (motion_notify_event_cb),
321 (button_press_event_cb), (button_release_event_cb):
322 Added initial select region support and context menu.
324 2007-03-04 Jim Evins <evins@snaught.com>
342 * src/wdgt-print-copies.c:
343 * src/wdgt-print-merge.c:
345 Initial port to a raw Cairo canvas. This removes all remaining
346 dependencies on libgnomecanvas and libgnomeprint[ui]. Basically
347 the view is becoming a canvas widget in its own right. Still needs
349 * src/cairo-label-path.c:
350 * src/cairo-label-path.h:
351 * src/cairo-markup-path.c:
352 * src/cairo-markup-path.h:
353 * src/cairo-object-path.c:
354 * src/cairo-object-path.h:
355 New files to support cairo canvas.
356 * src/canvas-hacktext.c:
357 * src/canvas-hacktext.h:
360 2007-02-18 Jim Evins <evins@snaught.com>
363 GNOME_FONT_BOOK changed to PANGO_WEIGHT_NORMAL.
365 2007-02-14 Jim Evins <evins@snaught.com>
369 * src/bc-gnubarcode.c:
370 * src/bc-gnubarcode.h:
375 * src/canvas-hacktext.c:
376 * src/canvas-hacktext.h:
383 * src/label-barcode.c:
384 * src/label-barcode.h:
387 * src/label-ellipse.c:
388 * src/label-ellipse.h:
393 * src/label-object.c:
394 * src/label-object.h:
399 * src/merge-evolution.c:
400 * src/merge-evolution.h:
403 * src/merge-properties-dialog.c:
404 * src/merge-properties-dialog.h:
411 * src/mini-preview-pixbuf.h:
412 * src/new-label-dialog.c:
413 * src/new-label-dialog.h:
414 * src/object-editor-bc-page.c:
415 * src/object-editor-data-page.c:
416 * src/object-editor-edit-page.c:
417 * src/object-editor-fill-page.c:
418 * src/object-editor-image-page.c:
419 * src/object-editor-line-page.c:
420 * src/object-editor-lsize-page.c:
421 * src/object-editor-position-page.c:
422 * src/object-editor-private.h:
423 * src/object-editor-size-page.c:
424 * src/object-editor-text-page.c:
425 * src/object-editor.c:
426 * src/object-editor.h:
427 * src/pixbuf-cache.c:
428 * src/pixbuf-cache.h:
429 * src/prefs-dialog.c:
430 * src/prefs-dialog.h:
438 * src/template-designer.c:
443 * src/ui-property-bar.c:
444 * src/ui-property-bar.h:
453 * src/view-barcode.c:
454 * src/view-barcode.h:
457 * src/view-ellipse.c:
458 * src/view-ellipse.h:
459 * src/view-highlight.c:
460 * src/view-highlight.h:
471 * src/wdgt-chain-button.c:
472 * src/wdgt-chain-button.h:
473 * src/wdgt-media-select.c:
474 * src/wdgt-mini-preview.c:
475 * src/wdgt-print-copies.c:
476 * src/wdgt-print-copies.h:
477 * src/wdgt-print-merge.c:
478 * src/wdgt-print-merge.h:
479 * src/wdgt-rotate-label.c:
481 * src/xml-label-04.c:
482 * src/xml-label-04.h:
483 * src/xml-label-191.c:
484 * src/xml-label-191.h:
488 Assorted superficial cleanup. Including:
489 - Use G_DEFINE_TYPE for all objects.
490 - Reconcile style of all class initializer functions
491 - Reconcile style of all finalize functions
492 - Add emacs mode line to all source files
494 2007-02-06 Jim Evins <evins@snaught.com>
496 Assorted cleanup and removal of deprecated items.
501 Removed annoying splash screen.
502 * src/glabels-batch.c: (main):
503 * src/glabels.c: (main):
504 Converted from popt to GOption.
505 * src/object-editor-shadow-page.c:
506 (gl_object_editor_set_shadow_state):
507 Removed deprecated method on GtkToggleButton.
508 * src/ui-commands.c: (gl_ui_cmd_help_about):
509 Removed dependency on libgnomui/qnome-url.h.
510 * src/template-designer.c:
511 Removed dependency on libgnome/gnome-program.h.
514 2007-02-04 Jim Evins <evins@snaught.com>
519 * src/print.c: (draw_text_object):
520 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_construct):
521 Removed GnomeCanvas artifacts from color.[ch] and related modules.
523 2007-02-04 Jim Evins <evins@snaught.com>
525 * src/wdgt-mini-preview.c:
526 * src/wdgt-mini-preview.h:
527 Ported widget from GnomeCanvas to Cairo.
529 2007-02-03 Jim Evins <evins@snaught.com>
531 * data/glade/template-designer.glade:
532 * src/template-designer.c:
533 * src/template-designer.h:
534 Ported GnomeDruid to GtkAssistant. Since libglade does not
535 yet support the GtkAssistant and we derive directly from
536 the Assistant, the pages are layed out in a GtkNotebook in
537 the glade description -- we then append each page to the
540 2007-01-25 Jim Evins <evins@snaught.com>
542 * data/glade/object-editor.glade:
543 Added dummy page to notebook, to prevent shadow page from
544 becoming the default current page at creation.
545 * src/view-box.c: (construct_properties_editor):
546 * src/view-ellipse.c: (construct_properties_editor):
547 * src/view-line.c: (construct_properties_editor):
548 * src/view-text.c: (construct_properties_editor):
549 Reconciled order of params.
551 2007-01-19 Jim Evins <evins@snaught.com>
553 * src/label-barcode.h:
554 * src/label-object.c: (gl_label_object_set_font_weight),
555 (gl_label_object_set_text_alignment),
556 (gl_label_object_get_font_weight),
557 (gl_label_object_get_text_alignment):
558 * src/label-object.h:
559 * src/label-text.c: (gl_label_text_instance_init), (copy),
560 (get_size), (set_font_family), (set_font_weight),
561 (set_text_alignment), (get_font_weight), (get_text_alignment):
563 * src/object-editor-text-page.c:
564 (gl_object_editor_prepare_text_page),
565 (gl_object_editor_set_font_family),
566 (gl_object_editor_set_font_weight),
567 (gl_object_editor_get_font_weight),
568 (gl_object_editor_set_text_alignment),
569 (gl_object_editor_get_text_alignment),
570 (gl_object_editor_set_text_color):
571 * src/object-editor.h:
572 * src/prefs-dialog.c: (construct_object_page),
573 (update_object_page_from_prefs), (update_prefs_from_object_page):
574 * src/prefs-model.c: (gl_prefs_model_save_settings),
575 (gl_prefs_model_load_settings):
577 * src/print.c: (draw_text_object):
578 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
579 (reset_to_default_properties), (update_text_properties),
580 (font_bold_toggled_cb), (text_align_toggled_cb):
582 * src/util.c: (gl_util_align_to_string), (gl_util_string_to_align),
583 (gl_util_weight_to_string), (gl_util_string_to_weight),
584 (gl_util_get_font_family_list), (gl_util_font_family_list_free):
586 * src/view-text.c: (update_object_from_editor_cb),
587 (update_editor_from_object_cb), (draw_hacktext), (draw_cursor):
588 * src/view.c: (gl_view_set_selection_text_alignment),
589 (gl_view_set_default_text_alignment),
590 (gl_view_get_default_text_alignment):
592 * src/xml-label-04.c: (xml04_parse_text_props):
593 * src/xml-label-191.c: (xml191_parse_text_props):
594 * src/xml-label.c: (xml_parse_object_text),
595 (xml_parse_toplevel_span), (xml_create_object_text),
596 (xml_create_toplevel_span):
597 Converted all model internals to Pango. GnomeFont remains in
598 view until GnomeCanvas can be replaced with a cairo-based canvas.
600 2007-01-17 Jim Evins <evins@snaught.com>
606 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type),
607 (gl_wdgt_print_copies_construct):
608 * src/wdgt-print-copies.h:
609 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type),
610 (gl_wdgt_print_merge_construct):
611 * src/wdgt-print-merge.h:
612 Removed all remaining HIG wrapper widgets.
614 2007-01-16 Jim Evins <evins@snaught.com>
617 * src/print-dialog.c:
618 * src/print-dialog.h:
621 * src/template-designer.c: (print_test_cb):
622 * src/ui-commands.c: (gl_ui_cmd_file_print):
624 Renamed PrintDialog to PrintOp. Added constructor for batch
626 * src/glabels-batch.c: (main):
627 Converted to use new PrintOp object for printing.
629 2007-01-15 Jim Evins <evins@snaught.com>
631 * data/glade/Makefile.am:
632 * data/glade/print-custom-widget.glade:
633 * src/print-dialog.c:
634 * src/print-dialog.h:
637 * src/template-designer.c: (print_test_cb):
638 * src/ui-commands.c: (gl_ui_cmd_file_print):
639 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_copies):
640 * src/wdgt-print-merge.h:
641 * src/window.c: (gl_window_init):
643 Initial conversion to GtkPrintOperation.
645 - Remove font and other libgnomeprint[ui] from elsewhere
646 - Add batch initialization of print operation
648 2007-01-08 Jim Evins <evins@snaught.com>
650 Updated dependencies. Set version to 2.1.pre4cvs.
652 2007-01-03 Jim Evins <evins@snaught.com>
655 Removed EggRecent stuff.
664 Ported from EggRecent to GtkRecentManager.
667 2007-01-02 Jim Evins <evins@snaught.com>
670 * iec16022-0.2.1/BUGS:
671 * iec16022-0.2.1/CHANGELOG:
672 * iec16022-0.2.1/CREDITS:
673 * iec16022-0.2.1/INSTALL:
674 * iec16022-0.2.1/LICENSE:
675 * iec16022-0.2.1/Makefile.am:
676 * iec16022-0.2.1/Makefile.dist:
677 * iec16022-0.2.1/README:
678 * iec16022-0.2.1/README.glabels:
679 * iec16022-0.2.1/TODO:
680 * iec16022-0.2.1/iec16022.1:
681 * iec16022-0.2.1/iec16022.c:
682 * iec16022-0.2.1/iec16022ecc200.c:
683 * iec16022-0.2.1/iec16022ecc200.h:
684 * iec16022-0.2.1/image.c:
685 * iec16022-0.2.1/image.h:
686 * iec16022-0.2.1/reedsol.c:
687 * iec16022-0.2.1/reedsol.h:
688 * iec16022-0.2.1/test/testsuite-example.bin:
689 * iec16022-0.2.1/test/testsuite-example.eps:
690 * iec16022-0.2.1/test/testsuite-example.hex:
691 * iec16022-0.2.1/test/testsuite-example.png:
692 * iec16022-0.2.1/test/testsuite-example.text:
693 * iec16022-0.2.1/test/testsuite.sh:
694 Include modified copy of iec16022-0.2.1 to provide encoding
695 support for datamatrix 2D barcodes.
700 Added initial datamatrix 2D barcode backend to barcode code.
703 Automatic updates to later versions of these files.
705 2006-11-28 Jim Evins <evins@snaught.com>
707 * data/templates/avery-iso-templates.xml:
708 * data/templates/avery-us-templates.xml:
709 * data/templates/categories.xml:
710 * data/templates/misc-iso-templates.xml:
711 * data/templates/misc-us-templates.xml:
712 * data/templates/zweckform-iso-templates.xml:
715 2006-09-12 Jim Evins <evins@snaught.com>
717 * data/dtd/glabels-2.0.dtd:
718 * data/templates/Makefile.am:
719 * data/templates/avery-iso-templates.xml:
720 * data/templates/avery-other-templates.xml:
721 * data/templates/avery-us-templates.xml:
722 * data/templates/categories.xml:
723 * data/templates/misc-iso-templates.xml:
724 * data/templates/misc-other-templates.xml:
725 * data/templates/zweckform-iso-templates.xml:
726 * data/glade/Makefile.am:
727 * data/glade/new-label-dialog.glade:
728 * data/glade/wdgt-media-select.glade:
729 * data/glade/wdgt-rotate-label.glade:
730 * libglabels/Makefile.am:
731 * libglabels/category.c:
732 * libglabels/category.h:
733 * libglabels/libglabels.h:
734 * libglabels/paper.c:
735 * libglabels/template.c:
736 * libglabels/template.h:
737 * libglabels/xml-category.c:
738 * libglabels/xml-category.h:
739 * libglabels/xml-template.c:
740 Added support for category meta data.
743 * src/mini-preview-pixbuf.c:
744 * src/mini-preview-pixbuf.h:
745 * src/new-label-dialog.c:
746 * src/new-label-dialog.h:
747 * src/wdgt-media-select.c:
748 * src/wdgt-media-select.h:
749 * src/wdgt-rotate-label.c:
750 * src/wdgt-rotate-label.h:
751 New "new label" dialog.
753 2006-05-27 Jim Evins <evins@snaught.com>
758 Preparation for 2.1.3.
764 2006-05-22 Jim Evins <evins@snaught.com>
766 * src/print.c: (draw_barcode_object):
767 Don't print "Invalid barcode data" if data field is empty. Patch provided
768 by Darren Warner <warnerd@users.sourceforge.net>. Fixes Bug #1479839.
770 Added acknowledgment for above patch.
771 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
772 * src/bc-postnet.c: (postnet_code):
773 Removed "Invalid barcode data" warnings from stderr.
774 * src/view-barcode.c: (draw_barcode):
775 Draw box around barcode extent if data empty or invalid. Center a
776 message whether the data is empty or invalid in box.
778 2006-05-22 Jim Evins <evins@snaught.com>
780 * src/print.c: (draw_text_object):
781 Check shadow state when printing text.
783 2006-05-20 Jim Evins <evins@snaught.com>
785 * src/ui-commands.c: (gl_ui_cmd_view_grid_toggle),
786 (gl_ui_cmd_view_markup_toggle):
787 Fixed crash when grid or markup have been toggled off during
788 a previous session. Bug #1434324.
790 2006-04-05 Jim Evins <evins@snaught.com>
792 * src/object-editor.c: (gl_object_editor_set_key_names):
793 Fixed potential crash when freeing empty key list.
795 2006-03-11 Jim Evins <evins@snaught.com>
797 * src/print.c: (draw_text_object):
798 * src/view-text.c: (gl_view_text_new),
799 (construct_properties_editor), (update_object_from_editor_cb),
800 (update_editor_from_object_cb), (update_editor_from_label_cb),
802 Added shadow support to text object.
804 2006-02-18 Jim Evins <evins@snaught.com>
806 * src/print.c: (draw_line_object):
807 * src/view-line.c: (gl_view_line_new),
808 (construct_properties_editor), (update_canvas_item_from_object_cb),
809 (update_object_from_editor_cb), (update_editor_from_object_cb),
810 (update_editor_from_label_cb):
811 Added shadow support to line object.
813 2006-02-16 Jim Evins <evins@snaught.com>
817 * src/print.c: (draw_ellipse_object):
818 * src/view-ellipse.c: (gl_view_ellipse_new),
819 (construct_properties_editor), (update_canvas_item_from_object_cb),
820 (update_object_from_editor_cb), (update_editor_from_object_cb),
821 (update_editor_from_label_cb):
822 Added shadow support to ellipse object.
824 2006-02-15 Jim Evins <evins@snaught.com>
826 * src/label-object.c:
827 Changed default shadow offsets.
828 * src/view-box.c: (gl_view_box_new):
829 Simplified gl_view_box_new() so that is does not duplicate code
830 in update_canvas_item_from_object_cb().
832 2006-02-07 Jim Evins <evins@snaught.com>
834 * data/glade/object-editor.glade:
835 Fixed color groups of color combos.
837 Added default shadow color.
838 * src/object-editor.c: (gl_object_editor_construct_color_combo):
839 Added shadow color group.
841 2006-02-06 Jim Evins <evins@snaught.com>
843 * src/object-editor-shadow-page.c:
844 Forgot to add this file.
845 * src/view-box.c: (gl_view_box_new),
846 (update_canvas_item_from_object_cb), (update_editor_from_label_cb):
847 Update limits on shadow offset spinbuttons.
849 2006-01-19 Jim Evins <evins@snaught.com>
851 * src/merge-evolution.c: (gl_merge_evolution_get_key_list):
852 Initialize key_list to NULL.
853 * data/glade/object-editor.glade:
857 * src/label-object.c:
858 * src/label-object.h:
859 * src/object-editor-fill-page.c:
860 * src/object-editor-private.h:
861 * src/object-editor.c:
862 * src/object-editor.h:
864 Created infrastructure for shadow support.
867 Initial shadow support in box object only.
869 2006-01-05 Jim Evins <evins@snaught.com>
871 * src/merge-properties-dialog.c: (src_changed_cb):
872 Be extra paranoid before calling strcmp().
873 * src/merge.c: (gl_merge_set_src):
874 Don't make (merge == NULL) a critical error.
876 2005-12-22 Jim Evins <evins@snaught.com>
878 * src/glabels-batch.c: (main):
879 Compile warning free with gcc 4.0.
881 2005-12-21 Jim Evins <evins@snaught.com>
884 Updated example RPM spec file.
886 2005-12-21 Jim Evins <evins@snaught.com>
890 Preparation for 2.1.2.
892 2005-12-20 Jim Evins <evins@snaught.com>
895 Define unique G_LOG_DOMAIN for glabels.
896 * src/critical-error-handler.c: (gl_critical_error_handler_init):
897 * src/warning-handler.c: (gl_warning_handler_init),
899 Register for G_LOG_DOMAIN instead of NULL.
901 2005-12-10 Jim Evins <evins@snaught.com>
903 * src/merge-evolution.c:
907 2005-12-08 Jim Evins <evins@snaught.com>
909 * libglabels/paper.c: (read_paper_files_from_dir):
910 * libglabels/template.c: (gl_template_register),
911 (read_template_files_from_dir):
912 * libglabels/xml-paper.c: (gl_xml_paper_read_papers_from_file),
913 (gl_xml_paper_parse_papers_doc):
914 * libglabels/xml-template.c:
915 (gl_xml_template_read_templates_from_file),
916 (gl_xml_template_parse_templates_doc),
917 (gl_xml_template_parse_template_node),
918 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
919 (xml_parse_label_cd_node), (xml_parse_layout_node),
920 (xml_parse_markup_margin_node), (xml_parse_markup_line_node),
921 (xml_parse_markup_circle_node),
922 (gl_xml_template_write_templates_to_file), (xml_create_label_node):
923 * libglabels/xml.c: (gl_xml_get_prop_length):
924 Re-classified g_warnings to g_messages.
926 * src/glabels.c: (main):
927 * src/warning-handler.c: (gl_warning_handler_init),
929 * src/warning-handler.h:
930 Added warning message handler to make sure the user is
931 presented with appropriate non-fatal errors.
932 * src/critical-error-handler.c: (critical_error_handler):
933 Changed exit to abort.
934 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new), (render_pass1):
935 * src/bc-postnet.c: (postnet_code):
936 * src/bc.c: (id_to_index), (name_to_index):
937 * src/merge.c: (gl_merge_register_backend), (gl_merge_new):
938 * src/object-editor.c: (gl_object_notebook_construct_valist):
939 * src/prefs-dialog.c: (update_locale_page_from_prefs):
940 * src/prefs.c: (gl_prefs_get_units_per_point),
941 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
942 (gl_prefs_get_units_string):
943 * src/print.c: (draw_outline), (clip_to_outline), (clip_punchouts):
944 * src/splash.c: (gl_splash):
945 * src/ui-commands.c: (gl_ui_cmd_help_contents):
946 * src/view-highlight.c: (gl_view_highlight_new),
947 (highlight_resizable_box_construct), (object_changed_cb),
948 (view_scale_changed_cb):
949 * src/view.c: (draw_label_layer), (draw_bg_fg_layers),
950 (draw_markup_layer), (draw_markup_margin),
951 (gl_view_object_create_mode), (canvas_event),
952 (selection_received_cb):
953 * src/wdgt-mini-preview.c: (mini_outline_list_new):
954 * src/wdgt-rotate-label.c: (mini_preview_canvas_update):
955 * src/xml-label-04.c: (gl_xml_label_04_parse),
956 (xml04_parse_media_description), (xml04_parse_text_props),
957 (xml04_parse_barcode_props):
958 * src/xml-label-191.c: (gl_xml_label_191_parse),
959 (xml191_parse_objects), (xml191_parse_object),
960 (xml191_parse_text_props), (xml191_parse_image_props),
961 (xml191_parse_barcode_props), (xml191_parse_data),
962 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
963 (xml191_parse_markup):
964 * src/xml-label.c: (gl_xml_label_open), (gl_xml_label_open_buffer),
965 (xml_doc_to_label), (xml_parse_label), (xml_parse_objects),
966 (xml_parse_object_text), (xml_parse_object_image),
967 (xml_parse_object_barcode), (xml_parse_data),
968 (xml_parse_toplevel_span), (gl_xml_label_save),
969 (xml_create_objects):
970 Re-classified g_warnings to g_messages.
971 * src/merge-evolution.c: (gl_merge_evolution_open),
972 (gl_merge_evolution_close), (gl_merge_evolution_get_record):
973 Use g_warning to output errors encountered while
974 communicating with the evolution data server
975 instead of embedding them in the data.
977 2005-12-08 Jim Evins <evins@snaught.com>
979 * libglabels/libglabels-private.h:
981 * libglabels/paper.c: (read_papers):
982 * libglabels/template.c: (read_templates):
983 Made appropriate warnings critical.
985 * src/critical-error-handler.h:
986 * src/critical-error-handler.c: (gl_critical_error_handler_init),
987 (critical_error_handler):
988 Created critical error handler.
989 * src/glabels.c: (main):
990 Register critical error handler.
991 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
992 * src/object-editor.c: (gl_object_editor_init):
993 * src/prefs-dialog.c: (gl_prefs_dialog_init):
994 * src/template-designer.c: (gl_template_designer_init):
995 * src/ui-property-bar.c: (gl_ui_property_bar_instance_init):
996 Made appropriate warnings critical.
998 2005-11-27 Jim Evins <evins@snaught.com>
1000 * src/merge-evolution.c: (gl_merge_evolution_get_key_list),
1001 (gl_merge_evolution_get_primary_key),
1002 (gl_merge_evolution_get_record):
1003 Don't create "record_key" pseudo-key. Don't populate
1004 fields with null data.
1006 2005-11-25 Jim Evins <evins@snaught.com>
1008 * src/merge-evolution.c: (gl_merge_evolution_finalize),
1009 (gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
1010 (gl_merge_evolution_get_record), (gl_merge_evolution_copy),
1012 Query EDS for all supported fields. Patch provided by
1013 Austin Henry <ahenry@users.sourceforge.net>.
1015 2005-10-29 Jim Evins <evins@snaught.com>
1017 * src/glabels.c: (main):
1018 * src/label-barcode.c: (gl_label_barcode_finalize):
1019 * src/label-text.c: (gl_label_text_finalize), (set_font_family):
1020 * src/label.c: (gl_label_instance_init), (gl_label_finalize):
1021 * src/object-editor.c: (gl_object_editor_finalize):
1022 Another pass at valgrinding -- plugged several memory leaks.
1023 * src/view-text.c: (gl_view_text_new),
1024 (update_canvas_item_from_object_cb), (draw_hacktext):
1025 Commented out artifacts of edit-in-place code.
1027 2005-10-28 Jim Evins <evins@snaught.com>
1029 * src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
1030 Fixed use of uninitialized variable. Caught by
1031 d binderman <dcb314@hotmail.com>.
1033 2005-10-27 Jim Evins <evins@snaught.com>
1035 * src/merge-evolution.c: (gl_merge_evolution_get_record):
1036 * src/merge-vcard.c: (gl_merge_vcard_get_record),
1038 Additional cleanup of EDS and vcard backends. Provided by
1039 Austin Henry <ahenry@users.sourceforge.net>.
1041 2005-10-24 Jim Evins <evins@snaught.com>
1045 * src/merge-evolution.c:
1046 * src/merge-evolution.h:
1047 * src/merge-init.c: (gl_merge_init):
1048 * src/merge-properties-dialog.c: (type_changed_cb):
1049 * src/merge-vcard.c:
1050 * src/merge-vcard.h:
1051 * src/ui-commands.c: (gl_ui_cmd_help_about):
1052 Added Evolution Data Server and VCard merge backends. Original patch
1053 provided by Austin Henry <ahenry@users.sourceforge.net>.
1055 Only support EDS and VCard backends if libebook is installed. Allow
1056 user to disable support, even if installed.
1058 2005-10-24 Jim Evins <evins@snaught.com>
1061 * data/templates/avery-iso-templates.xml:
1062 * data/templates/avery-us-templates.xml:
1063 * data/templates/misc-iso-templates.xml:
1064 * data/templates/zweckform-iso-templates.xml:
1065 Collected all template changes and submissions since last
1068 2005-10-23 Jim Evins <evins@snaught.com>
1071 * data/mime/Makefile.am:
1072 Added configure options to disable update-mime-database and
1073 update-desktop-database as part of the install. Patch
1074 provided by Leonardo Boshell (qhoracio@sourceforge.net).
1076 2005-10-23 Jim Evins <evins@snaught.com>
1079 * libglabels/xml.c: (gl_xml_get_prop_string),
1080 (gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
1081 (gl_xml_is_node), (gl_xml_get_node_content):
1082 Added new XML utility functions.
1083 * libglabels/xml-paper.c:
1084 * libglabels/xml-template.c:
1086 Cleanup by using new xml utilities created above.
1087 * libglabels/paper.c: (gl_paper_free):
1088 * src/file.c: (new_response):
1089 * src/object-editor-image-page.c: (add_image_filters_to_chooser):
1090 * src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
1091 (gl_pixbuf_cache_get_pixbuf):
1092 * src/ui-property-bar.c:
1093 (gl_ui_property_bar_construct_color_combo):
1094 * src/view-highlight.c: (gl_view_highlight_finalize):
1095 * src/view-image.c: (update_object_from_editor_cb):
1096 * src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
1097 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
1098 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
1099 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
1100 (draw_markup_margin_round), (draw_markup_margin_cd),
1101 (draw_markup_margin_cd_bc):
1102 * src/wdgt-mini-preview.c: (mini_outline_list_new):
1103 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
1104 Plugged various memory leaks located with valgrind.
1105 * src/view-image.c: (update_canvas_item_from_object_cb):
1106 Don't allow a width or height of zero when drawing pixbuf.
1108 2005-10-22 Jim Evins <evins@snaught.com>
1110 * libglabels/xml-paper.c:
1111 * libglabels/xml-template.c:
1114 * src/bc-gnubarcode.c:
1115 * src/canvas-hacktext.c:
1117 * src/object-editor-data-page.c:
1118 * src/print-dialog.c:
1121 * src/template-designer.c:
1123 * src/ui-property-bar.c:
1125 * src/view-barcode.c:
1127 * src/view-ellipse.c:
1132 * src/wdgt-media-select.c:
1133 * src/xml-label-04.c:
1134 * src/xml-label-191.c:
1136 Modified to compile warning free with gcc-4.0. Mostly
1137 casting to change signedness of characters. Did not
1138 attack gnu-barcode library yet.
1140 2005-10-22 Jim Evins <evins@snaught.com>
1142 * src/glabels.c: (main):
1143 * src/splash.c: (gl_splash):
1144 Removed some small memory leaks.
1148 2005-09-19 Jim Evins <evins@snaught.com>
1150 * data/glade/property-bar.glade:
1151 Remove items from font_family_combo. This prevents the
1152 double entry after adding text model and list of fonts.
1153 * src/ui-property-bar.c: (reset_to_default_properties):
1154 Free font_family_list.
1156 2005-07-01 Jim Evins <evins@snaught.com>
1159 Updated italian translation (Daniele Medri)
1161 2005-06-26 Jim Evins <evins@snaught.com>
1163 * docs/libglabels/libglabels-decl-list.txt:
1164 Somehow never got checked in before.
1165 * docs/libglabels/libglabels.types:
1166 Removed -- don't need it afterall.
1168 2005-06-20 Jim Evins <evins@snaught.com>
1171 Final prep for 2.1.1 release.
1173 2005-06-20 Jim Evins <evins@snaught.com>
1176 Final preps for 2.1.1 release.
1177 * docs/libglabels/libglabels.types:
1178 Somehow never got checked in before.
1180 Bring up-to-date with recent reorg of ui code.
1183 2005-06-19 Jim Evins <evins@snaught.com>
1185 * src/template-designer.c: (construct_layout_page):
1186 Removed attempt to match background color of mini preview widget to
1189 2005-06-17 Jim Evins <evins@snaught.com>
1191 * help/C/figures/merge-ex2-4.png:
1192 * help/C/glabels.xml:
1193 Fixed spelling error.
1195 2005-06-13 Jim Evins <evins@snaught.com>
1197 * help/C/figures/merge-ex1-1.png:
1198 * help/C/figures/merge-ex1-2.png:
1199 * help/C/figures/merge-ex1-3.png:
1200 * help/C/figures/merge-ex1-4.png:
1201 * help/C/figures/merge-ex2-1.png:
1202 * help/C/figures/merge-ex2-2.png:
1203 * help/C/figures/merge-ex2-3.png:
1204 * help/C/figures/merge-ex2-4.png:
1205 Added figures for document merge tutorial.
1206 * help/C/glabels.xml:
1207 Added document merge tutorial.
1209 2005-05-19 Jim Evins <evins@snaught.com>
1211 * data/glade/merge-properties-dialog.glade:
1212 Fixed irregular spacing.
1213 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
1214 (gl_merge_properties_dialog_construct):
1215 Set outer padding and remove separator.
1217 2005-05-18 Jim Evins <evins@snaught.com>
1221 Removed glHigDialog class.
1222 * src/file.c: (gl_file_new), (create_new_dialog_widgets),
1223 (gl_file_properties), (create_properties_dialog_widgets):
1224 * src/prefs-dialog.h:
1225 * src/prefs-dialog.c: (gl_prefs_dialog_get_type),
1226 (gl_prefs_dialog_init), (gl_prefs_dialog_construct):
1227 * src/print-dialog.h:
1228 * src/prefs-dialog.h:
1229 * src/print-dialog.c: (gl_print_dialog_get_type),
1230 (gl_print_dialog_init), (gl_print_dialog_construct):
1231 Replaced all instances of glHigDialog with GtkDialog.
1233 2005-05-17 Jim Evins <evins@snaught.com>
1237 Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
1238 * src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
1239 (save_as_response), (gl_file_close):
1240 Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.
1242 2005-05-15 Jim Evins <evins@snaught.com>
1244 * src/ui-commands.h:
1252 A little code reformatting -- no functional changes.
1254 2005-05-14 Jim Evins <evins@snaught.com>
1257 Removed obsolete macros.
1259 Added marshalling template to support new view signal: "context_menu_activate."
1261 * src/view.c: (gl_view_class_init), (gl_view_construct),
1262 (canvas_event_arrow_mode):
1263 - Removed hardcoded context menus and added new signal "context_menu_activate"
1264 to push this up to the uimanager.
1265 - Removed merge properties and print dialogs so that they can be managed with
1266 the window by the uimanager.
1267 * src/merge-properties-dialog.h:
1268 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
1269 (gl_merge_properties_dialog_construct):
1270 Changed calling convention of gl_merge_properties_dialog_new() to use
1271 glLabel and GtkWindow instead of view to make more consistent with other
1273 * src/print-dialog.h:
1274 * src/print-dialog.c: (gl_print_dialog_new),
1275 (gl_print_dialog_construct):
1276 Removed last artifact of libbonoboui.
1277 * src/ui-commands.c: (gl_ui_cmd_file_print),
1278 (gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
1279 Reconciled style for launching dialogs.
1280 * src/ui.c: (gl_ui_new):
1281 Added context menus to ui manager.
1282 * src/view-object.c: (item_event_arrow_mode):
1283 No longer try to select objects with right-click.
1285 * src/window.c: (gl_window_init), (gl_window_set_label),
1286 (context_menu_activate_cb):
1287 Context menus and all dialogs are now managed in a consistent way in window
1290 2005-05-11 Jim Evins <evins@snaught.com>
1293 * src/window.c: (gl_window_init), (gl_window_destroy):
1294 * src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
1295 * src/ui-commands.c: (gl_ui_cmd_file_open_recent):
1296 Moved management of recent_view back from window.c to ui.c -- it just feels
1299 2005-05-10 Jim Evins <evins@snaught.com>
1302 * src/window.c: (gl_window_init):
1304 * src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
1305 (menu_item_select_cb), (menu_item_deselect_cb):
1306 Added GtkStatusbar which displays menu tooltips.
1308 2005-05-09 Jim Evins <evins@snaught.com>
1310 Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
1315 Removed dependencies on libbonoboui.
1317 * data/ui/Makefile.am:
1318 * data/ui/glabels-ui.xml:
1319 Removed data/ui directory.
1320 * data/glade/Makefile.am:
1321 * data/property-bar.glade:
1322 Added glade description of property-bar for new libglade implementation
1329 * src/ui-commands.h:
1330 * src/ui-commands.c:
1331 Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
1332 since the distinction between "commands" and "tools" is no longer that clear.
1335 Modified to expect glWindow instead of GtkWindow. gl_file_open_recent()
1336 no longer has knowledge of eggRecent*.
1337 * src/glabels.c: (main):
1338 Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
1340 * src/object-editor.c: (gl_object_editor_init):
1341 Make sure notebook does not respond to a "show_all" on the parent.
1342 * src/recent-files/Makefile.am:
1343 * src/recent-files/*.[ch]
1344 Updated from latest version of libegg which now has a view based on
1345 GtkUIManager. Removed unused bonobo and gtk views.
1346 * src/ui-property-bar.h:
1347 * src/ui-property-bar.c:
1348 New implementation based on libglade.
1351 Sidebar is now simply a GtkWidget and does not expect to be a part of
1352 a libbonoboui interface.
1357 Converted for use with GtkUIManager.
1360 Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
1361 to create menus and toolbars.
1363 2005-04-25 Jim Evins <evins@snaught.com>
1365 * data/templates/misc-iso-templates.xml:
1366 Added Fellows 04715 template provided by Steve Saxon.
1368 Updated acknowledgement for above.
1370 2005-04-23 Jim Evins <evins@snaught.com>
1372 * src/util.c: (gl_util_combo_box_set_strings):
1373 Make sure to clear model before loading a new list of strings.
1374 * src/wdgt-media-select.h:
1375 * src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
1376 (gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
1377 (template_combo_changed_cb), (prefs_changed_cb),
1378 (gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
1379 (gl_wdgt_media_select_get_page_size),
1380 (gl_wdgt_media_select_set_page_size):
1381 Replaced the deprecated GtkCombo widget with the new
1384 2005-04-21 Jim Evins <evins@snaught.com>
1386 * data/glade/template-designer.glade:
1387 * src/template-designer.c: (construct_pg_size_page),
1388 (pg_size_page_changed_cb), (build_template):
1389 Replaced the deprecated GtkCombo widget with the new
1392 2005-04-20 Jim Evins <evins@snaught.com>
1394 * data/glade/prefs-dialog.glade:
1395 * src/prefs-dialog.c: (construct_object_page),
1396 (update_object_page_from_prefs), (update_prefs_from_object_page):
1397 Replaced the deprecated GtkCombo widget with the new
1400 2005-04-19 Jim Evins <evins@snaught.com>
1402 * data/glade/object-editor.glade:
1403 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
1404 (style_changed_cb), (gl_object_editor_set_bc_style),
1405 (gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
1406 (gl_object_editor_get_bc_color):
1407 * src/object-editor-data-page.c:
1408 (gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
1409 (gl_object_editor_get_data):
1410 * src/object-editor-edit-page.c:
1411 (gl_object_editor_prepare_edit_page), (insert_button_cb):
1412 * src/object-editor-fill-page.c:
1413 (gl_object_editor_prepare_fill_page),
1414 (gl_object_editor_set_fill_color),
1415 (gl_object_editor_get_fill_color):
1416 * src/object-editor-image-page.c:
1417 (gl_object_editor_prepare_image_page),
1418 (gl_object_editor_set_image), (gl_object_editor_get_image):
1419 * src/object-editor-line-page.c:
1420 (gl_object_editor_prepare_line_page),
1421 (gl_object_editor_set_line_color),
1422 (gl_object_editor_get_line_color):
1423 * src/object-editor-private.h:
1424 * src/object-editor-text-page.c:
1425 (gl_object_editor_prepare_text_page),
1426 (gl_object_editor_set_font_family),
1427 (gl_object_editor_get_font_family),
1428 (gl_object_editor_set_text_color),
1429 (gl_object_editor_get_text_color):
1430 * src/object-editor.c: (gl_object_editor_set_key_names):
1432 In the object editor: replaced all instances of the deprecated
1433 GtkCombo widget with the new GtkComboBox.
1435 2005-04-18 Jim Evins <evins@snaught.com>
1438 Neglected to save this one in previous checkin to support
1441 2005-04-17 Jim Evins <evins@snaught.com>
1443 * libglabels/libglabels-private.h:
1444 * libglabels/paper.c:
1445 * libglabels/paper.h:
1446 * libglabels/template.c:
1447 * libglabels/template.h:
1448 * libglabels/xml-paper.c:
1449 * libglabels/xml-paper.h:
1450 * libglabels/xml-template.c:
1455 * src/bc-gnubarcode.c:
1466 * src/label-barcode.c:
1468 * src/label-ellipse.c:
1469 * src/label-image.c:
1470 * src/label-image.h:
1472 * src/label-object.c:
1476 * src/merge-properties-dialog.c:
1477 * src/object-editor-bc-page.c:
1478 * src/object-editor-data-page.c:
1479 * src/object-editor-edit-page.c:
1480 * src/object-editor-fill-page.c:
1481 * src/object-editor-image-page.c:
1482 * src/object-editor-line-page.c:
1483 * src/object-editor-lsize-page.c:
1484 * src/object-editor-position-page.c:
1485 * src/object-editor-private.h:
1486 * src/object-editor-size-page.c:
1487 * src/object-editor-text-page.c:
1488 * src/object-editor.c:
1489 * src/object-editor.h:
1490 * src/pixbuf-cache.h:
1491 * src/prefs-dialog.c:
1492 * src/prefs-dialog.h:
1493 * src/prefs-model.c:
1494 * src/prefs-model.h:
1496 * src/print-dialog.c:
1497 * src/print-dialog.h:
1505 * src/template-designer.c:
1506 * src/template-designer.h:
1509 * src/ui-property-bar.c: (gl_ui_property_bar_construct):
1515 * src/view-barcode.c:
1517 * src/view-ellipse.c:
1518 * src/view-highlight.c:
1519 * src/view-highlight.h:
1522 * src/view-object.c:
1523 * src/view-object.h:
1527 * src/wdgt-chain-button.c:
1528 * src/wdgt-media-select.c:
1529 * src/wdgt-media-select.h:
1530 * src/wdgt-mini-preview.c:
1531 * src/wdgt-mini-preview.h:
1532 * src/wdgt-print-copies.c:
1533 * src/wdgt-print-copies.h:
1534 * src/wdgt-print-merge.c:
1535 * src/wdgt-print-merge.h:
1536 * src/wdgt-rotate-label.c:
1537 * src/wdgt-rotate-label.h:
1540 * src/xml-label-04.c:
1541 * src/xml-label-191.c:
1543 Cleanup of header files:
1544 - all header files are now stand-alone, verified by including
1545 first in corresponding "c" files
1546 - replaced blanket includes of gnome, gtk, and glib with
1549 2005-04-16 Jim Evins <evins@snaught.com>
1551 * data/glade/Makefile.am:
1552 * data/glade/merge-properties-dialog.glade:
1553 Added merge properties dialog glade description file.
1554 * src/merge-properties-dialog.h:
1555 * src/merge-properties-dialog.c:
1556 (gl_merge_properties_dialog_get_type),
1557 (gl_merge_properties_dialog_init),
1558 (gl_merge_properties_dialog_finalize),
1559 (gl_merge_properties_dialog_new),
1560 (gl_merge_properties_dialog_construct), (type_changed_cb),
1561 (src_changed_cb), (response_cb), (load_tree),
1562 (record_select_toggled_cb), (select_all_button_clicked_cb),
1563 (unselect_all_button_clicked_cb):
1564 Modified merge properties dialog to use libglade. Added
1565 "select all" and "unselect all" buttons.
1566 * src/merge-text.c: (parse_line):
1567 Handle empty lines better.
1568 * src/merge.c: (gl_merge_eval_key):
1569 Evaluate the key whether the record is selected or not.
1571 * src/util.c: (gl_util_combo_box_add_text_model):
1572 Since libglade does not use the gtk_combo_box_new_text()
1573 constructor for GtkComboBoxes, a utility function was created
1574 to add an appropriate text model to a GtkComboBox.
1575 * src/view.c: (gl_view_edit_merge_props):
1576 Removed unnecessary "show all's".
1578 2005-04-15 Jim Evins <evins@snaught.com>
1581 Updated russian translation (Vitaly Lipatov)
1582 * data/templates/misc-iso-templates.xml:
1583 Added templates for russian business cards provided by Vitaly Lipatov.
1585 Updated acknowledgements for above.
1587 2005-04-15 Jim Evins <evins@snaught.com>
1589 * data/templates/avery-us-templates.xml:
1590 Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
1591 * data/templates/misc-iso-templates.xml:
1592 Added Ryman standard CD/DVD template, provided by Dan Clark.
1594 Added acknowledgements for above.
1596 2005-04-10 Jim Evins <evins@snaught.com>
1598 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
1599 * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
1600 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
1601 (xml_parse_label_cd_node), (xml_parse_alias_node):
1602 * libglabels/xml.c: (gl_xml_get_prop_double),
1603 (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
1604 (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
1605 * src/xml-label-04.c: (xml04_parse_media_description),
1606 (xml04_parse_text_props), (xml04_parse_barcode_props),
1607 (xml04_parse_merge_properties):
1608 * src/xml-label-191.c: (xml191_parse_object),
1609 (xml191_parse_text_props), (xml191_parse_barcode_props),
1610 (xml191_parse_merge_fields), (xml191_parse_pixdata),
1611 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
1612 (xml191_parse_alias):
1613 * src/xml-label.c: (xml_parse_object_text),
1614 (xml_parse_object_barcode), (xml_parse_merge_fields),
1615 (xml_parse_pixdata), (xml_parse_toplevel_span):
1616 Make sure to use xmlFree for anything obtained from libxml
1617 in case libxml and glib use different memory management
1620 2005-04-08 Jim Evins <evins@snaught.com>
1623 * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
1624 (gl_util_combo_box_set_active_text):
1625 Added utility functions to simplify working with GtkComboBox
1627 * src/ui-property-bar.h:
1628 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
1629 (reset_to_default_properties), (update_text_properties),
1630 (font_family_changed_cb):
1631 Replaced deprecated GtkCombo with GtkComboBox.
1634 2005-04-03 Jim Evins <evins@snaught.com>
1637 * src/wdgt-image-select.h:
1638 * src/wdgt-image-select.c:
1639 Removed obsolete wdgt-image-select.[ch] files.
1640 * libglabels/paper.c: (gl_paper_dup):
1641 Fixed rename of parameter introduced during documentation
1643 * data/glade/object-editor.glade:
1644 * src/object-editor-image-page.c:
1645 (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
1646 (gl_object_editor_set_image), (gl_object_editor_get_image),
1647 (update_preview_cb), (add_image_filters_to_chooser):
1648 * src/object-editor-private.h:
1649 Replaced deprecated GnomePixmapEntry with
1650 GtkFileChooserButton.
1652 2005-04-02 Jim Evins <evins@snaught.com>
1654 * src/mygal/mygal-combo-box.c: (deactivate_arrow),
1655 (mygal_combo_box_popup_hide_unconditional),
1656 (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
1657 (mygal_combo_toggle_pressed), (mygal_combo_box_init),
1658 (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
1659 (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
1660 (cb_tearable_button_release), (mygal_combo_box_set_tearable):
1661 Renamed all internal gtk_combo functions to mygal_combo
1662 to prevent namespace confusion.
1664 2005-04-02 Jim Evins <evins@snaught.com>
1666 * src/mygal/color-palette.c: (color_palette_change_custom_color),
1667 (cust_color_set), (color_palette_setup):
1668 * src/mygal/color-palette.h:
1669 Replaced deprecated GnomeColorPicker with GtkColorButton.
1671 2005-04-02 Jim Evins <evins@snaught.com>
1673 * docs/libglabels/libglabels-sections.txt:
1674 * docs/libglabels/libglabels-undocumented.txt:
1675 * docs/libglabels/tmpl/enums.sgml:
1676 * docs/libglabels/tmpl/paper.sgml:
1677 * docs/libglabels/tmpl/xml-paper.sgml:
1678 * docs/libglabels/tmpl/xml-template.sgml:
1679 * libglabels/enums.h:
1680 * libglabels/paper.c: (gl_paper_dup):
1681 * libglabels/paper.h:
1682 * libglabels/xml-paper.c:
1683 * libglabels/xml-template.c:
1684 More documentation updates for libglabels.
1686 2005-03-23 Jim Evins <evins@snaught.com>
1689 Automatically updated.
1694 * docs/libglabels/Makefile.am:
1695 * docs/libglabels/libglabels-docs.sgml:
1696 * docs/libglabels/libglabels-sections.txt:
1697 * docs/libglabels/libglabels-undocumented.txt:
1698 * docs/libglabels/tmpl/enums.sgml:
1699 * docs/libglabels/tmpl/libglabels-unused.sgml:
1700 * docs/libglabels/tmpl/libglabels.sgml:
1701 * docs/libglabels/tmpl/paper.sgml:
1702 * docs/libglabels/tmpl/template.sgml:
1703 * docs/libglabels/tmpl/xml-paper.sgml:
1704 * docs/libglabels/tmpl/xml-template.sgml:
1705 * docs/libglabels/tmpl/xml.sgml:
1706 Added basic gtk-doc stuff to support documenting libglabels
1709 Updated function comments with gtk-doc markup.
1713 2005-03-22 Jim Evins <evins@snaught.com>
1715 Since the development version now requires gtk-2.6/gnome-2.10, I
1716 have made a first pass at removing deprecations.
1719 * libglabels/Makefile.am:
1721 Added configure option to turn on X_DISABLE_DEPRECATED flags.
1722 Also removed all remnants of HAVE_FILECHOOSER.
1723 * src/file.c: (gl_file_open_real):
1724 Removed code for old GtkFileSelection.
1725 * libglabels/libglabels-private.h:
1726 * libglabels/paper.c:
1727 * libglabels/template.c:
1728 * libglabels/xml-paper.c:
1729 * libglabels/xml-template.c:
1733 * src/glabels-batch.c:
1737 * src/merge-properties-dialog.c:
1739 * src/object-editor.c:
1740 * src/prefs-dialog.c:
1742 * src/print-dialog.c:
1745 * src/template-designer.c:
1746 * src/ui-property-bar.c:
1748 * src/view-barcode.c:
1750 * src/view-ellipse.c:
1755 * src/wdgt-image-select.c:
1756 * src/wdgt-media-select.c:
1757 * src/wdgt-print-copies.c:
1758 * src/wdgt-print-merge.c:
1759 * src/wdgt-rotate-label.c:
1761 * src/xml-label-04.c:
1762 * src/xml-label-191.c:
1764 Added '#include <glib/gi18n.h>" where needed.
1765 Removed any unused '#include <gnome.h>"s.
1767 2005-03-22 Jim Evins <evins@snaught.com>
1769 * src/commands.c: (activate_url), (gl_cmd_help_about):
1770 Replaced GnomeAbout with GtkAboutDialog. Therefore the
1771 development version of glabels now depends on GTK 2.6 and
1774 Updated library dependencies.
1776 2005-02-28 Jim Evins <evins@snaught.com>
1779 * data/templates/misc-iso-templates.xml:
1780 Added 'Ednet 45021' template provided by Ali Akcaagac
1783 2005-02-14 Jim Evins <evins@snaught.com>
1785 * data/templates/avery-us-templates.xml:
1786 Updated templates to use inches instead of points.
1787 * src/print-dialog.c: (printer_page_new):
1788 Changed packing style when adding printer selector widget. This fixes
1791 2005-02-13 Jim Evins <evins@snaught.com>
1795 Updated spanish translations. (sergio rivadero)
1797 2005-02-05 Jim Evins <evins@snaught.com>
1799 Some cleanup to libglabels.
1802 Updated version to 2.1.1cvs. Added generation of libglabels.pc.
1803 * libglabels/libglabels.pc.in
1805 * libglabels/enums.h
1806 Created. Currently only contains glUnitsType which provides enumerations
1807 for all possible units of distance.
1808 * libglabels/Makefile.am:
1809 Incorporated new files enums.h and libglabels.pc[.in].
1810 * libglabels/libglabels.h:
1812 * libglabels/template.h:
1813 * libglabels/template.c: (gl_template_layout_new):
1814 Changed parameters nx and ny to gint from gdouble.
1816 * libglabels/xml.c: (gl_xml_get_prop_length),
1817 (gl_xml_set_prop_length), (gl_xml_set_default_units):
1818 Added support for different output units.
1819 * src/prefs-dialog.c: (update_locale_page_from_prefs),
1820 (update_prefs_from_locale_page):
1821 * src/prefs-model.c: (string_to_units), (units_to_string):
1822 * src/prefs-model.h:
1823 * src/prefs.c: (gl_prefs_get_units_per_point),
1824 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
1825 (gl_prefs_get_units_string):
1827 * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
1828 Reconciled all length enumerations with the new enumerations provided
1829 in libglabels/enums.h.
1831 2005-02-03 Jim Evins <evins@snaught.com>
1834 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
1836 Updated Italian translations. (Daniele Medri)
1838 Updated credits to reflect above translations.
1841 2005-01-22 Jim Evins <evins@snaught.com>
1846 Added MESSAGE-OF-DOOM to EXTRA_DIST.
1848 Final prep for 2.1.0.
1850 Set version to 2.1.0. Output MESSAGE-OF-DOOM.
1852 Added '--remove-original' flag to desktop-file-install, so that there is
1853 only one menu entry.
1855 2005-01-20 Jim Evins <evins@snaught.com>
1857 * data/glade/object-editor.glade:
1858 - Font family entry should not be editable.
1859 - img_key_entry should have sensitivity=YES, so that it follows the
1860 sensitivity of img_key_combo.
1862 2005-01-19 Jim Evins <evins@snaught.com>
1865 Give credit to Frederic Ruaudel for the color merge patches.
1867 2005-01-18 Frederic Ruaudel <grumz@users.sf.net>
1869 Add support to merge color for all other color attribute (Feature
1870 Requests item #1008635. If the data is invalid, the color used is transparent
1871 (GL_COLOR_NONE). The format for color in merge data file are those accepted
1872 by gdk_color_parse() these include name for a color from rgb.txt, such as
1873 DarkSlateGray, or a hex specification such as #305050. File format has been
1874 changed but backward compatibility is preserved for all format. For
1875 box/ellipse/line, keep attribute "line_color" for static color or replace by
1876 "line_color_field" for merge data. For text/barcode objects, keep attribute
1877 "color" for static color or replace by "color_field" for merge data. In the
1878 edit canvas window, merged color are represented by half-transparent black
1881 * data/dtd/glabels-2.0.dtd:
1882 Added line_color_field to line_attrs. Added color_field to
1883 Object-barcode and Span.
1884 * data/glade/object-editor.glade:
1885 Modify the layout of the editor to add merge possibility to color options
1887 Fix a copy/paste error in a comment
1889 Add default color for merge color representation in the editor canvas.
1890 * src/label-barcode.c:
1891 * src/object-editor-bc-page.c:
1892 * src/view-barcode.c:
1893 Add merge color support for barcode color.
1896 Add merge color support for box border color.
1897 * src/label-ellipse.c:
1898 * src/view-ellipse.c:
1899 Add merge color support for ellipse border color.
1902 Add merge color support for line color.
1903 * src/label-object.c:
1904 * src/label-object.h:
1905 * src/object-editor.c:
1906 * src/object-editor.h:
1907 * src/ui-property-bar.c:
1910 * src/xml-label-04.c:
1911 * src/xml-label-191.c:
1912 Add support for merging to other color attribute.
1914 * src/object-editor-text-page.c:
1916 Add merge color support for text color.
1917 * src/object-editor-fill-page.c:
1918 Change a blocked handler that didn't match the good widget. Fix the type
1919 of some debug message.
1920 * src/object-editor-line-page.c:
1921 Add merging support to line color option.
1922 * src/object-editor-private.h:
1923 Add variables for new widget.
1925 Modify the draw functions to get merge data if needed.
1927 Change the default size of the window in order to see all widget in the
1928 "text style tab" of the editor.
1930 Modify the parser to record/retreive the field value for objects that need
1931 "color" attribute. For box/ellipse/line, keep attribute "line_color" for
1932 static color or replace by "line_color_field" for merge data. For
1933 text/barcode objects, keep attribute "color" for static color or replace
1934 by "color_field" for merge data.
1936 2005-01-17 Jim Evins <evins@snaught.com>
1938 * src/view.c: (screen_changed_cb):
1939 Don't do anything if we don't have a screen.
1941 2005-01-06 Jim Evins <evins@snaught.com>
1943 * src/view.c: (get_home_scale):
1944 Fixed bad call to gtk_widget_has_screen() -- huh?.
1946 2005-01-06 Jim Evins <evins@snaught.com>
1948 * data/dtd/glabels-2.0.dtd:
1949 Added fill_color_field to fill_attrs. Also added xmlns attribute to all
1952 2005-01-06 Jim Evins <evins@snaught.com>
1954 * data/glade/object-editor.glade:
1955 Set entries for fill and data field key dropdowns to NOT editable.
1956 * src/view-box.c: (construct_properties_editor):
1957 * src/view-ellipse.c: (construct_properties_editor):
1958 Update object editor when label's merge property has changed.
1959 * src/xml-label.c: (xml_parse_object_ellipse):
1960 Completed the merge color support for the ellipse item.
1962 2005-01-06 Frederic Ruaudel <grumz@users.sf.net>
1964 Add support to merge color for object that have a "Fill color" attribute (Feature
1965 Requests item #1008635. If the data is invalid, the color used is transparent
1966 (GL_COLOR_NONE). The format for color in merge data file are those accepted
1967 by gdk_color_parse() these include name for a color from rgb.txt, such as
1968 DarkSlateGray, or a hex specification such as #305050. File format has been
1969 changed but backward compatibility is preserved for all format. For box/ellipse,
1970 keep attribute "fill_color" for static color or replace by "fill_color_field"
1973 * data/glade/object-editor.glade:
1974 Modify "Fill" tab to add the merge key combo and convert the labels into
1978 Add "glColorNode" structure and associated functions to manage it. This
1979 structure is equivalent for color than the "glTextNode". It holds the color
1981 * src/label-object.h:
1982 * src/label-object.c:
1984 * src/label-ellipse.c:
1985 * src/ui-property-bar.c:
1989 * src/view-ellipse.c:
1990 * src/xml-label-04.c:
1991 * src/xml-label-191.c:
1992 Change functions of objects that have a "fill color" attribute to use the
1993 new "glColorNode" structure. Use barcode code as example.
1995 Add the color.[ch] file to glabels_batch binary that now need support for
1997 * src/object-editor.h:
1998 * src/object-editor.c:
1999 * src/object-editor-fill-page.c:
2000 Manage the new widget of the editor's "Fill" tab : key combo and radio button
2001 to choose between static color or merge key. Use barcode code as example.
2002 * src/object-editor-private.h:
2003 Add new widget in the "_glObjectEditorPrivate" structure.
2005 Modify the draw functions to get merge data if needed.
2007 Modify the parser to record/retreive the field value for objects that need
2008 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
2009 color or "fill_color_field" for merge data.
2011 2005-01-04 Jim Evins <evins@snaught.com>
2014 * data/templates/avery-iso-templates.xml:
2015 * data/templates/misc-iso-templates.xml:
2016 * data/templates/misc-us-templates.xml:
2017 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
2020 2004-11-26 Jim Evins <evins@snaught.com>
2024 Updated french translations provided by Florent Morel <florent@taket.org>.
2025 * src/view-barcode.c:
2027 * src/view-ellipse.c:
2031 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
2032 thus _() strings were not being translated.
2034 2004-11-14 Jim Evins <evins@snaught.com>
2037 * src/debug.c: (gl_debug_init), (gl_debug):
2038 Borrowed from gedit: use environmental variables to select debug
2041 Removed unused include of debug.h.
2042 * src/glabels.c: (main):
2043 Added call to gl_debug_init(), and removed debug clutter from command line
2045 * src/glabels-batch.c: (main):
2046 Added call to gl_debug_init().
2048 2004-11-13 Jim Evins <evins@snaught.com>
2050 Drawing and property toolbars were being initialized with the "icons and text"
2051 look in Fedora Core 3. Even though none of the buttons had any text attached to
2052 them, the buttons were being sized as if they were. This led to less real estate
2053 for the property editor, leading to Bug #1064630. The
2055 * data/ui/glabels-ui.xml:
2056 Added explicit "look" property to both drawing and property toolbars.
2057 * src/prefs-model.c: (gl_prefs_model_save_settings),
2058 (gl_prefs_model_load_settings):
2059 * src/prefs-model.h:
2060 Removed drawing_toolbar_button_style configuration parameter.
2061 * src/ui.c: (view_menu_item_toggled_cb),
2062 (set_app_drawing_toolbar_style):
2063 Do not attempt to adjust look property of the drawing toolbar.
2065 2004-10-28 Jim Evins <evins@snaught.com>
2067 * data/pixmaps/glabels-about-logo.png:
2070 2004-10-28 Jim Evins <evins@snaught.com>
2072 * data/man/glabels.1:
2073 * src/glabels-batch.c: (main):
2075 * src/print.c: (gl_print_batch):
2077 Added option to glabels-batch to select the first label to begin
2080 2004-09-26 Jim Evins <evins@snaught.com>
2082 * data/desktop/glabels.desktop.in:
2083 Point to app icon, "glabels.png"
2084 * data/mime/glabels.keys.in:
2085 Point at mime icon, "glabels-application-x-glabels.png"
2086 * data/pixmaps/Makefile.am:
2087 Added glabels_app_icondir. Renamed icons.
2088 * data/pixmaps/glabels.png:
2089 New cleaned up app icon. Deleted glabels-icon.png.
2090 * data/pixmaps/glabels-application-x-glabels.png:
2092 * data/pixmaps/glabels-splash.png:
2093 Renamed glabels-logo to glabels-splash to be more correct about role.
2095 * src/template-designer.c:
2096 Point at app icon, "glabels.png"
2098 Point at renamed splash image, "glabels-splash.png"
2100 2004-08-22 Jim Evins <evins@snaught.com>
2103 * src/glabels-batch.c: (main):
2104 Applied patch with minor mods to allow selecting merge source and
2105 crop-marks on glabels-batch's command line. Original patch provided by
2106 José Dapena Paz <jdapena@igalia.com>.
2108 2004-08-15 Jim Evins <evins@snaught.com>
2110 * data/desktop/glabels.desktop.in:
2111 - Added encoding line
2112 - Removed period from comment
2113 - Fixed Terminal line, changed "0" to "false"
2114 - Added semicolen to Categories line
2116 - Made sure desktop.in comment string above still translated properly
2118 2004-08-14 Jim Evins <evins@snaught.com>
2120 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
2121 * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
2122 * src/xml-label-191.c: (xml191_parse_sheet):
2123 Fixed improper freeing of gettext strings. Merged from 2.0.1.
2125 Reconciled libglabels versioning with 2.0.1.
2128 2004-08-14 Jim Evins <evins@snaught.com>
2131 Updated version to 2.1cvs.
2133 2004-08-14 Jim Evins <evins@snaught.com>
2136 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
2138 2004-08-14 Jim Evins <evins@snaught.com>
2140 Fixes for Bug #1008181.
2142 * src/bc.c: (gl_barcode_default_digits):
2143 Make a format of zero digits, harmless.
2144 * src/xml-label.c: (xml_parse_object_barcode):
2145 Set default value of the format property of barcode objects to 10, not
2146 zero. This will prevent crashes when reading pre 2.0.x files.
2148 2004-08-09 Jim Evins <evins@snaught.com>
2152 * help/C/glabels-C.omf:
2153 * help/C/glabels.xml:
2154 Brought documentation up-to-date for 2.0.0 release.
2156 2004-08-09 Jim Evins <evins@snaught.com>
2158 These are hopefully the final preparations for 2.0.0.
2160 * data/mime/Makefile.am:
2161 Include glabels.xml in EXTRA_DIST.
2163 - Updated comment style.
2164 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
2165 - Added package and version info to configuration printout
2166 - Update version to 2.0.0
2167 * libglabels/Makefile.am:
2168 Use the new LIBGLABELS_VERSION_INFO macro.
2170 2004-08-09 Jim Evins <evins@snaught.com>
2174 Cleanup of required library macros.
2176 2004-08-08 Jim Evins <evins@snaught.com>
2180 - More specific of what to install in /usr/bin and /usr/lib
2181 - Remove built mime registration files from staging directory
2183 2004-08-08 Jim Evins <evins@snaught.com>
2185 * data/mime/Makefile.am:
2186 Fixed typo: key_files should have been keys_files.
2188 2004-08-08 Jim Evins <evins@snaught.com>
2190 Reorganization of runtime data files. Also added registration of mimetype with
2191 new freedesktop.org mime database if available.
2194 Moved files to appropriate subdirectories, creating local Makefile.am
2195 in each subdirectory.
2196 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
2197 These are now installed at $datadir/glabels/templates.
2198 - Moved glabels.1 to man subdirectory.
2199 - Moved glabels-2.0.dtd to dtd subdirectory.
2200 - Moved glabels.desktop.in to desktop subdirectory.
2201 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
2203 Moved "./pixmaps" to "./data/pixmaps"
2205 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
2207 Moved libglade files from src to data/glade. Created Makefile.am.
2209 Removed pixmaps from SUBDIRS.
2211 - Removed pixmaps from makefiles.
2212 - Added makefiles for new subdirs of data.
2213 - Added tests for freedesktop.org mime database.
2215 - Added tests for freedesktop.org mime database for post install and
2216 post un-install actions.
2217 * libglabels/Makefile.am:
2218 Moved system template files to $(datadir)/glabels/templates.
2219 * libglabels/libglabels-private.h:
2220 Moved system template files to $(datadir)/glabels/templates.
2222 - Accounted for movement of ui and libglade files.
2223 - Added missing .in files.
2224 - Reorganized by directory.
2226 Accounted for movement of ui and libglade files.
2227 * data/mime/glabels.xml.in:
2228 New file for registering with freedesktop.org mime database.
2230 2004-08-07 Jim Evins <evins@snaught.com>
2232 * src/recent-files/*:
2233 Re-synced to latest libegg/recent-files.
2235 2004-08-07 Jim Evins <evins@snaught.com>
2240 Renamed "./doc" directory to "./help" which contains user documentation,
2241 to be more consistent with other GNOME applications.
2244 2004-07-26 Jim Evins <evins@snaught.com>
2246 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
2247 Corrected button order of merge properties dialog.
2249 2004-07-18 Jim Evins <evins@snaught.com>
2251 * data/glabels-2.0.dtd:
2252 * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
2253 (gl_barcode_get_prefered_n):
2255 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
2256 (gl_label_barcode_get_props), (get_size):
2257 * src/label-barcode.h:
2258 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
2259 (style_changed_cb), (gl_object_editor_set_bc_style),
2260 (gl_object_editor_get_bc_style):
2261 * src/object-editor-data-page.c: (data_radio_toggled_cb),
2262 (gl_object_editor_set_data), (gl_object_editor_get_data):
2263 * src/object-editor-private.h:
2264 * src/object-editor.c: (gl_object_editor_set_key_names):
2265 * src/object-editor.glade:
2266 * src/object-editor.h:
2267 * src/print.c: (draw_barcode_object):
2268 * src/view-barcode.c: (update_object_from_editor_cb),
2269 (update_editor_from_object_cb),
2270 (gl_view_barcode_create_event_handler), (draw_barcode):
2271 * src/xml-label-04.c: (xml04_parse_barcode_props):
2272 * src/xml-label-191.c: (xml191_parse_barcode_props):
2273 * src/xml-label.c: (xml_parse_object_barcode),
2274 (xml_create_object_barcode):
2275 Added "format" attribute to barcode objects. This attribute is used
2276 to properly format freeform barcodes barcodes prior to merge data is
2277 applied, so that barcodes can be accurately layed out. This addresses
2278 remaining issues of feature request #824787. Also added an example of
2279 the format in the object editor.
2281 2004-07-12 Jim Evins <evins@snaught.com>
2283 Various code cleanups.
2285 * src/label-barcode.c:
2286 Removed unneeded include of gnome-glyphlist.h.
2288 * src/label-text.c: (get_size):
2289 Fixed memory leak: unref glyphlists when done with them.
2291 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
2292 * src/object-editor-data-page.c:
2293 (gl_object_editor_prepare_data_page):
2294 * src/object-editor-image-page.c:
2295 (gl_object_editor_prepare_image_page):
2296 * src/object-editor-line-page.c:
2297 (gl_object_editor_prepare_line_page):
2298 * src/object-editor-lsize-page.c:
2299 (gl_object_editor_prepare_lsize_page):
2300 * src/object-editor-position-page.c:
2301 (gl_object_editor_prepare_position_page):
2302 * src/object-editor-size-page.c:
2303 (gl_object_editor_prepare_size_page):
2304 * src/object-editor-text-page.c:
2305 (gl_object_editor_prepare_text_page):
2306 Removed unneeded size groups, originally intended to keep widgets aligned.
2307 Now use tables to lay these out in object-editor.glade.
2309 * src/print.c: (draw_text_object):
2310 Fixed memory leak: unref glyphlists when done with them.
2312 * src/view-barcode.c: (draw_barcode):
2313 Fixed memory leak: unref glyphlists when done with them.
2315 * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
2316 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
2318 - Fixed memory leak: unref glyphlists when done with them.
2320 2004-07-11 Jim Evins <evins@snaught.com>
2322 * data/glabels-2.0.dtd:
2323 * src/label-text.c: (gl_label_text_instance_init), (copy),
2324 (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
2326 * src/object-editor-private.h:
2327 * src/object-editor-text-page.c:
2328 (gl_object_editor_prepare_text_page),
2329 (gl_object_editor_set_text_auto_shrink),
2330 (gl_object_editor_get_text_auto_shrink):
2331 * src/object-editor.c: (gl_object_editor_set_key_names):
2332 * src/object-editor.glade:
2333 * src/object-editor.h:
2334 * src/print.c: (draw_text_object):
2335 * src/view-text.c: (update_object_from_editor_cb),
2336 (update_editor_from_object_cb):
2337 * src/xml-label.c: (xml_parse_object_text),
2338 (xml_create_object_text):
2339 Added option to allow document merge to auto shrink text size to fit
2340 within the text box. The code in print.c that actually shrinks the
2341 text is loosely based on a patch submitted by Mark Harrison
2342 <mark.harrison@velocitynet.com.au>. This addresses feature request
2345 2004-07-11 Jim Evins <evins@snaught.com>
2347 * data/glabels-2.0.dtd:
2348 * libglabels/template.c: (gl_template_rect_label_type_new),
2349 (gl_template_round_label_type_new),
2350 (gl_template_cd_label_type_new), (gl_template_label_type_dup),
2351 (template_full_page):
2352 * libglabels/template.h:
2353 * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
2354 (xml_create_label_node):
2355 * pixmaps/ex-rect-size.png:
2356 * src/print.c: (clip_to_outline), (clip_punchouts):
2357 * src/template-designer.c: (construct_rect_size_page),
2358 (rect_size_page_prepare_cb), (layout_page_prepare_cb),
2360 * src/template-designer.glade:
2361 * src/xml-label-191.c: (xml191_parse_label):
2362 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
2363 properties for rectangular labels. Templates remain backwards compatible,
2364 but this breaks the libglabels API (I don't know of anyone outside of
2365 glabels using libglabels at this time -- what can I say, the program is
2366 is still "unstable"). This addresses the suggestion in Feature Request
2369 2004-07-05 Jim Evins <evins@snaught.com>
2370 * src/print.c: (print_crop_marks), (draw_outline):
2371 Changed crop marks and label outlines to black, instead of 25% gray.
2372 This addresses debian Bug #257460.
2374 2004-07-05 Jim Evins <evins@snaught.com>
2376 * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
2377 * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
2378 Preserve "is_default" of fill and line color_combos when creating from
2381 2004-07-02 Jim Evins <evins@snaught.com>
2384 Created man page. Based on page submitted by Matthew J. Lockner, however
2385 it has been severely edited.
2387 * data/avery-other-templates.xml
2388 * data/misc-other-templates.xml:
2389 Started new files for predefined templates with non-standard sheet sizes.
2390 These have been initially populated with the Avery 06141 and
2391 OfficeMax #86112, both provided by Matthew J. Lockner.
2394 Install above manpage and template files.
2397 Make sure we install man pages.
2399 * src/glabels-batch.c:
2400 Changed short form of help option to '-?' to be consistent with glabels.
2403 Added acknowledgement for above labels.
2405 2004-07-02 Jim Evins <evins@snaught.com>
2407 * src/glabels.c: (main), (save_session_cb):
2408 - Now include libbonoboui.h, recent.h, and file.h to provide missing
2410 - save_session_cb() now returns gboolean.
2411 - Minor formatting changes.
2415 - Now include file.h to provide missing prototype.
2416 - gl_window_get_type() now returns GType, not guint. I believe this may
2417 ultimately be cause of the segfault reported in Bug #982287, since
2418 GType is actually a gulong, which may not be compatible on other
2419 architectures (64bit) -- I cannot personally test this at this time.
2420 I was sloppy in several other xxx_get_type() functions which also
2421 returned guint -- see next group of files:
2423 * src/window.c: (gl_window_get_type):
2424 * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
2425 * src/canvas-hacktext.h:
2426 * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
2427 (gl_hig_category_get_type), (gl_hig_vbox_get_type),
2428 (gl_hig_hbox_get_type):
2430 * src/label-barcode.c: (gl_label_barcode_get_type):
2431 * src/label-barcode.h:
2432 * src/label-box.c: (gl_label_box_get_type):
2434 * src/label-ellipse.c: (gl_label_ellipse_get_type):
2435 * src/label-ellipse.h:
2436 * src/label-image.c: (gl_label_image_get_type):
2437 * src/label-image.h:
2438 * src/label-line.c: (gl_label_line_get_type):
2440 * src/label-object.c: (gl_label_object_get_type):
2441 * src/label-object.h:
2442 * src/label-text.c: (gl_label_text_get_type):
2444 * src/label.c: (gl_label_get_type):
2446 * src/merge-properties-dialog.c:
2447 (gl_merge_properties_dialog_get_type):
2448 * src/merge-properties-dialog.h:
2449 * src/merge-text.c: (gl_merge_text_get_type):
2451 * src/merge.c: (gl_merge_get_type):
2453 * src/object-editor.c: (gl_object_editor_get_type):
2454 * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
2455 * src/prefs-dialog.h:
2456 * src/prefs-model.c: (gl_prefs_model_get_type):
2457 * src/prefs-model.h:
2458 * src/print-dialog.c: (gl_print_dialog_get_type):
2459 * src/print-dialog.h:
2460 * src/template-designer.c: (gl_template_designer_get_type):
2461 * src/template-designer.h:
2462 * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
2463 * src/ui-property-bar.h:
2464 * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
2466 * src/view-barcode.c: (gl_view_barcode_get_type):
2467 * src/view-barcode.h:
2468 * src/view-box.c: (gl_view_box_get_type):
2470 * src/view-ellipse.c: (gl_view_ellipse_get_type):
2471 * src/view-ellipse.h:
2472 * src/view-highlight.c: (gl_view_highlight_get_type):
2473 * src/view-highlight.h:
2474 * src/view-image.c: (gl_view_image_get_type):
2476 * src/view-line.c: (gl_view_line_get_type):
2478 * src/view-object.c: (gl_view_object_get_type):
2479 * src/view-object.h:
2480 * src/view-text.c: (gl_view_text_get_type):
2482 * src/view.c: (gl_view_get_type):
2484 * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
2485 * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
2486 * src/wdgt-image-select.h:
2487 * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
2488 * src/wdgt-media-select.h:
2489 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
2490 * src/wdgt-mini-preview.h:
2491 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
2492 * src/wdgt-print-copies.h:
2493 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
2494 * src/wdgt-print-merge.h:
2495 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
2496 * src/wdgt-rotate-label.h:
2497 - Made sure all xxx_get_type functions returned GType, not guint. This
2498 was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
2499 ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
2500 wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
2501 wdt-print-merge.[ch], and wdgt-rotate-label.[ch]. See separate
2502 window.[ch] details above for more info.
2503 - Reconciled various coding style differences in all xxx_get_type()
2505 * All prototypes include G_GNUC_CONST.
2506 * All prototypes specify the return value as GType, not GtkType
2508 * Info structures are all declared as "static const."
2509 * Generalized the names of type and info variables.
2510 * Miscelaneous formatting.
2512 2004-06-08 Jim Evins <evins@snaught.com>
2518 Don't touch compression of original file -- still defaults to 9 for
2519 new files. Original patch provided by Javier Donaire Segarra
2520 (#912252 in patch tracker).
2522 2004-05-05 Jim Evins <evins@snaught.com>
2524 * data/glabels-2.0.dtd:
2525 Broke DTD previously when adding new barcode types that contain a
2526 plus sign (+). Simply changed the BC_STYLE_TYPE entity to "CDATA"
2527 to avoid the problem.
2528 * data/avery-iso-templates.xml:
2529 * data/zweckform-iso-templates.xml:
2531 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021. Templates
2532 provided by Frank Altpeter.
2533 * libglabels/xml-template.c: (xml_create_label_node):
2534 Reordered markup and layout sub-nodes so that resulting templates will
2535 validate against DTD.
2537 2004-03-13 Jim Evins <evins@snaught.com>
2539 * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
2540 Changed spin callback signals from "value-changed" back to "changed."
2541 This was accidentally introduced in a previous revision, and can cause
2542 size changes just by selecting the size tab.
2544 2004-03-06 Jim Evins <evins@snaught.com>
2546 * src/view.c: (draw_grid_layer):
2547 For round labels (round and cd) adjust grid so that it lines up with
2548 center of label. Also, no longer draw box around label in the grid layer,
2549 it is hidden by he fg layer anyway. Feature suggested by
2550 nemolivier@free.fr. Although the grid is aligned with the center of the
2551 label, the coordinate system is still relative to the upper left corner
2552 of the rectangle containing the label.
2554 2004-02-25 Jim Evins <evins@snaught.com>
2557 Changed version to 2.0pre1cvs
2559 * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
2560 Removed extra xmlFreeDoc() calls upon error. Also print the doc->URL
2561 instead of doc->name fields when errors encountered.
2563 2004-02-21 Jim Evins <evins@snaught.com>
2565 * data/avery-iso-templates.xml:
2566 Added aliases for Avery 8651. Patch provided by Wayne Schuller.
2569 Added libglabels library and include file to installed files.
2572 Final prep for 1.93.3.
2574 2004-02-20 Jim Evins <evins@snaught.com>
2576 * src/glabels-batch.c: (main):
2577 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
2578 as suggested by Javier Donaire Segarra. This addresses bug #901063.
2580 2004-02-16 Jim Evins <evins@snaught.com>
2583 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
2586 Added HAVE_FILE_CHOOSER to INCLUDES.
2588 * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
2589 (gl_file_save_as), (save_as_response):
2590 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
2592 2004-02-16 Jim Evins <evins@snaught.com>
2594 * src/xml-label-04.c: (xml04_parse_image_props):
2595 * src/xml-label-191.c: (xml191_parse_image_props):
2596 * src/xml-label.c: (xml_parse_object_image):
2597 Delay setting image size until after image has been applied to new
2600 2004-02-15 Jim Evins <evins@snaught.com>
2602 * src/label-barcode.c: (gl_label_barcode_set_data),
2603 (gl_label_barcode_set_props):
2604 Don't emit "changed" signal, if no change actually made for these
2605 methods. Reduces number of unnecessary redraws of barcodes.
2607 * src/label-object.h:
2608 * src/label-object.c: (gl_label_object_set_position),
2609 (gl_label_object_set_position_relative), (set_size),
2610 (gl_label_object_set_size),
2611 (gl_label_object_set_size_honor_aspect):
2612 Don't emit "changed" signal, if no change actually made for these
2615 2004-02-15 Jim Evins <evins@snaught.com>
2617 * data/glabels-2.0.dtd:
2618 Added specific subtypes for various barcode types.
2621 * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
2622 (gl_barcode_get_styles_list), (gl_barcode_default_digits),
2623 (gl_barcode_can_text), (gl_barcode_text_optional),
2624 (gl_barcode_can_csum), (gl_barcode_csum_optional),
2625 (gl_barcode_id_to_name), (gl_barcode_name_to_id):
2626 Changed API to use a string id, rather than a fixed enumeration. Id and
2627 name are separate strings. Added entries to backend table for specific
2628 subtypes for various barcode types.
2631 * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
2633 Modified to conform to above API. Now more stringent with data length
2634 for various subtypes.
2636 * src/bc-gnubarcode.h:
2637 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
2638 (is_length_valid), (is_length1_valid), (is_length2_valid):
2639 Modified to conform to above API. Now more stringent with data length
2640 for various subtypes.
2642 * src/label-barcode.h:
2643 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
2644 (gl_label_barcode_get_props), (get_size):
2645 Modified to use above API for storing barcode type.
2647 * src/object-editor.h:
2648 * src/object-editor-bc-page.c: (style_changed_cb),
2649 (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
2650 Modified to use above API for storing barcode type.
2652 * src/object-editor-size-page.c:
2653 (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
2654 (w_spin_cb), (h_spin_cb), (size_reset_cb):
2655 Added debug markers.
2657 * src/object-editor.glade:
2658 Made barcode style combo's text entry non-editable.
2660 * src/print.c: (draw_barcode_object):
2661 Modified to use above API for barcode type.
2663 * src/view-barcode.c: (update_object_from_editor_cb),
2664 (update_editor_from_object_cb),
2665 (gl_view_barcode_create_event_handler), (draw_barcode):
2666 Modified to use above API for barcode type.
2668 * src/xml-label-04.c: (xml04_parse_barcode_props):
2669 * src/xml-label-191.c: (xml191_parse_barcode_props):
2670 * src/xml-label.c: (xml_parse_object_barcode),
2671 (xml_create_object_barcode):
2672 Modified to use above API for barcode type.
2674 2004-02-07 Jim Evins <evins@snaught.com>
2676 * src/stock-pixmaps/Makefile.am:
2677 * src/stock-pixmaps/stock_hchain_24.png:
2678 * src/stock-pixmaps/stock_hchain_broken_24.png:
2679 * src/stock-pixmaps/stock_vchain_24.png:
2680 * src/stock-pixmaps/stock_vchain_broken_24.png:
2681 Added chain pixmaps borrowed from the gimp's default theme.
2684 * src/stock.c: (gl_stock_init), (add_button_icon):
2685 Added above pixmaps to stock icon sets. Created add_button_icon() to
2686 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
2688 * src/wdgt-chain-button.h
2689 * src/wdgt-chain-button.c
2692 Added this Modified version of gimpchainbutton widget, borrowed from
2696 Added acknowledgements of the above borrowing from the gimp.
2698 * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
2700 * src/object-editor.c: (gl_object_editor_construct_chain_button):
2701 * src/object-editor.glade:
2702 Replaced the keep aspect ratio check box with the above chain-button
2705 * src/text-node.c: (gl_text_node_equal):
2707 Added function gl_text_node_equal() to compare text_nodes.
2709 * src/label-image.c: (gl_label_image_set_filename):
2710 Replaced incomplete text_node comparison code with invocation of
2711 gl_text_node_equal. This fixed the problem of not being able to
2712 resize an image using the object_editor if the aspect ratio is not
2715 2004-02-04 Jim Evins <evins@snaught.com>
2717 * src/object-editor-image-page.c:
2718 (gl_object_editor_prepare_image_page):
2719 Track "changed" signal of pixmap entry's GtkEntry rather than its
2720 "activate" signal -- this catches all changes to the entry rather than
2721 just changes resulting from a browse, so one can easily pull previous
2722 entries from the history. (This change is marked below on 2004-02-03,
2723 but somehow never got checked in.)
2725 * src/view-highlight.c: (sl_resize_event_handler),
2726 (sr_resize_event_handler), (st_resize_event_handler),
2727 (sb_resize_event_handler):
2728 Side resize handles will now confirm the actual resize that the object
2729 accepted before adjusting position parameters. Previously some interesting
2730 things happened when resizing a barcode to its minimum size.
2732 2004-02-03 Jim Evins <evins@snaught.com>
2734 * src/object-editor-image-page.c:
2735 (gl_object_editor_prepare_image_page):
2736 Track "changed" signal of pixmap entry's GtkEntry rather than its
2737 "activate" signal -- this catches all changes to the entry rather than
2738 just changes resulting from a browse, so one can easily pull previous
2739 entries from the history.
2741 * src/view-highlight.c: (tl_resize_event_handler),
2742 (tr_resize_event_handler), (bl_resize_event_handler),
2743 (br_resize_event_handler):
2744 Allow control key to be dropped while dragging a corner resize handle
2745 without losing the aspect ratio lock.
2747 2004-02-02 Jim Evins <evins@snaught.com>
2749 * src/label-image.c: (gl_label_image_set_filename):
2750 When setting a new filename adjust size such that the aspect ratio of
2751 the image is preserved using the current size as a bounding box.
2753 * src/view-image.c: (update_object_from_editor_cb):
2754 When updating object from editor, feed back possible size changes to
2755 editor as a result of a possible change in image.
2757 * src/object-editor-size-page.c: (size_reset_cb):
2758 Fixed typo when blocking spin handlers. If the base size is larger than
2759 the max size, treat max size as a bounding box while keeping aspect
2763 2004-02-02 Jim Evins <evins@snaught.com>
2765 * src/label-object.h:
2766 * src/label-object.c: (gl_label_object_set_size),
2767 (gl_label_object_set_size_honor_aspect):
2768 Added gl_label_object_set_size_honor_aspect() which will maintain the
2769 current aspect ratio by modifying the supplied w or h apropriately.
2771 * src/view-highlight.c: (tl_resize_event_handler),
2772 (tr_resize_event_handler), (bl_resize_event_handler),
2773 (br_resize_event_handler):
2774 Corner handles will now maintain the current aspect ratio if the
2775 control key is pressed while resizing. This addresses feature
2779 2004-01-31 Jim Evins <evins@snaught.com>
2782 * data/avery-us-templates.xml:
2783 Added entries for "LSK-3," "LSK-5," and "LSK-8." Submitted by JBadger.
2785 * libglabels/template.c: (read_template_files_from_dir):
2786 Corrected problem with testing for extensions.
2788 * src/object-editor.glade:
2789 Corrected grouping of radio buttons in barcode data page.
2791 * src/print.c: (draw_barcode_object):
2792 * src/view-barcode.c: (draw_barcode):
2793 Corrected problem with calculation of y_offset for locating characters.
2795 2004-01-24 Jim Evins <evins@snaught.com>
2798 * data/avery-us-templates.xml:
2799 Added Avery 5824, submitted by Fred Bacon.
2801 2004-01-20 Jim Evins <evins@snaught.com>
2803 Catching up on a couple of backlogged user template submissions.
2805 * data/avery-iso-templates.xml:
2806 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
2807 Suggested by Linas Jakucionis.
2809 * data/zweckform-iso-templates.xml:
2810 Added Zweckform 4760, submitted by Thomas Vill.
2813 Updated to reflect above submissions.
2815 2004-01-06 Jim Evins <evins@snaught.com>
2817 Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
2818 xml.[ch] into a separate library called libglabels, to facilitate third
2819 party use of glabels template files. This was suggested by Wayne Schuller.
2820 Once split-out, some modifications to the structures and functions to
2821 make a cleaner more useful API, hopefully. Rather extensive changes have
2822 propogated to other modules.
2830 * src/xml-template.h:
2831 * src/xml-template.c:
2834 These files have been moved to libglabels/. API cleanup performed.
2836 * libglabels/libglabels.h:
2837 * libglabels/libglabels-private.h:
2838 * libglabels/Makefile.am:
2839 These files have been added to finish out libglabels.
2846 Modified to reflect new sets of files in src/ and libglabels/.
2848 * COPYING.LIBGLABELS:
2850 Added copy of the LGPL for libglabels, and a copy the GFDL for
2853 * src/glabels-batch.c:
2855 * src/label.c: (gl_label_finalize), (gl_label_set_template),
2856 (gl_label_get_size):
2858 * src/prefs-model.c: (gl_prefs_model_load_settings):
2859 * src/print-dialog.c:
2860 * src/print.c: (gl_print_simple), (gl_print_merge_collated),
2861 (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
2862 (print_crop_marks), (print_label), (draw_outline),
2863 (clip_to_outline), (clip_punchouts):
2864 * src/template-designer.c: (construct_pg_size_page),
2865 (pg_size_page_changed_cb), (layout_page_changed_cb),
2866 (print_test_cb), (build_template):
2867 * src/util.c: (gl_util_fraction):
2869 * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
2870 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
2871 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
2872 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
2873 (draw_markup_margin_round), (draw_markup_margin_cd),
2874 (draw_markup_margin_cd_bc), (draw_markup_line),
2875 (draw_markup_circle), (gl_view_copy):
2876 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
2877 (page_size_entry_changed_cb), (details_update), (get_layout_desc),
2878 (get_label_size_desc):
2879 * src/wdgt-mini-preview.c:
2880 (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
2882 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
2883 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
2884 * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
2885 (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
2886 * src/wdgt-rotate-label.h:
2887 * src/xml-label-04.c: (xml04_parse_media_description):
2888 * src/xml-label-191.c: (gl_xml_label_191_parse),
2889 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
2890 (xml191_parse_markup), (xml191_parse_alias):
2891 * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
2893 Various changes to accomodate new libglabels API.
2895 2004-01-03 Jim Evins <evins@snaught.com>
2900 2004-01-03 Jim Evins <evins@snaught.com>
2903 Added acknowledgement of contributions by Wayne Schuller.
2905 * src/commands.c: (gl_cmd_file_print):
2906 Create extra reference to print dialog, so that it can be properly re-used.
2908 * src/mygal/mygal-combo-box.h:
2909 * src/mygal/mygal-combo-box.c:
2910 (mygal_combo_box_popup_hide_unconditional),
2911 (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
2912 (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
2913 (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
2914 (mygal_combo_box_set_tearable):
2915 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
2916 complete the rename of this widget to prevent namespace collisions
2919 * src/prefs-dialog.glade:
2920 Fixed alignment of Fill/Color widgets.
2922 2004-01-03 Jim Evins <evins@snaught.com>
2924 * data/avery-iso-templates.xml:
2925 Added user submitted templates.
2926 Avery 8435A & 8435B, submitted by Ludger Solbach.
2928 * doc/C/glabels.xml:
2929 Added minimal documentation, noting the new template designer.
2931 2004-01-03 Jim Evins <evins@snaught.com>
2933 * pixmaps/ex-rect-size.png:
2934 * pixmaps/ex-round-size.png:
2935 * pixmaps/ex-cd-size.png:
2936 * pixmaps/Makefile.am:
2937 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
2938 files to be used as illustrations/examples in the template-designer.
2940 * src/template-designer.c: (construct_rect_size_page),
2941 (construct_round_size_page), (construct_cd_size_page),
2942 (construct_nlayouts_page), (rect_size_page_prepare_cb),
2943 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
2944 (layout_page_prepare_cb), (build_template):
2945 * src/template-designer.glade:
2946 Added illustrations for rectangle, round, and cd label size pages.
2947 Added margin spinboxes to these pages, and now add a margin markup
2948 to the constructed template. Added realistic default values for
2949 some of the size spinboxes. Cleaned up the code for setting spinbox
2950 ranges on the layouts page.
2952 2004-01-02 Jim Evins <evins@snaught.com>
2954 * src/object-editor-size-page.c: (h_spin_cb):
2955 Fixed cut-n-paste error in h_spin_cb that loaded h from
2956 the wrong spinbutton.
2958 * src/object-editor.h:
2959 * src/object-editor.c: (gl_object_editor_class_init),
2960 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
2961 * src/object-editor-private.h:
2962 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
2964 Added "size_changed" signal.
2966 * src/view-text.c: (construct_properties_editor),
2967 (update_object_from_editor_cb),
2968 (update_object_from_editor_size_cb):
2969 Track size changes from object editor separately from other
2970 properties. This is so the default size (0,0) of a text
2971 object is not modified unintentionally.
2973 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
2975 Added feature: line spacing - allows you to comfortably space a text box to
2976 fit a label perfectly.
2978 * data/glabels-2.0.dtd:
2979 * src/label-object.c: (gl_label_object_set_text_line_spacing),
2980 (gl_label_object_get_text_alignment),
2981 (gl_label_object_get_text_line_spacing):
2982 * src/label-object.h:
2983 * src/label-text.c: (gl_label_text_class_init),
2984 (gl_label_text_instance_init), (copy), (get_size),
2985 (set_text_line_spacing), (get_text_alignment),
2986 (get_text_line_spacing):
2987 * src/object-editor-private.h:
2988 * src/object-editor-text-page.c:
2989 (gl_object_editor_prepare_text_page),
2990 (gl_object_editor_set_text_line_spacing),
2991 (gl_object_editor_get_text_line_spacing):
2992 * src/object-editor.glade:
2993 * src/object-editor.h:
2994 * src/prefs-dialog.c: (construct_object_page),
2995 (update_object_page_from_prefs), (update_prefs_from_object_page):
2996 * src/prefs-dialog.glade:
2997 * src/prefs-model.c: (gl_prefs_model_save_settings),
2998 (gl_prefs_model_load_settings), (get_float):
2999 * src/prefs-model.h:
3000 * src/print.c: (draw_text_object):
3002 * src/view-text.c: (update_object_from_editor_cb),
3003 (update_editor_from_object_cb),
3004 (gl_view_text_create_event_handler), (draw_hacktext):
3005 * src/view.c: (gl_view_construct),
3006 (gl_view_set_selection_text_line_spacing),
3007 (gl_view_set_default_text_line_spacing),
3008 (gl_view_get_default_text_line_spacing):
3010 * src/xml-label.c: (xml_parse_toplevel_span),
3011 (xml_create_toplevel_span):
3013 2003-12-30 Jim Evins <evins@snaught.com>
3015 * src/template-designer.c:
3016 * src/template-designer.h:
3017 * src/template-designer.glade:
3018 New template designer assistant.
3022 Added entries for src/template-designer.* files.
3024 * pixmaps/ex-1layout.png
3025 * pixmaps/ex-2layouts.png
3026 * pixmaps/Makefile.am:
3027 Added the new image files ex-*.png used as illustrations in the
3028 template designer assistant.
3030 * src/print-dialog.h:
3031 * src/print-dialog.c: (gl_print_dialog_finalize),
3032 (gl_print_dialog_new), (gl_print_dialog_construct),
3033 (gl_print_dialog_force_outline_flag):
3034 Changed first argument of gl_print_dialog_new() from glView to glLabel,
3035 to support printing from the template designer assistant which does not
3036 have a full-fledged view. Nothing else from the view object was being
3037 used by the dialog anyway.
3039 Added the gl_print_dialog_force_outline_flag() method, for better
3040 integration with the template designer assistant.
3044 * src/commands.c: (gl_cmd_file_template_designer),
3045 (gl_cmd_file_print):
3046 Modified print command to provide label instead of view to dialog.
3047 Added the gl_cmd_file_template_designer() command to invoke the
3048 template designer assistant.
3051 * src/glabels-ui.xml:
3052 Added support for template designer assistant.
3054 * src/wdgt-mini-preview.h:
3055 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
3056 (gl_wdgt_mini_preview_set_bg_color):
3057 Preview is now centered in canvas. Added
3058 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
3059 assistant to match the background color with its own.
3061 * src/print.c: (clip_to_outline):
3062 Fixed really stupid bug when adding waste to clip region of rectangular
3063 labels/cards. Each side of the clip region needs to be extended by
3064 twice the waste margin, as well as negatively offset by the waste
3067 2003-12-28 Jim Evins <evins@snaught.com>
3069 * src/prefs-dialog.c: (update_object_page_from_prefs):
3070 Block intermediary function align_toggle_cb() instead of
3071 update_prefs_from_object_page() for the three alignment
3074 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
3076 * src/file.c: (gl_file_new), (gl_file_properties):
3077 Swap button order and set default for higificatory pleasure.
3079 2003-12-27 Jim Evins <evins@snaught.com>
3081 * barcode-0.98/Makefile.am:
3082 One last time: removed doc/Makefile and po/Makefile.in.in from
3085 2003-12-27 Jim Evins <evins@snaught.com>
3087 * barcode-0.98/Makefile.am:
3088 Removed config.stat entry from EXTRA_DIST files.
3090 * barcode-0.98/Makefile.in:
3093 2003-12-27 Jim Evins <evins@snaught.com>
3096 Updated to work with latest gnome-common package from CVS.
3097 Removed recursive configuration of barcode-0.98.
3104 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
3106 * barcode-0.98/Makefile.in:
3107 * barcode-0.98/configure.in:
3108 * barcode-0.98/Makefile.am:
3109 * barcode-0.98/README.glabels:
3110 Modified to ignore the barcode package's build system, and build
3111 as a part of glabels.
3112 Renamed Makefile.in to Makefile.in.dist.
3113 Renamed configure.in to configure.in.dist.
3114 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
3117 * src/mygal/Makefile.am:
3118 * src/recent-files/Makefile.am:
3119 In order to build against the GNOME 2.5 platform,
3120 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
3122 * src/mygal/Makefile.am:
3123 * src/mygal/mygal-combo-box.c:
3124 * src/mygal/mygal-combo-box.h:
3125 * src/mygal/widget-color-combo.c:
3126 * src/mygal/widget-color-combo.h:
3128 In order to build against the GNOME 2.5 platform,
3129 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
3130 collisions with the real gtk_combo_box widget, now a part of gtk.
3132 2003-12-26 Jim Evins <evins@snaught.com>
3138 Moved local versions of get_home_data_dir() in paper.c and
3139 template.c to util package. Cleaned up formatting in
3143 In gl_template_register() save a copy of the template in
3144 ~/.glabels if the template is not known. Still need to
3145 handle duplicate filename case and duplicate name but
3146 different template case.
3150 Moved local definition of NAME_SPACE macro from xml-label.c
3153 * src/xml-template.c:
3154 * src/xml-template.h:
3155 Added function gl_xml_template_write_template_to_file(), used
3156 in gl_template_register().