1 2007-04-02 Jim Evins <evins@snaught.com>
3 * src/merge-properties-dialog.c:
4 * src/new-label-dialog.c:
8 * src/template-designer.c:
9 * src/ui-property-bar.c:
10 * src/wdgt-media-select.c:
11 * src/wdgt-rotate-label.c:
12 Fixed several memory leaks.
14 2007-04-01 Jim Evins <evins@snaught.com>
16 * src/label-text.c: (gl_label_text_init), (copy),
17 (gl_label_text_set_lines), (buffer_changed_cb), (get_size),
18 (set_font_family), (set_font_size), (set_font_weight),
19 (set_font_italic_flag), (set_text_alignment),
20 (set_text_line_spacing):
21 Cache object size, so that expensive extent calculations are only done
24 2007-03-30 Jim Evins <evins@snaught.com>
26 * src/prefs-model.c: (gl_prefs_model_load_settings):
27 Default to an unlimited list of recent documents, since this parameter
28 seems to be pre-filter anyway.
30 2007-03-30 Jim Evins <evins@snaught.com>
32 * src/label-box.c: (draw_shadow):
33 * src/label-ellipse.c: (draw_shadow):
34 Added missing shadow fill.
36 2007-03-28 Jim Evins <evins@snaught.com>
38 * src/ui-commands.c: (gl_ui_cmd_file_print):
39 Unreferencing the print operation sometimes crashes. Just don't do it
42 2007-03-28 Jim Evins <evins@snaught.com>
44 * src/print-op.c: (gl_print_op_construct),
45 (gl_print_op_get_settings), (gl_print_op_set_settings),
46 (gl_print_op_free_settings), (create_custom_widget_cb):
48 * src/ui-commands.c: (gl_ui_cmd_file_print):
49 * src/window.c: (gl_window_init):
51 Save print settings and custom settings between print operations
54 2007-03-24 Jim Evins <evins@snaught.com>
56 * src/object-editor-image-page.c:
57 (gl_object_editor_prepare_image_page),
58 (gl_object_editor_set_image), (img_selection_changed_cb):
59 Workaround for GtkFileChooserButton bug # 327243. This the root
60 cause for gLabels bug # 1192884. I have actually observed 3 delayed
61 "selection-changed" signals -- the first 2 return NULL -- this is
62 what caused the image to reset to the default followed by setting
63 it back to the original image, trying to fit it into a new bounding
64 box. This sequence of events is much more evident with the new
67 2007-03-23 Jim Evins <evins@snaught.com>
69 Merged all changes from experimental cairo branch to trunk.
70 Trunk no longer depends on libgnomecanvas or libgnomeprint[ui].
72 2007-03-23 Jim Evins <evins@snaught.com>
75 * src/label-object.c: (gl_label_object_class_init),
76 (gl_label_object_get_raw_size), (gl_label_object_get_size):
77 Created "get_raw_size" method.
78 * src/label-barcode.c: (get_size):
79 * src/xml-label.c: (xml_create_object_text),
80 (xml_create_object_barcode):
81 Use new "get_raw_size" method on label-objects when apropos.
83 * src/label-text.c: (get_size), (draw_object), (draw_shadow),
84 (auto_shrink_font_size):
85 Added "auto shrink" functionality back.
87 2007-03-19 Jim Evins <evins@snaught.com>
89 * src/label-text.c: (draw_object), (draw_shadow):
90 Don't use negative scales in workaround from previous commit.
93 2007-03-18 Jim Evins <evins@snaught.com>
96 Forgot to remove include of xml-lable-191 in previous commit.
97 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
98 Workaround for pango Bug #341481. Render text at device scale,
99 and scale font size accordingly. Also, don't do any hinting.
101 2007-03-18 Jim Evins <evins@snaught.com>
103 * src/cairo-ellipse-path.c:
104 * src/cairo-ellipse-path.h:
105 Forgot to add these new files during last mass commit.
107 2007-03-18 Jim Evins <evins@snaught.com>
110 * src/xml-label-191.c:
111 * src/xml-label-191.h:
112 Removed -- Very buggy. Version 1.91 is a very old "unstable" version,
113 so there is no need to keep compatability.
116 * src/cairo-label-path.c:
117 * src/cairo-label-path.h:
118 * src/cairo-markup-path.c:
122 * src/glabels-batch.c:
124 * src/label-barcode.c:
126 * src/label-ellipse.c:
129 * src/label-object.c:
130 * src/label-object.h:
134 * src/merge-properties-dialog.c:
136 * src/new-label-dialog.c:
137 * src/object-editor-bc-page.c:
138 * src/object-editor-data-page.c:
139 * src/object-editor-edit-page.c:
140 * src/object-editor-fill-page.c:
141 * src/object-editor-image-page.c:
142 * src/object-editor-line-page.c:
143 * src/object-editor-private.h:
144 * src/object-editor-shadow-page.c:
145 * src/object-editor-text-page.c:
146 * src/object-editor.c:
147 * src/pixbuf-cache.c:
152 * src/template-designer.c:
154 * src/ui-property-bar.c:
156 * src/view-barcode.c:
158 * src/view-ellipse.c:
165 * src/wdgt-media-select.c:
166 * src/wdgt-print-copies.c:
167 * src/wdgt-print-merge.c:
169 * src/xml-label-04.c:
171 Many changes, including:
172 - Move draw methods from view-*() to label-*().
173 - Use same drawing code for on screen view and printing.
174 - Fix all issues exposed with '-Wall -Werror'.
176 2007-03-14 Jim Evins <evins@snaught.com>
179 * src/cairo-handle-path.c:
180 * src/cairo-handle-path.h:
181 * src/cairo-object-path.c:
182 * src/cairo-object-path.h:
183 Removed cairo-handle-path.[ch] and cairo-object-path.[ch].
184 * src/view-barcode.c: (gl_view_barcode_class_init), (draw_object),
186 * src/view-box.c: (gl_view_box_class_init), (draw_object),
187 (draw_shadow), (object_at):
188 * src/view-ellipse.c: (gl_view_ellipse_class_init),
189 (create_ellipse_path), (draw_object), (draw_shadow), (object_at):
190 * src/view-image.c: (gl_view_image_class_init), (draw_object),
192 * src/view-line.c: (gl_view_line_class_init), (draw_object),
193 (draw_shadow), (object_at):
194 * src/view-object.c: (gl_view_object_draw), (gl_view_object_at),
195 (create_handle_path), (gl_view_object_draw_handles),
196 (gl_view_object_handle_at):
198 * src/view-text.c: (gl_view_text_class_init), (draw_object),
199 (draw_shadow), (object_at):
200 * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
201 Some restructuring of new code.
203 2007-03-12 Jim Evins <evins@snaught.com>
206 * src/cairo-object-path.c:
207 * src/view-barcode.c:
208 * src/view-barcode.h:
210 Added barcode object support to view.
212 2007-03-12 Jim Evins <evins@snaught.com>
218 * src/cairo-object-path.c:
219 * src/cairo-object-path.h:
221 * src/view-ellipse.c:
226 Added text object support to view. Added object_at method to all
229 2007-03-11 Jim Evins <evins@snaught.com>
232 * src/cairo-object-path.c: (gl_cairo_object_path),
233 (gl_cairo_image_object_path):
234 * src/view-image.c: (gl_view_image_class_init),
235 (gl_view_image_finalize), (gl_view_image_new),
236 (update_editor_from_label_cb), (draw),
237 (gl_view_image_get_create_cursor),
238 (gl_view_image_create_button_press_event),
239 (gl_view_image_create_motion_event),
240 (gl_view_image_create_button_release_event):
242 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
243 (selection_received_cb), (motion_notify_event_cb),
244 (button_press_event_cb), (button_release_event_cb):
245 Added image object support to view.
247 2007-03-11 Jim Evins <evins@snaught.com>
250 * src/cairo-object-path.c: (gl_cairo_object_path),
251 (gl_cairo_line_object_path):
252 * src/view-line.c: (gl_view_line_class_init), (gl_view_line_new),
253 (update_object_from_editor_cb), (update_editor_from_object_cb),
254 (update_editor_from_label_cb), (draw),
255 (gl_view_line_get_create_cursor),
256 (gl_view_line_create_button_press_event),
257 (gl_view_line_create_motion_event),
258 (gl_view_line_create_button_release_event):
260 * src/view-object.c: (gl_view_object_resize_event):
261 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
262 (selection_received_cb), (motion_notify_event_cb),
263 (button_press_event_cb), (button_release_event_cb):
264 Added line object support to view.
265 * src/cairo-handle-path.c:
266 Made handles slightly larger.
269 2007-03-11 Jim Evins <evins@snaught.com>
272 * src/cairo-handle-path.c:
273 * src/cairo-label-path.c: (gl_cairo_rect_label_path),
274 (gl_cairo_round_label_path), (gl_cairo_cd_label_path):
275 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
276 (gl_cairo_markup_margin_round_path),
277 (gl_cairo_markup_margin_cd_path), (gl_cairo_markup_circle_path):
278 * src/cairo-object-path.c: (gl_cairo_object_path),
279 (gl_cairo_ellipse_object_path):
280 * src/label-object.c: (gl_label_object_rotate):
283 * src/view-ellipse.c: (gl_view_ellipse_class_init),
284 (gl_view_ellipse_new), (update_object_from_editor_cb),
285 (update_editor_from_object_cb), (update_editor_from_label_cb),
286 (draw), (gl_view_ellipse_get_create_cursor),
287 (gl_view_ellipse_create_button_press_event),
288 (gl_view_ellipse_create_motion_event),
289 (gl_view_ellipse_create_button_release_event):
290 * src/view-ellipse.h:
293 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
294 (select_object_real), (selection_received_cb),
295 (motion_notify_event_cb), (button_press_event_cb),
296 (button_release_event_cb):
298 Added ellipse object support to view. Plus other cleanup.
300 2007-03-11 Jim Evins <evins@snaught.com>
303 * src/view-box.c: (gl_view_box_get_create_cursor),
304 (gl_view_box_create_button_press_event),
305 (gl_view_box_create_motion_event),
306 (gl_view_box_create_button_release_event):
307 * src/view-object.c: (gl_view_object_set_view),
308 (gl_view_object_handle_at):
310 * src/view.c: (gl_view_arrow_mode), (gl_view_object_create_mode),
311 (motion_notify_event_cb), (button_press_event_cb),
312 (button_release_event_cb), (key_press_event_cb):
313 Added creation code for box object.
315 2007-03-09 Jim Evins <evins@snaught.com>
317 * src/view-object.c: (gl_view_object_resize_event):
319 * src/view.c: (motion_notify_event_cb):
320 Fix bugs with resizing transformed objects.
321 * src/cairo-handle-path.c: (gl_cairo_handle_path):
322 * src/cairo-object-path.c: (gl_cairo_object_path):
323 * src/cairo-object-path.h:
324 * src/label-object.c: (gl_label_object_init),
325 (gl_label_object_dup), (gl_label_object_get_extent),
326 (gl_label_object_flip_horiz), (gl_label_object_flip_vert),
327 (gl_label_object_rotate), (gl_label_object_set_matrix),
328 (gl_label_object_get_matrix):
329 * src/label-object.h:
330 * src/print.c: (draw_object):
332 * src/view-highlight.c:
333 * src/view-highlight.h:
334 * src/xml-label-191.c: (xml191_parse_object):
335 * src/xml-label.c: (xml_parse_affine_attrs),
336 (xml_create_affine_attrs):
337 Replace libart affine matrices with cairo matrices.
339 2007-03-08 Jim Evins <evins@snaught.com>
342 * src/view.c: (gl_view_update), (motion_notify_event_cb):
343 * src/view-object.c: (gl_view_object_handle_at),
344 (gl_view_object_resize_event):
345 Added resize code -- still a bit buggy.
347 2007-03-07 Jim Evins <evins@snaught.com>
350 * src/cairo-handle-path.c:
351 * src/cairo-handle-path.h:
352 * src/view-box.c: (gl_view_box_new):
353 * src/view-object.c: (gl_view_object_set_object),
354 (gl_view_object_draw_handles), (gl_view_object_handle_at):
356 * src/view.c: (draw_highlight_layer), (select_object_real),
357 (unselect_object_real), (view_handle_at), (motion_notify_event_cb),
358 (button_press_event_cb), (button_release_event_cb),
359 (key_press_event_cb):
361 Added beginnings of object resize handles.
363 2007-03-07 Jim Evins <evins@snaught.com>
366 * src/view.c: (gl_view_init), (gl_view_arrow_mode),
367 (gl_view_object_create_mode), (motion_notify_event_cb),
368 (button_press_event_cb), (button_release_event_cb),
369 (key_press_event_cb):
370 Added move selection support.
372 2007-03-05 Jim Evins <evins@snaught.com>
374 * src/cairo-object-path.c: (gl_cairo_object_path):
375 * src/view-object.c: (gl_view_object_draw),
376 (gl_view_object_draw_highlight):
377 * src/view.c: (view_object_at), (motion_notify_event_cb),
378 (button_press_event_cb), (button_release_event_cb):
379 Additional refinements to select logic.
381 2007-03-05 Jim Evins <evins@snaught.com>
384 * src/view.c: (gl_view_init), (gl_view_construct),
385 (label_changed_cb), (draw_layers), (draw_select_region_layer),
386 (gl_view_select_region), (object_at), (motion_notify_event_cb),
387 (button_press_event_cb), (button_release_event_cb):
388 Added initial select region support and context menu.
390 2007-03-04 Jim Evins <evins@snaught.com>
408 * src/wdgt-print-copies.c:
409 * src/wdgt-print-merge.c:
411 Initial port to a raw Cairo canvas. This removes all remaining
412 dependencies on libgnomecanvas and libgnomeprint[ui]. Basically
413 the view is becoming a canvas widget in its own right. Still needs
415 * src/cairo-label-path.c:
416 * src/cairo-label-path.h:
417 * src/cairo-markup-path.c:
418 * src/cairo-markup-path.h:
419 * src/cairo-object-path.c:
420 * src/cairo-object-path.h:
421 New files to support cairo canvas.
422 * src/canvas-hacktext.c:
423 * src/canvas-hacktext.h:
426 2007-02-18 Jim Evins <evins@snaught.com>
429 GNOME_FONT_BOOK changed to PANGO_WEIGHT_NORMAL.
431 2007-02-14 Jim Evins <evins@snaught.com>
435 * src/bc-gnubarcode.c:
436 * src/bc-gnubarcode.h:
441 * src/canvas-hacktext.c:
442 * src/canvas-hacktext.h:
449 * src/label-barcode.c:
450 * src/label-barcode.h:
453 * src/label-ellipse.c:
454 * src/label-ellipse.h:
459 * src/label-object.c:
460 * src/label-object.h:
465 * src/merge-evolution.c:
466 * src/merge-evolution.h:
469 * src/merge-properties-dialog.c:
470 * src/merge-properties-dialog.h:
477 * src/mini-preview-pixbuf.h:
478 * src/new-label-dialog.c:
479 * src/new-label-dialog.h:
480 * src/object-editor-bc-page.c:
481 * src/object-editor-data-page.c:
482 * src/object-editor-edit-page.c:
483 * src/object-editor-fill-page.c:
484 * src/object-editor-image-page.c:
485 * src/object-editor-line-page.c:
486 * src/object-editor-lsize-page.c:
487 * src/object-editor-position-page.c:
488 * src/object-editor-private.h:
489 * src/object-editor-size-page.c:
490 * src/object-editor-text-page.c:
491 * src/object-editor.c:
492 * src/object-editor.h:
493 * src/pixbuf-cache.c:
494 * src/pixbuf-cache.h:
495 * src/prefs-dialog.c:
496 * src/prefs-dialog.h:
504 * src/template-designer.c:
509 * src/ui-property-bar.c:
510 * src/ui-property-bar.h:
519 * src/view-barcode.c:
520 * src/view-barcode.h:
523 * src/view-ellipse.c:
524 * src/view-ellipse.h:
525 * src/view-highlight.c:
526 * src/view-highlight.h:
537 * src/wdgt-chain-button.c:
538 * src/wdgt-chain-button.h:
539 * src/wdgt-media-select.c:
540 * src/wdgt-mini-preview.c:
541 * src/wdgt-print-copies.c:
542 * src/wdgt-print-copies.h:
543 * src/wdgt-print-merge.c:
544 * src/wdgt-print-merge.h:
545 * src/wdgt-rotate-label.c:
547 * src/xml-label-04.c:
548 * src/xml-label-04.h:
549 * src/xml-label-191.c:
550 * src/xml-label-191.h:
554 Assorted superficial cleanup. Including:
555 - Use G_DEFINE_TYPE for all objects.
556 - Reconcile style of all class initializer functions
557 - Reconcile style of all finalize functions
558 - Add emacs mode line to all source files
560 2007-02-06 Jim Evins <evins@snaught.com>
562 Assorted cleanup and removal of deprecated items.
567 Removed annoying splash screen.
568 * src/glabels-batch.c: (main):
569 * src/glabels.c: (main):
570 Converted from popt to GOption.
571 * src/object-editor-shadow-page.c:
572 (gl_object_editor_set_shadow_state):
573 Removed deprecated method on GtkToggleButton.
574 * src/ui-commands.c: (gl_ui_cmd_help_about):
575 Removed dependency on libgnomui/qnome-url.h.
576 * src/template-designer.c:
577 Removed dependency on libgnome/gnome-program.h.
580 2007-02-04 Jim Evins <evins@snaught.com>
585 * src/print.c: (draw_text_object):
586 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_construct):
587 Removed GnomeCanvas artifacts from color.[ch] and related modules.
589 2007-02-04 Jim Evins <evins@snaught.com>
591 * src/wdgt-mini-preview.c:
592 * src/wdgt-mini-preview.h:
593 Ported widget from GnomeCanvas to Cairo.
595 2007-02-03 Jim Evins <evins@snaught.com>
597 * data/glade/template-designer.glade:
598 * src/template-designer.c:
599 * src/template-designer.h:
600 Ported GnomeDruid to GtkAssistant. Since libglade does not
601 yet support the GtkAssistant and we derive directly from
602 the Assistant, the pages are layed out in a GtkNotebook in
603 the glade description -- we then append each page to the
606 2007-01-25 Jim Evins <evins@snaught.com>
608 * data/glade/object-editor.glade:
609 Added dummy page to notebook, to prevent shadow page from
610 becoming the default current page at creation.
611 * src/view-box.c: (construct_properties_editor):
612 * src/view-ellipse.c: (construct_properties_editor):
613 * src/view-line.c: (construct_properties_editor):
614 * src/view-text.c: (construct_properties_editor):
615 Reconciled order of params.
617 2007-01-19 Jim Evins <evins@snaught.com>
619 * src/label-barcode.h:
620 * src/label-object.c: (gl_label_object_set_font_weight),
621 (gl_label_object_set_text_alignment),
622 (gl_label_object_get_font_weight),
623 (gl_label_object_get_text_alignment):
624 * src/label-object.h:
625 * src/label-text.c: (gl_label_text_instance_init), (copy),
626 (get_size), (set_font_family), (set_font_weight),
627 (set_text_alignment), (get_font_weight), (get_text_alignment):
629 * src/object-editor-text-page.c:
630 (gl_object_editor_prepare_text_page),
631 (gl_object_editor_set_font_family),
632 (gl_object_editor_set_font_weight),
633 (gl_object_editor_get_font_weight),
634 (gl_object_editor_set_text_alignment),
635 (gl_object_editor_get_text_alignment),
636 (gl_object_editor_set_text_color):
637 * src/object-editor.h:
638 * src/prefs-dialog.c: (construct_object_page),
639 (update_object_page_from_prefs), (update_prefs_from_object_page):
640 * src/prefs-model.c: (gl_prefs_model_save_settings),
641 (gl_prefs_model_load_settings):
643 * src/print.c: (draw_text_object):
644 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
645 (reset_to_default_properties), (update_text_properties),
646 (font_bold_toggled_cb), (text_align_toggled_cb):
648 * src/util.c: (gl_util_align_to_string), (gl_util_string_to_align),
649 (gl_util_weight_to_string), (gl_util_string_to_weight),
650 (gl_util_get_font_family_list), (gl_util_font_family_list_free):
652 * src/view-text.c: (update_object_from_editor_cb),
653 (update_editor_from_object_cb), (draw_hacktext), (draw_cursor):
654 * src/view.c: (gl_view_set_selection_text_alignment),
655 (gl_view_set_default_text_alignment),
656 (gl_view_get_default_text_alignment):
658 * src/xml-label-04.c: (xml04_parse_text_props):
659 * src/xml-label-191.c: (xml191_parse_text_props):
660 * src/xml-label.c: (xml_parse_object_text),
661 (xml_parse_toplevel_span), (xml_create_object_text),
662 (xml_create_toplevel_span):
663 Converted all model internals to Pango. GnomeFont remains in
664 view until GnomeCanvas can be replaced with a cairo-based canvas.
666 2007-01-17 Jim Evins <evins@snaught.com>
672 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type),
673 (gl_wdgt_print_copies_construct):
674 * src/wdgt-print-copies.h:
675 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type),
676 (gl_wdgt_print_merge_construct):
677 * src/wdgt-print-merge.h:
678 Removed all remaining HIG wrapper widgets.
680 2007-01-16 Jim Evins <evins@snaught.com>
683 * src/print-dialog.c:
684 * src/print-dialog.h:
687 * src/template-designer.c: (print_test_cb):
688 * src/ui-commands.c: (gl_ui_cmd_file_print):
690 Renamed PrintDialog to PrintOp. Added constructor for batch
692 * src/glabels-batch.c: (main):
693 Converted to use new PrintOp object for printing.
695 2007-01-15 Jim Evins <evins@snaught.com>
697 * data/glade/Makefile.am:
698 * data/glade/print-custom-widget.glade:
699 * src/print-dialog.c:
700 * src/print-dialog.h:
703 * src/template-designer.c: (print_test_cb):
704 * src/ui-commands.c: (gl_ui_cmd_file_print):
705 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_copies):
706 * src/wdgt-print-merge.h:
707 * src/window.c: (gl_window_init):
709 Initial conversion to GtkPrintOperation.
711 - Remove font and other libgnomeprint[ui] from elsewhere
712 - Add batch initialization of print operation
714 2007-01-08 Jim Evins <evins@snaught.com>
716 Updated dependencies. Set version to 2.1.pre4cvs.
718 2007-01-03 Jim Evins <evins@snaught.com>
721 Removed EggRecent stuff.
730 Ported from EggRecent to GtkRecentManager.
733 2007-01-02 Jim Evins <evins@snaught.com>
736 * iec16022-0.2.1/BUGS:
737 * iec16022-0.2.1/CHANGELOG:
738 * iec16022-0.2.1/CREDITS:
739 * iec16022-0.2.1/INSTALL:
740 * iec16022-0.2.1/LICENSE:
741 * iec16022-0.2.1/Makefile.am:
742 * iec16022-0.2.1/Makefile.dist:
743 * iec16022-0.2.1/README:
744 * iec16022-0.2.1/README.glabels:
745 * iec16022-0.2.1/TODO:
746 * iec16022-0.2.1/iec16022.1:
747 * iec16022-0.2.1/iec16022.c:
748 * iec16022-0.2.1/iec16022ecc200.c:
749 * iec16022-0.2.1/iec16022ecc200.h:
750 * iec16022-0.2.1/image.c:
751 * iec16022-0.2.1/image.h:
752 * iec16022-0.2.1/reedsol.c:
753 * iec16022-0.2.1/reedsol.h:
754 * iec16022-0.2.1/test/testsuite-example.bin:
755 * iec16022-0.2.1/test/testsuite-example.eps:
756 * iec16022-0.2.1/test/testsuite-example.hex:
757 * iec16022-0.2.1/test/testsuite-example.png:
758 * iec16022-0.2.1/test/testsuite-example.text:
759 * iec16022-0.2.1/test/testsuite.sh:
760 Include modified copy of iec16022-0.2.1 to provide encoding
761 support for datamatrix 2D barcodes.
766 Added initial datamatrix 2D barcode backend to barcode code.
769 Automatic updates to later versions of these files.
771 2006-11-28 Jim Evins <evins@snaught.com>
773 * data/templates/avery-iso-templates.xml:
774 * data/templates/avery-us-templates.xml:
775 * data/templates/categories.xml:
776 * data/templates/misc-iso-templates.xml:
777 * data/templates/misc-us-templates.xml:
778 * data/templates/zweckform-iso-templates.xml:
781 2006-09-12 Jim Evins <evins@snaught.com>
783 * data/dtd/glabels-2.0.dtd:
784 * data/templates/Makefile.am:
785 * data/templates/avery-iso-templates.xml:
786 * data/templates/avery-other-templates.xml:
787 * data/templates/avery-us-templates.xml:
788 * data/templates/categories.xml:
789 * data/templates/misc-iso-templates.xml:
790 * data/templates/misc-other-templates.xml:
791 * data/templates/zweckform-iso-templates.xml:
792 * data/glade/Makefile.am:
793 * data/glade/new-label-dialog.glade:
794 * data/glade/wdgt-media-select.glade:
795 * data/glade/wdgt-rotate-label.glade:
796 * libglabels/Makefile.am:
797 * libglabels/category.c:
798 * libglabels/category.h:
799 * libglabels/libglabels.h:
800 * libglabels/paper.c:
801 * libglabels/template.c:
802 * libglabels/template.h:
803 * libglabels/xml-category.c:
804 * libglabels/xml-category.h:
805 * libglabels/xml-template.c:
806 Added support for category meta data.
809 * src/mini-preview-pixbuf.c:
810 * src/mini-preview-pixbuf.h:
811 * src/new-label-dialog.c:
812 * src/new-label-dialog.h:
813 * src/wdgt-media-select.c:
814 * src/wdgt-media-select.h:
815 * src/wdgt-rotate-label.c:
816 * src/wdgt-rotate-label.h:
817 New "new label" dialog.
819 2006-05-27 Jim Evins <evins@snaught.com>
824 Preparation for 2.1.3.
830 2006-05-22 Jim Evins <evins@snaught.com>
832 * src/print.c: (draw_barcode_object):
833 Don't print "Invalid barcode data" if data field is empty. Patch provided
834 by Darren Warner <warnerd@users.sourceforge.net>. Fixes Bug #1479839.
836 Added acknowledgment for above patch.
837 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
838 * src/bc-postnet.c: (postnet_code):
839 Removed "Invalid barcode data" warnings from stderr.
840 * src/view-barcode.c: (draw_barcode):
841 Draw box around barcode extent if data empty or invalid. Center a
842 message whether the data is empty or invalid in box.
844 2006-05-22 Jim Evins <evins@snaught.com>
846 * src/print.c: (draw_text_object):
847 Check shadow state when printing text.
849 2006-05-20 Jim Evins <evins@snaught.com>
851 * src/ui-commands.c: (gl_ui_cmd_view_grid_toggle),
852 (gl_ui_cmd_view_markup_toggle):
853 Fixed crash when grid or markup have been toggled off during
854 a previous session. Bug #1434324.
856 2006-04-05 Jim Evins <evins@snaught.com>
858 * src/object-editor.c: (gl_object_editor_set_key_names):
859 Fixed potential crash when freeing empty key list.
861 2006-03-11 Jim Evins <evins@snaught.com>
863 * src/print.c: (draw_text_object):
864 * src/view-text.c: (gl_view_text_new),
865 (construct_properties_editor), (update_object_from_editor_cb),
866 (update_editor_from_object_cb), (update_editor_from_label_cb),
868 Added shadow support to text object.
870 2006-02-18 Jim Evins <evins@snaught.com>
872 * src/print.c: (draw_line_object):
873 * src/view-line.c: (gl_view_line_new),
874 (construct_properties_editor), (update_canvas_item_from_object_cb),
875 (update_object_from_editor_cb), (update_editor_from_object_cb),
876 (update_editor_from_label_cb):
877 Added shadow support to line object.
879 2006-02-16 Jim Evins <evins@snaught.com>
883 * src/print.c: (draw_ellipse_object):
884 * src/view-ellipse.c: (gl_view_ellipse_new),
885 (construct_properties_editor), (update_canvas_item_from_object_cb),
886 (update_object_from_editor_cb), (update_editor_from_object_cb),
887 (update_editor_from_label_cb):
888 Added shadow support to ellipse object.
890 2006-02-15 Jim Evins <evins@snaught.com>
892 * src/label-object.c:
893 Changed default shadow offsets.
894 * src/view-box.c: (gl_view_box_new):
895 Simplified gl_view_box_new() so that is does not duplicate code
896 in update_canvas_item_from_object_cb().
898 2006-02-07 Jim Evins <evins@snaught.com>
900 * data/glade/object-editor.glade:
901 Fixed color groups of color combos.
903 Added default shadow color.
904 * src/object-editor.c: (gl_object_editor_construct_color_combo):
905 Added shadow color group.
907 2006-02-06 Jim Evins <evins@snaught.com>
909 * src/object-editor-shadow-page.c:
910 Forgot to add this file.
911 * src/view-box.c: (gl_view_box_new),
912 (update_canvas_item_from_object_cb), (update_editor_from_label_cb):
913 Update limits on shadow offset spinbuttons.
915 2006-01-19 Jim Evins <evins@snaught.com>
917 * src/merge-evolution.c: (gl_merge_evolution_get_key_list):
918 Initialize key_list to NULL.
919 * data/glade/object-editor.glade:
923 * src/label-object.c:
924 * src/label-object.h:
925 * src/object-editor-fill-page.c:
926 * src/object-editor-private.h:
927 * src/object-editor.c:
928 * src/object-editor.h:
930 Created infrastructure for shadow support.
933 Initial shadow support in box object only.
935 2006-01-05 Jim Evins <evins@snaught.com>
937 * src/merge-properties-dialog.c: (src_changed_cb):
938 Be extra paranoid before calling strcmp().
939 * src/merge.c: (gl_merge_set_src):
940 Don't make (merge == NULL) a critical error.
942 2005-12-22 Jim Evins <evins@snaught.com>
944 * src/glabels-batch.c: (main):
945 Compile warning free with gcc 4.0.
947 2005-12-21 Jim Evins <evins@snaught.com>
950 Updated example RPM spec file.
952 2005-12-21 Jim Evins <evins@snaught.com>
956 Preparation for 2.1.2.
958 2005-12-20 Jim Evins <evins@snaught.com>
961 Define unique G_LOG_DOMAIN for glabels.
962 * src/critical-error-handler.c: (gl_critical_error_handler_init):
963 * src/warning-handler.c: (gl_warning_handler_init),
965 Register for G_LOG_DOMAIN instead of NULL.
967 2005-12-10 Jim Evins <evins@snaught.com>
969 * src/merge-evolution.c:
973 2005-12-08 Jim Evins <evins@snaught.com>
975 * libglabels/paper.c: (read_paper_files_from_dir):
976 * libglabels/template.c: (gl_template_register),
977 (read_template_files_from_dir):
978 * libglabels/xml-paper.c: (gl_xml_paper_read_papers_from_file),
979 (gl_xml_paper_parse_papers_doc):
980 * libglabels/xml-template.c:
981 (gl_xml_template_read_templates_from_file),
982 (gl_xml_template_parse_templates_doc),
983 (gl_xml_template_parse_template_node),
984 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
985 (xml_parse_label_cd_node), (xml_parse_layout_node),
986 (xml_parse_markup_margin_node), (xml_parse_markup_line_node),
987 (xml_parse_markup_circle_node),
988 (gl_xml_template_write_templates_to_file), (xml_create_label_node):
989 * libglabels/xml.c: (gl_xml_get_prop_length):
990 Re-classified g_warnings to g_messages.
992 * src/glabels.c: (main):
993 * src/warning-handler.c: (gl_warning_handler_init),
995 * src/warning-handler.h:
996 Added warning message handler to make sure the user is
997 presented with appropriate non-fatal errors.
998 * src/critical-error-handler.c: (critical_error_handler):
999 Changed exit to abort.
1000 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new), (render_pass1):
1001 * src/bc-postnet.c: (postnet_code):
1002 * src/bc.c: (id_to_index), (name_to_index):
1003 * src/merge.c: (gl_merge_register_backend), (gl_merge_new):
1004 * src/object-editor.c: (gl_object_notebook_construct_valist):
1005 * src/prefs-dialog.c: (update_locale_page_from_prefs):
1006 * src/prefs.c: (gl_prefs_get_units_per_point),
1007 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
1008 (gl_prefs_get_units_string):
1009 * src/print.c: (draw_outline), (clip_to_outline), (clip_punchouts):
1010 * src/splash.c: (gl_splash):
1011 * src/ui-commands.c: (gl_ui_cmd_help_contents):
1012 * src/view-highlight.c: (gl_view_highlight_new),
1013 (highlight_resizable_box_construct), (object_changed_cb),
1014 (view_scale_changed_cb):
1015 * src/view.c: (draw_label_layer), (draw_bg_fg_layers),
1016 (draw_markup_layer), (draw_markup_margin),
1017 (gl_view_object_create_mode), (canvas_event),
1018 (selection_received_cb):
1019 * src/wdgt-mini-preview.c: (mini_outline_list_new):
1020 * src/wdgt-rotate-label.c: (mini_preview_canvas_update):
1021 * src/xml-label-04.c: (gl_xml_label_04_parse),
1022 (xml04_parse_media_description), (xml04_parse_text_props),
1023 (xml04_parse_barcode_props):
1024 * src/xml-label-191.c: (gl_xml_label_191_parse),
1025 (xml191_parse_objects), (xml191_parse_object),
1026 (xml191_parse_text_props), (xml191_parse_image_props),
1027 (xml191_parse_barcode_props), (xml191_parse_data),
1028 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
1029 (xml191_parse_markup):
1030 * src/xml-label.c: (gl_xml_label_open), (gl_xml_label_open_buffer),
1031 (xml_doc_to_label), (xml_parse_label), (xml_parse_objects),
1032 (xml_parse_object_text), (xml_parse_object_image),
1033 (xml_parse_object_barcode), (xml_parse_data),
1034 (xml_parse_toplevel_span), (gl_xml_label_save),
1035 (xml_create_objects):
1036 Re-classified g_warnings to g_messages.
1037 * src/merge-evolution.c: (gl_merge_evolution_open),
1038 (gl_merge_evolution_close), (gl_merge_evolution_get_record):
1039 Use g_warning to output errors encountered while
1040 communicating with the evolution data server
1041 instead of embedding them in the data.
1043 2005-12-08 Jim Evins <evins@snaught.com>
1045 * libglabels/libglabels-private.h:
1047 * libglabels/paper.c: (read_papers):
1048 * libglabels/template.c: (read_templates):
1049 Made appropriate warnings critical.
1051 * src/critical-error-handler.h:
1052 * src/critical-error-handler.c: (gl_critical_error_handler_init),
1053 (critical_error_handler):
1054 Created critical error handler.
1055 * src/glabels.c: (main):
1056 Register critical error handler.
1057 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
1058 * src/object-editor.c: (gl_object_editor_init):
1059 * src/prefs-dialog.c: (gl_prefs_dialog_init):
1060 * src/template-designer.c: (gl_template_designer_init):
1061 * src/ui-property-bar.c: (gl_ui_property_bar_instance_init):
1062 Made appropriate warnings critical.
1064 2005-11-27 Jim Evins <evins@snaught.com>
1066 * src/merge-evolution.c: (gl_merge_evolution_get_key_list),
1067 (gl_merge_evolution_get_primary_key),
1068 (gl_merge_evolution_get_record):
1069 Don't create "record_key" pseudo-key. Don't populate
1070 fields with null data.
1072 2005-11-25 Jim Evins <evins@snaught.com>
1074 * src/merge-evolution.c: (gl_merge_evolution_finalize),
1075 (gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
1076 (gl_merge_evolution_get_record), (gl_merge_evolution_copy),
1078 Query EDS for all supported fields. Patch provided by
1079 Austin Henry <ahenry@users.sourceforge.net>.
1081 2005-10-29 Jim Evins <evins@snaught.com>
1083 * src/glabels.c: (main):
1084 * src/label-barcode.c: (gl_label_barcode_finalize):
1085 * src/label-text.c: (gl_label_text_finalize), (set_font_family):
1086 * src/label.c: (gl_label_instance_init), (gl_label_finalize):
1087 * src/object-editor.c: (gl_object_editor_finalize):
1088 Another pass at valgrinding -- plugged several memory leaks.
1089 * src/view-text.c: (gl_view_text_new),
1090 (update_canvas_item_from_object_cb), (draw_hacktext):
1091 Commented out artifacts of edit-in-place code.
1093 2005-10-28 Jim Evins <evins@snaught.com>
1095 * src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
1096 Fixed use of uninitialized variable. Caught by
1097 d binderman <dcb314@hotmail.com>.
1099 2005-10-27 Jim Evins <evins@snaught.com>
1101 * src/merge-evolution.c: (gl_merge_evolution_get_record):
1102 * src/merge-vcard.c: (gl_merge_vcard_get_record),
1104 Additional cleanup of EDS and vcard backends. Provided by
1105 Austin Henry <ahenry@users.sourceforge.net>.
1107 2005-10-24 Jim Evins <evins@snaught.com>
1111 * src/merge-evolution.c:
1112 * src/merge-evolution.h:
1113 * src/merge-init.c: (gl_merge_init):
1114 * src/merge-properties-dialog.c: (type_changed_cb):
1115 * src/merge-vcard.c:
1116 * src/merge-vcard.h:
1117 * src/ui-commands.c: (gl_ui_cmd_help_about):
1118 Added Evolution Data Server and VCard merge backends. Original patch
1119 provided by Austin Henry <ahenry@users.sourceforge.net>.
1121 Only support EDS and VCard backends if libebook is installed. Allow
1122 user to disable support, even if installed.
1124 2005-10-24 Jim Evins <evins@snaught.com>
1127 * data/templates/avery-iso-templates.xml:
1128 * data/templates/avery-us-templates.xml:
1129 * data/templates/misc-iso-templates.xml:
1130 * data/templates/zweckform-iso-templates.xml:
1131 Collected all template changes and submissions since last
1134 2005-10-23 Jim Evins <evins@snaught.com>
1137 * data/mime/Makefile.am:
1138 Added configure options to disable update-mime-database and
1139 update-desktop-database as part of the install. Patch
1140 provided by Leonardo Boshell (qhoracio@sourceforge.net).
1142 2005-10-23 Jim Evins <evins@snaught.com>
1145 * libglabels/xml.c: (gl_xml_get_prop_string),
1146 (gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
1147 (gl_xml_is_node), (gl_xml_get_node_content):
1148 Added new XML utility functions.
1149 * libglabels/xml-paper.c:
1150 * libglabels/xml-template.c:
1152 Cleanup by using new xml utilities created above.
1153 * libglabels/paper.c: (gl_paper_free):
1154 * src/file.c: (new_response):
1155 * src/object-editor-image-page.c: (add_image_filters_to_chooser):
1156 * src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
1157 (gl_pixbuf_cache_get_pixbuf):
1158 * src/ui-property-bar.c:
1159 (gl_ui_property_bar_construct_color_combo):
1160 * src/view-highlight.c: (gl_view_highlight_finalize):
1161 * src/view-image.c: (update_object_from_editor_cb):
1162 * src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
1163 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
1164 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
1165 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
1166 (draw_markup_margin_round), (draw_markup_margin_cd),
1167 (draw_markup_margin_cd_bc):
1168 * src/wdgt-mini-preview.c: (mini_outline_list_new):
1169 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
1170 Plugged various memory leaks located with valgrind.
1171 * src/view-image.c: (update_canvas_item_from_object_cb):
1172 Don't allow a width or height of zero when drawing pixbuf.
1174 2005-10-22 Jim Evins <evins@snaught.com>
1176 * libglabels/xml-paper.c:
1177 * libglabels/xml-template.c:
1180 * src/bc-gnubarcode.c:
1181 * src/canvas-hacktext.c:
1183 * src/object-editor-data-page.c:
1184 * src/print-dialog.c:
1187 * src/template-designer.c:
1189 * src/ui-property-bar.c:
1191 * src/view-barcode.c:
1193 * src/view-ellipse.c:
1198 * src/wdgt-media-select.c:
1199 * src/xml-label-04.c:
1200 * src/xml-label-191.c:
1202 Modified to compile warning free with gcc-4.0. Mostly
1203 casting to change signedness of characters. Did not
1204 attack gnu-barcode library yet.
1206 2005-10-22 Jim Evins <evins@snaught.com>
1208 * src/glabels.c: (main):
1209 * src/splash.c: (gl_splash):
1210 Removed some small memory leaks.
1214 2005-09-19 Jim Evins <evins@snaught.com>
1216 * data/glade/property-bar.glade:
1217 Remove items from font_family_combo. This prevents the
1218 double entry after adding text model and list of fonts.
1219 * src/ui-property-bar.c: (reset_to_default_properties):
1220 Free font_family_list.
1222 2005-07-01 Jim Evins <evins@snaught.com>
1225 Updated italian translation (Daniele Medri)
1227 2005-06-26 Jim Evins <evins@snaught.com>
1229 * docs/libglabels/libglabels-decl-list.txt:
1230 Somehow never got checked in before.
1231 * docs/libglabels/libglabels.types:
1232 Removed -- don't need it afterall.
1234 2005-06-20 Jim Evins <evins@snaught.com>
1237 Final prep for 2.1.1 release.
1239 2005-06-20 Jim Evins <evins@snaught.com>
1242 Final preps for 2.1.1 release.
1243 * docs/libglabels/libglabels.types:
1244 Somehow never got checked in before.
1246 Bring up-to-date with recent reorg of ui code.
1249 2005-06-19 Jim Evins <evins@snaught.com>
1251 * src/template-designer.c: (construct_layout_page):
1252 Removed attempt to match background color of mini preview widget to
1255 2005-06-17 Jim Evins <evins@snaught.com>
1257 * help/C/figures/merge-ex2-4.png:
1258 * help/C/glabels.xml:
1259 Fixed spelling error.
1261 2005-06-13 Jim Evins <evins@snaught.com>
1263 * help/C/figures/merge-ex1-1.png:
1264 * help/C/figures/merge-ex1-2.png:
1265 * help/C/figures/merge-ex1-3.png:
1266 * help/C/figures/merge-ex1-4.png:
1267 * help/C/figures/merge-ex2-1.png:
1268 * help/C/figures/merge-ex2-2.png:
1269 * help/C/figures/merge-ex2-3.png:
1270 * help/C/figures/merge-ex2-4.png:
1271 Added figures for document merge tutorial.
1272 * help/C/glabels.xml:
1273 Added document merge tutorial.
1275 2005-05-19 Jim Evins <evins@snaught.com>
1277 * data/glade/merge-properties-dialog.glade:
1278 Fixed irregular spacing.
1279 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
1280 (gl_merge_properties_dialog_construct):
1281 Set outer padding and remove separator.
1283 2005-05-18 Jim Evins <evins@snaught.com>
1287 Removed glHigDialog class.
1288 * src/file.c: (gl_file_new), (create_new_dialog_widgets),
1289 (gl_file_properties), (create_properties_dialog_widgets):
1290 * src/prefs-dialog.h:
1291 * src/prefs-dialog.c: (gl_prefs_dialog_get_type),
1292 (gl_prefs_dialog_init), (gl_prefs_dialog_construct):
1293 * src/print-dialog.h:
1294 * src/prefs-dialog.h:
1295 * src/print-dialog.c: (gl_print_dialog_get_type),
1296 (gl_print_dialog_init), (gl_print_dialog_construct):
1297 Replaced all instances of glHigDialog with GtkDialog.
1299 2005-05-17 Jim Evins <evins@snaught.com>
1303 Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
1304 * src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
1305 (save_as_response), (gl_file_close):
1306 Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.
1308 2005-05-15 Jim Evins <evins@snaught.com>
1310 * src/ui-commands.h:
1318 A little code reformatting -- no functional changes.
1320 2005-05-14 Jim Evins <evins@snaught.com>
1323 Removed obsolete macros.
1325 Added marshalling template to support new view signal: "context_menu_activate."
1327 * src/view.c: (gl_view_class_init), (gl_view_construct),
1328 (canvas_event_arrow_mode):
1329 - Removed hardcoded context menus and added new signal "context_menu_activate"
1330 to push this up to the uimanager.
1331 - Removed merge properties and print dialogs so that they can be managed with
1332 the window by the uimanager.
1333 * src/merge-properties-dialog.h:
1334 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
1335 (gl_merge_properties_dialog_construct):
1336 Changed calling convention of gl_merge_properties_dialog_new() to use
1337 glLabel and GtkWindow instead of view to make more consistent with other
1339 * src/print-dialog.h:
1340 * src/print-dialog.c: (gl_print_dialog_new),
1341 (gl_print_dialog_construct):
1342 Removed last artifact of libbonoboui.
1343 * src/ui-commands.c: (gl_ui_cmd_file_print),
1344 (gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
1345 Reconciled style for launching dialogs.
1346 * src/ui.c: (gl_ui_new):
1347 Added context menus to ui manager.
1348 * src/view-object.c: (item_event_arrow_mode):
1349 No longer try to select objects with right-click.
1351 * src/window.c: (gl_window_init), (gl_window_set_label),
1352 (context_menu_activate_cb):
1353 Context menus and all dialogs are now managed in a consistent way in window
1356 2005-05-11 Jim Evins <evins@snaught.com>
1359 * src/window.c: (gl_window_init), (gl_window_destroy):
1360 * src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
1361 * src/ui-commands.c: (gl_ui_cmd_file_open_recent):
1362 Moved management of recent_view back from window.c to ui.c -- it just feels
1365 2005-05-10 Jim Evins <evins@snaught.com>
1368 * src/window.c: (gl_window_init):
1370 * src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
1371 (menu_item_select_cb), (menu_item_deselect_cb):
1372 Added GtkStatusbar which displays menu tooltips.
1374 2005-05-09 Jim Evins <evins@snaught.com>
1376 Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
1381 Removed dependencies on libbonoboui.
1383 * data/ui/Makefile.am:
1384 * data/ui/glabels-ui.xml:
1385 Removed data/ui directory.
1386 * data/glade/Makefile.am:
1387 * data/property-bar.glade:
1388 Added glade description of property-bar for new libglade implementation
1395 * src/ui-commands.h:
1396 * src/ui-commands.c:
1397 Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
1398 since the distinction between "commands" and "tools" is no longer that clear.
1401 Modified to expect glWindow instead of GtkWindow. gl_file_open_recent()
1402 no longer has knowledge of eggRecent*.
1403 * src/glabels.c: (main):
1404 Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
1406 * src/object-editor.c: (gl_object_editor_init):
1407 Make sure notebook does not respond to a "show_all" on the parent.
1408 * src/recent-files/Makefile.am:
1409 * src/recent-files/*.[ch]
1410 Updated from latest version of libegg which now has a view based on
1411 GtkUIManager. Removed unused bonobo and gtk views.
1412 * src/ui-property-bar.h:
1413 * src/ui-property-bar.c:
1414 New implementation based on libglade.
1417 Sidebar is now simply a GtkWidget and does not expect to be a part of
1418 a libbonoboui interface.
1423 Converted for use with GtkUIManager.
1426 Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
1427 to create menus and toolbars.
1429 2005-04-25 Jim Evins <evins@snaught.com>
1431 * data/templates/misc-iso-templates.xml:
1432 Added Fellows 04715 template provided by Steve Saxon.
1434 Updated acknowledgement for above.
1436 2005-04-23 Jim Evins <evins@snaught.com>
1438 * src/util.c: (gl_util_combo_box_set_strings):
1439 Make sure to clear model before loading a new list of strings.
1440 * src/wdgt-media-select.h:
1441 * src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
1442 (gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
1443 (template_combo_changed_cb), (prefs_changed_cb),
1444 (gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
1445 (gl_wdgt_media_select_get_page_size),
1446 (gl_wdgt_media_select_set_page_size):
1447 Replaced the deprecated GtkCombo widget with the new
1450 2005-04-21 Jim Evins <evins@snaught.com>
1452 * data/glade/template-designer.glade:
1453 * src/template-designer.c: (construct_pg_size_page),
1454 (pg_size_page_changed_cb), (build_template):
1455 Replaced the deprecated GtkCombo widget with the new
1458 2005-04-20 Jim Evins <evins@snaught.com>
1460 * data/glade/prefs-dialog.glade:
1461 * src/prefs-dialog.c: (construct_object_page),
1462 (update_object_page_from_prefs), (update_prefs_from_object_page):
1463 Replaced the deprecated GtkCombo widget with the new
1466 2005-04-19 Jim Evins <evins@snaught.com>
1468 * data/glade/object-editor.glade:
1469 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
1470 (style_changed_cb), (gl_object_editor_set_bc_style),
1471 (gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
1472 (gl_object_editor_get_bc_color):
1473 * src/object-editor-data-page.c:
1474 (gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
1475 (gl_object_editor_get_data):
1476 * src/object-editor-edit-page.c:
1477 (gl_object_editor_prepare_edit_page), (insert_button_cb):
1478 * src/object-editor-fill-page.c:
1479 (gl_object_editor_prepare_fill_page),
1480 (gl_object_editor_set_fill_color),
1481 (gl_object_editor_get_fill_color):
1482 * src/object-editor-image-page.c:
1483 (gl_object_editor_prepare_image_page),
1484 (gl_object_editor_set_image), (gl_object_editor_get_image):
1485 * src/object-editor-line-page.c:
1486 (gl_object_editor_prepare_line_page),
1487 (gl_object_editor_set_line_color),
1488 (gl_object_editor_get_line_color):
1489 * src/object-editor-private.h:
1490 * src/object-editor-text-page.c:
1491 (gl_object_editor_prepare_text_page),
1492 (gl_object_editor_set_font_family),
1493 (gl_object_editor_get_font_family),
1494 (gl_object_editor_set_text_color),
1495 (gl_object_editor_get_text_color):
1496 * src/object-editor.c: (gl_object_editor_set_key_names):
1498 In the object editor: replaced all instances of the deprecated
1499 GtkCombo widget with the new GtkComboBox.
1501 2005-04-18 Jim Evins <evins@snaught.com>
1504 Neglected to save this one in previous checkin to support
1507 2005-04-17 Jim Evins <evins@snaught.com>
1509 * libglabels/libglabels-private.h:
1510 * libglabels/paper.c:
1511 * libglabels/paper.h:
1512 * libglabels/template.c:
1513 * libglabels/template.h:
1514 * libglabels/xml-paper.c:
1515 * libglabels/xml-paper.h:
1516 * libglabels/xml-template.c:
1521 * src/bc-gnubarcode.c:
1532 * src/label-barcode.c:
1534 * src/label-ellipse.c:
1535 * src/label-image.c:
1536 * src/label-image.h:
1538 * src/label-object.c:
1542 * src/merge-properties-dialog.c:
1543 * src/object-editor-bc-page.c:
1544 * src/object-editor-data-page.c:
1545 * src/object-editor-edit-page.c:
1546 * src/object-editor-fill-page.c:
1547 * src/object-editor-image-page.c:
1548 * src/object-editor-line-page.c:
1549 * src/object-editor-lsize-page.c:
1550 * src/object-editor-position-page.c:
1551 * src/object-editor-private.h:
1552 * src/object-editor-size-page.c:
1553 * src/object-editor-text-page.c:
1554 * src/object-editor.c:
1555 * src/object-editor.h:
1556 * src/pixbuf-cache.h:
1557 * src/prefs-dialog.c:
1558 * src/prefs-dialog.h:
1559 * src/prefs-model.c:
1560 * src/prefs-model.h:
1562 * src/print-dialog.c:
1563 * src/print-dialog.h:
1571 * src/template-designer.c:
1572 * src/template-designer.h:
1575 * src/ui-property-bar.c: (gl_ui_property_bar_construct):
1581 * src/view-barcode.c:
1583 * src/view-ellipse.c:
1584 * src/view-highlight.c:
1585 * src/view-highlight.h:
1588 * src/view-object.c:
1589 * src/view-object.h:
1593 * src/wdgt-chain-button.c:
1594 * src/wdgt-media-select.c:
1595 * src/wdgt-media-select.h:
1596 * src/wdgt-mini-preview.c:
1597 * src/wdgt-mini-preview.h:
1598 * src/wdgt-print-copies.c:
1599 * src/wdgt-print-copies.h:
1600 * src/wdgt-print-merge.c:
1601 * src/wdgt-print-merge.h:
1602 * src/wdgt-rotate-label.c:
1603 * src/wdgt-rotate-label.h:
1606 * src/xml-label-04.c:
1607 * src/xml-label-191.c:
1609 Cleanup of header files:
1610 - all header files are now stand-alone, verified by including
1611 first in corresponding "c" files
1612 - replaced blanket includes of gnome, gtk, and glib with
1615 2005-04-16 Jim Evins <evins@snaught.com>
1617 * data/glade/Makefile.am:
1618 * data/glade/merge-properties-dialog.glade:
1619 Added merge properties dialog glade description file.
1620 * src/merge-properties-dialog.h:
1621 * src/merge-properties-dialog.c:
1622 (gl_merge_properties_dialog_get_type),
1623 (gl_merge_properties_dialog_init),
1624 (gl_merge_properties_dialog_finalize),
1625 (gl_merge_properties_dialog_new),
1626 (gl_merge_properties_dialog_construct), (type_changed_cb),
1627 (src_changed_cb), (response_cb), (load_tree),
1628 (record_select_toggled_cb), (select_all_button_clicked_cb),
1629 (unselect_all_button_clicked_cb):
1630 Modified merge properties dialog to use libglade. Added
1631 "select all" and "unselect all" buttons.
1632 * src/merge-text.c: (parse_line):
1633 Handle empty lines better.
1634 * src/merge.c: (gl_merge_eval_key):
1635 Evaluate the key whether the record is selected or not.
1637 * src/util.c: (gl_util_combo_box_add_text_model):
1638 Since libglade does not use the gtk_combo_box_new_text()
1639 constructor for GtkComboBoxes, a utility function was created
1640 to add an appropriate text model to a GtkComboBox.
1641 * src/view.c: (gl_view_edit_merge_props):
1642 Removed unnecessary "show all's".
1644 2005-04-15 Jim Evins <evins@snaught.com>
1647 Updated russian translation (Vitaly Lipatov)
1648 * data/templates/misc-iso-templates.xml:
1649 Added templates for russian business cards provided by Vitaly Lipatov.
1651 Updated acknowledgements for above.
1653 2005-04-15 Jim Evins <evins@snaught.com>
1655 * data/templates/avery-us-templates.xml:
1656 Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
1657 * data/templates/misc-iso-templates.xml:
1658 Added Ryman standard CD/DVD template, provided by Dan Clark.
1660 Added acknowledgements for above.
1662 2005-04-10 Jim Evins <evins@snaught.com>
1664 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
1665 * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
1666 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
1667 (xml_parse_label_cd_node), (xml_parse_alias_node):
1668 * libglabels/xml.c: (gl_xml_get_prop_double),
1669 (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
1670 (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
1671 * src/xml-label-04.c: (xml04_parse_media_description),
1672 (xml04_parse_text_props), (xml04_parse_barcode_props),
1673 (xml04_parse_merge_properties):
1674 * src/xml-label-191.c: (xml191_parse_object),
1675 (xml191_parse_text_props), (xml191_parse_barcode_props),
1676 (xml191_parse_merge_fields), (xml191_parse_pixdata),
1677 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
1678 (xml191_parse_alias):
1679 * src/xml-label.c: (xml_parse_object_text),
1680 (xml_parse_object_barcode), (xml_parse_merge_fields),
1681 (xml_parse_pixdata), (xml_parse_toplevel_span):
1682 Make sure to use xmlFree for anything obtained from libxml
1683 in case libxml and glib use different memory management
1686 2005-04-08 Jim Evins <evins@snaught.com>
1689 * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
1690 (gl_util_combo_box_set_active_text):
1691 Added utility functions to simplify working with GtkComboBox
1693 * src/ui-property-bar.h:
1694 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
1695 (reset_to_default_properties), (update_text_properties),
1696 (font_family_changed_cb):
1697 Replaced deprecated GtkCombo with GtkComboBox.
1700 2005-04-03 Jim Evins <evins@snaught.com>
1703 * src/wdgt-image-select.h:
1704 * src/wdgt-image-select.c:
1705 Removed obsolete wdgt-image-select.[ch] files.
1706 * libglabels/paper.c: (gl_paper_dup):
1707 Fixed rename of parameter introduced during documentation
1709 * data/glade/object-editor.glade:
1710 * src/object-editor-image-page.c:
1711 (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
1712 (gl_object_editor_set_image), (gl_object_editor_get_image),
1713 (update_preview_cb), (add_image_filters_to_chooser):
1714 * src/object-editor-private.h:
1715 Replaced deprecated GnomePixmapEntry with
1716 GtkFileChooserButton.
1718 2005-04-02 Jim Evins <evins@snaught.com>
1720 * src/mygal/mygal-combo-box.c: (deactivate_arrow),
1721 (mygal_combo_box_popup_hide_unconditional),
1722 (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
1723 (mygal_combo_toggle_pressed), (mygal_combo_box_init),
1724 (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
1725 (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
1726 (cb_tearable_button_release), (mygal_combo_box_set_tearable):
1727 Renamed all internal gtk_combo functions to mygal_combo
1728 to prevent namespace confusion.
1730 2005-04-02 Jim Evins <evins@snaught.com>
1732 * src/mygal/color-palette.c: (color_palette_change_custom_color),
1733 (cust_color_set), (color_palette_setup):
1734 * src/mygal/color-palette.h:
1735 Replaced deprecated GnomeColorPicker with GtkColorButton.
1737 2005-04-02 Jim Evins <evins@snaught.com>
1739 * docs/libglabels/libglabels-sections.txt:
1740 * docs/libglabels/libglabels-undocumented.txt:
1741 * docs/libglabels/tmpl/enums.sgml:
1742 * docs/libglabels/tmpl/paper.sgml:
1743 * docs/libglabels/tmpl/xml-paper.sgml:
1744 * docs/libglabels/tmpl/xml-template.sgml:
1745 * libglabels/enums.h:
1746 * libglabels/paper.c: (gl_paper_dup):
1747 * libglabels/paper.h:
1748 * libglabels/xml-paper.c:
1749 * libglabels/xml-template.c:
1750 More documentation updates for libglabels.
1752 2005-03-23 Jim Evins <evins@snaught.com>
1755 Automatically updated.
1760 * docs/libglabels/Makefile.am:
1761 * docs/libglabels/libglabels-docs.sgml:
1762 * docs/libglabels/libglabels-sections.txt:
1763 * docs/libglabels/libglabels-undocumented.txt:
1764 * docs/libglabels/tmpl/enums.sgml:
1765 * docs/libglabels/tmpl/libglabels-unused.sgml:
1766 * docs/libglabels/tmpl/libglabels.sgml:
1767 * docs/libglabels/tmpl/paper.sgml:
1768 * docs/libglabels/tmpl/template.sgml:
1769 * docs/libglabels/tmpl/xml-paper.sgml:
1770 * docs/libglabels/tmpl/xml-template.sgml:
1771 * docs/libglabels/tmpl/xml.sgml:
1772 Added basic gtk-doc stuff to support documenting libglabels
1775 Updated function comments with gtk-doc markup.
1779 2005-03-22 Jim Evins <evins@snaught.com>
1781 Since the development version now requires gtk-2.6/gnome-2.10, I
1782 have made a first pass at removing deprecations.
1785 * libglabels/Makefile.am:
1787 Added configure option to turn on X_DISABLE_DEPRECATED flags.
1788 Also removed all remnants of HAVE_FILECHOOSER.
1789 * src/file.c: (gl_file_open_real):
1790 Removed code for old GtkFileSelection.
1791 * libglabels/libglabels-private.h:
1792 * libglabels/paper.c:
1793 * libglabels/template.c:
1794 * libglabels/xml-paper.c:
1795 * libglabels/xml-template.c:
1799 * src/glabels-batch.c:
1803 * src/merge-properties-dialog.c:
1805 * src/object-editor.c:
1806 * src/prefs-dialog.c:
1808 * src/print-dialog.c:
1811 * src/template-designer.c:
1812 * src/ui-property-bar.c:
1814 * src/view-barcode.c:
1816 * src/view-ellipse.c:
1821 * src/wdgt-image-select.c:
1822 * src/wdgt-media-select.c:
1823 * src/wdgt-print-copies.c:
1824 * src/wdgt-print-merge.c:
1825 * src/wdgt-rotate-label.c:
1827 * src/xml-label-04.c:
1828 * src/xml-label-191.c:
1830 Added '#include <glib/gi18n.h>" where needed.
1831 Removed any unused '#include <gnome.h>"s.
1833 2005-03-22 Jim Evins <evins@snaught.com>
1835 * src/commands.c: (activate_url), (gl_cmd_help_about):
1836 Replaced GnomeAbout with GtkAboutDialog. Therefore the
1837 development version of glabels now depends on GTK 2.6 and
1840 Updated library dependencies.
1842 2005-02-28 Jim Evins <evins@snaught.com>
1845 * data/templates/misc-iso-templates.xml:
1846 Added 'Ednet 45021' template provided by Ali Akcaagac
1849 2005-02-14 Jim Evins <evins@snaught.com>
1851 * data/templates/avery-us-templates.xml:
1852 Updated templates to use inches instead of points.
1853 * src/print-dialog.c: (printer_page_new):
1854 Changed packing style when adding printer selector widget. This fixes
1857 2005-02-13 Jim Evins <evins@snaught.com>
1861 Updated spanish translations. (sergio rivadero)
1863 2005-02-05 Jim Evins <evins@snaught.com>
1865 Some cleanup to libglabels.
1868 Updated version to 2.1.1cvs. Added generation of libglabels.pc.
1869 * libglabels/libglabels.pc.in
1871 * libglabels/enums.h
1872 Created. Currently only contains glUnitsType which provides enumerations
1873 for all possible units of distance.
1874 * libglabels/Makefile.am:
1875 Incorporated new files enums.h and libglabels.pc[.in].
1876 * libglabels/libglabels.h:
1878 * libglabels/template.h:
1879 * libglabels/template.c: (gl_template_layout_new):
1880 Changed parameters nx and ny to gint from gdouble.
1882 * libglabels/xml.c: (gl_xml_get_prop_length),
1883 (gl_xml_set_prop_length), (gl_xml_set_default_units):
1884 Added support for different output units.
1885 * src/prefs-dialog.c: (update_locale_page_from_prefs),
1886 (update_prefs_from_locale_page):
1887 * src/prefs-model.c: (string_to_units), (units_to_string):
1888 * src/prefs-model.h:
1889 * src/prefs.c: (gl_prefs_get_units_per_point),
1890 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
1891 (gl_prefs_get_units_string):
1893 * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
1894 Reconciled all length enumerations with the new enumerations provided
1895 in libglabels/enums.h.
1897 2005-02-03 Jim Evins <evins@snaught.com>
1900 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
1902 Updated Italian translations. (Daniele Medri)
1904 Updated credits to reflect above translations.
1907 2005-01-22 Jim Evins <evins@snaught.com>
1912 Added MESSAGE-OF-DOOM to EXTRA_DIST.
1914 Final prep for 2.1.0.
1916 Set version to 2.1.0. Output MESSAGE-OF-DOOM.
1918 Added '--remove-original' flag to desktop-file-install, so that there is
1919 only one menu entry.
1921 2005-01-20 Jim Evins <evins@snaught.com>
1923 * data/glade/object-editor.glade:
1924 - Font family entry should not be editable.
1925 - img_key_entry should have sensitivity=YES, so that it follows the
1926 sensitivity of img_key_combo.
1928 2005-01-19 Jim Evins <evins@snaught.com>
1931 Give credit to Frederic Ruaudel for the color merge patches.
1933 2005-01-18 Frederic Ruaudel <grumz@users.sf.net>
1935 Add support to merge color for all other color attribute (Feature
1936 Requests item #1008635. If the data is invalid, the color used is transparent
1937 (GL_COLOR_NONE). The format for color in merge data file are those accepted
1938 by gdk_color_parse() these include name for a color from rgb.txt, such as
1939 DarkSlateGray, or a hex specification such as #305050. File format has been
1940 changed but backward compatibility is preserved for all format. For
1941 box/ellipse/line, keep attribute "line_color" for static color or replace by
1942 "line_color_field" for merge data. For text/barcode objects, keep attribute
1943 "color" for static color or replace by "color_field" for merge data. In the
1944 edit canvas window, merged color are represented by half-transparent black
1947 * data/dtd/glabels-2.0.dtd:
1948 Added line_color_field to line_attrs. Added color_field to
1949 Object-barcode and Span.
1950 * data/glade/object-editor.glade:
1951 Modify the layout of the editor to add merge possibility to color options
1953 Fix a copy/paste error in a comment
1955 Add default color for merge color representation in the editor canvas.
1956 * src/label-barcode.c:
1957 * src/object-editor-bc-page.c:
1958 * src/view-barcode.c:
1959 Add merge color support for barcode color.
1962 Add merge color support for box border color.
1963 * src/label-ellipse.c:
1964 * src/view-ellipse.c:
1965 Add merge color support for ellipse border color.
1968 Add merge color support for line color.
1969 * src/label-object.c:
1970 * src/label-object.h:
1971 * src/object-editor.c:
1972 * src/object-editor.h:
1973 * src/ui-property-bar.c:
1976 * src/xml-label-04.c:
1977 * src/xml-label-191.c:
1978 Add support for merging to other color attribute.
1980 * src/object-editor-text-page.c:
1982 Add merge color support for text color.
1983 * src/object-editor-fill-page.c:
1984 Change a blocked handler that didn't match the good widget. Fix the type
1985 of some debug message.
1986 * src/object-editor-line-page.c:
1987 Add merging support to line color option.
1988 * src/object-editor-private.h:
1989 Add variables for new widget.
1991 Modify the draw functions to get merge data if needed.
1993 Change the default size of the window in order to see all widget in the
1994 "text style tab" of the editor.
1996 Modify the parser to record/retreive the field value for objects that need
1997 "color" attribute. For box/ellipse/line, keep attribute "line_color" for
1998 static color or replace by "line_color_field" for merge data. For
1999 text/barcode objects, keep attribute "color" for static color or replace
2000 by "color_field" for merge data.
2002 2005-01-17 Jim Evins <evins@snaught.com>
2004 * src/view.c: (screen_changed_cb):
2005 Don't do anything if we don't have a screen.
2007 2005-01-06 Jim Evins <evins@snaught.com>
2009 * src/view.c: (get_home_scale):
2010 Fixed bad call to gtk_widget_has_screen() -- huh?.
2012 2005-01-06 Jim Evins <evins@snaught.com>
2014 * data/dtd/glabels-2.0.dtd:
2015 Added fill_color_field to fill_attrs. Also added xmlns attribute to all
2018 2005-01-06 Jim Evins <evins@snaught.com>
2020 * data/glade/object-editor.glade:
2021 Set entries for fill and data field key dropdowns to NOT editable.
2022 * src/view-box.c: (construct_properties_editor):
2023 * src/view-ellipse.c: (construct_properties_editor):
2024 Update object editor when label's merge property has changed.
2025 * src/xml-label.c: (xml_parse_object_ellipse):
2026 Completed the merge color support for the ellipse item.
2028 2005-01-06 Frederic Ruaudel <grumz@users.sf.net>
2030 Add support to merge color for object that have a "Fill color" attribute (Feature
2031 Requests item #1008635. If the data is invalid, the color used is transparent
2032 (GL_COLOR_NONE). The format for color in merge data file are those accepted
2033 by gdk_color_parse() these include name for a color from rgb.txt, such as
2034 DarkSlateGray, or a hex specification such as #305050. File format has been
2035 changed but backward compatibility is preserved for all format. For box/ellipse,
2036 keep attribute "fill_color" for static color or replace by "fill_color_field"
2039 * data/glade/object-editor.glade:
2040 Modify "Fill" tab to add the merge key combo and convert the labels into
2044 Add "glColorNode" structure and associated functions to manage it. This
2045 structure is equivalent for color than the "glTextNode". It holds the color
2047 * src/label-object.h:
2048 * src/label-object.c:
2050 * src/label-ellipse.c:
2051 * src/ui-property-bar.c:
2055 * src/view-ellipse.c:
2056 * src/xml-label-04.c:
2057 * src/xml-label-191.c:
2058 Change functions of objects that have a "fill color" attribute to use the
2059 new "glColorNode" structure. Use barcode code as example.
2061 Add the color.[ch] file to glabels_batch binary that now need support for
2063 * src/object-editor.h:
2064 * src/object-editor.c:
2065 * src/object-editor-fill-page.c:
2066 Manage the new widget of the editor's "Fill" tab : key combo and radio button
2067 to choose between static color or merge key. Use barcode code as example.
2068 * src/object-editor-private.h:
2069 Add new widget in the "_glObjectEditorPrivate" structure.
2071 Modify the draw functions to get merge data if needed.
2073 Modify the parser to record/retreive the field value for objects that need
2074 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
2075 color or "fill_color_field" for merge data.
2077 2005-01-04 Jim Evins <evins@snaught.com>
2080 * data/templates/avery-iso-templates.xml:
2081 * data/templates/misc-iso-templates.xml:
2082 * data/templates/misc-us-templates.xml:
2083 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
2086 2004-11-26 Jim Evins <evins@snaught.com>
2090 Updated french translations provided by Florent Morel <florent@taket.org>.
2091 * src/view-barcode.c:
2093 * src/view-ellipse.c:
2097 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
2098 thus _() strings were not being translated.
2100 2004-11-14 Jim Evins <evins@snaught.com>
2103 * src/debug.c: (gl_debug_init), (gl_debug):
2104 Borrowed from gedit: use environmental variables to select debug
2107 Removed unused include of debug.h.
2108 * src/glabels.c: (main):
2109 Added call to gl_debug_init(), and removed debug clutter from command line
2111 * src/glabels-batch.c: (main):
2112 Added call to gl_debug_init().
2114 2004-11-13 Jim Evins <evins@snaught.com>
2116 Drawing and property toolbars were being initialized with the "icons and text"
2117 look in Fedora Core 3. Even though none of the buttons had any text attached to
2118 them, the buttons were being sized as if they were. This led to less real estate
2119 for the property editor, leading to Bug #1064630. The
2121 * data/ui/glabels-ui.xml:
2122 Added explicit "look" property to both drawing and property toolbars.
2123 * src/prefs-model.c: (gl_prefs_model_save_settings),
2124 (gl_prefs_model_load_settings):
2125 * src/prefs-model.h:
2126 Removed drawing_toolbar_button_style configuration parameter.
2127 * src/ui.c: (view_menu_item_toggled_cb),
2128 (set_app_drawing_toolbar_style):
2129 Do not attempt to adjust look property of the drawing toolbar.
2131 2004-10-28 Jim Evins <evins@snaught.com>
2133 * data/pixmaps/glabels-about-logo.png:
2136 2004-10-28 Jim Evins <evins@snaught.com>
2138 * data/man/glabels.1:
2139 * src/glabels-batch.c: (main):
2141 * src/print.c: (gl_print_batch):
2143 Added option to glabels-batch to select the first label to begin
2146 2004-09-26 Jim Evins <evins@snaught.com>
2148 * data/desktop/glabels.desktop.in:
2149 Point to app icon, "glabels.png"
2150 * data/mime/glabels.keys.in:
2151 Point at mime icon, "glabels-application-x-glabels.png"
2152 * data/pixmaps/Makefile.am:
2153 Added glabels_app_icondir. Renamed icons.
2154 * data/pixmaps/glabels.png:
2155 New cleaned up app icon. Deleted glabels-icon.png.
2156 * data/pixmaps/glabels-application-x-glabels.png:
2158 * data/pixmaps/glabels-splash.png:
2159 Renamed glabels-logo to glabels-splash to be more correct about role.
2161 * src/template-designer.c:
2162 Point at app icon, "glabels.png"
2164 Point at renamed splash image, "glabels-splash.png"
2166 2004-08-22 Jim Evins <evins@snaught.com>
2169 * src/glabels-batch.c: (main):
2170 Applied patch with minor mods to allow selecting merge source and
2171 crop-marks on glabels-batch's command line. Original patch provided by
2172 José Dapena Paz <jdapena@igalia.com>.
2174 2004-08-15 Jim Evins <evins@snaught.com>
2176 * data/desktop/glabels.desktop.in:
2177 - Added encoding line
2178 - Removed period from comment
2179 - Fixed Terminal line, changed "0" to "false"
2180 - Added semicolen to Categories line
2182 - Made sure desktop.in comment string above still translated properly
2184 2004-08-14 Jim Evins <evins@snaught.com>
2186 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
2187 * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
2188 * src/xml-label-191.c: (xml191_parse_sheet):
2189 Fixed improper freeing of gettext strings. Merged from 2.0.1.
2191 Reconciled libglabels versioning with 2.0.1.
2194 2004-08-14 Jim Evins <evins@snaught.com>
2197 Updated version to 2.1cvs.
2199 2004-08-14 Jim Evins <evins@snaught.com>
2202 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
2204 2004-08-14 Jim Evins <evins@snaught.com>
2206 Fixes for Bug #1008181.
2208 * src/bc.c: (gl_barcode_default_digits):
2209 Make a format of zero digits, harmless.
2210 * src/xml-label.c: (xml_parse_object_barcode):
2211 Set default value of the format property of barcode objects to 10, not
2212 zero. This will prevent crashes when reading pre 2.0.x files.
2214 2004-08-09 Jim Evins <evins@snaught.com>
2218 * help/C/glabels-C.omf:
2219 * help/C/glabels.xml:
2220 Brought documentation up-to-date for 2.0.0 release.
2222 2004-08-09 Jim Evins <evins@snaught.com>
2224 These are hopefully the final preparations for 2.0.0.
2226 * data/mime/Makefile.am:
2227 Include glabels.xml in EXTRA_DIST.
2229 - Updated comment style.
2230 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
2231 - Added package and version info to configuration printout
2232 - Update version to 2.0.0
2233 * libglabels/Makefile.am:
2234 Use the new LIBGLABELS_VERSION_INFO macro.
2236 2004-08-09 Jim Evins <evins@snaught.com>
2240 Cleanup of required library macros.
2242 2004-08-08 Jim Evins <evins@snaught.com>
2246 - More specific of what to install in /usr/bin and /usr/lib
2247 - Remove built mime registration files from staging directory
2249 2004-08-08 Jim Evins <evins@snaught.com>
2251 * data/mime/Makefile.am:
2252 Fixed typo: key_files should have been keys_files.
2254 2004-08-08 Jim Evins <evins@snaught.com>
2256 Reorganization of runtime data files. Also added registration of mimetype with
2257 new freedesktop.org mime database if available.
2260 Moved files to appropriate subdirectories, creating local Makefile.am
2261 in each subdirectory.
2262 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
2263 These are now installed at $datadir/glabels/templates.
2264 - Moved glabels.1 to man subdirectory.
2265 - Moved glabels-2.0.dtd to dtd subdirectory.
2266 - Moved glabels.desktop.in to desktop subdirectory.
2267 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
2269 Moved "./pixmaps" to "./data/pixmaps"
2271 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
2273 Moved libglade files from src to data/glade. Created Makefile.am.
2275 Removed pixmaps from SUBDIRS.
2277 - Removed pixmaps from makefiles.
2278 - Added makefiles for new subdirs of data.
2279 - Added tests for freedesktop.org mime database.
2281 - Added tests for freedesktop.org mime database for post install and
2282 post un-install actions.
2283 * libglabels/Makefile.am:
2284 Moved system template files to $(datadir)/glabels/templates.
2285 * libglabels/libglabels-private.h:
2286 Moved system template files to $(datadir)/glabels/templates.
2288 - Accounted for movement of ui and libglade files.
2289 - Added missing .in files.
2290 - Reorganized by directory.
2292 Accounted for movement of ui and libglade files.
2293 * data/mime/glabels.xml.in:
2294 New file for registering with freedesktop.org mime database.
2296 2004-08-07 Jim Evins <evins@snaught.com>
2298 * src/recent-files/*:
2299 Re-synced to latest libegg/recent-files.
2301 2004-08-07 Jim Evins <evins@snaught.com>
2306 Renamed "./doc" directory to "./help" which contains user documentation,
2307 to be more consistent with other GNOME applications.
2310 2004-07-26 Jim Evins <evins@snaught.com>
2312 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
2313 Corrected button order of merge properties dialog.
2315 2004-07-18 Jim Evins <evins@snaught.com>
2317 * data/glabels-2.0.dtd:
2318 * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
2319 (gl_barcode_get_prefered_n):
2321 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
2322 (gl_label_barcode_get_props), (get_size):
2323 * src/label-barcode.h:
2324 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
2325 (style_changed_cb), (gl_object_editor_set_bc_style),
2326 (gl_object_editor_get_bc_style):
2327 * src/object-editor-data-page.c: (data_radio_toggled_cb),
2328 (gl_object_editor_set_data), (gl_object_editor_get_data):
2329 * src/object-editor-private.h:
2330 * src/object-editor.c: (gl_object_editor_set_key_names):
2331 * src/object-editor.glade:
2332 * src/object-editor.h:
2333 * src/print.c: (draw_barcode_object):
2334 * src/view-barcode.c: (update_object_from_editor_cb),
2335 (update_editor_from_object_cb),
2336 (gl_view_barcode_create_event_handler), (draw_barcode):
2337 * src/xml-label-04.c: (xml04_parse_barcode_props):
2338 * src/xml-label-191.c: (xml191_parse_barcode_props):
2339 * src/xml-label.c: (xml_parse_object_barcode),
2340 (xml_create_object_barcode):
2341 Added "format" attribute to barcode objects. This attribute is used
2342 to properly format freeform barcodes barcodes prior to merge data is
2343 applied, so that barcodes can be accurately layed out. This addresses
2344 remaining issues of feature request #824787. Also added an example of
2345 the format in the object editor.
2347 2004-07-12 Jim Evins <evins@snaught.com>
2349 Various code cleanups.
2351 * src/label-barcode.c:
2352 Removed unneeded include of gnome-glyphlist.h.
2354 * src/label-text.c: (get_size):
2355 Fixed memory leak: unref glyphlists when done with them.
2357 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
2358 * src/object-editor-data-page.c:
2359 (gl_object_editor_prepare_data_page):
2360 * src/object-editor-image-page.c:
2361 (gl_object_editor_prepare_image_page):
2362 * src/object-editor-line-page.c:
2363 (gl_object_editor_prepare_line_page):
2364 * src/object-editor-lsize-page.c:
2365 (gl_object_editor_prepare_lsize_page):
2366 * src/object-editor-position-page.c:
2367 (gl_object_editor_prepare_position_page):
2368 * src/object-editor-size-page.c:
2369 (gl_object_editor_prepare_size_page):
2370 * src/object-editor-text-page.c:
2371 (gl_object_editor_prepare_text_page):
2372 Removed unneeded size groups, originally intended to keep widgets aligned.
2373 Now use tables to lay these out in object-editor.glade.
2375 * src/print.c: (draw_text_object):
2376 Fixed memory leak: unref glyphlists when done with them.
2378 * src/view-barcode.c: (draw_barcode):
2379 Fixed memory leak: unref glyphlists when done with them.
2381 * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
2382 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
2384 - Fixed memory leak: unref glyphlists when done with them.
2386 2004-07-11 Jim Evins <evins@snaught.com>
2388 * data/glabels-2.0.dtd:
2389 * src/label-text.c: (gl_label_text_instance_init), (copy),
2390 (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
2392 * src/object-editor-private.h:
2393 * src/object-editor-text-page.c:
2394 (gl_object_editor_prepare_text_page),
2395 (gl_object_editor_set_text_auto_shrink),
2396 (gl_object_editor_get_text_auto_shrink):
2397 * src/object-editor.c: (gl_object_editor_set_key_names):
2398 * src/object-editor.glade:
2399 * src/object-editor.h:
2400 * src/print.c: (draw_text_object):
2401 * src/view-text.c: (update_object_from_editor_cb),
2402 (update_editor_from_object_cb):
2403 * src/xml-label.c: (xml_parse_object_text),
2404 (xml_create_object_text):
2405 Added option to allow document merge to auto shrink text size to fit
2406 within the text box. The code in print.c that actually shrinks the
2407 text is loosely based on a patch submitted by Mark Harrison
2408 <mark.harrison@velocitynet.com.au>. This addresses feature request
2411 2004-07-11 Jim Evins <evins@snaught.com>
2413 * data/glabels-2.0.dtd:
2414 * libglabels/template.c: (gl_template_rect_label_type_new),
2415 (gl_template_round_label_type_new),
2416 (gl_template_cd_label_type_new), (gl_template_label_type_dup),
2417 (template_full_page):
2418 * libglabels/template.h:
2419 * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
2420 (xml_create_label_node):
2421 * pixmaps/ex-rect-size.png:
2422 * src/print.c: (clip_to_outline), (clip_punchouts):
2423 * src/template-designer.c: (construct_rect_size_page),
2424 (rect_size_page_prepare_cb), (layout_page_prepare_cb),
2426 * src/template-designer.glade:
2427 * src/xml-label-191.c: (xml191_parse_label):
2428 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
2429 properties for rectangular labels. Templates remain backwards compatible,
2430 but this breaks the libglabels API (I don't know of anyone outside of
2431 glabels using libglabels at this time -- what can I say, the program is
2432 is still "unstable"). This addresses the suggestion in Feature Request
2435 2004-07-05 Jim Evins <evins@snaught.com>
2436 * src/print.c: (print_crop_marks), (draw_outline):
2437 Changed crop marks and label outlines to black, instead of 25% gray.
2438 This addresses debian Bug #257460.
2440 2004-07-05 Jim Evins <evins@snaught.com>
2442 * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
2443 * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
2444 Preserve "is_default" of fill and line color_combos when creating from
2447 2004-07-02 Jim Evins <evins@snaught.com>
2450 Created man page. Based on page submitted by Matthew J. Lockner, however
2451 it has been severely edited.
2453 * data/avery-other-templates.xml
2454 * data/misc-other-templates.xml:
2455 Started new files for predefined templates with non-standard sheet sizes.
2456 These have been initially populated with the Avery 06141 and
2457 OfficeMax #86112, both provided by Matthew J. Lockner.
2460 Install above manpage and template files.
2463 Make sure we install man pages.
2465 * src/glabels-batch.c:
2466 Changed short form of help option to '-?' to be consistent with glabels.
2469 Added acknowledgement for above labels.
2471 2004-07-02 Jim Evins <evins@snaught.com>
2473 * src/glabels.c: (main), (save_session_cb):
2474 - Now include libbonoboui.h, recent.h, and file.h to provide missing
2476 - save_session_cb() now returns gboolean.
2477 - Minor formatting changes.
2481 - Now include file.h to provide missing prototype.
2482 - gl_window_get_type() now returns GType, not guint. I believe this may
2483 ultimately be cause of the segfault reported in Bug #982287, since
2484 GType is actually a gulong, which may not be compatible on other
2485 architectures (64bit) -- I cannot personally test this at this time.
2486 I was sloppy in several other xxx_get_type() functions which also
2487 returned guint -- see next group of files:
2489 * src/window.c: (gl_window_get_type):
2490 * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
2491 * src/canvas-hacktext.h:
2492 * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
2493 (gl_hig_category_get_type), (gl_hig_vbox_get_type),
2494 (gl_hig_hbox_get_type):
2496 * src/label-barcode.c: (gl_label_barcode_get_type):
2497 * src/label-barcode.h:
2498 * src/label-box.c: (gl_label_box_get_type):
2500 * src/label-ellipse.c: (gl_label_ellipse_get_type):
2501 * src/label-ellipse.h:
2502 * src/label-image.c: (gl_label_image_get_type):
2503 * src/label-image.h:
2504 * src/label-line.c: (gl_label_line_get_type):
2506 * src/label-object.c: (gl_label_object_get_type):
2507 * src/label-object.h:
2508 * src/label-text.c: (gl_label_text_get_type):
2510 * src/label.c: (gl_label_get_type):
2512 * src/merge-properties-dialog.c:
2513 (gl_merge_properties_dialog_get_type):
2514 * src/merge-properties-dialog.h:
2515 * src/merge-text.c: (gl_merge_text_get_type):
2517 * src/merge.c: (gl_merge_get_type):
2519 * src/object-editor.c: (gl_object_editor_get_type):
2520 * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
2521 * src/prefs-dialog.h:
2522 * src/prefs-model.c: (gl_prefs_model_get_type):
2523 * src/prefs-model.h:
2524 * src/print-dialog.c: (gl_print_dialog_get_type):
2525 * src/print-dialog.h:
2526 * src/template-designer.c: (gl_template_designer_get_type):
2527 * src/template-designer.h:
2528 * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
2529 * src/ui-property-bar.h:
2530 * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
2532 * src/view-barcode.c: (gl_view_barcode_get_type):
2533 * src/view-barcode.h:
2534 * src/view-box.c: (gl_view_box_get_type):
2536 * src/view-ellipse.c: (gl_view_ellipse_get_type):
2537 * src/view-ellipse.h:
2538 * src/view-highlight.c: (gl_view_highlight_get_type):
2539 * src/view-highlight.h:
2540 * src/view-image.c: (gl_view_image_get_type):
2542 * src/view-line.c: (gl_view_line_get_type):
2544 * src/view-object.c: (gl_view_object_get_type):
2545 * src/view-object.h:
2546 * src/view-text.c: (gl_view_text_get_type):
2548 * src/view.c: (gl_view_get_type):
2550 * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
2551 * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
2552 * src/wdgt-image-select.h:
2553 * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
2554 * src/wdgt-media-select.h:
2555 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
2556 * src/wdgt-mini-preview.h:
2557 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
2558 * src/wdgt-print-copies.h:
2559 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
2560 * src/wdgt-print-merge.h:
2561 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
2562 * src/wdgt-rotate-label.h:
2563 - Made sure all xxx_get_type functions returned GType, not guint. This
2564 was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
2565 ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
2566 wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
2567 wdt-print-merge.[ch], and wdgt-rotate-label.[ch]. See separate
2568 window.[ch] details above for more info.
2569 - Reconciled various coding style differences in all xxx_get_type()
2571 * All prototypes include G_GNUC_CONST.
2572 * All prototypes specify the return value as GType, not GtkType
2574 * Info structures are all declared as "static const."
2575 * Generalized the names of type and info variables.
2576 * Miscelaneous formatting.
2578 2004-06-08 Jim Evins <evins@snaught.com>
2584 Don't touch compression of original file -- still defaults to 9 for
2585 new files. Original patch provided by Javier Donaire Segarra
2586 (#912252 in patch tracker).
2588 2004-05-05 Jim Evins <evins@snaught.com>
2590 * data/glabels-2.0.dtd:
2591 Broke DTD previously when adding new barcode types that contain a
2592 plus sign (+). Simply changed the BC_STYLE_TYPE entity to "CDATA"
2593 to avoid the problem.
2594 * data/avery-iso-templates.xml:
2595 * data/zweckform-iso-templates.xml:
2597 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021. Templates
2598 provided by Frank Altpeter.
2599 * libglabels/xml-template.c: (xml_create_label_node):
2600 Reordered markup and layout sub-nodes so that resulting templates will
2601 validate against DTD.
2603 2004-03-13 Jim Evins <evins@snaught.com>
2605 * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
2606 Changed spin callback signals from "value-changed" back to "changed."
2607 This was accidentally introduced in a previous revision, and can cause
2608 size changes just by selecting the size tab.
2610 2004-03-06 Jim Evins <evins@snaught.com>
2612 * src/view.c: (draw_grid_layer):
2613 For round labels (round and cd) adjust grid so that it lines up with
2614 center of label. Also, no longer draw box around label in the grid layer,
2615 it is hidden by he fg layer anyway. Feature suggested by
2616 nemolivier@free.fr. Although the grid is aligned with the center of the
2617 label, the coordinate system is still relative to the upper left corner
2618 of the rectangle containing the label.
2620 2004-02-25 Jim Evins <evins@snaught.com>
2623 Changed version to 2.0pre1cvs
2625 * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
2626 Removed extra xmlFreeDoc() calls upon error. Also print the doc->URL
2627 instead of doc->name fields when errors encountered.
2629 2004-02-21 Jim Evins <evins@snaught.com>
2631 * data/avery-iso-templates.xml:
2632 Added aliases for Avery 8651. Patch provided by Wayne Schuller.
2635 Added libglabels library and include file to installed files.
2638 Final prep for 1.93.3.
2640 2004-02-20 Jim Evins <evins@snaught.com>
2642 * src/glabels-batch.c: (main):
2643 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
2644 as suggested by Javier Donaire Segarra. This addresses bug #901063.
2646 2004-02-16 Jim Evins <evins@snaught.com>
2649 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
2652 Added HAVE_FILE_CHOOSER to INCLUDES.
2654 * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
2655 (gl_file_save_as), (save_as_response):
2656 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
2658 2004-02-16 Jim Evins <evins@snaught.com>
2660 * src/xml-label-04.c: (xml04_parse_image_props):
2661 * src/xml-label-191.c: (xml191_parse_image_props):
2662 * src/xml-label.c: (xml_parse_object_image):
2663 Delay setting image size until after image has been applied to new
2666 2004-02-15 Jim Evins <evins@snaught.com>
2668 * src/label-barcode.c: (gl_label_barcode_set_data),
2669 (gl_label_barcode_set_props):
2670 Don't emit "changed" signal, if no change actually made for these
2671 methods. Reduces number of unnecessary redraws of barcodes.
2673 * src/label-object.h:
2674 * src/label-object.c: (gl_label_object_set_position),
2675 (gl_label_object_set_position_relative), (set_size),
2676 (gl_label_object_set_size),
2677 (gl_label_object_set_size_honor_aspect):
2678 Don't emit "changed" signal, if no change actually made for these
2681 2004-02-15 Jim Evins <evins@snaught.com>
2683 * data/glabels-2.0.dtd:
2684 Added specific subtypes for various barcode types.
2687 * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
2688 (gl_barcode_get_styles_list), (gl_barcode_default_digits),
2689 (gl_barcode_can_text), (gl_barcode_text_optional),
2690 (gl_barcode_can_csum), (gl_barcode_csum_optional),
2691 (gl_barcode_id_to_name), (gl_barcode_name_to_id):
2692 Changed API to use a string id, rather than a fixed enumeration. Id and
2693 name are separate strings. Added entries to backend table for specific
2694 subtypes for various barcode types.
2697 * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
2699 Modified to conform to above API. Now more stringent with data length
2700 for various subtypes.
2702 * src/bc-gnubarcode.h:
2703 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
2704 (is_length_valid), (is_length1_valid), (is_length2_valid):
2705 Modified to conform to above API. Now more stringent with data length
2706 for various subtypes.
2708 * src/label-barcode.h:
2709 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
2710 (gl_label_barcode_get_props), (get_size):
2711 Modified to use above API for storing barcode type.
2713 * src/object-editor.h:
2714 * src/object-editor-bc-page.c: (style_changed_cb),
2715 (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
2716 Modified to use above API for storing barcode type.
2718 * src/object-editor-size-page.c:
2719 (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
2720 (w_spin_cb), (h_spin_cb), (size_reset_cb):
2721 Added debug markers.
2723 * src/object-editor.glade:
2724 Made barcode style combo's text entry non-editable.
2726 * src/print.c: (draw_barcode_object):
2727 Modified to use above API for barcode type.
2729 * src/view-barcode.c: (update_object_from_editor_cb),
2730 (update_editor_from_object_cb),
2731 (gl_view_barcode_create_event_handler), (draw_barcode):
2732 Modified to use above API for barcode type.
2734 * src/xml-label-04.c: (xml04_parse_barcode_props):
2735 * src/xml-label-191.c: (xml191_parse_barcode_props):
2736 * src/xml-label.c: (xml_parse_object_barcode),
2737 (xml_create_object_barcode):
2738 Modified to use above API for barcode type.
2740 2004-02-07 Jim Evins <evins@snaught.com>
2742 * src/stock-pixmaps/Makefile.am:
2743 * src/stock-pixmaps/stock_hchain_24.png:
2744 * src/stock-pixmaps/stock_hchain_broken_24.png:
2745 * src/stock-pixmaps/stock_vchain_24.png:
2746 * src/stock-pixmaps/stock_vchain_broken_24.png:
2747 Added chain pixmaps borrowed from the gimp's default theme.
2750 * src/stock.c: (gl_stock_init), (add_button_icon):
2751 Added above pixmaps to stock icon sets. Created add_button_icon() to
2752 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
2754 * src/wdgt-chain-button.h
2755 * src/wdgt-chain-button.c
2758 Added this Modified version of gimpchainbutton widget, borrowed from
2762 Added acknowledgements of the above borrowing from the gimp.
2764 * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
2766 * src/object-editor.c: (gl_object_editor_construct_chain_button):
2767 * src/object-editor.glade:
2768 Replaced the keep aspect ratio check box with the above chain-button
2771 * src/text-node.c: (gl_text_node_equal):
2773 Added function gl_text_node_equal() to compare text_nodes.
2775 * src/label-image.c: (gl_label_image_set_filename):
2776 Replaced incomplete text_node comparison code with invocation of
2777 gl_text_node_equal. This fixed the problem of not being able to
2778 resize an image using the object_editor if the aspect ratio is not
2781 2004-02-04 Jim Evins <evins@snaught.com>
2783 * src/object-editor-image-page.c:
2784 (gl_object_editor_prepare_image_page):
2785 Track "changed" signal of pixmap entry's GtkEntry rather than its
2786 "activate" signal -- this catches all changes to the entry rather than
2787 just changes resulting from a browse, so one can easily pull previous
2788 entries from the history. (This change is marked below on 2004-02-03,
2789 but somehow never got checked in.)
2791 * src/view-highlight.c: (sl_resize_event_handler),
2792 (sr_resize_event_handler), (st_resize_event_handler),
2793 (sb_resize_event_handler):
2794 Side resize handles will now confirm the actual resize that the object
2795 accepted before adjusting position parameters. Previously some interesting
2796 things happened when resizing a barcode to its minimum size.
2798 2004-02-03 Jim Evins <evins@snaught.com>
2800 * src/object-editor-image-page.c:
2801 (gl_object_editor_prepare_image_page):
2802 Track "changed" signal of pixmap entry's GtkEntry rather than its
2803 "activate" signal -- this catches all changes to the entry rather than
2804 just changes resulting from a browse, so one can easily pull previous
2805 entries from the history.
2807 * src/view-highlight.c: (tl_resize_event_handler),
2808 (tr_resize_event_handler), (bl_resize_event_handler),
2809 (br_resize_event_handler):
2810 Allow control key to be dropped while dragging a corner resize handle
2811 without losing the aspect ratio lock.
2813 2004-02-02 Jim Evins <evins@snaught.com>
2815 * src/label-image.c: (gl_label_image_set_filename):
2816 When setting a new filename adjust size such that the aspect ratio of
2817 the image is preserved using the current size as a bounding box.
2819 * src/view-image.c: (update_object_from_editor_cb):
2820 When updating object from editor, feed back possible size changes to
2821 editor as a result of a possible change in image.
2823 * src/object-editor-size-page.c: (size_reset_cb):
2824 Fixed typo when blocking spin handlers. If the base size is larger than
2825 the max size, treat max size as a bounding box while keeping aspect
2829 2004-02-02 Jim Evins <evins@snaught.com>
2831 * src/label-object.h:
2832 * src/label-object.c: (gl_label_object_set_size),
2833 (gl_label_object_set_size_honor_aspect):
2834 Added gl_label_object_set_size_honor_aspect() which will maintain the
2835 current aspect ratio by modifying the supplied w or h apropriately.
2837 * src/view-highlight.c: (tl_resize_event_handler),
2838 (tr_resize_event_handler), (bl_resize_event_handler),
2839 (br_resize_event_handler):
2840 Corner handles will now maintain the current aspect ratio if the
2841 control key is pressed while resizing. This addresses feature
2845 2004-01-31 Jim Evins <evins@snaught.com>
2848 * data/avery-us-templates.xml:
2849 Added entries for "LSK-3," "LSK-5," and "LSK-8." Submitted by JBadger.
2851 * libglabels/template.c: (read_template_files_from_dir):
2852 Corrected problem with testing for extensions.
2854 * src/object-editor.glade:
2855 Corrected grouping of radio buttons in barcode data page.
2857 * src/print.c: (draw_barcode_object):
2858 * src/view-barcode.c: (draw_barcode):
2859 Corrected problem with calculation of y_offset for locating characters.
2861 2004-01-24 Jim Evins <evins@snaught.com>
2864 * data/avery-us-templates.xml:
2865 Added Avery 5824, submitted by Fred Bacon.
2867 2004-01-20 Jim Evins <evins@snaught.com>
2869 Catching up on a couple of backlogged user template submissions.
2871 * data/avery-iso-templates.xml:
2872 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
2873 Suggested by Linas Jakucionis.
2875 * data/zweckform-iso-templates.xml:
2876 Added Zweckform 4760, submitted by Thomas Vill.
2879 Updated to reflect above submissions.
2881 2004-01-06 Jim Evins <evins@snaught.com>
2883 Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
2884 xml.[ch] into a separate library called libglabels, to facilitate third
2885 party use of glabels template files. This was suggested by Wayne Schuller.
2886 Once split-out, some modifications to the structures and functions to
2887 make a cleaner more useful API, hopefully. Rather extensive changes have
2888 propogated to other modules.
2896 * src/xml-template.h:
2897 * src/xml-template.c:
2900 These files have been moved to libglabels/. API cleanup performed.
2902 * libglabels/libglabels.h:
2903 * libglabels/libglabels-private.h:
2904 * libglabels/Makefile.am:
2905 These files have been added to finish out libglabels.
2912 Modified to reflect new sets of files in src/ and libglabels/.
2914 * COPYING.LIBGLABELS:
2916 Added copy of the LGPL for libglabels, and a copy the GFDL for
2919 * src/glabels-batch.c:
2921 * src/label.c: (gl_label_finalize), (gl_label_set_template),
2922 (gl_label_get_size):
2924 * src/prefs-model.c: (gl_prefs_model_load_settings):
2925 * src/print-dialog.c:
2926 * src/print.c: (gl_print_simple), (gl_print_merge_collated),
2927 (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
2928 (print_crop_marks), (print_label), (draw_outline),
2929 (clip_to_outline), (clip_punchouts):
2930 * src/template-designer.c: (construct_pg_size_page),
2931 (pg_size_page_changed_cb), (layout_page_changed_cb),
2932 (print_test_cb), (build_template):
2933 * src/util.c: (gl_util_fraction):
2935 * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
2936 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
2937 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
2938 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
2939 (draw_markup_margin_round), (draw_markup_margin_cd),
2940 (draw_markup_margin_cd_bc), (draw_markup_line),
2941 (draw_markup_circle), (gl_view_copy):
2942 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
2943 (page_size_entry_changed_cb), (details_update), (get_layout_desc),
2944 (get_label_size_desc):
2945 * src/wdgt-mini-preview.c:
2946 (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
2948 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
2949 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
2950 * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
2951 (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
2952 * src/wdgt-rotate-label.h:
2953 * src/xml-label-04.c: (xml04_parse_media_description):
2954 * src/xml-label-191.c: (gl_xml_label_191_parse),
2955 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
2956 (xml191_parse_markup), (xml191_parse_alias):
2957 * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
2959 Various changes to accomodate new libglabels API.
2961 2004-01-03 Jim Evins <evins@snaught.com>
2966 2004-01-03 Jim Evins <evins@snaught.com>
2969 Added acknowledgement of contributions by Wayne Schuller.
2971 * src/commands.c: (gl_cmd_file_print):
2972 Create extra reference to print dialog, so that it can be properly re-used.
2974 * src/mygal/mygal-combo-box.h:
2975 * src/mygal/mygal-combo-box.c:
2976 (mygal_combo_box_popup_hide_unconditional),
2977 (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
2978 (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
2979 (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
2980 (mygal_combo_box_set_tearable):
2981 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
2982 complete the rename of this widget to prevent namespace collisions
2985 * src/prefs-dialog.glade:
2986 Fixed alignment of Fill/Color widgets.
2988 2004-01-03 Jim Evins <evins@snaught.com>
2990 * data/avery-iso-templates.xml:
2991 Added user submitted templates.
2992 Avery 8435A & 8435B, submitted by Ludger Solbach.
2994 * doc/C/glabels.xml:
2995 Added minimal documentation, noting the new template designer.
2997 2004-01-03 Jim Evins <evins@snaught.com>
2999 * pixmaps/ex-rect-size.png:
3000 * pixmaps/ex-round-size.png:
3001 * pixmaps/ex-cd-size.png:
3002 * pixmaps/Makefile.am:
3003 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
3004 files to be used as illustrations/examples in the template-designer.
3006 * src/template-designer.c: (construct_rect_size_page),
3007 (construct_round_size_page), (construct_cd_size_page),
3008 (construct_nlayouts_page), (rect_size_page_prepare_cb),
3009 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
3010 (layout_page_prepare_cb), (build_template):
3011 * src/template-designer.glade:
3012 Added illustrations for rectangle, round, and cd label size pages.
3013 Added margin spinboxes to these pages, and now add a margin markup
3014 to the constructed template. Added realistic default values for
3015 some of the size spinboxes. Cleaned up the code for setting spinbox
3016 ranges on the layouts page.
3018 2004-01-02 Jim Evins <evins@snaught.com>
3020 * src/object-editor-size-page.c: (h_spin_cb):
3021 Fixed cut-n-paste error in h_spin_cb that loaded h from
3022 the wrong spinbutton.
3024 * src/object-editor.h:
3025 * src/object-editor.c: (gl_object_editor_class_init),
3026 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
3027 * src/object-editor-private.h:
3028 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
3030 Added "size_changed" signal.
3032 * src/view-text.c: (construct_properties_editor),
3033 (update_object_from_editor_cb),
3034 (update_object_from_editor_size_cb):
3035 Track size changes from object editor separately from other
3036 properties. This is so the default size (0,0) of a text
3037 object is not modified unintentionally.
3039 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
3041 Added feature: line spacing - allows you to comfortably space a text box to
3042 fit a label perfectly.
3044 * data/glabels-2.0.dtd:
3045 * src/label-object.c: (gl_label_object_set_text_line_spacing),
3046 (gl_label_object_get_text_alignment),
3047 (gl_label_object_get_text_line_spacing):
3048 * src/label-object.h:
3049 * src/label-text.c: (gl_label_text_class_init),
3050 (gl_label_text_instance_init), (copy), (get_size),
3051 (set_text_line_spacing), (get_text_alignment),
3052 (get_text_line_spacing):
3053 * src/object-editor-private.h:
3054 * src/object-editor-text-page.c:
3055 (gl_object_editor_prepare_text_page),
3056 (gl_object_editor_set_text_line_spacing),
3057 (gl_object_editor_get_text_line_spacing):
3058 * src/object-editor.glade:
3059 * src/object-editor.h:
3060 * src/prefs-dialog.c: (construct_object_page),
3061 (update_object_page_from_prefs), (update_prefs_from_object_page):
3062 * src/prefs-dialog.glade:
3063 * src/prefs-model.c: (gl_prefs_model_save_settings),
3064 (gl_prefs_model_load_settings), (get_float):
3065 * src/prefs-model.h:
3066 * src/print.c: (draw_text_object):
3068 * src/view-text.c: (update_object_from_editor_cb),
3069 (update_editor_from_object_cb),
3070 (gl_view_text_create_event_handler), (draw_hacktext):
3071 * src/view.c: (gl_view_construct),
3072 (gl_view_set_selection_text_line_spacing),
3073 (gl_view_set_default_text_line_spacing),
3074 (gl_view_get_default_text_line_spacing):
3076 * src/xml-label.c: (xml_parse_toplevel_span),
3077 (xml_create_toplevel_span):
3079 2003-12-30 Jim Evins <evins@snaught.com>
3081 * src/template-designer.c:
3082 * src/template-designer.h:
3083 * src/template-designer.glade:
3084 New template designer assistant.
3088 Added entries for src/template-designer.* files.
3090 * pixmaps/ex-1layout.png
3091 * pixmaps/ex-2layouts.png
3092 * pixmaps/Makefile.am:
3093 Added the new image files ex-*.png used as illustrations in the
3094 template designer assistant.
3096 * src/print-dialog.h:
3097 * src/print-dialog.c: (gl_print_dialog_finalize),
3098 (gl_print_dialog_new), (gl_print_dialog_construct),
3099 (gl_print_dialog_force_outline_flag):
3100 Changed first argument of gl_print_dialog_new() from glView to glLabel,
3101 to support printing from the template designer assistant which does not
3102 have a full-fledged view. Nothing else from the view object was being
3103 used by the dialog anyway.
3105 Added the gl_print_dialog_force_outline_flag() method, for better
3106 integration with the template designer assistant.
3110 * src/commands.c: (gl_cmd_file_template_designer),
3111 (gl_cmd_file_print):
3112 Modified print command to provide label instead of view to dialog.
3113 Added the gl_cmd_file_template_designer() command to invoke the
3114 template designer assistant.
3117 * src/glabels-ui.xml:
3118 Added support for template designer assistant.
3120 * src/wdgt-mini-preview.h:
3121 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
3122 (gl_wdgt_mini_preview_set_bg_color):
3123 Preview is now centered in canvas. Added
3124 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
3125 assistant to match the background color with its own.
3127 * src/print.c: (clip_to_outline):
3128 Fixed really stupid bug when adding waste to clip region of rectangular
3129 labels/cards. Each side of the clip region needs to be extended by
3130 twice the waste margin, as well as negatively offset by the waste
3133 2003-12-28 Jim Evins <evins@snaught.com>
3135 * src/prefs-dialog.c: (update_object_page_from_prefs):
3136 Block intermediary function align_toggle_cb() instead of
3137 update_prefs_from_object_page() for the three alignment
3140 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
3142 * src/file.c: (gl_file_new), (gl_file_properties):
3143 Swap button order and set default for higificatory pleasure.
3145 2003-12-27 Jim Evins <evins@snaught.com>
3147 * barcode-0.98/Makefile.am:
3148 One last time: removed doc/Makefile and po/Makefile.in.in from
3151 2003-12-27 Jim Evins <evins@snaught.com>
3153 * barcode-0.98/Makefile.am:
3154 Removed config.stat entry from EXTRA_DIST files.
3156 * barcode-0.98/Makefile.in:
3159 2003-12-27 Jim Evins <evins@snaught.com>
3162 Updated to work with latest gnome-common package from CVS.
3163 Removed recursive configuration of barcode-0.98.
3170 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
3172 * barcode-0.98/Makefile.in:
3173 * barcode-0.98/configure.in:
3174 * barcode-0.98/Makefile.am:
3175 * barcode-0.98/README.glabels:
3176 Modified to ignore the barcode package's build system, and build
3177 as a part of glabels.
3178 Renamed Makefile.in to Makefile.in.dist.
3179 Renamed configure.in to configure.in.dist.
3180 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
3183 * src/mygal/Makefile.am:
3184 * src/recent-files/Makefile.am:
3185 In order to build against the GNOME 2.5 platform,
3186 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
3188 * src/mygal/Makefile.am:
3189 * src/mygal/mygal-combo-box.c:
3190 * src/mygal/mygal-combo-box.h:
3191 * src/mygal/widget-color-combo.c:
3192 * src/mygal/widget-color-combo.h:
3194 In order to build against the GNOME 2.5 platform,
3195 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
3196 collisions with the real gtk_combo_box widget, now a part of gtk.
3198 2003-12-26 Jim Evins <evins@snaught.com>
3204 Moved local versions of get_home_data_dir() in paper.c and
3205 template.c to util package. Cleaned up formatting in
3209 In gl_template_register() save a copy of the template in
3210 ~/.glabels if the template is not known. Still need to
3211 handle duplicate filename case and duplicate name but
3212 different template case.
3216 Moved local definition of NAME_SPACE macro from xml-label.c
3219 * src/xml-template.c:
3220 * src/xml-template.h:
3221 Added function gl_xml_template_write_template_to_file(), used
3222 in gl_template_register().