1 2007-03-24 Jim Evins <evins@snaught.com>
3 * src/object-editor-image-page.c:
4 (gl_object_editor_prepare_image_page),
5 (gl_object_editor_set_image), (img_selection_changed_cb):
6 Workaround for GtkFileChooserButton bug # 327243. This the root
7 cause for gLabels bug # 1192884. I have actually observed 3 delayed
8 "selection-changed" signals -- the first 2 return NULL -- this is
9 what caused the image to reset to the default followed by setting
10 it back to the original image, trying to fit it into a new bounding
11 box. This sequence of events is much more evident with the new
14 2007-03-23 Jim Evins <evins@snaught.com>
16 Merged all changes from experimental cairo branch to trunk.
17 Trunk no longer depends on libgnomecanvas or libgnomeprint[ui].
19 2007-03-23 Jim Evins <evins@snaught.com>
22 * src/label-object.c: (gl_label_object_class_init),
23 (gl_label_object_get_raw_size), (gl_label_object_get_size):
24 Created "get_raw_size" method.
25 * src/label-barcode.c: (get_size):
26 * src/xml-label.c: (xml_create_object_text),
27 (xml_create_object_barcode):
28 Use new "get_raw_size" method on label-objects when apropos.
30 * src/label-text.c: (get_size), (draw_object), (draw_shadow),
31 (auto_shrink_font_size):
32 Added "auto shrink" functionality back.
34 2007-03-19 Jim Evins <evins@snaught.com>
36 * src/label-text.c: (draw_object), (draw_shadow):
37 Don't use negative scales in workaround from previous commit.
40 2007-03-18 Jim Evins <evins@snaught.com>
43 Forgot to remove include of xml-lable-191 in previous commit.
44 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
45 Workaround for pango Bug #341481. Render text at device scale,
46 and scale font size accordingly. Also, don't do any hinting.
48 2007-03-18 Jim Evins <evins@snaught.com>
50 * src/cairo-ellipse-path.c:
51 * src/cairo-ellipse-path.h:
52 Forgot to add these new files during last mass commit.
54 2007-03-18 Jim Evins <evins@snaught.com>
57 * src/xml-label-191.c:
58 * src/xml-label-191.h:
59 Removed -- Very buggy. Version 1.91 is a very old "unstable" version,
60 so there is no need to keep compatability.
63 * src/cairo-label-path.c:
64 * src/cairo-label-path.h:
65 * src/cairo-markup-path.c:
69 * src/glabels-batch.c:
71 * src/label-barcode.c:
73 * src/label-ellipse.c:
81 * src/merge-properties-dialog.c:
83 * src/new-label-dialog.c:
84 * src/object-editor-bc-page.c:
85 * src/object-editor-data-page.c:
86 * src/object-editor-edit-page.c:
87 * src/object-editor-fill-page.c:
88 * src/object-editor-image-page.c:
89 * src/object-editor-line-page.c:
90 * src/object-editor-private.h:
91 * src/object-editor-shadow-page.c:
92 * src/object-editor-text-page.c:
93 * src/object-editor.c:
99 * src/template-designer.c:
101 * src/ui-property-bar.c:
103 * src/view-barcode.c:
105 * src/view-ellipse.c:
112 * src/wdgt-media-select.c:
113 * src/wdgt-print-copies.c:
114 * src/wdgt-print-merge.c:
116 * src/xml-label-04.c:
118 Many changes, including:
119 - Move draw methods from view-*() to label-*().
120 - Use same drawing code for on screen view and printing.
121 - Fix all issues exposed with '-Wall -Werror'.
123 2007-03-14 Jim Evins <evins@snaught.com>
126 * src/cairo-handle-path.c:
127 * src/cairo-handle-path.h:
128 * src/cairo-object-path.c:
129 * src/cairo-object-path.h:
130 Removed cairo-handle-path.[ch] and cairo-object-path.[ch].
131 * src/view-barcode.c: (gl_view_barcode_class_init), (draw_object),
133 * src/view-box.c: (gl_view_box_class_init), (draw_object),
134 (draw_shadow), (object_at):
135 * src/view-ellipse.c: (gl_view_ellipse_class_init),
136 (create_ellipse_path), (draw_object), (draw_shadow), (object_at):
137 * src/view-image.c: (gl_view_image_class_init), (draw_object),
139 * src/view-line.c: (gl_view_line_class_init), (draw_object),
140 (draw_shadow), (object_at):
141 * src/view-object.c: (gl_view_object_draw), (gl_view_object_at),
142 (create_handle_path), (gl_view_object_draw_handles),
143 (gl_view_object_handle_at):
145 * src/view-text.c: (gl_view_text_class_init), (draw_object),
146 (draw_shadow), (object_at):
147 * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
148 Some restructuring of new code.
150 2007-03-12 Jim Evins <evins@snaught.com>
153 * src/cairo-object-path.c:
154 * src/view-barcode.c:
155 * src/view-barcode.h:
157 Added barcode object support to view.
159 2007-03-12 Jim Evins <evins@snaught.com>
165 * src/cairo-object-path.c:
166 * src/cairo-object-path.h:
168 * src/view-ellipse.c:
173 Added text object support to view. Added object_at method to all
176 2007-03-11 Jim Evins <evins@snaught.com>
179 * src/cairo-object-path.c: (gl_cairo_object_path),
180 (gl_cairo_image_object_path):
181 * src/view-image.c: (gl_view_image_class_init),
182 (gl_view_image_finalize), (gl_view_image_new),
183 (update_editor_from_label_cb), (draw),
184 (gl_view_image_get_create_cursor),
185 (gl_view_image_create_button_press_event),
186 (gl_view_image_create_motion_event),
187 (gl_view_image_create_button_release_event):
189 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
190 (selection_received_cb), (motion_notify_event_cb),
191 (button_press_event_cb), (button_release_event_cb):
192 Added image object support to view.
194 2007-03-11 Jim Evins <evins@snaught.com>
197 * src/cairo-object-path.c: (gl_cairo_object_path),
198 (gl_cairo_line_object_path):
199 * src/view-line.c: (gl_view_line_class_init), (gl_view_line_new),
200 (update_object_from_editor_cb), (update_editor_from_object_cb),
201 (update_editor_from_label_cb), (draw),
202 (gl_view_line_get_create_cursor),
203 (gl_view_line_create_button_press_event),
204 (gl_view_line_create_motion_event),
205 (gl_view_line_create_button_release_event):
207 * src/view-object.c: (gl_view_object_resize_event):
208 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
209 (selection_received_cb), (motion_notify_event_cb),
210 (button_press_event_cb), (button_release_event_cb):
211 Added line object support to view.
212 * src/cairo-handle-path.c:
213 Made handles slightly larger.
216 2007-03-11 Jim Evins <evins@snaught.com>
219 * src/cairo-handle-path.c:
220 * src/cairo-label-path.c: (gl_cairo_rect_label_path),
221 (gl_cairo_round_label_path), (gl_cairo_cd_label_path):
222 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
223 (gl_cairo_markup_margin_round_path),
224 (gl_cairo_markup_margin_cd_path), (gl_cairo_markup_circle_path):
225 * src/cairo-object-path.c: (gl_cairo_object_path),
226 (gl_cairo_ellipse_object_path):
227 * src/label-object.c: (gl_label_object_rotate):
230 * src/view-ellipse.c: (gl_view_ellipse_class_init),
231 (gl_view_ellipse_new), (update_object_from_editor_cb),
232 (update_editor_from_object_cb), (update_editor_from_label_cb),
233 (draw), (gl_view_ellipse_get_create_cursor),
234 (gl_view_ellipse_create_button_press_event),
235 (gl_view_ellipse_create_motion_event),
236 (gl_view_ellipse_create_button_release_event):
237 * src/view-ellipse.h:
240 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
241 (select_object_real), (selection_received_cb),
242 (motion_notify_event_cb), (button_press_event_cb),
243 (button_release_event_cb):
245 Added ellipse object support to view. Plus other cleanup.
247 2007-03-11 Jim Evins <evins@snaught.com>
250 * src/view-box.c: (gl_view_box_get_create_cursor),
251 (gl_view_box_create_button_press_event),
252 (gl_view_box_create_motion_event),
253 (gl_view_box_create_button_release_event):
254 * src/view-object.c: (gl_view_object_set_view),
255 (gl_view_object_handle_at):
257 * src/view.c: (gl_view_arrow_mode), (gl_view_object_create_mode),
258 (motion_notify_event_cb), (button_press_event_cb),
259 (button_release_event_cb), (key_press_event_cb):
260 Added creation code for box object.
262 2007-03-09 Jim Evins <evins@snaught.com>
264 * src/view-object.c: (gl_view_object_resize_event):
266 * src/view.c: (motion_notify_event_cb):
267 Fix bugs with resizing transformed objects.
268 * src/cairo-handle-path.c: (gl_cairo_handle_path):
269 * src/cairo-object-path.c: (gl_cairo_object_path):
270 * src/cairo-object-path.h:
271 * src/label-object.c: (gl_label_object_init),
272 (gl_label_object_dup), (gl_label_object_get_extent),
273 (gl_label_object_flip_horiz), (gl_label_object_flip_vert),
274 (gl_label_object_rotate), (gl_label_object_set_matrix),
275 (gl_label_object_get_matrix):
276 * src/label-object.h:
277 * src/print.c: (draw_object):
279 * src/view-highlight.c:
280 * src/view-highlight.h:
281 * src/xml-label-191.c: (xml191_parse_object):
282 * src/xml-label.c: (xml_parse_affine_attrs),
283 (xml_create_affine_attrs):
284 Replace libart affine matrices with cairo matrices.
286 2007-03-08 Jim Evins <evins@snaught.com>
289 * src/view.c: (gl_view_update), (motion_notify_event_cb):
290 * src/view-object.c: (gl_view_object_handle_at),
291 (gl_view_object_resize_event):
292 Added resize code -- still a bit buggy.
294 2007-03-07 Jim Evins <evins@snaught.com>
297 * src/cairo-handle-path.c:
298 * src/cairo-handle-path.h:
299 * src/view-box.c: (gl_view_box_new):
300 * src/view-object.c: (gl_view_object_set_object),
301 (gl_view_object_draw_handles), (gl_view_object_handle_at):
303 * src/view.c: (draw_highlight_layer), (select_object_real),
304 (unselect_object_real), (view_handle_at), (motion_notify_event_cb),
305 (button_press_event_cb), (button_release_event_cb),
306 (key_press_event_cb):
308 Added beginnings of object resize handles.
310 2007-03-07 Jim Evins <evins@snaught.com>
313 * src/view.c: (gl_view_init), (gl_view_arrow_mode),
314 (gl_view_object_create_mode), (motion_notify_event_cb),
315 (button_press_event_cb), (button_release_event_cb),
316 (key_press_event_cb):
317 Added move selection support.
319 2007-03-05 Jim Evins <evins@snaught.com>
321 * src/cairo-object-path.c: (gl_cairo_object_path):
322 * src/view-object.c: (gl_view_object_draw),
323 (gl_view_object_draw_highlight):
324 * src/view.c: (view_object_at), (motion_notify_event_cb),
325 (button_press_event_cb), (button_release_event_cb):
326 Additional refinements to select logic.
328 2007-03-05 Jim Evins <evins@snaught.com>
331 * src/view.c: (gl_view_init), (gl_view_construct),
332 (label_changed_cb), (draw_layers), (draw_select_region_layer),
333 (gl_view_select_region), (object_at), (motion_notify_event_cb),
334 (button_press_event_cb), (button_release_event_cb):
335 Added initial select region support and context menu.
337 2007-03-04 Jim Evins <evins@snaught.com>
355 * src/wdgt-print-copies.c:
356 * src/wdgt-print-merge.c:
358 Initial port to a raw Cairo canvas. This removes all remaining
359 dependencies on libgnomecanvas and libgnomeprint[ui]. Basically
360 the view is becoming a canvas widget in its own right. Still needs
362 * src/cairo-label-path.c:
363 * src/cairo-label-path.h:
364 * src/cairo-markup-path.c:
365 * src/cairo-markup-path.h:
366 * src/cairo-object-path.c:
367 * src/cairo-object-path.h:
368 New files to support cairo canvas.
369 * src/canvas-hacktext.c:
370 * src/canvas-hacktext.h:
373 2007-02-18 Jim Evins <evins@snaught.com>
376 GNOME_FONT_BOOK changed to PANGO_WEIGHT_NORMAL.
378 2007-02-14 Jim Evins <evins@snaught.com>
382 * src/bc-gnubarcode.c:
383 * src/bc-gnubarcode.h:
388 * src/canvas-hacktext.c:
389 * src/canvas-hacktext.h:
396 * src/label-barcode.c:
397 * src/label-barcode.h:
400 * src/label-ellipse.c:
401 * src/label-ellipse.h:
406 * src/label-object.c:
407 * src/label-object.h:
412 * src/merge-evolution.c:
413 * src/merge-evolution.h:
416 * src/merge-properties-dialog.c:
417 * src/merge-properties-dialog.h:
424 * src/mini-preview-pixbuf.h:
425 * src/new-label-dialog.c:
426 * src/new-label-dialog.h:
427 * src/object-editor-bc-page.c:
428 * src/object-editor-data-page.c:
429 * src/object-editor-edit-page.c:
430 * src/object-editor-fill-page.c:
431 * src/object-editor-image-page.c:
432 * src/object-editor-line-page.c:
433 * src/object-editor-lsize-page.c:
434 * src/object-editor-position-page.c:
435 * src/object-editor-private.h:
436 * src/object-editor-size-page.c:
437 * src/object-editor-text-page.c:
438 * src/object-editor.c:
439 * src/object-editor.h:
440 * src/pixbuf-cache.c:
441 * src/pixbuf-cache.h:
442 * src/prefs-dialog.c:
443 * src/prefs-dialog.h:
451 * src/template-designer.c:
456 * src/ui-property-bar.c:
457 * src/ui-property-bar.h:
466 * src/view-barcode.c:
467 * src/view-barcode.h:
470 * src/view-ellipse.c:
471 * src/view-ellipse.h:
472 * src/view-highlight.c:
473 * src/view-highlight.h:
484 * src/wdgt-chain-button.c:
485 * src/wdgt-chain-button.h:
486 * src/wdgt-media-select.c:
487 * src/wdgt-mini-preview.c:
488 * src/wdgt-print-copies.c:
489 * src/wdgt-print-copies.h:
490 * src/wdgt-print-merge.c:
491 * src/wdgt-print-merge.h:
492 * src/wdgt-rotate-label.c:
494 * src/xml-label-04.c:
495 * src/xml-label-04.h:
496 * src/xml-label-191.c:
497 * src/xml-label-191.h:
501 Assorted superficial cleanup. Including:
502 - Use G_DEFINE_TYPE for all objects.
503 - Reconcile style of all class initializer functions
504 - Reconcile style of all finalize functions
505 - Add emacs mode line to all source files
507 2007-02-06 Jim Evins <evins@snaught.com>
509 Assorted cleanup and removal of deprecated items.
514 Removed annoying splash screen.
515 * src/glabels-batch.c: (main):
516 * src/glabels.c: (main):
517 Converted from popt to GOption.
518 * src/object-editor-shadow-page.c:
519 (gl_object_editor_set_shadow_state):
520 Removed deprecated method on GtkToggleButton.
521 * src/ui-commands.c: (gl_ui_cmd_help_about):
522 Removed dependency on libgnomui/qnome-url.h.
523 * src/template-designer.c:
524 Removed dependency on libgnome/gnome-program.h.
527 2007-02-04 Jim Evins <evins@snaught.com>
532 * src/print.c: (draw_text_object):
533 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_construct):
534 Removed GnomeCanvas artifacts from color.[ch] and related modules.
536 2007-02-04 Jim Evins <evins@snaught.com>
538 * src/wdgt-mini-preview.c:
539 * src/wdgt-mini-preview.h:
540 Ported widget from GnomeCanvas to Cairo.
542 2007-02-03 Jim Evins <evins@snaught.com>
544 * data/glade/template-designer.glade:
545 * src/template-designer.c:
546 * src/template-designer.h:
547 Ported GnomeDruid to GtkAssistant. Since libglade does not
548 yet support the GtkAssistant and we derive directly from
549 the Assistant, the pages are layed out in a GtkNotebook in
550 the glade description -- we then append each page to the
553 2007-01-25 Jim Evins <evins@snaught.com>
555 * data/glade/object-editor.glade:
556 Added dummy page to notebook, to prevent shadow page from
557 becoming the default current page at creation.
558 * src/view-box.c: (construct_properties_editor):
559 * src/view-ellipse.c: (construct_properties_editor):
560 * src/view-line.c: (construct_properties_editor):
561 * src/view-text.c: (construct_properties_editor):
562 Reconciled order of params.
564 2007-01-19 Jim Evins <evins@snaught.com>
566 * src/label-barcode.h:
567 * src/label-object.c: (gl_label_object_set_font_weight),
568 (gl_label_object_set_text_alignment),
569 (gl_label_object_get_font_weight),
570 (gl_label_object_get_text_alignment):
571 * src/label-object.h:
572 * src/label-text.c: (gl_label_text_instance_init), (copy),
573 (get_size), (set_font_family), (set_font_weight),
574 (set_text_alignment), (get_font_weight), (get_text_alignment):
576 * src/object-editor-text-page.c:
577 (gl_object_editor_prepare_text_page),
578 (gl_object_editor_set_font_family),
579 (gl_object_editor_set_font_weight),
580 (gl_object_editor_get_font_weight),
581 (gl_object_editor_set_text_alignment),
582 (gl_object_editor_get_text_alignment),
583 (gl_object_editor_set_text_color):
584 * src/object-editor.h:
585 * src/prefs-dialog.c: (construct_object_page),
586 (update_object_page_from_prefs), (update_prefs_from_object_page):
587 * src/prefs-model.c: (gl_prefs_model_save_settings),
588 (gl_prefs_model_load_settings):
590 * src/print.c: (draw_text_object):
591 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
592 (reset_to_default_properties), (update_text_properties),
593 (font_bold_toggled_cb), (text_align_toggled_cb):
595 * src/util.c: (gl_util_align_to_string), (gl_util_string_to_align),
596 (gl_util_weight_to_string), (gl_util_string_to_weight),
597 (gl_util_get_font_family_list), (gl_util_font_family_list_free):
599 * src/view-text.c: (update_object_from_editor_cb),
600 (update_editor_from_object_cb), (draw_hacktext), (draw_cursor):
601 * src/view.c: (gl_view_set_selection_text_alignment),
602 (gl_view_set_default_text_alignment),
603 (gl_view_get_default_text_alignment):
605 * src/xml-label-04.c: (xml04_parse_text_props):
606 * src/xml-label-191.c: (xml191_parse_text_props):
607 * src/xml-label.c: (xml_parse_object_text),
608 (xml_parse_toplevel_span), (xml_create_object_text),
609 (xml_create_toplevel_span):
610 Converted all model internals to Pango. GnomeFont remains in
611 view until GnomeCanvas can be replaced with a cairo-based canvas.
613 2007-01-17 Jim Evins <evins@snaught.com>
619 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type),
620 (gl_wdgt_print_copies_construct):
621 * src/wdgt-print-copies.h:
622 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type),
623 (gl_wdgt_print_merge_construct):
624 * src/wdgt-print-merge.h:
625 Removed all remaining HIG wrapper widgets.
627 2007-01-16 Jim Evins <evins@snaught.com>
630 * src/print-dialog.c:
631 * src/print-dialog.h:
634 * src/template-designer.c: (print_test_cb):
635 * src/ui-commands.c: (gl_ui_cmd_file_print):
637 Renamed PrintDialog to PrintOp. Added constructor for batch
639 * src/glabels-batch.c: (main):
640 Converted to use new PrintOp object for printing.
642 2007-01-15 Jim Evins <evins@snaught.com>
644 * data/glade/Makefile.am:
645 * data/glade/print-custom-widget.glade:
646 * src/print-dialog.c:
647 * src/print-dialog.h:
650 * src/template-designer.c: (print_test_cb):
651 * src/ui-commands.c: (gl_ui_cmd_file_print):
652 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_copies):
653 * src/wdgt-print-merge.h:
654 * src/window.c: (gl_window_init):
656 Initial conversion to GtkPrintOperation.
658 - Remove font and other libgnomeprint[ui] from elsewhere
659 - Add batch initialization of print operation
661 2007-01-08 Jim Evins <evins@snaught.com>
663 Updated dependencies. Set version to 2.1.pre4cvs.
665 2007-01-03 Jim Evins <evins@snaught.com>
668 Removed EggRecent stuff.
677 Ported from EggRecent to GtkRecentManager.
680 2007-01-02 Jim Evins <evins@snaught.com>
683 * iec16022-0.2.1/BUGS:
684 * iec16022-0.2.1/CHANGELOG:
685 * iec16022-0.2.1/CREDITS:
686 * iec16022-0.2.1/INSTALL:
687 * iec16022-0.2.1/LICENSE:
688 * iec16022-0.2.1/Makefile.am:
689 * iec16022-0.2.1/Makefile.dist:
690 * iec16022-0.2.1/README:
691 * iec16022-0.2.1/README.glabels:
692 * iec16022-0.2.1/TODO:
693 * iec16022-0.2.1/iec16022.1:
694 * iec16022-0.2.1/iec16022.c:
695 * iec16022-0.2.1/iec16022ecc200.c:
696 * iec16022-0.2.1/iec16022ecc200.h:
697 * iec16022-0.2.1/image.c:
698 * iec16022-0.2.1/image.h:
699 * iec16022-0.2.1/reedsol.c:
700 * iec16022-0.2.1/reedsol.h:
701 * iec16022-0.2.1/test/testsuite-example.bin:
702 * iec16022-0.2.1/test/testsuite-example.eps:
703 * iec16022-0.2.1/test/testsuite-example.hex:
704 * iec16022-0.2.1/test/testsuite-example.png:
705 * iec16022-0.2.1/test/testsuite-example.text:
706 * iec16022-0.2.1/test/testsuite.sh:
707 Include modified copy of iec16022-0.2.1 to provide encoding
708 support for datamatrix 2D barcodes.
713 Added initial datamatrix 2D barcode backend to barcode code.
716 Automatic updates to later versions of these files.
718 2006-11-28 Jim Evins <evins@snaught.com>
720 * data/templates/avery-iso-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-us-templates.xml:
725 * data/templates/zweckform-iso-templates.xml:
728 2006-09-12 Jim Evins <evins@snaught.com>
730 * data/dtd/glabels-2.0.dtd:
731 * data/templates/Makefile.am:
732 * data/templates/avery-iso-templates.xml:
733 * data/templates/avery-other-templates.xml:
734 * data/templates/avery-us-templates.xml:
735 * data/templates/categories.xml:
736 * data/templates/misc-iso-templates.xml:
737 * data/templates/misc-other-templates.xml:
738 * data/templates/zweckform-iso-templates.xml:
739 * data/glade/Makefile.am:
740 * data/glade/new-label-dialog.glade:
741 * data/glade/wdgt-media-select.glade:
742 * data/glade/wdgt-rotate-label.glade:
743 * libglabels/Makefile.am:
744 * libglabels/category.c:
745 * libglabels/category.h:
746 * libglabels/libglabels.h:
747 * libglabels/paper.c:
748 * libglabels/template.c:
749 * libglabels/template.h:
750 * libglabels/xml-category.c:
751 * libglabels/xml-category.h:
752 * libglabels/xml-template.c:
753 Added support for category meta data.
756 * src/mini-preview-pixbuf.c:
757 * src/mini-preview-pixbuf.h:
758 * src/new-label-dialog.c:
759 * src/new-label-dialog.h:
760 * src/wdgt-media-select.c:
761 * src/wdgt-media-select.h:
762 * src/wdgt-rotate-label.c:
763 * src/wdgt-rotate-label.h:
764 New "new label" dialog.
766 2006-05-27 Jim Evins <evins@snaught.com>
771 Preparation for 2.1.3.
777 2006-05-22 Jim Evins <evins@snaught.com>
779 * src/print.c: (draw_barcode_object):
780 Don't print "Invalid barcode data" if data field is empty. Patch provided
781 by Darren Warner <warnerd@users.sourceforge.net>. Fixes Bug #1479839.
783 Added acknowledgment for above patch.
784 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
785 * src/bc-postnet.c: (postnet_code):
786 Removed "Invalid barcode data" warnings from stderr.
787 * src/view-barcode.c: (draw_barcode):
788 Draw box around barcode extent if data empty or invalid. Center a
789 message whether the data is empty or invalid in box.
791 2006-05-22 Jim Evins <evins@snaught.com>
793 * src/print.c: (draw_text_object):
794 Check shadow state when printing text.
796 2006-05-20 Jim Evins <evins@snaught.com>
798 * src/ui-commands.c: (gl_ui_cmd_view_grid_toggle),
799 (gl_ui_cmd_view_markup_toggle):
800 Fixed crash when grid or markup have been toggled off during
801 a previous session. Bug #1434324.
803 2006-04-05 Jim Evins <evins@snaught.com>
805 * src/object-editor.c: (gl_object_editor_set_key_names):
806 Fixed potential crash when freeing empty key list.
808 2006-03-11 Jim Evins <evins@snaught.com>
810 * src/print.c: (draw_text_object):
811 * src/view-text.c: (gl_view_text_new),
812 (construct_properties_editor), (update_object_from_editor_cb),
813 (update_editor_from_object_cb), (update_editor_from_label_cb),
815 Added shadow support to text object.
817 2006-02-18 Jim Evins <evins@snaught.com>
819 * src/print.c: (draw_line_object):
820 * src/view-line.c: (gl_view_line_new),
821 (construct_properties_editor), (update_canvas_item_from_object_cb),
822 (update_object_from_editor_cb), (update_editor_from_object_cb),
823 (update_editor_from_label_cb):
824 Added shadow support to line object.
826 2006-02-16 Jim Evins <evins@snaught.com>
830 * src/print.c: (draw_ellipse_object):
831 * src/view-ellipse.c: (gl_view_ellipse_new),
832 (construct_properties_editor), (update_canvas_item_from_object_cb),
833 (update_object_from_editor_cb), (update_editor_from_object_cb),
834 (update_editor_from_label_cb):
835 Added shadow support to ellipse object.
837 2006-02-15 Jim Evins <evins@snaught.com>
839 * src/label-object.c:
840 Changed default shadow offsets.
841 * src/view-box.c: (gl_view_box_new):
842 Simplified gl_view_box_new() so that is does not duplicate code
843 in update_canvas_item_from_object_cb().
845 2006-02-07 Jim Evins <evins@snaught.com>
847 * data/glade/object-editor.glade:
848 Fixed color groups of color combos.
850 Added default shadow color.
851 * src/object-editor.c: (gl_object_editor_construct_color_combo):
852 Added shadow color group.
854 2006-02-06 Jim Evins <evins@snaught.com>
856 * src/object-editor-shadow-page.c:
857 Forgot to add this file.
858 * src/view-box.c: (gl_view_box_new),
859 (update_canvas_item_from_object_cb), (update_editor_from_label_cb):
860 Update limits on shadow offset spinbuttons.
862 2006-01-19 Jim Evins <evins@snaught.com>
864 * src/merge-evolution.c: (gl_merge_evolution_get_key_list):
865 Initialize key_list to NULL.
866 * data/glade/object-editor.glade:
870 * src/label-object.c:
871 * src/label-object.h:
872 * src/object-editor-fill-page.c:
873 * src/object-editor-private.h:
874 * src/object-editor.c:
875 * src/object-editor.h:
877 Created infrastructure for shadow support.
880 Initial shadow support in box object only.
882 2006-01-05 Jim Evins <evins@snaught.com>
884 * src/merge-properties-dialog.c: (src_changed_cb):
885 Be extra paranoid before calling strcmp().
886 * src/merge.c: (gl_merge_set_src):
887 Don't make (merge == NULL) a critical error.
889 2005-12-22 Jim Evins <evins@snaught.com>
891 * src/glabels-batch.c: (main):
892 Compile warning free with gcc 4.0.
894 2005-12-21 Jim Evins <evins@snaught.com>
897 Updated example RPM spec file.
899 2005-12-21 Jim Evins <evins@snaught.com>
903 Preparation for 2.1.2.
905 2005-12-20 Jim Evins <evins@snaught.com>
908 Define unique G_LOG_DOMAIN for glabels.
909 * src/critical-error-handler.c: (gl_critical_error_handler_init):
910 * src/warning-handler.c: (gl_warning_handler_init),
912 Register for G_LOG_DOMAIN instead of NULL.
914 2005-12-10 Jim Evins <evins@snaught.com>
916 * src/merge-evolution.c:
920 2005-12-08 Jim Evins <evins@snaught.com>
922 * libglabels/paper.c: (read_paper_files_from_dir):
923 * libglabels/template.c: (gl_template_register),
924 (read_template_files_from_dir):
925 * libglabels/xml-paper.c: (gl_xml_paper_read_papers_from_file),
926 (gl_xml_paper_parse_papers_doc):
927 * libglabels/xml-template.c:
928 (gl_xml_template_read_templates_from_file),
929 (gl_xml_template_parse_templates_doc),
930 (gl_xml_template_parse_template_node),
931 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
932 (xml_parse_label_cd_node), (xml_parse_layout_node),
933 (xml_parse_markup_margin_node), (xml_parse_markup_line_node),
934 (xml_parse_markup_circle_node),
935 (gl_xml_template_write_templates_to_file), (xml_create_label_node):
936 * libglabels/xml.c: (gl_xml_get_prop_length):
937 Re-classified g_warnings to g_messages.
939 * src/glabels.c: (main):
940 * src/warning-handler.c: (gl_warning_handler_init),
942 * src/warning-handler.h:
943 Added warning message handler to make sure the user is
944 presented with appropriate non-fatal errors.
945 * src/critical-error-handler.c: (critical_error_handler):
946 Changed exit to abort.
947 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new), (render_pass1):
948 * src/bc-postnet.c: (postnet_code):
949 * src/bc.c: (id_to_index), (name_to_index):
950 * src/merge.c: (gl_merge_register_backend), (gl_merge_new):
951 * src/object-editor.c: (gl_object_notebook_construct_valist):
952 * src/prefs-dialog.c: (update_locale_page_from_prefs):
953 * src/prefs.c: (gl_prefs_get_units_per_point),
954 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
955 (gl_prefs_get_units_string):
956 * src/print.c: (draw_outline), (clip_to_outline), (clip_punchouts):
957 * src/splash.c: (gl_splash):
958 * src/ui-commands.c: (gl_ui_cmd_help_contents):
959 * src/view-highlight.c: (gl_view_highlight_new),
960 (highlight_resizable_box_construct), (object_changed_cb),
961 (view_scale_changed_cb):
962 * src/view.c: (draw_label_layer), (draw_bg_fg_layers),
963 (draw_markup_layer), (draw_markup_margin),
964 (gl_view_object_create_mode), (canvas_event),
965 (selection_received_cb):
966 * src/wdgt-mini-preview.c: (mini_outline_list_new):
967 * src/wdgt-rotate-label.c: (mini_preview_canvas_update):
968 * src/xml-label-04.c: (gl_xml_label_04_parse),
969 (xml04_parse_media_description), (xml04_parse_text_props),
970 (xml04_parse_barcode_props):
971 * src/xml-label-191.c: (gl_xml_label_191_parse),
972 (xml191_parse_objects), (xml191_parse_object),
973 (xml191_parse_text_props), (xml191_parse_image_props),
974 (xml191_parse_barcode_props), (xml191_parse_data),
975 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
976 (xml191_parse_markup):
977 * src/xml-label.c: (gl_xml_label_open), (gl_xml_label_open_buffer),
978 (xml_doc_to_label), (xml_parse_label), (xml_parse_objects),
979 (xml_parse_object_text), (xml_parse_object_image),
980 (xml_parse_object_barcode), (xml_parse_data),
981 (xml_parse_toplevel_span), (gl_xml_label_save),
982 (xml_create_objects):
983 Re-classified g_warnings to g_messages.
984 * src/merge-evolution.c: (gl_merge_evolution_open),
985 (gl_merge_evolution_close), (gl_merge_evolution_get_record):
986 Use g_warning to output errors encountered while
987 communicating with the evolution data server
988 instead of embedding them in the data.
990 2005-12-08 Jim Evins <evins@snaught.com>
992 * libglabels/libglabels-private.h:
994 * libglabels/paper.c: (read_papers):
995 * libglabels/template.c: (read_templates):
996 Made appropriate warnings critical.
998 * src/critical-error-handler.h:
999 * src/critical-error-handler.c: (gl_critical_error_handler_init),
1000 (critical_error_handler):
1001 Created critical error handler.
1002 * src/glabels.c: (main):
1003 Register critical error handler.
1004 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
1005 * src/object-editor.c: (gl_object_editor_init):
1006 * src/prefs-dialog.c: (gl_prefs_dialog_init):
1007 * src/template-designer.c: (gl_template_designer_init):
1008 * src/ui-property-bar.c: (gl_ui_property_bar_instance_init):
1009 Made appropriate warnings critical.
1011 2005-11-27 Jim Evins <evins@snaught.com>
1013 * src/merge-evolution.c: (gl_merge_evolution_get_key_list),
1014 (gl_merge_evolution_get_primary_key),
1015 (gl_merge_evolution_get_record):
1016 Don't create "record_key" pseudo-key. Don't populate
1017 fields with null data.
1019 2005-11-25 Jim Evins <evins@snaught.com>
1021 * src/merge-evolution.c: (gl_merge_evolution_finalize),
1022 (gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
1023 (gl_merge_evolution_get_record), (gl_merge_evolution_copy),
1025 Query EDS for all supported fields. Patch provided by
1026 Austin Henry <ahenry@users.sourceforge.net>.
1028 2005-10-29 Jim Evins <evins@snaught.com>
1030 * src/glabels.c: (main):
1031 * src/label-barcode.c: (gl_label_barcode_finalize):
1032 * src/label-text.c: (gl_label_text_finalize), (set_font_family):
1033 * src/label.c: (gl_label_instance_init), (gl_label_finalize):
1034 * src/object-editor.c: (gl_object_editor_finalize):
1035 Another pass at valgrinding -- plugged several memory leaks.
1036 * src/view-text.c: (gl_view_text_new),
1037 (update_canvas_item_from_object_cb), (draw_hacktext):
1038 Commented out artifacts of edit-in-place code.
1040 2005-10-28 Jim Evins <evins@snaught.com>
1042 * src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
1043 Fixed use of uninitialized variable. Caught by
1044 d binderman <dcb314@hotmail.com>.
1046 2005-10-27 Jim Evins <evins@snaught.com>
1048 * src/merge-evolution.c: (gl_merge_evolution_get_record):
1049 * src/merge-vcard.c: (gl_merge_vcard_get_record),
1051 Additional cleanup of EDS and vcard backends. Provided by
1052 Austin Henry <ahenry@users.sourceforge.net>.
1054 2005-10-24 Jim Evins <evins@snaught.com>
1058 * src/merge-evolution.c:
1059 * src/merge-evolution.h:
1060 * src/merge-init.c: (gl_merge_init):
1061 * src/merge-properties-dialog.c: (type_changed_cb):
1062 * src/merge-vcard.c:
1063 * src/merge-vcard.h:
1064 * src/ui-commands.c: (gl_ui_cmd_help_about):
1065 Added Evolution Data Server and VCard merge backends. Original patch
1066 provided by Austin Henry <ahenry@users.sourceforge.net>.
1068 Only support EDS and VCard backends if libebook is installed. Allow
1069 user to disable support, even if installed.
1071 2005-10-24 Jim Evins <evins@snaught.com>
1074 * data/templates/avery-iso-templates.xml:
1075 * data/templates/avery-us-templates.xml:
1076 * data/templates/misc-iso-templates.xml:
1077 * data/templates/zweckform-iso-templates.xml:
1078 Collected all template changes and submissions since last
1081 2005-10-23 Jim Evins <evins@snaught.com>
1084 * data/mime/Makefile.am:
1085 Added configure options to disable update-mime-database and
1086 update-desktop-database as part of the install. Patch
1087 provided by Leonardo Boshell (qhoracio@sourceforge.net).
1089 2005-10-23 Jim Evins <evins@snaught.com>
1092 * libglabels/xml.c: (gl_xml_get_prop_string),
1093 (gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
1094 (gl_xml_is_node), (gl_xml_get_node_content):
1095 Added new XML utility functions.
1096 * libglabels/xml-paper.c:
1097 * libglabels/xml-template.c:
1099 Cleanup by using new xml utilities created above.
1100 * libglabels/paper.c: (gl_paper_free):
1101 * src/file.c: (new_response):
1102 * src/object-editor-image-page.c: (add_image_filters_to_chooser):
1103 * src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
1104 (gl_pixbuf_cache_get_pixbuf):
1105 * src/ui-property-bar.c:
1106 (gl_ui_property_bar_construct_color_combo):
1107 * src/view-highlight.c: (gl_view_highlight_finalize):
1108 * src/view-image.c: (update_object_from_editor_cb):
1109 * src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
1110 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
1111 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
1112 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
1113 (draw_markup_margin_round), (draw_markup_margin_cd),
1114 (draw_markup_margin_cd_bc):
1115 * src/wdgt-mini-preview.c: (mini_outline_list_new):
1116 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
1117 Plugged various memory leaks located with valgrind.
1118 * src/view-image.c: (update_canvas_item_from_object_cb):
1119 Don't allow a width or height of zero when drawing pixbuf.
1121 2005-10-22 Jim Evins <evins@snaught.com>
1123 * libglabels/xml-paper.c:
1124 * libglabels/xml-template.c:
1127 * src/bc-gnubarcode.c:
1128 * src/canvas-hacktext.c:
1130 * src/object-editor-data-page.c:
1131 * src/print-dialog.c:
1134 * src/template-designer.c:
1136 * src/ui-property-bar.c:
1138 * src/view-barcode.c:
1140 * src/view-ellipse.c:
1145 * src/wdgt-media-select.c:
1146 * src/xml-label-04.c:
1147 * src/xml-label-191.c:
1149 Modified to compile warning free with gcc-4.0. Mostly
1150 casting to change signedness of characters. Did not
1151 attack gnu-barcode library yet.
1153 2005-10-22 Jim Evins <evins@snaught.com>
1155 * src/glabels.c: (main):
1156 * src/splash.c: (gl_splash):
1157 Removed some small memory leaks.
1161 2005-09-19 Jim Evins <evins@snaught.com>
1163 * data/glade/property-bar.glade:
1164 Remove items from font_family_combo. This prevents the
1165 double entry after adding text model and list of fonts.
1166 * src/ui-property-bar.c: (reset_to_default_properties):
1167 Free font_family_list.
1169 2005-07-01 Jim Evins <evins@snaught.com>
1172 Updated italian translation (Daniele Medri)
1174 2005-06-26 Jim Evins <evins@snaught.com>
1176 * docs/libglabels/libglabels-decl-list.txt:
1177 Somehow never got checked in before.
1178 * docs/libglabels/libglabels.types:
1179 Removed -- don't need it afterall.
1181 2005-06-20 Jim Evins <evins@snaught.com>
1184 Final prep for 2.1.1 release.
1186 2005-06-20 Jim Evins <evins@snaught.com>
1189 Final preps for 2.1.1 release.
1190 * docs/libglabels/libglabels.types:
1191 Somehow never got checked in before.
1193 Bring up-to-date with recent reorg of ui code.
1196 2005-06-19 Jim Evins <evins@snaught.com>
1198 * src/template-designer.c: (construct_layout_page):
1199 Removed attempt to match background color of mini preview widget to
1202 2005-06-17 Jim Evins <evins@snaught.com>
1204 * help/C/figures/merge-ex2-4.png:
1205 * help/C/glabels.xml:
1206 Fixed spelling error.
1208 2005-06-13 Jim Evins <evins@snaught.com>
1210 * help/C/figures/merge-ex1-1.png:
1211 * help/C/figures/merge-ex1-2.png:
1212 * help/C/figures/merge-ex1-3.png:
1213 * help/C/figures/merge-ex1-4.png:
1214 * help/C/figures/merge-ex2-1.png:
1215 * help/C/figures/merge-ex2-2.png:
1216 * help/C/figures/merge-ex2-3.png:
1217 * help/C/figures/merge-ex2-4.png:
1218 Added figures for document merge tutorial.
1219 * help/C/glabels.xml:
1220 Added document merge tutorial.
1222 2005-05-19 Jim Evins <evins@snaught.com>
1224 * data/glade/merge-properties-dialog.glade:
1225 Fixed irregular spacing.
1226 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
1227 (gl_merge_properties_dialog_construct):
1228 Set outer padding and remove separator.
1230 2005-05-18 Jim Evins <evins@snaught.com>
1234 Removed glHigDialog class.
1235 * src/file.c: (gl_file_new), (create_new_dialog_widgets),
1236 (gl_file_properties), (create_properties_dialog_widgets):
1237 * src/prefs-dialog.h:
1238 * src/prefs-dialog.c: (gl_prefs_dialog_get_type),
1239 (gl_prefs_dialog_init), (gl_prefs_dialog_construct):
1240 * src/print-dialog.h:
1241 * src/prefs-dialog.h:
1242 * src/print-dialog.c: (gl_print_dialog_get_type),
1243 (gl_print_dialog_init), (gl_print_dialog_construct):
1244 Replaced all instances of glHigDialog with GtkDialog.
1246 2005-05-17 Jim Evins <evins@snaught.com>
1250 Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
1251 * src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
1252 (save_as_response), (gl_file_close):
1253 Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.
1255 2005-05-15 Jim Evins <evins@snaught.com>
1257 * src/ui-commands.h:
1265 A little code reformatting -- no functional changes.
1267 2005-05-14 Jim Evins <evins@snaught.com>
1270 Removed obsolete macros.
1272 Added marshalling template to support new view signal: "context_menu_activate."
1274 * src/view.c: (gl_view_class_init), (gl_view_construct),
1275 (canvas_event_arrow_mode):
1276 - Removed hardcoded context menus and added new signal "context_menu_activate"
1277 to push this up to the uimanager.
1278 - Removed merge properties and print dialogs so that they can be managed with
1279 the window by the uimanager.
1280 * src/merge-properties-dialog.h:
1281 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
1282 (gl_merge_properties_dialog_construct):
1283 Changed calling convention of gl_merge_properties_dialog_new() to use
1284 glLabel and GtkWindow instead of view to make more consistent with other
1286 * src/print-dialog.h:
1287 * src/print-dialog.c: (gl_print_dialog_new),
1288 (gl_print_dialog_construct):
1289 Removed last artifact of libbonoboui.
1290 * src/ui-commands.c: (gl_ui_cmd_file_print),
1291 (gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
1292 Reconciled style for launching dialogs.
1293 * src/ui.c: (gl_ui_new):
1294 Added context menus to ui manager.
1295 * src/view-object.c: (item_event_arrow_mode):
1296 No longer try to select objects with right-click.
1298 * src/window.c: (gl_window_init), (gl_window_set_label),
1299 (context_menu_activate_cb):
1300 Context menus and all dialogs are now managed in a consistent way in window
1303 2005-05-11 Jim Evins <evins@snaught.com>
1306 * src/window.c: (gl_window_init), (gl_window_destroy):
1307 * src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
1308 * src/ui-commands.c: (gl_ui_cmd_file_open_recent):
1309 Moved management of recent_view back from window.c to ui.c -- it just feels
1312 2005-05-10 Jim Evins <evins@snaught.com>
1315 * src/window.c: (gl_window_init):
1317 * src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
1318 (menu_item_select_cb), (menu_item_deselect_cb):
1319 Added GtkStatusbar which displays menu tooltips.
1321 2005-05-09 Jim Evins <evins@snaught.com>
1323 Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
1328 Removed dependencies on libbonoboui.
1330 * data/ui/Makefile.am:
1331 * data/ui/glabels-ui.xml:
1332 Removed data/ui directory.
1333 * data/glade/Makefile.am:
1334 * data/property-bar.glade:
1335 Added glade description of property-bar for new libglade implementation
1342 * src/ui-commands.h:
1343 * src/ui-commands.c:
1344 Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
1345 since the distinction between "commands" and "tools" is no longer that clear.
1348 Modified to expect glWindow instead of GtkWindow. gl_file_open_recent()
1349 no longer has knowledge of eggRecent*.
1350 * src/glabels.c: (main):
1351 Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
1353 * src/object-editor.c: (gl_object_editor_init):
1354 Make sure notebook does not respond to a "show_all" on the parent.
1355 * src/recent-files/Makefile.am:
1356 * src/recent-files/*.[ch]
1357 Updated from latest version of libegg which now has a view based on
1358 GtkUIManager. Removed unused bonobo and gtk views.
1359 * src/ui-property-bar.h:
1360 * src/ui-property-bar.c:
1361 New implementation based on libglade.
1364 Sidebar is now simply a GtkWidget and does not expect to be a part of
1365 a libbonoboui interface.
1370 Converted for use with GtkUIManager.
1373 Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
1374 to create menus and toolbars.
1376 2005-04-25 Jim Evins <evins@snaught.com>
1378 * data/templates/misc-iso-templates.xml:
1379 Added Fellows 04715 template provided by Steve Saxon.
1381 Updated acknowledgement for above.
1383 2005-04-23 Jim Evins <evins@snaught.com>
1385 * src/util.c: (gl_util_combo_box_set_strings):
1386 Make sure to clear model before loading a new list of strings.
1387 * src/wdgt-media-select.h:
1388 * src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
1389 (gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
1390 (template_combo_changed_cb), (prefs_changed_cb),
1391 (gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
1392 (gl_wdgt_media_select_get_page_size),
1393 (gl_wdgt_media_select_set_page_size):
1394 Replaced the deprecated GtkCombo widget with the new
1397 2005-04-21 Jim Evins <evins@snaught.com>
1399 * data/glade/template-designer.glade:
1400 * src/template-designer.c: (construct_pg_size_page),
1401 (pg_size_page_changed_cb), (build_template):
1402 Replaced the deprecated GtkCombo widget with the new
1405 2005-04-20 Jim Evins <evins@snaught.com>
1407 * data/glade/prefs-dialog.glade:
1408 * src/prefs-dialog.c: (construct_object_page),
1409 (update_object_page_from_prefs), (update_prefs_from_object_page):
1410 Replaced the deprecated GtkCombo widget with the new
1413 2005-04-19 Jim Evins <evins@snaught.com>
1415 * data/glade/object-editor.glade:
1416 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
1417 (style_changed_cb), (gl_object_editor_set_bc_style),
1418 (gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
1419 (gl_object_editor_get_bc_color):
1420 * src/object-editor-data-page.c:
1421 (gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
1422 (gl_object_editor_get_data):
1423 * src/object-editor-edit-page.c:
1424 (gl_object_editor_prepare_edit_page), (insert_button_cb):
1425 * src/object-editor-fill-page.c:
1426 (gl_object_editor_prepare_fill_page),
1427 (gl_object_editor_set_fill_color),
1428 (gl_object_editor_get_fill_color):
1429 * src/object-editor-image-page.c:
1430 (gl_object_editor_prepare_image_page),
1431 (gl_object_editor_set_image), (gl_object_editor_get_image):
1432 * src/object-editor-line-page.c:
1433 (gl_object_editor_prepare_line_page),
1434 (gl_object_editor_set_line_color),
1435 (gl_object_editor_get_line_color):
1436 * src/object-editor-private.h:
1437 * src/object-editor-text-page.c:
1438 (gl_object_editor_prepare_text_page),
1439 (gl_object_editor_set_font_family),
1440 (gl_object_editor_get_font_family),
1441 (gl_object_editor_set_text_color),
1442 (gl_object_editor_get_text_color):
1443 * src/object-editor.c: (gl_object_editor_set_key_names):
1445 In the object editor: replaced all instances of the deprecated
1446 GtkCombo widget with the new GtkComboBox.
1448 2005-04-18 Jim Evins <evins@snaught.com>
1451 Neglected to save this one in previous checkin to support
1454 2005-04-17 Jim Evins <evins@snaught.com>
1456 * libglabels/libglabels-private.h:
1457 * libglabels/paper.c:
1458 * libglabels/paper.h:
1459 * libglabels/template.c:
1460 * libglabels/template.h:
1461 * libglabels/xml-paper.c:
1462 * libglabels/xml-paper.h:
1463 * libglabels/xml-template.c:
1468 * src/bc-gnubarcode.c:
1479 * src/label-barcode.c:
1481 * src/label-ellipse.c:
1482 * src/label-image.c:
1483 * src/label-image.h:
1485 * src/label-object.c:
1489 * src/merge-properties-dialog.c:
1490 * src/object-editor-bc-page.c:
1491 * src/object-editor-data-page.c:
1492 * src/object-editor-edit-page.c:
1493 * src/object-editor-fill-page.c:
1494 * src/object-editor-image-page.c:
1495 * src/object-editor-line-page.c:
1496 * src/object-editor-lsize-page.c:
1497 * src/object-editor-position-page.c:
1498 * src/object-editor-private.h:
1499 * src/object-editor-size-page.c:
1500 * src/object-editor-text-page.c:
1501 * src/object-editor.c:
1502 * src/object-editor.h:
1503 * src/pixbuf-cache.h:
1504 * src/prefs-dialog.c:
1505 * src/prefs-dialog.h:
1506 * src/prefs-model.c:
1507 * src/prefs-model.h:
1509 * src/print-dialog.c:
1510 * src/print-dialog.h:
1518 * src/template-designer.c:
1519 * src/template-designer.h:
1522 * src/ui-property-bar.c: (gl_ui_property_bar_construct):
1528 * src/view-barcode.c:
1530 * src/view-ellipse.c:
1531 * src/view-highlight.c:
1532 * src/view-highlight.h:
1535 * src/view-object.c:
1536 * src/view-object.h:
1540 * src/wdgt-chain-button.c:
1541 * src/wdgt-media-select.c:
1542 * src/wdgt-media-select.h:
1543 * src/wdgt-mini-preview.c:
1544 * src/wdgt-mini-preview.h:
1545 * src/wdgt-print-copies.c:
1546 * src/wdgt-print-copies.h:
1547 * src/wdgt-print-merge.c:
1548 * src/wdgt-print-merge.h:
1549 * src/wdgt-rotate-label.c:
1550 * src/wdgt-rotate-label.h:
1553 * src/xml-label-04.c:
1554 * src/xml-label-191.c:
1556 Cleanup of header files:
1557 - all header files are now stand-alone, verified by including
1558 first in corresponding "c" files
1559 - replaced blanket includes of gnome, gtk, and glib with
1562 2005-04-16 Jim Evins <evins@snaught.com>
1564 * data/glade/Makefile.am:
1565 * data/glade/merge-properties-dialog.glade:
1566 Added merge properties dialog glade description file.
1567 * src/merge-properties-dialog.h:
1568 * src/merge-properties-dialog.c:
1569 (gl_merge_properties_dialog_get_type),
1570 (gl_merge_properties_dialog_init),
1571 (gl_merge_properties_dialog_finalize),
1572 (gl_merge_properties_dialog_new),
1573 (gl_merge_properties_dialog_construct), (type_changed_cb),
1574 (src_changed_cb), (response_cb), (load_tree),
1575 (record_select_toggled_cb), (select_all_button_clicked_cb),
1576 (unselect_all_button_clicked_cb):
1577 Modified merge properties dialog to use libglade. Added
1578 "select all" and "unselect all" buttons.
1579 * src/merge-text.c: (parse_line):
1580 Handle empty lines better.
1581 * src/merge.c: (gl_merge_eval_key):
1582 Evaluate the key whether the record is selected or not.
1584 * src/util.c: (gl_util_combo_box_add_text_model):
1585 Since libglade does not use the gtk_combo_box_new_text()
1586 constructor for GtkComboBoxes, a utility function was created
1587 to add an appropriate text model to a GtkComboBox.
1588 * src/view.c: (gl_view_edit_merge_props):
1589 Removed unnecessary "show all's".
1591 2005-04-15 Jim Evins <evins@snaught.com>
1594 Updated russian translation (Vitaly Lipatov)
1595 * data/templates/misc-iso-templates.xml:
1596 Added templates for russian business cards provided by Vitaly Lipatov.
1598 Updated acknowledgements for above.
1600 2005-04-15 Jim Evins <evins@snaught.com>
1602 * data/templates/avery-us-templates.xml:
1603 Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
1604 * data/templates/misc-iso-templates.xml:
1605 Added Ryman standard CD/DVD template, provided by Dan Clark.
1607 Added acknowledgements for above.
1609 2005-04-10 Jim Evins <evins@snaught.com>
1611 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
1612 * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
1613 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
1614 (xml_parse_label_cd_node), (xml_parse_alias_node):
1615 * libglabels/xml.c: (gl_xml_get_prop_double),
1616 (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
1617 (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
1618 * src/xml-label-04.c: (xml04_parse_media_description),
1619 (xml04_parse_text_props), (xml04_parse_barcode_props),
1620 (xml04_parse_merge_properties):
1621 * src/xml-label-191.c: (xml191_parse_object),
1622 (xml191_parse_text_props), (xml191_parse_barcode_props),
1623 (xml191_parse_merge_fields), (xml191_parse_pixdata),
1624 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
1625 (xml191_parse_alias):
1626 * src/xml-label.c: (xml_parse_object_text),
1627 (xml_parse_object_barcode), (xml_parse_merge_fields),
1628 (xml_parse_pixdata), (xml_parse_toplevel_span):
1629 Make sure to use xmlFree for anything obtained from libxml
1630 in case libxml and glib use different memory management
1633 2005-04-08 Jim Evins <evins@snaught.com>
1636 * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
1637 (gl_util_combo_box_set_active_text):
1638 Added utility functions to simplify working with GtkComboBox
1640 * src/ui-property-bar.h:
1641 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
1642 (reset_to_default_properties), (update_text_properties),
1643 (font_family_changed_cb):
1644 Replaced deprecated GtkCombo with GtkComboBox.
1647 2005-04-03 Jim Evins <evins@snaught.com>
1650 * src/wdgt-image-select.h:
1651 * src/wdgt-image-select.c:
1652 Removed obsolete wdgt-image-select.[ch] files.
1653 * libglabels/paper.c: (gl_paper_dup):
1654 Fixed rename of parameter introduced during documentation
1656 * data/glade/object-editor.glade:
1657 * src/object-editor-image-page.c:
1658 (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
1659 (gl_object_editor_set_image), (gl_object_editor_get_image),
1660 (update_preview_cb), (add_image_filters_to_chooser):
1661 * src/object-editor-private.h:
1662 Replaced deprecated GnomePixmapEntry with
1663 GtkFileChooserButton.
1665 2005-04-02 Jim Evins <evins@snaught.com>
1667 * src/mygal/mygal-combo-box.c: (deactivate_arrow),
1668 (mygal_combo_box_popup_hide_unconditional),
1669 (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
1670 (mygal_combo_toggle_pressed), (mygal_combo_box_init),
1671 (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
1672 (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
1673 (cb_tearable_button_release), (mygal_combo_box_set_tearable):
1674 Renamed all internal gtk_combo functions to mygal_combo
1675 to prevent namespace confusion.
1677 2005-04-02 Jim Evins <evins@snaught.com>
1679 * src/mygal/color-palette.c: (color_palette_change_custom_color),
1680 (cust_color_set), (color_palette_setup):
1681 * src/mygal/color-palette.h:
1682 Replaced deprecated GnomeColorPicker with GtkColorButton.
1684 2005-04-02 Jim Evins <evins@snaught.com>
1686 * docs/libglabels/libglabels-sections.txt:
1687 * docs/libglabels/libglabels-undocumented.txt:
1688 * docs/libglabels/tmpl/enums.sgml:
1689 * docs/libglabels/tmpl/paper.sgml:
1690 * docs/libglabels/tmpl/xml-paper.sgml:
1691 * docs/libglabels/tmpl/xml-template.sgml:
1692 * libglabels/enums.h:
1693 * libglabels/paper.c: (gl_paper_dup):
1694 * libglabels/paper.h:
1695 * libglabels/xml-paper.c:
1696 * libglabels/xml-template.c:
1697 More documentation updates for libglabels.
1699 2005-03-23 Jim Evins <evins@snaught.com>
1702 Automatically updated.
1707 * docs/libglabels/Makefile.am:
1708 * docs/libglabels/libglabels-docs.sgml:
1709 * docs/libglabels/libglabels-sections.txt:
1710 * docs/libglabels/libglabels-undocumented.txt:
1711 * docs/libglabels/tmpl/enums.sgml:
1712 * docs/libglabels/tmpl/libglabels-unused.sgml:
1713 * docs/libglabels/tmpl/libglabels.sgml:
1714 * docs/libglabels/tmpl/paper.sgml:
1715 * docs/libglabels/tmpl/template.sgml:
1716 * docs/libglabels/tmpl/xml-paper.sgml:
1717 * docs/libglabels/tmpl/xml-template.sgml:
1718 * docs/libglabels/tmpl/xml.sgml:
1719 Added basic gtk-doc stuff to support documenting libglabels
1722 Updated function comments with gtk-doc markup.
1726 2005-03-22 Jim Evins <evins@snaught.com>
1728 Since the development version now requires gtk-2.6/gnome-2.10, I
1729 have made a first pass at removing deprecations.
1732 * libglabels/Makefile.am:
1734 Added configure option to turn on X_DISABLE_DEPRECATED flags.
1735 Also removed all remnants of HAVE_FILECHOOSER.
1736 * src/file.c: (gl_file_open_real):
1737 Removed code for old GtkFileSelection.
1738 * libglabels/libglabels-private.h:
1739 * libglabels/paper.c:
1740 * libglabels/template.c:
1741 * libglabels/xml-paper.c:
1742 * libglabels/xml-template.c:
1746 * src/glabels-batch.c:
1750 * src/merge-properties-dialog.c:
1752 * src/object-editor.c:
1753 * src/prefs-dialog.c:
1755 * src/print-dialog.c:
1758 * src/template-designer.c:
1759 * src/ui-property-bar.c:
1761 * src/view-barcode.c:
1763 * src/view-ellipse.c:
1768 * src/wdgt-image-select.c:
1769 * src/wdgt-media-select.c:
1770 * src/wdgt-print-copies.c:
1771 * src/wdgt-print-merge.c:
1772 * src/wdgt-rotate-label.c:
1774 * src/xml-label-04.c:
1775 * src/xml-label-191.c:
1777 Added '#include <glib/gi18n.h>" where needed.
1778 Removed any unused '#include <gnome.h>"s.
1780 2005-03-22 Jim Evins <evins@snaught.com>
1782 * src/commands.c: (activate_url), (gl_cmd_help_about):
1783 Replaced GnomeAbout with GtkAboutDialog. Therefore the
1784 development version of glabels now depends on GTK 2.6 and
1787 Updated library dependencies.
1789 2005-02-28 Jim Evins <evins@snaught.com>
1792 * data/templates/misc-iso-templates.xml:
1793 Added 'Ednet 45021' template provided by Ali Akcaagac
1796 2005-02-14 Jim Evins <evins@snaught.com>
1798 * data/templates/avery-us-templates.xml:
1799 Updated templates to use inches instead of points.
1800 * src/print-dialog.c: (printer_page_new):
1801 Changed packing style when adding printer selector widget. This fixes
1804 2005-02-13 Jim Evins <evins@snaught.com>
1808 Updated spanish translations. (sergio rivadero)
1810 2005-02-05 Jim Evins <evins@snaught.com>
1812 Some cleanup to libglabels.
1815 Updated version to 2.1.1cvs. Added generation of libglabels.pc.
1816 * libglabels/libglabels.pc.in
1818 * libglabels/enums.h
1819 Created. Currently only contains glUnitsType which provides enumerations
1820 for all possible units of distance.
1821 * libglabels/Makefile.am:
1822 Incorporated new files enums.h and libglabels.pc[.in].
1823 * libglabels/libglabels.h:
1825 * libglabels/template.h:
1826 * libglabels/template.c: (gl_template_layout_new):
1827 Changed parameters nx and ny to gint from gdouble.
1829 * libglabels/xml.c: (gl_xml_get_prop_length),
1830 (gl_xml_set_prop_length), (gl_xml_set_default_units):
1831 Added support for different output units.
1832 * src/prefs-dialog.c: (update_locale_page_from_prefs),
1833 (update_prefs_from_locale_page):
1834 * src/prefs-model.c: (string_to_units), (units_to_string):
1835 * src/prefs-model.h:
1836 * src/prefs.c: (gl_prefs_get_units_per_point),
1837 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
1838 (gl_prefs_get_units_string):
1840 * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
1841 Reconciled all length enumerations with the new enumerations provided
1842 in libglabels/enums.h.
1844 2005-02-03 Jim Evins <evins@snaught.com>
1847 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
1849 Updated Italian translations. (Daniele Medri)
1851 Updated credits to reflect above translations.
1854 2005-01-22 Jim Evins <evins@snaught.com>
1859 Added MESSAGE-OF-DOOM to EXTRA_DIST.
1861 Final prep for 2.1.0.
1863 Set version to 2.1.0. Output MESSAGE-OF-DOOM.
1865 Added '--remove-original' flag to desktop-file-install, so that there is
1866 only one menu entry.
1868 2005-01-20 Jim Evins <evins@snaught.com>
1870 * data/glade/object-editor.glade:
1871 - Font family entry should not be editable.
1872 - img_key_entry should have sensitivity=YES, so that it follows the
1873 sensitivity of img_key_combo.
1875 2005-01-19 Jim Evins <evins@snaught.com>
1878 Give credit to Frederic Ruaudel for the color merge patches.
1880 2005-01-18 Frederic Ruaudel <grumz@users.sf.net>
1882 Add support to merge color for all other color attribute (Feature
1883 Requests item #1008635. If the data is invalid, the color used is transparent
1884 (GL_COLOR_NONE). The format for color in merge data file are those accepted
1885 by gdk_color_parse() these include name for a color from rgb.txt, such as
1886 DarkSlateGray, or a hex specification such as #305050. File format has been
1887 changed but backward compatibility is preserved for all format. For
1888 box/ellipse/line, keep attribute "line_color" for static color or replace by
1889 "line_color_field" for merge data. For text/barcode objects, keep attribute
1890 "color" for static color or replace by "color_field" for merge data. In the
1891 edit canvas window, merged color are represented by half-transparent black
1894 * data/dtd/glabels-2.0.dtd:
1895 Added line_color_field to line_attrs. Added color_field to
1896 Object-barcode and Span.
1897 * data/glade/object-editor.glade:
1898 Modify the layout of the editor to add merge possibility to color options
1900 Fix a copy/paste error in a comment
1902 Add default color for merge color representation in the editor canvas.
1903 * src/label-barcode.c:
1904 * src/object-editor-bc-page.c:
1905 * src/view-barcode.c:
1906 Add merge color support for barcode color.
1909 Add merge color support for box border color.
1910 * src/label-ellipse.c:
1911 * src/view-ellipse.c:
1912 Add merge color support for ellipse border color.
1915 Add merge color support for line color.
1916 * src/label-object.c:
1917 * src/label-object.h:
1918 * src/object-editor.c:
1919 * src/object-editor.h:
1920 * src/ui-property-bar.c:
1923 * src/xml-label-04.c:
1924 * src/xml-label-191.c:
1925 Add support for merging to other color attribute.
1927 * src/object-editor-text-page.c:
1929 Add merge color support for text color.
1930 * src/object-editor-fill-page.c:
1931 Change a blocked handler that didn't match the good widget. Fix the type
1932 of some debug message.
1933 * src/object-editor-line-page.c:
1934 Add merging support to line color option.
1935 * src/object-editor-private.h:
1936 Add variables for new widget.
1938 Modify the draw functions to get merge data if needed.
1940 Change the default size of the window in order to see all widget in the
1941 "text style tab" of the editor.
1943 Modify the parser to record/retreive the field value for objects that need
1944 "color" attribute. For box/ellipse/line, keep attribute "line_color" for
1945 static color or replace by "line_color_field" for merge data. For
1946 text/barcode objects, keep attribute "color" for static color or replace
1947 by "color_field" for merge data.
1949 2005-01-17 Jim Evins <evins@snaught.com>
1951 * src/view.c: (screen_changed_cb):
1952 Don't do anything if we don't have a screen.
1954 2005-01-06 Jim Evins <evins@snaught.com>
1956 * src/view.c: (get_home_scale):
1957 Fixed bad call to gtk_widget_has_screen() -- huh?.
1959 2005-01-06 Jim Evins <evins@snaught.com>
1961 * data/dtd/glabels-2.0.dtd:
1962 Added fill_color_field to fill_attrs. Also added xmlns attribute to all
1965 2005-01-06 Jim Evins <evins@snaught.com>
1967 * data/glade/object-editor.glade:
1968 Set entries for fill and data field key dropdowns to NOT editable.
1969 * src/view-box.c: (construct_properties_editor):
1970 * src/view-ellipse.c: (construct_properties_editor):
1971 Update object editor when label's merge property has changed.
1972 * src/xml-label.c: (xml_parse_object_ellipse):
1973 Completed the merge color support for the ellipse item.
1975 2005-01-06 Frederic Ruaudel <grumz@users.sf.net>
1977 Add support to merge color for object that have a "Fill color" attribute (Feature
1978 Requests item #1008635. If the data is invalid, the color used is transparent
1979 (GL_COLOR_NONE). The format for color in merge data file are those accepted
1980 by gdk_color_parse() these include name for a color from rgb.txt, such as
1981 DarkSlateGray, or a hex specification such as #305050. File format has been
1982 changed but backward compatibility is preserved for all format. For box/ellipse,
1983 keep attribute "fill_color" for static color or replace by "fill_color_field"
1986 * data/glade/object-editor.glade:
1987 Modify "Fill" tab to add the merge key combo and convert the labels into
1991 Add "glColorNode" structure and associated functions to manage it. This
1992 structure is equivalent for color than the "glTextNode". It holds the color
1994 * src/label-object.h:
1995 * src/label-object.c:
1997 * src/label-ellipse.c:
1998 * src/ui-property-bar.c:
2002 * src/view-ellipse.c:
2003 * src/xml-label-04.c:
2004 * src/xml-label-191.c:
2005 Change functions of objects that have a "fill color" attribute to use the
2006 new "glColorNode" structure. Use barcode code as example.
2008 Add the color.[ch] file to glabels_batch binary that now need support for
2010 * src/object-editor.h:
2011 * src/object-editor.c:
2012 * src/object-editor-fill-page.c:
2013 Manage the new widget of the editor's "Fill" tab : key combo and radio button
2014 to choose between static color or merge key. Use barcode code as example.
2015 * src/object-editor-private.h:
2016 Add new widget in the "_glObjectEditorPrivate" structure.
2018 Modify the draw functions to get merge data if needed.
2020 Modify the parser to record/retreive the field value for objects that need
2021 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
2022 color or "fill_color_field" for merge data.
2024 2005-01-04 Jim Evins <evins@snaught.com>
2027 * data/templates/avery-iso-templates.xml:
2028 * data/templates/misc-iso-templates.xml:
2029 * data/templates/misc-us-templates.xml:
2030 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
2033 2004-11-26 Jim Evins <evins@snaught.com>
2037 Updated french translations provided by Florent Morel <florent@taket.org>.
2038 * src/view-barcode.c:
2040 * src/view-ellipse.c:
2044 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
2045 thus _() strings were not being translated.
2047 2004-11-14 Jim Evins <evins@snaught.com>
2050 * src/debug.c: (gl_debug_init), (gl_debug):
2051 Borrowed from gedit: use environmental variables to select debug
2054 Removed unused include of debug.h.
2055 * src/glabels.c: (main):
2056 Added call to gl_debug_init(), and removed debug clutter from command line
2058 * src/glabels-batch.c: (main):
2059 Added call to gl_debug_init().
2061 2004-11-13 Jim Evins <evins@snaught.com>
2063 Drawing and property toolbars were being initialized with the "icons and text"
2064 look in Fedora Core 3. Even though none of the buttons had any text attached to
2065 them, the buttons were being sized as if they were. This led to less real estate
2066 for the property editor, leading to Bug #1064630. The
2068 * data/ui/glabels-ui.xml:
2069 Added explicit "look" property to both drawing and property toolbars.
2070 * src/prefs-model.c: (gl_prefs_model_save_settings),
2071 (gl_prefs_model_load_settings):
2072 * src/prefs-model.h:
2073 Removed drawing_toolbar_button_style configuration parameter.
2074 * src/ui.c: (view_menu_item_toggled_cb),
2075 (set_app_drawing_toolbar_style):
2076 Do not attempt to adjust look property of the drawing toolbar.
2078 2004-10-28 Jim Evins <evins@snaught.com>
2080 * data/pixmaps/glabels-about-logo.png:
2083 2004-10-28 Jim Evins <evins@snaught.com>
2085 * data/man/glabels.1:
2086 * src/glabels-batch.c: (main):
2088 * src/print.c: (gl_print_batch):
2090 Added option to glabels-batch to select the first label to begin
2093 2004-09-26 Jim Evins <evins@snaught.com>
2095 * data/desktop/glabels.desktop.in:
2096 Point to app icon, "glabels.png"
2097 * data/mime/glabels.keys.in:
2098 Point at mime icon, "glabels-application-x-glabels.png"
2099 * data/pixmaps/Makefile.am:
2100 Added glabels_app_icondir. Renamed icons.
2101 * data/pixmaps/glabels.png:
2102 New cleaned up app icon. Deleted glabels-icon.png.
2103 * data/pixmaps/glabels-application-x-glabels.png:
2105 * data/pixmaps/glabels-splash.png:
2106 Renamed glabels-logo to glabels-splash to be more correct about role.
2108 * src/template-designer.c:
2109 Point at app icon, "glabels.png"
2111 Point at renamed splash image, "glabels-splash.png"
2113 2004-08-22 Jim Evins <evins@snaught.com>
2116 * src/glabels-batch.c: (main):
2117 Applied patch with minor mods to allow selecting merge source and
2118 crop-marks on glabels-batch's command line. Original patch provided by
2119 José Dapena Paz <jdapena@igalia.com>.
2121 2004-08-15 Jim Evins <evins@snaught.com>
2123 * data/desktop/glabels.desktop.in:
2124 - Added encoding line
2125 - Removed period from comment
2126 - Fixed Terminal line, changed "0" to "false"
2127 - Added semicolen to Categories line
2129 - Made sure desktop.in comment string above still translated properly
2131 2004-08-14 Jim Evins <evins@snaught.com>
2133 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
2134 * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
2135 * src/xml-label-191.c: (xml191_parse_sheet):
2136 Fixed improper freeing of gettext strings. Merged from 2.0.1.
2138 Reconciled libglabels versioning with 2.0.1.
2141 2004-08-14 Jim Evins <evins@snaught.com>
2144 Updated version to 2.1cvs.
2146 2004-08-14 Jim Evins <evins@snaught.com>
2149 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
2151 2004-08-14 Jim Evins <evins@snaught.com>
2153 Fixes for Bug #1008181.
2155 * src/bc.c: (gl_barcode_default_digits):
2156 Make a format of zero digits, harmless.
2157 * src/xml-label.c: (xml_parse_object_barcode):
2158 Set default value of the format property of barcode objects to 10, not
2159 zero. This will prevent crashes when reading pre 2.0.x files.
2161 2004-08-09 Jim Evins <evins@snaught.com>
2165 * help/C/glabels-C.omf:
2166 * help/C/glabels.xml:
2167 Brought documentation up-to-date for 2.0.0 release.
2169 2004-08-09 Jim Evins <evins@snaught.com>
2171 These are hopefully the final preparations for 2.0.0.
2173 * data/mime/Makefile.am:
2174 Include glabels.xml in EXTRA_DIST.
2176 - Updated comment style.
2177 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
2178 - Added package and version info to configuration printout
2179 - Update version to 2.0.0
2180 * libglabels/Makefile.am:
2181 Use the new LIBGLABELS_VERSION_INFO macro.
2183 2004-08-09 Jim Evins <evins@snaught.com>
2187 Cleanup of required library macros.
2189 2004-08-08 Jim Evins <evins@snaught.com>
2193 - More specific of what to install in /usr/bin and /usr/lib
2194 - Remove built mime registration files from staging directory
2196 2004-08-08 Jim Evins <evins@snaught.com>
2198 * data/mime/Makefile.am:
2199 Fixed typo: key_files should have been keys_files.
2201 2004-08-08 Jim Evins <evins@snaught.com>
2203 Reorganization of runtime data files. Also added registration of mimetype with
2204 new freedesktop.org mime database if available.
2207 Moved files to appropriate subdirectories, creating local Makefile.am
2208 in each subdirectory.
2209 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
2210 These are now installed at $datadir/glabels/templates.
2211 - Moved glabels.1 to man subdirectory.
2212 - Moved glabels-2.0.dtd to dtd subdirectory.
2213 - Moved glabels.desktop.in to desktop subdirectory.
2214 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
2216 Moved "./pixmaps" to "./data/pixmaps"
2218 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
2220 Moved libglade files from src to data/glade. Created Makefile.am.
2222 Removed pixmaps from SUBDIRS.
2224 - Removed pixmaps from makefiles.
2225 - Added makefiles for new subdirs of data.
2226 - Added tests for freedesktop.org mime database.
2228 - Added tests for freedesktop.org mime database for post install and
2229 post un-install actions.
2230 * libglabels/Makefile.am:
2231 Moved system template files to $(datadir)/glabels/templates.
2232 * libglabels/libglabels-private.h:
2233 Moved system template files to $(datadir)/glabels/templates.
2235 - Accounted for movement of ui and libglade files.
2236 - Added missing .in files.
2237 - Reorganized by directory.
2239 Accounted for movement of ui and libglade files.
2240 * data/mime/glabels.xml.in:
2241 New file for registering with freedesktop.org mime database.
2243 2004-08-07 Jim Evins <evins@snaught.com>
2245 * src/recent-files/*:
2246 Re-synced to latest libegg/recent-files.
2248 2004-08-07 Jim Evins <evins@snaught.com>
2253 Renamed "./doc" directory to "./help" which contains user documentation,
2254 to be more consistent with other GNOME applications.
2257 2004-07-26 Jim Evins <evins@snaught.com>
2259 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
2260 Corrected button order of merge properties dialog.
2262 2004-07-18 Jim Evins <evins@snaught.com>
2264 * data/glabels-2.0.dtd:
2265 * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
2266 (gl_barcode_get_prefered_n):
2268 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
2269 (gl_label_barcode_get_props), (get_size):
2270 * src/label-barcode.h:
2271 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
2272 (style_changed_cb), (gl_object_editor_set_bc_style),
2273 (gl_object_editor_get_bc_style):
2274 * src/object-editor-data-page.c: (data_radio_toggled_cb),
2275 (gl_object_editor_set_data), (gl_object_editor_get_data):
2276 * src/object-editor-private.h:
2277 * src/object-editor.c: (gl_object_editor_set_key_names):
2278 * src/object-editor.glade:
2279 * src/object-editor.h:
2280 * src/print.c: (draw_barcode_object):
2281 * src/view-barcode.c: (update_object_from_editor_cb),
2282 (update_editor_from_object_cb),
2283 (gl_view_barcode_create_event_handler), (draw_barcode):
2284 * src/xml-label-04.c: (xml04_parse_barcode_props):
2285 * src/xml-label-191.c: (xml191_parse_barcode_props):
2286 * src/xml-label.c: (xml_parse_object_barcode),
2287 (xml_create_object_barcode):
2288 Added "format" attribute to barcode objects. This attribute is used
2289 to properly format freeform barcodes barcodes prior to merge data is
2290 applied, so that barcodes can be accurately layed out. This addresses
2291 remaining issues of feature request #824787. Also added an example of
2292 the format in the object editor.
2294 2004-07-12 Jim Evins <evins@snaught.com>
2296 Various code cleanups.
2298 * src/label-barcode.c:
2299 Removed unneeded include of gnome-glyphlist.h.
2301 * src/label-text.c: (get_size):
2302 Fixed memory leak: unref glyphlists when done with them.
2304 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
2305 * src/object-editor-data-page.c:
2306 (gl_object_editor_prepare_data_page):
2307 * src/object-editor-image-page.c:
2308 (gl_object_editor_prepare_image_page):
2309 * src/object-editor-line-page.c:
2310 (gl_object_editor_prepare_line_page):
2311 * src/object-editor-lsize-page.c:
2312 (gl_object_editor_prepare_lsize_page):
2313 * src/object-editor-position-page.c:
2314 (gl_object_editor_prepare_position_page):
2315 * src/object-editor-size-page.c:
2316 (gl_object_editor_prepare_size_page):
2317 * src/object-editor-text-page.c:
2318 (gl_object_editor_prepare_text_page):
2319 Removed unneeded size groups, originally intended to keep widgets aligned.
2320 Now use tables to lay these out in object-editor.glade.
2322 * src/print.c: (draw_text_object):
2323 Fixed memory leak: unref glyphlists when done with them.
2325 * src/view-barcode.c: (draw_barcode):
2326 Fixed memory leak: unref glyphlists when done with them.
2328 * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
2329 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
2331 - Fixed memory leak: unref glyphlists when done with them.
2333 2004-07-11 Jim Evins <evins@snaught.com>
2335 * data/glabels-2.0.dtd:
2336 * src/label-text.c: (gl_label_text_instance_init), (copy),
2337 (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
2339 * src/object-editor-private.h:
2340 * src/object-editor-text-page.c:
2341 (gl_object_editor_prepare_text_page),
2342 (gl_object_editor_set_text_auto_shrink),
2343 (gl_object_editor_get_text_auto_shrink):
2344 * src/object-editor.c: (gl_object_editor_set_key_names):
2345 * src/object-editor.glade:
2346 * src/object-editor.h:
2347 * src/print.c: (draw_text_object):
2348 * src/view-text.c: (update_object_from_editor_cb),
2349 (update_editor_from_object_cb):
2350 * src/xml-label.c: (xml_parse_object_text),
2351 (xml_create_object_text):
2352 Added option to allow document merge to auto shrink text size to fit
2353 within the text box. The code in print.c that actually shrinks the
2354 text is loosely based on a patch submitted by Mark Harrison
2355 <mark.harrison@velocitynet.com.au>. This addresses feature request
2358 2004-07-11 Jim Evins <evins@snaught.com>
2360 * data/glabels-2.0.dtd:
2361 * libglabels/template.c: (gl_template_rect_label_type_new),
2362 (gl_template_round_label_type_new),
2363 (gl_template_cd_label_type_new), (gl_template_label_type_dup),
2364 (template_full_page):
2365 * libglabels/template.h:
2366 * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
2367 (xml_create_label_node):
2368 * pixmaps/ex-rect-size.png:
2369 * src/print.c: (clip_to_outline), (clip_punchouts):
2370 * src/template-designer.c: (construct_rect_size_page),
2371 (rect_size_page_prepare_cb), (layout_page_prepare_cb),
2373 * src/template-designer.glade:
2374 * src/xml-label-191.c: (xml191_parse_label):
2375 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
2376 properties for rectangular labels. Templates remain backwards compatible,
2377 but this breaks the libglabels API (I don't know of anyone outside of
2378 glabels using libglabels at this time -- what can I say, the program is
2379 is still "unstable"). This addresses the suggestion in Feature Request
2382 2004-07-05 Jim Evins <evins@snaught.com>
2383 * src/print.c: (print_crop_marks), (draw_outline):
2384 Changed crop marks and label outlines to black, instead of 25% gray.
2385 This addresses debian Bug #257460.
2387 2004-07-05 Jim Evins <evins@snaught.com>
2389 * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
2390 * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
2391 Preserve "is_default" of fill and line color_combos when creating from
2394 2004-07-02 Jim Evins <evins@snaught.com>
2397 Created man page. Based on page submitted by Matthew J. Lockner, however
2398 it has been severely edited.
2400 * data/avery-other-templates.xml
2401 * data/misc-other-templates.xml:
2402 Started new files for predefined templates with non-standard sheet sizes.
2403 These have been initially populated with the Avery 06141 and
2404 OfficeMax #86112, both provided by Matthew J. Lockner.
2407 Install above manpage and template files.
2410 Make sure we install man pages.
2412 * src/glabels-batch.c:
2413 Changed short form of help option to '-?' to be consistent with glabels.
2416 Added acknowledgement for above labels.
2418 2004-07-02 Jim Evins <evins@snaught.com>
2420 * src/glabels.c: (main), (save_session_cb):
2421 - Now include libbonoboui.h, recent.h, and file.h to provide missing
2423 - save_session_cb() now returns gboolean.
2424 - Minor formatting changes.
2428 - Now include file.h to provide missing prototype.
2429 - gl_window_get_type() now returns GType, not guint. I believe this may
2430 ultimately be cause of the segfault reported in Bug #982287, since
2431 GType is actually a gulong, which may not be compatible on other
2432 architectures (64bit) -- I cannot personally test this at this time.
2433 I was sloppy in several other xxx_get_type() functions which also
2434 returned guint -- see next group of files:
2436 * src/window.c: (gl_window_get_type):
2437 * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
2438 * src/canvas-hacktext.h:
2439 * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
2440 (gl_hig_category_get_type), (gl_hig_vbox_get_type),
2441 (gl_hig_hbox_get_type):
2443 * src/label-barcode.c: (gl_label_barcode_get_type):
2444 * src/label-barcode.h:
2445 * src/label-box.c: (gl_label_box_get_type):
2447 * src/label-ellipse.c: (gl_label_ellipse_get_type):
2448 * src/label-ellipse.h:
2449 * src/label-image.c: (gl_label_image_get_type):
2450 * src/label-image.h:
2451 * src/label-line.c: (gl_label_line_get_type):
2453 * src/label-object.c: (gl_label_object_get_type):
2454 * src/label-object.h:
2455 * src/label-text.c: (gl_label_text_get_type):
2457 * src/label.c: (gl_label_get_type):
2459 * src/merge-properties-dialog.c:
2460 (gl_merge_properties_dialog_get_type):
2461 * src/merge-properties-dialog.h:
2462 * src/merge-text.c: (gl_merge_text_get_type):
2464 * src/merge.c: (gl_merge_get_type):
2466 * src/object-editor.c: (gl_object_editor_get_type):
2467 * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
2468 * src/prefs-dialog.h:
2469 * src/prefs-model.c: (gl_prefs_model_get_type):
2470 * src/prefs-model.h:
2471 * src/print-dialog.c: (gl_print_dialog_get_type):
2472 * src/print-dialog.h:
2473 * src/template-designer.c: (gl_template_designer_get_type):
2474 * src/template-designer.h:
2475 * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
2476 * src/ui-property-bar.h:
2477 * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
2479 * src/view-barcode.c: (gl_view_barcode_get_type):
2480 * src/view-barcode.h:
2481 * src/view-box.c: (gl_view_box_get_type):
2483 * src/view-ellipse.c: (gl_view_ellipse_get_type):
2484 * src/view-ellipse.h:
2485 * src/view-highlight.c: (gl_view_highlight_get_type):
2486 * src/view-highlight.h:
2487 * src/view-image.c: (gl_view_image_get_type):
2489 * src/view-line.c: (gl_view_line_get_type):
2491 * src/view-object.c: (gl_view_object_get_type):
2492 * src/view-object.h:
2493 * src/view-text.c: (gl_view_text_get_type):
2495 * src/view.c: (gl_view_get_type):
2497 * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
2498 * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
2499 * src/wdgt-image-select.h:
2500 * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
2501 * src/wdgt-media-select.h:
2502 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
2503 * src/wdgt-mini-preview.h:
2504 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
2505 * src/wdgt-print-copies.h:
2506 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
2507 * src/wdgt-print-merge.h:
2508 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
2509 * src/wdgt-rotate-label.h:
2510 - Made sure all xxx_get_type functions returned GType, not guint. This
2511 was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
2512 ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
2513 wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
2514 wdt-print-merge.[ch], and wdgt-rotate-label.[ch]. See separate
2515 window.[ch] details above for more info.
2516 - Reconciled various coding style differences in all xxx_get_type()
2518 * All prototypes include G_GNUC_CONST.
2519 * All prototypes specify the return value as GType, not GtkType
2521 * Info structures are all declared as "static const."
2522 * Generalized the names of type and info variables.
2523 * Miscelaneous formatting.
2525 2004-06-08 Jim Evins <evins@snaught.com>
2531 Don't touch compression of original file -- still defaults to 9 for
2532 new files. Original patch provided by Javier Donaire Segarra
2533 (#912252 in patch tracker).
2535 2004-05-05 Jim Evins <evins@snaught.com>
2537 * data/glabels-2.0.dtd:
2538 Broke DTD previously when adding new barcode types that contain a
2539 plus sign (+). Simply changed the BC_STYLE_TYPE entity to "CDATA"
2540 to avoid the problem.
2541 * data/avery-iso-templates.xml:
2542 * data/zweckform-iso-templates.xml:
2544 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021. Templates
2545 provided by Frank Altpeter.
2546 * libglabels/xml-template.c: (xml_create_label_node):
2547 Reordered markup and layout sub-nodes so that resulting templates will
2548 validate against DTD.
2550 2004-03-13 Jim Evins <evins@snaught.com>
2552 * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
2553 Changed spin callback signals from "value-changed" back to "changed."
2554 This was accidentally introduced in a previous revision, and can cause
2555 size changes just by selecting the size tab.
2557 2004-03-06 Jim Evins <evins@snaught.com>
2559 * src/view.c: (draw_grid_layer):
2560 For round labels (round and cd) adjust grid so that it lines up with
2561 center of label. Also, no longer draw box around label in the grid layer,
2562 it is hidden by he fg layer anyway. Feature suggested by
2563 nemolivier@free.fr. Although the grid is aligned with the center of the
2564 label, the coordinate system is still relative to the upper left corner
2565 of the rectangle containing the label.
2567 2004-02-25 Jim Evins <evins@snaught.com>
2570 Changed version to 2.0pre1cvs
2572 * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
2573 Removed extra xmlFreeDoc() calls upon error. Also print the doc->URL
2574 instead of doc->name fields when errors encountered.
2576 2004-02-21 Jim Evins <evins@snaught.com>
2578 * data/avery-iso-templates.xml:
2579 Added aliases for Avery 8651. Patch provided by Wayne Schuller.
2582 Added libglabels library and include file to installed files.
2585 Final prep for 1.93.3.
2587 2004-02-20 Jim Evins <evins@snaught.com>
2589 * src/glabels-batch.c: (main):
2590 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
2591 as suggested by Javier Donaire Segarra. This addresses bug #901063.
2593 2004-02-16 Jim Evins <evins@snaught.com>
2596 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
2599 Added HAVE_FILE_CHOOSER to INCLUDES.
2601 * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
2602 (gl_file_save_as), (save_as_response):
2603 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
2605 2004-02-16 Jim Evins <evins@snaught.com>
2607 * src/xml-label-04.c: (xml04_parse_image_props):
2608 * src/xml-label-191.c: (xml191_parse_image_props):
2609 * src/xml-label.c: (xml_parse_object_image):
2610 Delay setting image size until after image has been applied to new
2613 2004-02-15 Jim Evins <evins@snaught.com>
2615 * src/label-barcode.c: (gl_label_barcode_set_data),
2616 (gl_label_barcode_set_props):
2617 Don't emit "changed" signal, if no change actually made for these
2618 methods. Reduces number of unnecessary redraws of barcodes.
2620 * src/label-object.h:
2621 * src/label-object.c: (gl_label_object_set_position),
2622 (gl_label_object_set_position_relative), (set_size),
2623 (gl_label_object_set_size),
2624 (gl_label_object_set_size_honor_aspect):
2625 Don't emit "changed" signal, if no change actually made for these
2628 2004-02-15 Jim Evins <evins@snaught.com>
2630 * data/glabels-2.0.dtd:
2631 Added specific subtypes for various barcode types.
2634 * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
2635 (gl_barcode_get_styles_list), (gl_barcode_default_digits),
2636 (gl_barcode_can_text), (gl_barcode_text_optional),
2637 (gl_barcode_can_csum), (gl_barcode_csum_optional),
2638 (gl_barcode_id_to_name), (gl_barcode_name_to_id):
2639 Changed API to use a string id, rather than a fixed enumeration. Id and
2640 name are separate strings. Added entries to backend table for specific
2641 subtypes for various barcode types.
2644 * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
2646 Modified to conform to above API. Now more stringent with data length
2647 for various subtypes.
2649 * src/bc-gnubarcode.h:
2650 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
2651 (is_length_valid), (is_length1_valid), (is_length2_valid):
2652 Modified to conform to above API. Now more stringent with data length
2653 for various subtypes.
2655 * src/label-barcode.h:
2656 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
2657 (gl_label_barcode_get_props), (get_size):
2658 Modified to use above API for storing barcode type.
2660 * src/object-editor.h:
2661 * src/object-editor-bc-page.c: (style_changed_cb),
2662 (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
2663 Modified to use above API for storing barcode type.
2665 * src/object-editor-size-page.c:
2666 (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
2667 (w_spin_cb), (h_spin_cb), (size_reset_cb):
2668 Added debug markers.
2670 * src/object-editor.glade:
2671 Made barcode style combo's text entry non-editable.
2673 * src/print.c: (draw_barcode_object):
2674 Modified to use above API for barcode type.
2676 * src/view-barcode.c: (update_object_from_editor_cb),
2677 (update_editor_from_object_cb),
2678 (gl_view_barcode_create_event_handler), (draw_barcode):
2679 Modified to use above API for barcode type.
2681 * src/xml-label-04.c: (xml04_parse_barcode_props):
2682 * src/xml-label-191.c: (xml191_parse_barcode_props):
2683 * src/xml-label.c: (xml_parse_object_barcode),
2684 (xml_create_object_barcode):
2685 Modified to use above API for barcode type.
2687 2004-02-07 Jim Evins <evins@snaught.com>
2689 * src/stock-pixmaps/Makefile.am:
2690 * src/stock-pixmaps/stock_hchain_24.png:
2691 * src/stock-pixmaps/stock_hchain_broken_24.png:
2692 * src/stock-pixmaps/stock_vchain_24.png:
2693 * src/stock-pixmaps/stock_vchain_broken_24.png:
2694 Added chain pixmaps borrowed from the gimp's default theme.
2697 * src/stock.c: (gl_stock_init), (add_button_icon):
2698 Added above pixmaps to stock icon sets. Created add_button_icon() to
2699 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
2701 * src/wdgt-chain-button.h
2702 * src/wdgt-chain-button.c
2705 Added this Modified version of gimpchainbutton widget, borrowed from
2709 Added acknowledgements of the above borrowing from the gimp.
2711 * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
2713 * src/object-editor.c: (gl_object_editor_construct_chain_button):
2714 * src/object-editor.glade:
2715 Replaced the keep aspect ratio check box with the above chain-button
2718 * src/text-node.c: (gl_text_node_equal):
2720 Added function gl_text_node_equal() to compare text_nodes.
2722 * src/label-image.c: (gl_label_image_set_filename):
2723 Replaced incomplete text_node comparison code with invocation of
2724 gl_text_node_equal. This fixed the problem of not being able to
2725 resize an image using the object_editor if the aspect ratio is not
2728 2004-02-04 Jim Evins <evins@snaught.com>
2730 * src/object-editor-image-page.c:
2731 (gl_object_editor_prepare_image_page):
2732 Track "changed" signal of pixmap entry's GtkEntry rather than its
2733 "activate" signal -- this catches all changes to the entry rather than
2734 just changes resulting from a browse, so one can easily pull previous
2735 entries from the history. (This change is marked below on 2004-02-03,
2736 but somehow never got checked in.)
2738 * src/view-highlight.c: (sl_resize_event_handler),
2739 (sr_resize_event_handler), (st_resize_event_handler),
2740 (sb_resize_event_handler):
2741 Side resize handles will now confirm the actual resize that the object
2742 accepted before adjusting position parameters. Previously some interesting
2743 things happened when resizing a barcode to its minimum size.
2745 2004-02-03 Jim Evins <evins@snaught.com>
2747 * src/object-editor-image-page.c:
2748 (gl_object_editor_prepare_image_page):
2749 Track "changed" signal of pixmap entry's GtkEntry rather than its
2750 "activate" signal -- this catches all changes to the entry rather than
2751 just changes resulting from a browse, so one can easily pull previous
2752 entries from the history.
2754 * src/view-highlight.c: (tl_resize_event_handler),
2755 (tr_resize_event_handler), (bl_resize_event_handler),
2756 (br_resize_event_handler):
2757 Allow control key to be dropped while dragging a corner resize handle
2758 without losing the aspect ratio lock.
2760 2004-02-02 Jim Evins <evins@snaught.com>
2762 * src/label-image.c: (gl_label_image_set_filename):
2763 When setting a new filename adjust size such that the aspect ratio of
2764 the image is preserved using the current size as a bounding box.
2766 * src/view-image.c: (update_object_from_editor_cb):
2767 When updating object from editor, feed back possible size changes to
2768 editor as a result of a possible change in image.
2770 * src/object-editor-size-page.c: (size_reset_cb):
2771 Fixed typo when blocking spin handlers. If the base size is larger than
2772 the max size, treat max size as a bounding box while keeping aspect
2776 2004-02-02 Jim Evins <evins@snaught.com>
2778 * src/label-object.h:
2779 * src/label-object.c: (gl_label_object_set_size),
2780 (gl_label_object_set_size_honor_aspect):
2781 Added gl_label_object_set_size_honor_aspect() which will maintain the
2782 current aspect ratio by modifying the supplied w or h apropriately.
2784 * src/view-highlight.c: (tl_resize_event_handler),
2785 (tr_resize_event_handler), (bl_resize_event_handler),
2786 (br_resize_event_handler):
2787 Corner handles will now maintain the current aspect ratio if the
2788 control key is pressed while resizing. This addresses feature
2792 2004-01-31 Jim Evins <evins@snaught.com>
2795 * data/avery-us-templates.xml:
2796 Added entries for "LSK-3," "LSK-5," and "LSK-8." Submitted by JBadger.
2798 * libglabels/template.c: (read_template_files_from_dir):
2799 Corrected problem with testing for extensions.
2801 * src/object-editor.glade:
2802 Corrected grouping of radio buttons in barcode data page.
2804 * src/print.c: (draw_barcode_object):
2805 * src/view-barcode.c: (draw_barcode):
2806 Corrected problem with calculation of y_offset for locating characters.
2808 2004-01-24 Jim Evins <evins@snaught.com>
2811 * data/avery-us-templates.xml:
2812 Added Avery 5824, submitted by Fred Bacon.
2814 2004-01-20 Jim Evins <evins@snaught.com>
2816 Catching up on a couple of backlogged user template submissions.
2818 * data/avery-iso-templates.xml:
2819 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
2820 Suggested by Linas Jakucionis.
2822 * data/zweckform-iso-templates.xml:
2823 Added Zweckform 4760, submitted by Thomas Vill.
2826 Updated to reflect above submissions.
2828 2004-01-06 Jim Evins <evins@snaught.com>
2830 Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
2831 xml.[ch] into a separate library called libglabels, to facilitate third
2832 party use of glabels template files. This was suggested by Wayne Schuller.
2833 Once split-out, some modifications to the structures and functions to
2834 make a cleaner more useful API, hopefully. Rather extensive changes have
2835 propogated to other modules.
2843 * src/xml-template.h:
2844 * src/xml-template.c:
2847 These files have been moved to libglabels/. API cleanup performed.
2849 * libglabels/libglabels.h:
2850 * libglabels/libglabels-private.h:
2851 * libglabels/Makefile.am:
2852 These files have been added to finish out libglabels.
2859 Modified to reflect new sets of files in src/ and libglabels/.
2861 * COPYING.LIBGLABELS:
2863 Added copy of the LGPL for libglabels, and a copy the GFDL for
2866 * src/glabels-batch.c:
2868 * src/label.c: (gl_label_finalize), (gl_label_set_template),
2869 (gl_label_get_size):
2871 * src/prefs-model.c: (gl_prefs_model_load_settings):
2872 * src/print-dialog.c:
2873 * src/print.c: (gl_print_simple), (gl_print_merge_collated),
2874 (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
2875 (print_crop_marks), (print_label), (draw_outline),
2876 (clip_to_outline), (clip_punchouts):
2877 * src/template-designer.c: (construct_pg_size_page),
2878 (pg_size_page_changed_cb), (layout_page_changed_cb),
2879 (print_test_cb), (build_template):
2880 * src/util.c: (gl_util_fraction):
2882 * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
2883 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
2884 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
2885 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
2886 (draw_markup_margin_round), (draw_markup_margin_cd),
2887 (draw_markup_margin_cd_bc), (draw_markup_line),
2888 (draw_markup_circle), (gl_view_copy):
2889 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
2890 (page_size_entry_changed_cb), (details_update), (get_layout_desc),
2891 (get_label_size_desc):
2892 * src/wdgt-mini-preview.c:
2893 (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
2895 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
2896 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
2897 * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
2898 (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
2899 * src/wdgt-rotate-label.h:
2900 * src/xml-label-04.c: (xml04_parse_media_description):
2901 * src/xml-label-191.c: (gl_xml_label_191_parse),
2902 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
2903 (xml191_parse_markup), (xml191_parse_alias):
2904 * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
2906 Various changes to accomodate new libglabels API.
2908 2004-01-03 Jim Evins <evins@snaught.com>
2913 2004-01-03 Jim Evins <evins@snaught.com>
2916 Added acknowledgement of contributions by Wayne Schuller.
2918 * src/commands.c: (gl_cmd_file_print):
2919 Create extra reference to print dialog, so that it can be properly re-used.
2921 * src/mygal/mygal-combo-box.h:
2922 * src/mygal/mygal-combo-box.c:
2923 (mygal_combo_box_popup_hide_unconditional),
2924 (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
2925 (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
2926 (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
2927 (mygal_combo_box_set_tearable):
2928 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
2929 complete the rename of this widget to prevent namespace collisions
2932 * src/prefs-dialog.glade:
2933 Fixed alignment of Fill/Color widgets.
2935 2004-01-03 Jim Evins <evins@snaught.com>
2937 * data/avery-iso-templates.xml:
2938 Added user submitted templates.
2939 Avery 8435A & 8435B, submitted by Ludger Solbach.
2941 * doc/C/glabels.xml:
2942 Added minimal documentation, noting the new template designer.
2944 2004-01-03 Jim Evins <evins@snaught.com>
2946 * pixmaps/ex-rect-size.png:
2947 * pixmaps/ex-round-size.png:
2948 * pixmaps/ex-cd-size.png:
2949 * pixmaps/Makefile.am:
2950 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
2951 files to be used as illustrations/examples in the template-designer.
2953 * src/template-designer.c: (construct_rect_size_page),
2954 (construct_round_size_page), (construct_cd_size_page),
2955 (construct_nlayouts_page), (rect_size_page_prepare_cb),
2956 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
2957 (layout_page_prepare_cb), (build_template):
2958 * src/template-designer.glade:
2959 Added illustrations for rectangle, round, and cd label size pages.
2960 Added margin spinboxes to these pages, and now add a margin markup
2961 to the constructed template. Added realistic default values for
2962 some of the size spinboxes. Cleaned up the code for setting spinbox
2963 ranges on the layouts page.
2965 2004-01-02 Jim Evins <evins@snaught.com>
2967 * src/object-editor-size-page.c: (h_spin_cb):
2968 Fixed cut-n-paste error in h_spin_cb that loaded h from
2969 the wrong spinbutton.
2971 * src/object-editor.h:
2972 * src/object-editor.c: (gl_object_editor_class_init),
2973 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
2974 * src/object-editor-private.h:
2975 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
2977 Added "size_changed" signal.
2979 * src/view-text.c: (construct_properties_editor),
2980 (update_object_from_editor_cb),
2981 (update_object_from_editor_size_cb):
2982 Track size changes from object editor separately from other
2983 properties. This is so the default size (0,0) of a text
2984 object is not modified unintentionally.
2986 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
2988 Added feature: line spacing - allows you to comfortably space a text box to
2989 fit a label perfectly.
2991 * data/glabels-2.0.dtd:
2992 * src/label-object.c: (gl_label_object_set_text_line_spacing),
2993 (gl_label_object_get_text_alignment),
2994 (gl_label_object_get_text_line_spacing):
2995 * src/label-object.h:
2996 * src/label-text.c: (gl_label_text_class_init),
2997 (gl_label_text_instance_init), (copy), (get_size),
2998 (set_text_line_spacing), (get_text_alignment),
2999 (get_text_line_spacing):
3000 * src/object-editor-private.h:
3001 * src/object-editor-text-page.c:
3002 (gl_object_editor_prepare_text_page),
3003 (gl_object_editor_set_text_line_spacing),
3004 (gl_object_editor_get_text_line_spacing):
3005 * src/object-editor.glade:
3006 * src/object-editor.h:
3007 * src/prefs-dialog.c: (construct_object_page),
3008 (update_object_page_from_prefs), (update_prefs_from_object_page):
3009 * src/prefs-dialog.glade:
3010 * src/prefs-model.c: (gl_prefs_model_save_settings),
3011 (gl_prefs_model_load_settings), (get_float):
3012 * src/prefs-model.h:
3013 * src/print.c: (draw_text_object):
3015 * src/view-text.c: (update_object_from_editor_cb),
3016 (update_editor_from_object_cb),
3017 (gl_view_text_create_event_handler), (draw_hacktext):
3018 * src/view.c: (gl_view_construct),
3019 (gl_view_set_selection_text_line_spacing),
3020 (gl_view_set_default_text_line_spacing),
3021 (gl_view_get_default_text_line_spacing):
3023 * src/xml-label.c: (xml_parse_toplevel_span),
3024 (xml_create_toplevel_span):
3026 2003-12-30 Jim Evins <evins@snaught.com>
3028 * src/template-designer.c:
3029 * src/template-designer.h:
3030 * src/template-designer.glade:
3031 New template designer assistant.
3035 Added entries for src/template-designer.* files.
3037 * pixmaps/ex-1layout.png
3038 * pixmaps/ex-2layouts.png
3039 * pixmaps/Makefile.am:
3040 Added the new image files ex-*.png used as illustrations in the
3041 template designer assistant.
3043 * src/print-dialog.h:
3044 * src/print-dialog.c: (gl_print_dialog_finalize),
3045 (gl_print_dialog_new), (gl_print_dialog_construct),
3046 (gl_print_dialog_force_outline_flag):
3047 Changed first argument of gl_print_dialog_new() from glView to glLabel,
3048 to support printing from the template designer assistant which does not
3049 have a full-fledged view. Nothing else from the view object was being
3050 used by the dialog anyway.
3052 Added the gl_print_dialog_force_outline_flag() method, for better
3053 integration with the template designer assistant.
3057 * src/commands.c: (gl_cmd_file_template_designer),
3058 (gl_cmd_file_print):
3059 Modified print command to provide label instead of view to dialog.
3060 Added the gl_cmd_file_template_designer() command to invoke the
3061 template designer assistant.
3064 * src/glabels-ui.xml:
3065 Added support for template designer assistant.
3067 * src/wdgt-mini-preview.h:
3068 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
3069 (gl_wdgt_mini_preview_set_bg_color):
3070 Preview is now centered in canvas. Added
3071 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
3072 assistant to match the background color with its own.
3074 * src/print.c: (clip_to_outline):
3075 Fixed really stupid bug when adding waste to clip region of rectangular
3076 labels/cards. Each side of the clip region needs to be extended by
3077 twice the waste margin, as well as negatively offset by the waste
3080 2003-12-28 Jim Evins <evins@snaught.com>
3082 * src/prefs-dialog.c: (update_object_page_from_prefs):
3083 Block intermediary function align_toggle_cb() instead of
3084 update_prefs_from_object_page() for the three alignment
3087 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
3089 * src/file.c: (gl_file_new), (gl_file_properties):
3090 Swap button order and set default for higificatory pleasure.
3092 2003-12-27 Jim Evins <evins@snaught.com>
3094 * barcode-0.98/Makefile.am:
3095 One last time: removed doc/Makefile and po/Makefile.in.in from
3098 2003-12-27 Jim Evins <evins@snaught.com>
3100 * barcode-0.98/Makefile.am:
3101 Removed config.stat entry from EXTRA_DIST files.
3103 * barcode-0.98/Makefile.in:
3106 2003-12-27 Jim Evins <evins@snaught.com>
3109 Updated to work with latest gnome-common package from CVS.
3110 Removed recursive configuration of barcode-0.98.
3117 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
3119 * barcode-0.98/Makefile.in:
3120 * barcode-0.98/configure.in:
3121 * barcode-0.98/Makefile.am:
3122 * barcode-0.98/README.glabels:
3123 Modified to ignore the barcode package's build system, and build
3124 as a part of glabels.
3125 Renamed Makefile.in to Makefile.in.dist.
3126 Renamed configure.in to configure.in.dist.
3127 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
3130 * src/mygal/Makefile.am:
3131 * src/recent-files/Makefile.am:
3132 In order to build against the GNOME 2.5 platform,
3133 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
3135 * src/mygal/Makefile.am:
3136 * src/mygal/mygal-combo-box.c:
3137 * src/mygal/mygal-combo-box.h:
3138 * src/mygal/widget-color-combo.c:
3139 * src/mygal/widget-color-combo.h:
3141 In order to build against the GNOME 2.5 platform,
3142 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
3143 collisions with the real gtk_combo_box widget, now a part of gtk.
3145 2003-12-26 Jim Evins <evins@snaught.com>
3151 Moved local versions of get_home_data_dir() in paper.c and
3152 template.c to util package. Cleaned up formatting in
3156 In gl_template_register() save a copy of the template in
3157 ~/.glabels if the template is not known. Still need to
3158 handle duplicate filename case and duplicate name but
3159 different template case.
3163 Moved local definition of NAME_SPACE macro from xml-label.c
3166 * src/xml-template.c:
3167 * src/xml-template.h:
3168 Added function gl_xml_template_write_template_to_file(), used
3169 in gl_template_register().