1 2007-04-11 Jim Evins <evins@snaught.com>
3 * src/cairo-label-path.c: (gl_cairo_label_path),
4 (gl_cairo_rect_label_path), (gl_cairo_round_label_path),
5 (gl_cairo_cd_label_path):
6 * src/cairo-label-path.h:
7 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
9 * src/print.c: (draw_outline), (clip_to_outline):
10 * src/view.c: (draw_bg_layer), (draw_fg_layer):
11 * src/wdgt-mini-preview.c: (draw_labels):
12 * src/wdgt-rotate-label.c: (drawingarea_update):
13 Modified to universally use gl_cairo_label_path() to create paths
14 for labels. Added shadow to mini preview in rotate widget.
16 2007-04-10 Jim Evins <evins@snaught.com>
18 * libglabels/template.h:
19 * libglabels/template.c: (gl_template_get_name_list_unique),
20 (gl_template_get_name_list_all), (gl_template_from_name):
21 Modified libglabels to allow you to get a list of all template names
22 including all aliases or just a list of primary names of each unique
25 * src/file.c: (gl_file_properties):
26 * src/glabels.c: (main):
27 * src/mini-preview-pixbuf-cache.h:
28 * src/mini-preview-pixbuf-cache.c:
29 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
30 (filter_changed_cb), (load_list):
31 Added mini-preview pixbuf cache, so that only one mini-preview is
32 needed for a unique template and gets reused for all aliases. These
33 pixbufs will also live for the life of the program so they are not
34 rebuilt everytime a new label dialog is invoked.
35 * src/mini-preview-pixbuf.c: (draw_paper),
36 (draw_rect_label_outline), (draw_round_label_outline),
37 (draw_cd_label_outline):
38 Removed some comment artifacts.
40 2007-04-04 Jim Evins <evins@snaught.com>
42 * src/mini-preview-pixbuf.c: (gl_mini_preview_pixbuf_new),
43 (draw_paper), (draw_label_outlines), (draw_rect_label_outline),
44 (draw_round_label_outline), (draw_cd_label_outline):
45 * src/wdgt-media-select.c: (load_list):
46 * src/wdgt-rotate-label.c: (draw_cd_label_outline):
47 Cosmetic enhancments to mini previews.
49 2007-04-04 Jim Evins <evins@snaught.com>
51 * src/ui-property-bar.c: (gl_ui_property_bar_finalize),
52 (gl_ui_property_bar_construct):
53 Save copy of GladeXML tree so that we don't lose tooltips.
55 2007-04-02 Jim Evins <evins@snaught.com>
57 * src/merge-properties-dialog.c:
58 * src/new-label-dialog.c:
59 * src/object-editor.c:
62 * src/template-designer.c:
63 * src/ui-property-bar.c:
64 * src/wdgt-media-select.c:
65 * src/wdgt-rotate-label.c:
66 Fixed several memory leaks.
68 2007-04-01 Jim Evins <evins@snaught.com>
70 * src/label-text.c: (gl_label_text_init), (copy),
71 (gl_label_text_set_lines), (buffer_changed_cb), (get_size),
72 (set_font_family), (set_font_size), (set_font_weight),
73 (set_font_italic_flag), (set_text_alignment),
74 (set_text_line_spacing):
75 Cache object size, so that expensive extent calculations are only done
78 2007-03-30 Jim Evins <evins@snaught.com>
80 * src/prefs-model.c: (gl_prefs_model_load_settings):
81 Default to an unlimited list of recent documents, since this parameter
82 seems to be pre-filter anyway.
84 2007-03-30 Jim Evins <evins@snaught.com>
86 * src/label-box.c: (draw_shadow):
87 * src/label-ellipse.c: (draw_shadow):
88 Added missing shadow fill.
90 2007-03-28 Jim Evins <evins@snaught.com>
92 * src/ui-commands.c: (gl_ui_cmd_file_print):
93 Unreferencing the print operation sometimes crashes. Just don't do it
96 2007-03-28 Jim Evins <evins@snaught.com>
98 * src/print-op.c: (gl_print_op_construct),
99 (gl_print_op_get_settings), (gl_print_op_set_settings),
100 (gl_print_op_free_settings), (create_custom_widget_cb):
102 * src/ui-commands.c: (gl_ui_cmd_file_print):
103 * src/window.c: (gl_window_init):
105 Save print settings and custom settings between print operations
108 2007-03-24 Jim Evins <evins@snaught.com>
110 * src/object-editor-image-page.c:
111 (gl_object_editor_prepare_image_page),
112 (gl_object_editor_set_image), (img_selection_changed_cb):
113 Workaround for GtkFileChooserButton bug # 327243. This the root
114 cause for gLabels bug # 1192884. I have actually observed 3 delayed
115 "selection-changed" signals -- the first 2 return NULL -- this is
116 what caused the image to reset to the default followed by setting
117 it back to the original image, trying to fit it into a new bounding
118 box. This sequence of events is much more evident with the new
121 2007-03-23 Jim Evins <evins@snaught.com>
123 Merged all changes from experimental cairo branch to trunk.
124 Trunk no longer depends on libgnomecanvas or libgnomeprint[ui].
126 2007-03-23 Jim Evins <evins@snaught.com>
128 * src/label-object.h:
129 * src/label-object.c: (gl_label_object_class_init),
130 (gl_label_object_get_raw_size), (gl_label_object_get_size):
131 Created "get_raw_size" method.
132 * src/label-barcode.c: (get_size):
133 * src/xml-label.c: (xml_create_object_text),
134 (xml_create_object_barcode):
135 Use new "get_raw_size" method on label-objects when apropos.
137 * src/label-text.c: (get_size), (draw_object), (draw_shadow),
138 (auto_shrink_font_size):
139 Added "auto shrink" functionality back.
141 2007-03-19 Jim Evins <evins@snaught.com>
143 * src/label-text.c: (draw_object), (draw_shadow):
144 Don't use negative scales in workaround from previous commit.
147 2007-03-18 Jim Evins <evins@snaught.com>
150 Forgot to remove include of xml-lable-191 in previous commit.
151 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
152 Workaround for pango Bug #341481. Render text at device scale,
153 and scale font size accordingly. Also, don't do any hinting.
155 2007-03-18 Jim Evins <evins@snaught.com>
157 * src/cairo-ellipse-path.c:
158 * src/cairo-ellipse-path.h:
159 Forgot to add these new files during last mass commit.
161 2007-03-18 Jim Evins <evins@snaught.com>
164 * src/xml-label-191.c:
165 * src/xml-label-191.h:
166 Removed -- Very buggy. Version 1.91 is a very old "unstable" version,
167 so there is no need to keep compatability.
170 * src/cairo-label-path.c:
171 * src/cairo-label-path.h:
172 * src/cairo-markup-path.c:
176 * src/glabels-batch.c:
178 * src/label-barcode.c:
180 * src/label-ellipse.c:
183 * src/label-object.c:
184 * src/label-object.h:
188 * src/merge-properties-dialog.c:
190 * src/new-label-dialog.c:
191 * src/object-editor-bc-page.c:
192 * src/object-editor-data-page.c:
193 * src/object-editor-edit-page.c:
194 * src/object-editor-fill-page.c:
195 * src/object-editor-image-page.c:
196 * src/object-editor-line-page.c:
197 * src/object-editor-private.h:
198 * src/object-editor-shadow-page.c:
199 * src/object-editor-text-page.c:
200 * src/object-editor.c:
201 * src/pixbuf-cache.c:
206 * src/template-designer.c:
208 * src/ui-property-bar.c:
210 * src/view-barcode.c:
212 * src/view-ellipse.c:
219 * src/wdgt-media-select.c:
220 * src/wdgt-print-copies.c:
221 * src/wdgt-print-merge.c:
223 * src/xml-label-04.c:
225 Many changes, including:
226 - Move draw methods from view-*() to label-*().
227 - Use same drawing code for on screen view and printing.
228 - Fix all issues exposed with '-Wall -Werror'.
230 2007-03-14 Jim Evins <evins@snaught.com>
233 * src/cairo-handle-path.c:
234 * src/cairo-handle-path.h:
235 * src/cairo-object-path.c:
236 * src/cairo-object-path.h:
237 Removed cairo-handle-path.[ch] and cairo-object-path.[ch].
238 * src/view-barcode.c: (gl_view_barcode_class_init), (draw_object),
240 * src/view-box.c: (gl_view_box_class_init), (draw_object),
241 (draw_shadow), (object_at):
242 * src/view-ellipse.c: (gl_view_ellipse_class_init),
243 (create_ellipse_path), (draw_object), (draw_shadow), (object_at):
244 * src/view-image.c: (gl_view_image_class_init), (draw_object),
246 * src/view-line.c: (gl_view_line_class_init), (draw_object),
247 (draw_shadow), (object_at):
248 * src/view-object.c: (gl_view_object_draw), (gl_view_object_at),
249 (create_handle_path), (gl_view_object_draw_handles),
250 (gl_view_object_handle_at):
252 * src/view-text.c: (gl_view_text_class_init), (draw_object),
253 (draw_shadow), (object_at):
254 * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
255 Some restructuring of new code.
257 2007-03-12 Jim Evins <evins@snaught.com>
260 * src/cairo-object-path.c:
261 * src/view-barcode.c:
262 * src/view-barcode.h:
264 Added barcode object support to view.
266 2007-03-12 Jim Evins <evins@snaught.com>
272 * src/cairo-object-path.c:
273 * src/cairo-object-path.h:
275 * src/view-ellipse.c:
280 Added text object support to view. Added object_at method to all
283 2007-03-11 Jim Evins <evins@snaught.com>
286 * src/cairo-object-path.c: (gl_cairo_object_path),
287 (gl_cairo_image_object_path):
288 * src/view-image.c: (gl_view_image_class_init),
289 (gl_view_image_finalize), (gl_view_image_new),
290 (update_editor_from_label_cb), (draw),
291 (gl_view_image_get_create_cursor),
292 (gl_view_image_create_button_press_event),
293 (gl_view_image_create_motion_event),
294 (gl_view_image_create_button_release_event):
296 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
297 (selection_received_cb), (motion_notify_event_cb),
298 (button_press_event_cb), (button_release_event_cb):
299 Added image object support to view.
301 2007-03-11 Jim Evins <evins@snaught.com>
304 * src/cairo-object-path.c: (gl_cairo_object_path),
305 (gl_cairo_line_object_path):
306 * src/view-line.c: (gl_view_line_class_init), (gl_view_line_new),
307 (update_object_from_editor_cb), (update_editor_from_object_cb),
308 (update_editor_from_label_cb), (draw),
309 (gl_view_line_get_create_cursor),
310 (gl_view_line_create_button_press_event),
311 (gl_view_line_create_motion_event),
312 (gl_view_line_create_button_release_event):
314 * src/view-object.c: (gl_view_object_resize_event):
315 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
316 (selection_received_cb), (motion_notify_event_cb),
317 (button_press_event_cb), (button_release_event_cb):
318 Added line object support to view.
319 * src/cairo-handle-path.c:
320 Made handles slightly larger.
323 2007-03-11 Jim Evins <evins@snaught.com>
326 * src/cairo-handle-path.c:
327 * src/cairo-label-path.c: (gl_cairo_rect_label_path),
328 (gl_cairo_round_label_path), (gl_cairo_cd_label_path):
329 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
330 (gl_cairo_markup_margin_round_path),
331 (gl_cairo_markup_margin_cd_path), (gl_cairo_markup_circle_path):
332 * src/cairo-object-path.c: (gl_cairo_object_path),
333 (gl_cairo_ellipse_object_path):
334 * src/label-object.c: (gl_label_object_rotate):
337 * src/view-ellipse.c: (gl_view_ellipse_class_init),
338 (gl_view_ellipse_new), (update_object_from_editor_cb),
339 (update_editor_from_object_cb), (update_editor_from_label_cb),
340 (draw), (gl_view_ellipse_get_create_cursor),
341 (gl_view_ellipse_create_button_press_event),
342 (gl_view_ellipse_create_motion_event),
343 (gl_view_ellipse_create_button_release_event):
344 * src/view-ellipse.h:
347 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
348 (select_object_real), (selection_received_cb),
349 (motion_notify_event_cb), (button_press_event_cb),
350 (button_release_event_cb):
352 Added ellipse object support to view. Plus other cleanup.
354 2007-03-11 Jim Evins <evins@snaught.com>
357 * src/view-box.c: (gl_view_box_get_create_cursor),
358 (gl_view_box_create_button_press_event),
359 (gl_view_box_create_motion_event),
360 (gl_view_box_create_button_release_event):
361 * src/view-object.c: (gl_view_object_set_view),
362 (gl_view_object_handle_at):
364 * src/view.c: (gl_view_arrow_mode), (gl_view_object_create_mode),
365 (motion_notify_event_cb), (button_press_event_cb),
366 (button_release_event_cb), (key_press_event_cb):
367 Added creation code for box object.
369 2007-03-09 Jim Evins <evins@snaught.com>
371 * src/view-object.c: (gl_view_object_resize_event):
373 * src/view.c: (motion_notify_event_cb):
374 Fix bugs with resizing transformed objects.
375 * src/cairo-handle-path.c: (gl_cairo_handle_path):
376 * src/cairo-object-path.c: (gl_cairo_object_path):
377 * src/cairo-object-path.h:
378 * src/label-object.c: (gl_label_object_init),
379 (gl_label_object_dup), (gl_label_object_get_extent),
380 (gl_label_object_flip_horiz), (gl_label_object_flip_vert),
381 (gl_label_object_rotate), (gl_label_object_set_matrix),
382 (gl_label_object_get_matrix):
383 * src/label-object.h:
384 * src/print.c: (draw_object):
386 * src/view-highlight.c:
387 * src/view-highlight.h:
388 * src/xml-label-191.c: (xml191_parse_object):
389 * src/xml-label.c: (xml_parse_affine_attrs),
390 (xml_create_affine_attrs):
391 Replace libart affine matrices with cairo matrices.
393 2007-03-08 Jim Evins <evins@snaught.com>
396 * src/view.c: (gl_view_update), (motion_notify_event_cb):
397 * src/view-object.c: (gl_view_object_handle_at),
398 (gl_view_object_resize_event):
399 Added resize code -- still a bit buggy.
401 2007-03-07 Jim Evins <evins@snaught.com>
404 * src/cairo-handle-path.c:
405 * src/cairo-handle-path.h:
406 * src/view-box.c: (gl_view_box_new):
407 * src/view-object.c: (gl_view_object_set_object),
408 (gl_view_object_draw_handles), (gl_view_object_handle_at):
410 * src/view.c: (draw_highlight_layer), (select_object_real),
411 (unselect_object_real), (view_handle_at), (motion_notify_event_cb),
412 (button_press_event_cb), (button_release_event_cb),
413 (key_press_event_cb):
415 Added beginnings of object resize handles.
417 2007-03-07 Jim Evins <evins@snaught.com>
420 * src/view.c: (gl_view_init), (gl_view_arrow_mode),
421 (gl_view_object_create_mode), (motion_notify_event_cb),
422 (button_press_event_cb), (button_release_event_cb),
423 (key_press_event_cb):
424 Added move selection support.
426 2007-03-05 Jim Evins <evins@snaught.com>
428 * src/cairo-object-path.c: (gl_cairo_object_path):
429 * src/view-object.c: (gl_view_object_draw),
430 (gl_view_object_draw_highlight):
431 * src/view.c: (view_object_at), (motion_notify_event_cb),
432 (button_press_event_cb), (button_release_event_cb):
433 Additional refinements to select logic.
435 2007-03-05 Jim Evins <evins@snaught.com>
438 * src/view.c: (gl_view_init), (gl_view_construct),
439 (label_changed_cb), (draw_layers), (draw_select_region_layer),
440 (gl_view_select_region), (object_at), (motion_notify_event_cb),
441 (button_press_event_cb), (button_release_event_cb):
442 Added initial select region support and context menu.
444 2007-03-04 Jim Evins <evins@snaught.com>
462 * src/wdgt-print-copies.c:
463 * src/wdgt-print-merge.c:
465 Initial port to a raw Cairo canvas. This removes all remaining
466 dependencies on libgnomecanvas and libgnomeprint[ui]. Basically
467 the view is becoming a canvas widget in its own right. Still needs
469 * src/cairo-label-path.c:
470 * src/cairo-label-path.h:
471 * src/cairo-markup-path.c:
472 * src/cairo-markup-path.h:
473 * src/cairo-object-path.c:
474 * src/cairo-object-path.h:
475 New files to support cairo canvas.
476 * src/canvas-hacktext.c:
477 * src/canvas-hacktext.h:
480 2007-02-18 Jim Evins <evins@snaught.com>
483 GNOME_FONT_BOOK changed to PANGO_WEIGHT_NORMAL.
485 2007-02-14 Jim Evins <evins@snaught.com>
489 * src/bc-gnubarcode.c:
490 * src/bc-gnubarcode.h:
495 * src/canvas-hacktext.c:
496 * src/canvas-hacktext.h:
503 * src/label-barcode.c:
504 * src/label-barcode.h:
507 * src/label-ellipse.c:
508 * src/label-ellipse.h:
513 * src/label-object.c:
514 * src/label-object.h:
519 * src/merge-evolution.c:
520 * src/merge-evolution.h:
523 * src/merge-properties-dialog.c:
524 * src/merge-properties-dialog.h:
531 * src/mini-preview-pixbuf.h:
532 * src/new-label-dialog.c:
533 * src/new-label-dialog.h:
534 * src/object-editor-bc-page.c:
535 * src/object-editor-data-page.c:
536 * src/object-editor-edit-page.c:
537 * src/object-editor-fill-page.c:
538 * src/object-editor-image-page.c:
539 * src/object-editor-line-page.c:
540 * src/object-editor-lsize-page.c:
541 * src/object-editor-position-page.c:
542 * src/object-editor-private.h:
543 * src/object-editor-size-page.c:
544 * src/object-editor-text-page.c:
545 * src/object-editor.c:
546 * src/object-editor.h:
547 * src/pixbuf-cache.c:
548 * src/pixbuf-cache.h:
549 * src/prefs-dialog.c:
550 * src/prefs-dialog.h:
558 * src/template-designer.c:
563 * src/ui-property-bar.c:
564 * src/ui-property-bar.h:
573 * src/view-barcode.c:
574 * src/view-barcode.h:
577 * src/view-ellipse.c:
578 * src/view-ellipse.h:
579 * src/view-highlight.c:
580 * src/view-highlight.h:
591 * src/wdgt-chain-button.c:
592 * src/wdgt-chain-button.h:
593 * src/wdgt-media-select.c:
594 * src/wdgt-mini-preview.c:
595 * src/wdgt-print-copies.c:
596 * src/wdgt-print-copies.h:
597 * src/wdgt-print-merge.c:
598 * src/wdgt-print-merge.h:
599 * src/wdgt-rotate-label.c:
601 * src/xml-label-04.c:
602 * src/xml-label-04.h:
603 * src/xml-label-191.c:
604 * src/xml-label-191.h:
608 Assorted superficial cleanup. Including:
609 - Use G_DEFINE_TYPE for all objects.
610 - Reconcile style of all class initializer functions
611 - Reconcile style of all finalize functions
612 - Add emacs mode line to all source files
614 2007-02-06 Jim Evins <evins@snaught.com>
616 Assorted cleanup and removal of deprecated items.
621 Removed annoying splash screen.
622 * src/glabels-batch.c: (main):
623 * src/glabels.c: (main):
624 Converted from popt to GOption.
625 * src/object-editor-shadow-page.c:
626 (gl_object_editor_set_shadow_state):
627 Removed deprecated method on GtkToggleButton.
628 * src/ui-commands.c: (gl_ui_cmd_help_about):
629 Removed dependency on libgnomui/qnome-url.h.
630 * src/template-designer.c:
631 Removed dependency on libgnome/gnome-program.h.
634 2007-02-04 Jim Evins <evins@snaught.com>
639 * src/print.c: (draw_text_object):
640 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_construct):
641 Removed GnomeCanvas artifacts from color.[ch] and related modules.
643 2007-02-04 Jim Evins <evins@snaught.com>
645 * src/wdgt-mini-preview.c:
646 * src/wdgt-mini-preview.h:
647 Ported widget from GnomeCanvas to Cairo.
649 2007-02-03 Jim Evins <evins@snaught.com>
651 * data/glade/template-designer.glade:
652 * src/template-designer.c:
653 * src/template-designer.h:
654 Ported GnomeDruid to GtkAssistant. Since libglade does not
655 yet support the GtkAssistant and we derive directly from
656 the Assistant, the pages are layed out in a GtkNotebook in
657 the glade description -- we then append each page to the
660 2007-01-25 Jim Evins <evins@snaught.com>
662 * data/glade/object-editor.glade:
663 Added dummy page to notebook, to prevent shadow page from
664 becoming the default current page at creation.
665 * src/view-box.c: (construct_properties_editor):
666 * src/view-ellipse.c: (construct_properties_editor):
667 * src/view-line.c: (construct_properties_editor):
668 * src/view-text.c: (construct_properties_editor):
669 Reconciled order of params.
671 2007-01-19 Jim Evins <evins@snaught.com>
673 * src/label-barcode.h:
674 * src/label-object.c: (gl_label_object_set_font_weight),
675 (gl_label_object_set_text_alignment),
676 (gl_label_object_get_font_weight),
677 (gl_label_object_get_text_alignment):
678 * src/label-object.h:
679 * src/label-text.c: (gl_label_text_instance_init), (copy),
680 (get_size), (set_font_family), (set_font_weight),
681 (set_text_alignment), (get_font_weight), (get_text_alignment):
683 * src/object-editor-text-page.c:
684 (gl_object_editor_prepare_text_page),
685 (gl_object_editor_set_font_family),
686 (gl_object_editor_set_font_weight),
687 (gl_object_editor_get_font_weight),
688 (gl_object_editor_set_text_alignment),
689 (gl_object_editor_get_text_alignment),
690 (gl_object_editor_set_text_color):
691 * src/object-editor.h:
692 * src/prefs-dialog.c: (construct_object_page),
693 (update_object_page_from_prefs), (update_prefs_from_object_page):
694 * src/prefs-model.c: (gl_prefs_model_save_settings),
695 (gl_prefs_model_load_settings):
697 * src/print.c: (draw_text_object):
698 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
699 (reset_to_default_properties), (update_text_properties),
700 (font_bold_toggled_cb), (text_align_toggled_cb):
702 * src/util.c: (gl_util_align_to_string), (gl_util_string_to_align),
703 (gl_util_weight_to_string), (gl_util_string_to_weight),
704 (gl_util_get_font_family_list), (gl_util_font_family_list_free):
706 * src/view-text.c: (update_object_from_editor_cb),
707 (update_editor_from_object_cb), (draw_hacktext), (draw_cursor):
708 * src/view.c: (gl_view_set_selection_text_alignment),
709 (gl_view_set_default_text_alignment),
710 (gl_view_get_default_text_alignment):
712 * src/xml-label-04.c: (xml04_parse_text_props):
713 * src/xml-label-191.c: (xml191_parse_text_props):
714 * src/xml-label.c: (xml_parse_object_text),
715 (xml_parse_toplevel_span), (xml_create_object_text),
716 (xml_create_toplevel_span):
717 Converted all model internals to Pango. GnomeFont remains in
718 view until GnomeCanvas can be replaced with a cairo-based canvas.
720 2007-01-17 Jim Evins <evins@snaught.com>
726 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type),
727 (gl_wdgt_print_copies_construct):
728 * src/wdgt-print-copies.h:
729 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type),
730 (gl_wdgt_print_merge_construct):
731 * src/wdgt-print-merge.h:
732 Removed all remaining HIG wrapper widgets.
734 2007-01-16 Jim Evins <evins@snaught.com>
737 * src/print-dialog.c:
738 * src/print-dialog.h:
741 * src/template-designer.c: (print_test_cb):
742 * src/ui-commands.c: (gl_ui_cmd_file_print):
744 Renamed PrintDialog to PrintOp. Added constructor for batch
746 * src/glabels-batch.c: (main):
747 Converted to use new PrintOp object for printing.
749 2007-01-15 Jim Evins <evins@snaught.com>
751 * data/glade/Makefile.am:
752 * data/glade/print-custom-widget.glade:
753 * src/print-dialog.c:
754 * src/print-dialog.h:
757 * src/template-designer.c: (print_test_cb):
758 * src/ui-commands.c: (gl_ui_cmd_file_print):
759 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_copies):
760 * src/wdgt-print-merge.h:
761 * src/window.c: (gl_window_init):
763 Initial conversion to GtkPrintOperation.
765 - Remove font and other libgnomeprint[ui] from elsewhere
766 - Add batch initialization of print operation
768 2007-01-08 Jim Evins <evins@snaught.com>
770 Updated dependencies. Set version to 2.1.pre4cvs.
772 2007-01-03 Jim Evins <evins@snaught.com>
775 Removed EggRecent stuff.
784 Ported from EggRecent to GtkRecentManager.
787 2007-01-02 Jim Evins <evins@snaught.com>
790 * iec16022-0.2.1/BUGS:
791 * iec16022-0.2.1/CHANGELOG:
792 * iec16022-0.2.1/CREDITS:
793 * iec16022-0.2.1/INSTALL:
794 * iec16022-0.2.1/LICENSE:
795 * iec16022-0.2.1/Makefile.am:
796 * iec16022-0.2.1/Makefile.dist:
797 * iec16022-0.2.1/README:
798 * iec16022-0.2.1/README.glabels:
799 * iec16022-0.2.1/TODO:
800 * iec16022-0.2.1/iec16022.1:
801 * iec16022-0.2.1/iec16022.c:
802 * iec16022-0.2.1/iec16022ecc200.c:
803 * iec16022-0.2.1/iec16022ecc200.h:
804 * iec16022-0.2.1/image.c:
805 * iec16022-0.2.1/image.h:
806 * iec16022-0.2.1/reedsol.c:
807 * iec16022-0.2.1/reedsol.h:
808 * iec16022-0.2.1/test/testsuite-example.bin:
809 * iec16022-0.2.1/test/testsuite-example.eps:
810 * iec16022-0.2.1/test/testsuite-example.hex:
811 * iec16022-0.2.1/test/testsuite-example.png:
812 * iec16022-0.2.1/test/testsuite-example.text:
813 * iec16022-0.2.1/test/testsuite.sh:
814 Include modified copy of iec16022-0.2.1 to provide encoding
815 support for datamatrix 2D barcodes.
820 Added initial datamatrix 2D barcode backend to barcode code.
823 Automatic updates to later versions of these files.
825 2006-11-28 Jim Evins <evins@snaught.com>
827 * data/templates/avery-iso-templates.xml:
828 * data/templates/avery-us-templates.xml:
829 * data/templates/categories.xml:
830 * data/templates/misc-iso-templates.xml:
831 * data/templates/misc-us-templates.xml:
832 * data/templates/zweckform-iso-templates.xml:
835 2006-09-12 Jim Evins <evins@snaught.com>
837 * data/dtd/glabels-2.0.dtd:
838 * data/templates/Makefile.am:
839 * data/templates/avery-iso-templates.xml:
840 * data/templates/avery-other-templates.xml:
841 * data/templates/avery-us-templates.xml:
842 * data/templates/categories.xml:
843 * data/templates/misc-iso-templates.xml:
844 * data/templates/misc-other-templates.xml:
845 * data/templates/zweckform-iso-templates.xml:
846 * data/glade/Makefile.am:
847 * data/glade/new-label-dialog.glade:
848 * data/glade/wdgt-media-select.glade:
849 * data/glade/wdgt-rotate-label.glade:
850 * libglabels/Makefile.am:
851 * libglabels/category.c:
852 * libglabels/category.h:
853 * libglabels/libglabels.h:
854 * libglabels/paper.c:
855 * libglabels/template.c:
856 * libglabels/template.h:
857 * libglabels/xml-category.c:
858 * libglabels/xml-category.h:
859 * libglabels/xml-template.c:
860 Added support for category meta data.
863 * src/mini-preview-pixbuf.c:
864 * src/mini-preview-pixbuf.h:
865 * src/new-label-dialog.c:
866 * src/new-label-dialog.h:
867 * src/wdgt-media-select.c:
868 * src/wdgt-media-select.h:
869 * src/wdgt-rotate-label.c:
870 * src/wdgt-rotate-label.h:
871 New "new label" dialog.
873 2006-05-27 Jim Evins <evins@snaught.com>
878 Preparation for 2.1.3.
884 2006-05-22 Jim Evins <evins@snaught.com>
886 * src/print.c: (draw_barcode_object):
887 Don't print "Invalid barcode data" if data field is empty. Patch provided
888 by Darren Warner <warnerd@users.sourceforge.net>. Fixes Bug #1479839.
890 Added acknowledgment for above patch.
891 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
892 * src/bc-postnet.c: (postnet_code):
893 Removed "Invalid barcode data" warnings from stderr.
894 * src/view-barcode.c: (draw_barcode):
895 Draw box around barcode extent if data empty or invalid. Center a
896 message whether the data is empty or invalid in box.
898 2006-05-22 Jim Evins <evins@snaught.com>
900 * src/print.c: (draw_text_object):
901 Check shadow state when printing text.
903 2006-05-20 Jim Evins <evins@snaught.com>
905 * src/ui-commands.c: (gl_ui_cmd_view_grid_toggle),
906 (gl_ui_cmd_view_markup_toggle):
907 Fixed crash when grid or markup have been toggled off during
908 a previous session. Bug #1434324.
910 2006-04-05 Jim Evins <evins@snaught.com>
912 * src/object-editor.c: (gl_object_editor_set_key_names):
913 Fixed potential crash when freeing empty key list.
915 2006-03-11 Jim Evins <evins@snaught.com>
917 * src/print.c: (draw_text_object):
918 * src/view-text.c: (gl_view_text_new),
919 (construct_properties_editor), (update_object_from_editor_cb),
920 (update_editor_from_object_cb), (update_editor_from_label_cb),
922 Added shadow support to text object.
924 2006-02-18 Jim Evins <evins@snaught.com>
926 * src/print.c: (draw_line_object):
927 * src/view-line.c: (gl_view_line_new),
928 (construct_properties_editor), (update_canvas_item_from_object_cb),
929 (update_object_from_editor_cb), (update_editor_from_object_cb),
930 (update_editor_from_label_cb):
931 Added shadow support to line object.
933 2006-02-16 Jim Evins <evins@snaught.com>
937 * src/print.c: (draw_ellipse_object):
938 * src/view-ellipse.c: (gl_view_ellipse_new),
939 (construct_properties_editor), (update_canvas_item_from_object_cb),
940 (update_object_from_editor_cb), (update_editor_from_object_cb),
941 (update_editor_from_label_cb):
942 Added shadow support to ellipse object.
944 2006-02-15 Jim Evins <evins@snaught.com>
946 * src/label-object.c:
947 Changed default shadow offsets.
948 * src/view-box.c: (gl_view_box_new):
949 Simplified gl_view_box_new() so that is does not duplicate code
950 in update_canvas_item_from_object_cb().
952 2006-02-07 Jim Evins <evins@snaught.com>
954 * data/glade/object-editor.glade:
955 Fixed color groups of color combos.
957 Added default shadow color.
958 * src/object-editor.c: (gl_object_editor_construct_color_combo):
959 Added shadow color group.
961 2006-02-06 Jim Evins <evins@snaught.com>
963 * src/object-editor-shadow-page.c:
964 Forgot to add this file.
965 * src/view-box.c: (gl_view_box_new),
966 (update_canvas_item_from_object_cb), (update_editor_from_label_cb):
967 Update limits on shadow offset spinbuttons.
969 2006-01-19 Jim Evins <evins@snaught.com>
971 * src/merge-evolution.c: (gl_merge_evolution_get_key_list):
972 Initialize key_list to NULL.
973 * data/glade/object-editor.glade:
977 * src/label-object.c:
978 * src/label-object.h:
979 * src/object-editor-fill-page.c:
980 * src/object-editor-private.h:
981 * src/object-editor.c:
982 * src/object-editor.h:
984 Created infrastructure for shadow support.
987 Initial shadow support in box object only.
989 2006-01-05 Jim Evins <evins@snaught.com>
991 * src/merge-properties-dialog.c: (src_changed_cb):
992 Be extra paranoid before calling strcmp().
993 * src/merge.c: (gl_merge_set_src):
994 Don't make (merge == NULL) a critical error.
996 2005-12-22 Jim Evins <evins@snaught.com>
998 * src/glabels-batch.c: (main):
999 Compile warning free with gcc 4.0.
1001 2005-12-21 Jim Evins <evins@snaught.com>
1004 Updated example RPM spec file.
1006 2005-12-21 Jim Evins <evins@snaught.com>
1010 Preparation for 2.1.2.
1012 2005-12-20 Jim Evins <evins@snaught.com>
1015 Define unique G_LOG_DOMAIN for glabels.
1016 * src/critical-error-handler.c: (gl_critical_error_handler_init):
1017 * src/warning-handler.c: (gl_warning_handler_init),
1019 Register for G_LOG_DOMAIN instead of NULL.
1021 2005-12-10 Jim Evins <evins@snaught.com>
1023 * src/merge-evolution.c:
1024 * src/merge-vcard.c:
1027 2005-12-08 Jim Evins <evins@snaught.com>
1029 * libglabels/paper.c: (read_paper_files_from_dir):
1030 * libglabels/template.c: (gl_template_register),
1031 (read_template_files_from_dir):
1032 * libglabels/xml-paper.c: (gl_xml_paper_read_papers_from_file),
1033 (gl_xml_paper_parse_papers_doc):
1034 * libglabels/xml-template.c:
1035 (gl_xml_template_read_templates_from_file),
1036 (gl_xml_template_parse_templates_doc),
1037 (gl_xml_template_parse_template_node),
1038 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
1039 (xml_parse_label_cd_node), (xml_parse_layout_node),
1040 (xml_parse_markup_margin_node), (xml_parse_markup_line_node),
1041 (xml_parse_markup_circle_node),
1042 (gl_xml_template_write_templates_to_file), (xml_create_label_node):
1043 * libglabels/xml.c: (gl_xml_get_prop_length):
1044 Re-classified g_warnings to g_messages.
1046 * src/glabels.c: (main):
1047 * src/warning-handler.c: (gl_warning_handler_init),
1049 * src/warning-handler.h:
1050 Added warning message handler to make sure the user is
1051 presented with appropriate non-fatal errors.
1052 * src/critical-error-handler.c: (critical_error_handler):
1053 Changed exit to abort.
1054 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new), (render_pass1):
1055 * src/bc-postnet.c: (postnet_code):
1056 * src/bc.c: (id_to_index), (name_to_index):
1057 * src/merge.c: (gl_merge_register_backend), (gl_merge_new):
1058 * src/object-editor.c: (gl_object_notebook_construct_valist):
1059 * src/prefs-dialog.c: (update_locale_page_from_prefs):
1060 * src/prefs.c: (gl_prefs_get_units_per_point),
1061 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
1062 (gl_prefs_get_units_string):
1063 * src/print.c: (draw_outline), (clip_to_outline), (clip_punchouts):
1064 * src/splash.c: (gl_splash):
1065 * src/ui-commands.c: (gl_ui_cmd_help_contents):
1066 * src/view-highlight.c: (gl_view_highlight_new),
1067 (highlight_resizable_box_construct), (object_changed_cb),
1068 (view_scale_changed_cb):
1069 * src/view.c: (draw_label_layer), (draw_bg_fg_layers),
1070 (draw_markup_layer), (draw_markup_margin),
1071 (gl_view_object_create_mode), (canvas_event),
1072 (selection_received_cb):
1073 * src/wdgt-mini-preview.c: (mini_outline_list_new):
1074 * src/wdgt-rotate-label.c: (mini_preview_canvas_update):
1075 * src/xml-label-04.c: (gl_xml_label_04_parse),
1076 (xml04_parse_media_description), (xml04_parse_text_props),
1077 (xml04_parse_barcode_props):
1078 * src/xml-label-191.c: (gl_xml_label_191_parse),
1079 (xml191_parse_objects), (xml191_parse_object),
1080 (xml191_parse_text_props), (xml191_parse_image_props),
1081 (xml191_parse_barcode_props), (xml191_parse_data),
1082 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
1083 (xml191_parse_markup):
1084 * src/xml-label.c: (gl_xml_label_open), (gl_xml_label_open_buffer),
1085 (xml_doc_to_label), (xml_parse_label), (xml_parse_objects),
1086 (xml_parse_object_text), (xml_parse_object_image),
1087 (xml_parse_object_barcode), (xml_parse_data),
1088 (xml_parse_toplevel_span), (gl_xml_label_save),
1089 (xml_create_objects):
1090 Re-classified g_warnings to g_messages.
1091 * src/merge-evolution.c: (gl_merge_evolution_open),
1092 (gl_merge_evolution_close), (gl_merge_evolution_get_record):
1093 Use g_warning to output errors encountered while
1094 communicating with the evolution data server
1095 instead of embedding them in the data.
1097 2005-12-08 Jim Evins <evins@snaught.com>
1099 * libglabels/libglabels-private.h:
1101 * libglabels/paper.c: (read_papers):
1102 * libglabels/template.c: (read_templates):
1103 Made appropriate warnings critical.
1105 * src/critical-error-handler.h:
1106 * src/critical-error-handler.c: (gl_critical_error_handler_init),
1107 (critical_error_handler):
1108 Created critical error handler.
1109 * src/glabels.c: (main):
1110 Register critical error handler.
1111 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
1112 * src/object-editor.c: (gl_object_editor_init):
1113 * src/prefs-dialog.c: (gl_prefs_dialog_init):
1114 * src/template-designer.c: (gl_template_designer_init):
1115 * src/ui-property-bar.c: (gl_ui_property_bar_instance_init):
1116 Made appropriate warnings critical.
1118 2005-11-27 Jim Evins <evins@snaught.com>
1120 * src/merge-evolution.c: (gl_merge_evolution_get_key_list),
1121 (gl_merge_evolution_get_primary_key),
1122 (gl_merge_evolution_get_record):
1123 Don't create "record_key" pseudo-key. Don't populate
1124 fields with null data.
1126 2005-11-25 Jim Evins <evins@snaught.com>
1128 * src/merge-evolution.c: (gl_merge_evolution_finalize),
1129 (gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
1130 (gl_merge_evolution_get_record), (gl_merge_evolution_copy),
1132 Query EDS for all supported fields. Patch provided by
1133 Austin Henry <ahenry@users.sourceforge.net>.
1135 2005-10-29 Jim Evins <evins@snaught.com>
1137 * src/glabels.c: (main):
1138 * src/label-barcode.c: (gl_label_barcode_finalize):
1139 * src/label-text.c: (gl_label_text_finalize), (set_font_family):
1140 * src/label.c: (gl_label_instance_init), (gl_label_finalize):
1141 * src/object-editor.c: (gl_object_editor_finalize):
1142 Another pass at valgrinding -- plugged several memory leaks.
1143 * src/view-text.c: (gl_view_text_new),
1144 (update_canvas_item_from_object_cb), (draw_hacktext):
1145 Commented out artifacts of edit-in-place code.
1147 2005-10-28 Jim Evins <evins@snaught.com>
1149 * src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
1150 Fixed use of uninitialized variable. Caught by
1151 d binderman <dcb314@hotmail.com>.
1153 2005-10-27 Jim Evins <evins@snaught.com>
1155 * src/merge-evolution.c: (gl_merge_evolution_get_record):
1156 * src/merge-vcard.c: (gl_merge_vcard_get_record),
1158 Additional cleanup of EDS and vcard backends. Provided by
1159 Austin Henry <ahenry@users.sourceforge.net>.
1161 2005-10-24 Jim Evins <evins@snaught.com>
1165 * src/merge-evolution.c:
1166 * src/merge-evolution.h:
1167 * src/merge-init.c: (gl_merge_init):
1168 * src/merge-properties-dialog.c: (type_changed_cb):
1169 * src/merge-vcard.c:
1170 * src/merge-vcard.h:
1171 * src/ui-commands.c: (gl_ui_cmd_help_about):
1172 Added Evolution Data Server and VCard merge backends. Original patch
1173 provided by Austin Henry <ahenry@users.sourceforge.net>.
1175 Only support EDS and VCard backends if libebook is installed. Allow
1176 user to disable support, even if installed.
1178 2005-10-24 Jim Evins <evins@snaught.com>
1181 * data/templates/avery-iso-templates.xml:
1182 * data/templates/avery-us-templates.xml:
1183 * data/templates/misc-iso-templates.xml:
1184 * data/templates/zweckform-iso-templates.xml:
1185 Collected all template changes and submissions since last
1188 2005-10-23 Jim Evins <evins@snaught.com>
1191 * data/mime/Makefile.am:
1192 Added configure options to disable update-mime-database and
1193 update-desktop-database as part of the install. Patch
1194 provided by Leonardo Boshell (qhoracio@sourceforge.net).
1196 2005-10-23 Jim Evins <evins@snaught.com>
1199 * libglabels/xml.c: (gl_xml_get_prop_string),
1200 (gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
1201 (gl_xml_is_node), (gl_xml_get_node_content):
1202 Added new XML utility functions.
1203 * libglabels/xml-paper.c:
1204 * libglabels/xml-template.c:
1206 Cleanup by using new xml utilities created above.
1207 * libglabels/paper.c: (gl_paper_free):
1208 * src/file.c: (new_response):
1209 * src/object-editor-image-page.c: (add_image_filters_to_chooser):
1210 * src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
1211 (gl_pixbuf_cache_get_pixbuf):
1212 * src/ui-property-bar.c:
1213 (gl_ui_property_bar_construct_color_combo):
1214 * src/view-highlight.c: (gl_view_highlight_finalize):
1215 * src/view-image.c: (update_object_from_editor_cb):
1216 * src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
1217 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
1218 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
1219 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
1220 (draw_markup_margin_round), (draw_markup_margin_cd),
1221 (draw_markup_margin_cd_bc):
1222 * src/wdgt-mini-preview.c: (mini_outline_list_new):
1223 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
1224 Plugged various memory leaks located with valgrind.
1225 * src/view-image.c: (update_canvas_item_from_object_cb):
1226 Don't allow a width or height of zero when drawing pixbuf.
1228 2005-10-22 Jim Evins <evins@snaught.com>
1230 * libglabels/xml-paper.c:
1231 * libglabels/xml-template.c:
1234 * src/bc-gnubarcode.c:
1235 * src/canvas-hacktext.c:
1237 * src/object-editor-data-page.c:
1238 * src/print-dialog.c:
1241 * src/template-designer.c:
1243 * src/ui-property-bar.c:
1245 * src/view-barcode.c:
1247 * src/view-ellipse.c:
1252 * src/wdgt-media-select.c:
1253 * src/xml-label-04.c:
1254 * src/xml-label-191.c:
1256 Modified to compile warning free with gcc-4.0. Mostly
1257 casting to change signedness of characters. Did not
1258 attack gnu-barcode library yet.
1260 2005-10-22 Jim Evins <evins@snaught.com>
1262 * src/glabels.c: (main):
1263 * src/splash.c: (gl_splash):
1264 Removed some small memory leaks.
1268 2005-09-19 Jim Evins <evins@snaught.com>
1270 * data/glade/property-bar.glade:
1271 Remove items from font_family_combo. This prevents the
1272 double entry after adding text model and list of fonts.
1273 * src/ui-property-bar.c: (reset_to_default_properties):
1274 Free font_family_list.
1276 2005-07-01 Jim Evins <evins@snaught.com>
1279 Updated italian translation (Daniele Medri)
1281 2005-06-26 Jim Evins <evins@snaught.com>
1283 * docs/libglabels/libglabels-decl-list.txt:
1284 Somehow never got checked in before.
1285 * docs/libglabels/libglabels.types:
1286 Removed -- don't need it afterall.
1288 2005-06-20 Jim Evins <evins@snaught.com>
1291 Final prep for 2.1.1 release.
1293 2005-06-20 Jim Evins <evins@snaught.com>
1296 Final preps for 2.1.1 release.
1297 * docs/libglabels/libglabels.types:
1298 Somehow never got checked in before.
1300 Bring up-to-date with recent reorg of ui code.
1303 2005-06-19 Jim Evins <evins@snaught.com>
1305 * src/template-designer.c: (construct_layout_page):
1306 Removed attempt to match background color of mini preview widget to
1309 2005-06-17 Jim Evins <evins@snaught.com>
1311 * help/C/figures/merge-ex2-4.png:
1312 * help/C/glabels.xml:
1313 Fixed spelling error.
1315 2005-06-13 Jim Evins <evins@snaught.com>
1317 * help/C/figures/merge-ex1-1.png:
1318 * help/C/figures/merge-ex1-2.png:
1319 * help/C/figures/merge-ex1-3.png:
1320 * help/C/figures/merge-ex1-4.png:
1321 * help/C/figures/merge-ex2-1.png:
1322 * help/C/figures/merge-ex2-2.png:
1323 * help/C/figures/merge-ex2-3.png:
1324 * help/C/figures/merge-ex2-4.png:
1325 Added figures for document merge tutorial.
1326 * help/C/glabels.xml:
1327 Added document merge tutorial.
1329 2005-05-19 Jim Evins <evins@snaught.com>
1331 * data/glade/merge-properties-dialog.glade:
1332 Fixed irregular spacing.
1333 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
1334 (gl_merge_properties_dialog_construct):
1335 Set outer padding and remove separator.
1337 2005-05-18 Jim Evins <evins@snaught.com>
1341 Removed glHigDialog class.
1342 * src/file.c: (gl_file_new), (create_new_dialog_widgets),
1343 (gl_file_properties), (create_properties_dialog_widgets):
1344 * src/prefs-dialog.h:
1345 * src/prefs-dialog.c: (gl_prefs_dialog_get_type),
1346 (gl_prefs_dialog_init), (gl_prefs_dialog_construct):
1347 * src/print-dialog.h:
1348 * src/prefs-dialog.h:
1349 * src/print-dialog.c: (gl_print_dialog_get_type),
1350 (gl_print_dialog_init), (gl_print_dialog_construct):
1351 Replaced all instances of glHigDialog with GtkDialog.
1353 2005-05-17 Jim Evins <evins@snaught.com>
1357 Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
1358 * src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
1359 (save_as_response), (gl_file_close):
1360 Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.
1362 2005-05-15 Jim Evins <evins@snaught.com>
1364 * src/ui-commands.h:
1372 A little code reformatting -- no functional changes.
1374 2005-05-14 Jim Evins <evins@snaught.com>
1377 Removed obsolete macros.
1379 Added marshalling template to support new view signal: "context_menu_activate."
1381 * src/view.c: (gl_view_class_init), (gl_view_construct),
1382 (canvas_event_arrow_mode):
1383 - Removed hardcoded context menus and added new signal "context_menu_activate"
1384 to push this up to the uimanager.
1385 - Removed merge properties and print dialogs so that they can be managed with
1386 the window by the uimanager.
1387 * src/merge-properties-dialog.h:
1388 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
1389 (gl_merge_properties_dialog_construct):
1390 Changed calling convention of gl_merge_properties_dialog_new() to use
1391 glLabel and GtkWindow instead of view to make more consistent with other
1393 * src/print-dialog.h:
1394 * src/print-dialog.c: (gl_print_dialog_new),
1395 (gl_print_dialog_construct):
1396 Removed last artifact of libbonoboui.
1397 * src/ui-commands.c: (gl_ui_cmd_file_print),
1398 (gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
1399 Reconciled style for launching dialogs.
1400 * src/ui.c: (gl_ui_new):
1401 Added context menus to ui manager.
1402 * src/view-object.c: (item_event_arrow_mode):
1403 No longer try to select objects with right-click.
1405 * src/window.c: (gl_window_init), (gl_window_set_label),
1406 (context_menu_activate_cb):
1407 Context menus and all dialogs are now managed in a consistent way in window
1410 2005-05-11 Jim Evins <evins@snaught.com>
1413 * src/window.c: (gl_window_init), (gl_window_destroy):
1414 * src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
1415 * src/ui-commands.c: (gl_ui_cmd_file_open_recent):
1416 Moved management of recent_view back from window.c to ui.c -- it just feels
1419 2005-05-10 Jim Evins <evins@snaught.com>
1422 * src/window.c: (gl_window_init):
1424 * src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
1425 (menu_item_select_cb), (menu_item_deselect_cb):
1426 Added GtkStatusbar which displays menu tooltips.
1428 2005-05-09 Jim Evins <evins@snaught.com>
1430 Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
1435 Removed dependencies on libbonoboui.
1437 * data/ui/Makefile.am:
1438 * data/ui/glabels-ui.xml:
1439 Removed data/ui directory.
1440 * data/glade/Makefile.am:
1441 * data/property-bar.glade:
1442 Added glade description of property-bar for new libglade implementation
1449 * src/ui-commands.h:
1450 * src/ui-commands.c:
1451 Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
1452 since the distinction between "commands" and "tools" is no longer that clear.
1455 Modified to expect glWindow instead of GtkWindow. gl_file_open_recent()
1456 no longer has knowledge of eggRecent*.
1457 * src/glabels.c: (main):
1458 Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
1460 * src/object-editor.c: (gl_object_editor_init):
1461 Make sure notebook does not respond to a "show_all" on the parent.
1462 * src/recent-files/Makefile.am:
1463 * src/recent-files/*.[ch]
1464 Updated from latest version of libegg which now has a view based on
1465 GtkUIManager. Removed unused bonobo and gtk views.
1466 * src/ui-property-bar.h:
1467 * src/ui-property-bar.c:
1468 New implementation based on libglade.
1471 Sidebar is now simply a GtkWidget and does not expect to be a part of
1472 a libbonoboui interface.
1477 Converted for use with GtkUIManager.
1480 Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
1481 to create menus and toolbars.
1483 2005-04-25 Jim Evins <evins@snaught.com>
1485 * data/templates/misc-iso-templates.xml:
1486 Added Fellows 04715 template provided by Steve Saxon.
1488 Updated acknowledgement for above.
1490 2005-04-23 Jim Evins <evins@snaught.com>
1492 * src/util.c: (gl_util_combo_box_set_strings):
1493 Make sure to clear model before loading a new list of strings.
1494 * src/wdgt-media-select.h:
1495 * src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
1496 (gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
1497 (template_combo_changed_cb), (prefs_changed_cb),
1498 (gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
1499 (gl_wdgt_media_select_get_page_size),
1500 (gl_wdgt_media_select_set_page_size):
1501 Replaced the deprecated GtkCombo widget with the new
1504 2005-04-21 Jim Evins <evins@snaught.com>
1506 * data/glade/template-designer.glade:
1507 * src/template-designer.c: (construct_pg_size_page),
1508 (pg_size_page_changed_cb), (build_template):
1509 Replaced the deprecated GtkCombo widget with the new
1512 2005-04-20 Jim Evins <evins@snaught.com>
1514 * data/glade/prefs-dialog.glade:
1515 * src/prefs-dialog.c: (construct_object_page),
1516 (update_object_page_from_prefs), (update_prefs_from_object_page):
1517 Replaced the deprecated GtkCombo widget with the new
1520 2005-04-19 Jim Evins <evins@snaught.com>
1522 * data/glade/object-editor.glade:
1523 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
1524 (style_changed_cb), (gl_object_editor_set_bc_style),
1525 (gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
1526 (gl_object_editor_get_bc_color):
1527 * src/object-editor-data-page.c:
1528 (gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
1529 (gl_object_editor_get_data):
1530 * src/object-editor-edit-page.c:
1531 (gl_object_editor_prepare_edit_page), (insert_button_cb):
1532 * src/object-editor-fill-page.c:
1533 (gl_object_editor_prepare_fill_page),
1534 (gl_object_editor_set_fill_color),
1535 (gl_object_editor_get_fill_color):
1536 * src/object-editor-image-page.c:
1537 (gl_object_editor_prepare_image_page),
1538 (gl_object_editor_set_image), (gl_object_editor_get_image):
1539 * src/object-editor-line-page.c:
1540 (gl_object_editor_prepare_line_page),
1541 (gl_object_editor_set_line_color),
1542 (gl_object_editor_get_line_color):
1543 * src/object-editor-private.h:
1544 * src/object-editor-text-page.c:
1545 (gl_object_editor_prepare_text_page),
1546 (gl_object_editor_set_font_family),
1547 (gl_object_editor_get_font_family),
1548 (gl_object_editor_set_text_color),
1549 (gl_object_editor_get_text_color):
1550 * src/object-editor.c: (gl_object_editor_set_key_names):
1552 In the object editor: replaced all instances of the deprecated
1553 GtkCombo widget with the new GtkComboBox.
1555 2005-04-18 Jim Evins <evins@snaught.com>
1558 Neglected to save this one in previous checkin to support
1561 2005-04-17 Jim Evins <evins@snaught.com>
1563 * libglabels/libglabels-private.h:
1564 * libglabels/paper.c:
1565 * libglabels/paper.h:
1566 * libglabels/template.c:
1567 * libglabels/template.h:
1568 * libglabels/xml-paper.c:
1569 * libglabels/xml-paper.h:
1570 * libglabels/xml-template.c:
1575 * src/bc-gnubarcode.c:
1586 * src/label-barcode.c:
1588 * src/label-ellipse.c:
1589 * src/label-image.c:
1590 * src/label-image.h:
1592 * src/label-object.c:
1596 * src/merge-properties-dialog.c:
1597 * src/object-editor-bc-page.c:
1598 * src/object-editor-data-page.c:
1599 * src/object-editor-edit-page.c:
1600 * src/object-editor-fill-page.c:
1601 * src/object-editor-image-page.c:
1602 * src/object-editor-line-page.c:
1603 * src/object-editor-lsize-page.c:
1604 * src/object-editor-position-page.c:
1605 * src/object-editor-private.h:
1606 * src/object-editor-size-page.c:
1607 * src/object-editor-text-page.c:
1608 * src/object-editor.c:
1609 * src/object-editor.h:
1610 * src/pixbuf-cache.h:
1611 * src/prefs-dialog.c:
1612 * src/prefs-dialog.h:
1613 * src/prefs-model.c:
1614 * src/prefs-model.h:
1616 * src/print-dialog.c:
1617 * src/print-dialog.h:
1625 * src/template-designer.c:
1626 * src/template-designer.h:
1629 * src/ui-property-bar.c: (gl_ui_property_bar_construct):
1635 * src/view-barcode.c:
1637 * src/view-ellipse.c:
1638 * src/view-highlight.c:
1639 * src/view-highlight.h:
1642 * src/view-object.c:
1643 * src/view-object.h:
1647 * src/wdgt-chain-button.c:
1648 * src/wdgt-media-select.c:
1649 * src/wdgt-media-select.h:
1650 * src/wdgt-mini-preview.c:
1651 * src/wdgt-mini-preview.h:
1652 * src/wdgt-print-copies.c:
1653 * src/wdgt-print-copies.h:
1654 * src/wdgt-print-merge.c:
1655 * src/wdgt-print-merge.h:
1656 * src/wdgt-rotate-label.c:
1657 * src/wdgt-rotate-label.h:
1660 * src/xml-label-04.c:
1661 * src/xml-label-191.c:
1663 Cleanup of header files:
1664 - all header files are now stand-alone, verified by including
1665 first in corresponding "c" files
1666 - replaced blanket includes of gnome, gtk, and glib with
1669 2005-04-16 Jim Evins <evins@snaught.com>
1671 * data/glade/Makefile.am:
1672 * data/glade/merge-properties-dialog.glade:
1673 Added merge properties dialog glade description file.
1674 * src/merge-properties-dialog.h:
1675 * src/merge-properties-dialog.c:
1676 (gl_merge_properties_dialog_get_type),
1677 (gl_merge_properties_dialog_init),
1678 (gl_merge_properties_dialog_finalize),
1679 (gl_merge_properties_dialog_new),
1680 (gl_merge_properties_dialog_construct), (type_changed_cb),
1681 (src_changed_cb), (response_cb), (load_tree),
1682 (record_select_toggled_cb), (select_all_button_clicked_cb),
1683 (unselect_all_button_clicked_cb):
1684 Modified merge properties dialog to use libglade. Added
1685 "select all" and "unselect all" buttons.
1686 * src/merge-text.c: (parse_line):
1687 Handle empty lines better.
1688 * src/merge.c: (gl_merge_eval_key):
1689 Evaluate the key whether the record is selected or not.
1691 * src/util.c: (gl_util_combo_box_add_text_model):
1692 Since libglade does not use the gtk_combo_box_new_text()
1693 constructor for GtkComboBoxes, a utility function was created
1694 to add an appropriate text model to a GtkComboBox.
1695 * src/view.c: (gl_view_edit_merge_props):
1696 Removed unnecessary "show all's".
1698 2005-04-15 Jim Evins <evins@snaught.com>
1701 Updated russian translation (Vitaly Lipatov)
1702 * data/templates/misc-iso-templates.xml:
1703 Added templates for russian business cards provided by Vitaly Lipatov.
1705 Updated acknowledgements for above.
1707 2005-04-15 Jim Evins <evins@snaught.com>
1709 * data/templates/avery-us-templates.xml:
1710 Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
1711 * data/templates/misc-iso-templates.xml:
1712 Added Ryman standard CD/DVD template, provided by Dan Clark.
1714 Added acknowledgements for above.
1716 2005-04-10 Jim Evins <evins@snaught.com>
1718 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
1719 * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
1720 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
1721 (xml_parse_label_cd_node), (xml_parse_alias_node):
1722 * libglabels/xml.c: (gl_xml_get_prop_double),
1723 (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
1724 (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
1725 * src/xml-label-04.c: (xml04_parse_media_description),
1726 (xml04_parse_text_props), (xml04_parse_barcode_props),
1727 (xml04_parse_merge_properties):
1728 * src/xml-label-191.c: (xml191_parse_object),
1729 (xml191_parse_text_props), (xml191_parse_barcode_props),
1730 (xml191_parse_merge_fields), (xml191_parse_pixdata),
1731 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
1732 (xml191_parse_alias):
1733 * src/xml-label.c: (xml_parse_object_text),
1734 (xml_parse_object_barcode), (xml_parse_merge_fields),
1735 (xml_parse_pixdata), (xml_parse_toplevel_span):
1736 Make sure to use xmlFree for anything obtained from libxml
1737 in case libxml and glib use different memory management
1740 2005-04-08 Jim Evins <evins@snaught.com>
1743 * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
1744 (gl_util_combo_box_set_active_text):
1745 Added utility functions to simplify working with GtkComboBox
1747 * src/ui-property-bar.h:
1748 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
1749 (reset_to_default_properties), (update_text_properties),
1750 (font_family_changed_cb):
1751 Replaced deprecated GtkCombo with GtkComboBox.
1754 2005-04-03 Jim Evins <evins@snaught.com>
1757 * src/wdgt-image-select.h:
1758 * src/wdgt-image-select.c:
1759 Removed obsolete wdgt-image-select.[ch] files.
1760 * libglabels/paper.c: (gl_paper_dup):
1761 Fixed rename of parameter introduced during documentation
1763 * data/glade/object-editor.glade:
1764 * src/object-editor-image-page.c:
1765 (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
1766 (gl_object_editor_set_image), (gl_object_editor_get_image),
1767 (update_preview_cb), (add_image_filters_to_chooser):
1768 * src/object-editor-private.h:
1769 Replaced deprecated GnomePixmapEntry with
1770 GtkFileChooserButton.
1772 2005-04-02 Jim Evins <evins@snaught.com>
1774 * src/mygal/mygal-combo-box.c: (deactivate_arrow),
1775 (mygal_combo_box_popup_hide_unconditional),
1776 (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
1777 (mygal_combo_toggle_pressed), (mygal_combo_box_init),
1778 (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
1779 (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
1780 (cb_tearable_button_release), (mygal_combo_box_set_tearable):
1781 Renamed all internal gtk_combo functions to mygal_combo
1782 to prevent namespace confusion.
1784 2005-04-02 Jim Evins <evins@snaught.com>
1786 * src/mygal/color-palette.c: (color_palette_change_custom_color),
1787 (cust_color_set), (color_palette_setup):
1788 * src/mygal/color-palette.h:
1789 Replaced deprecated GnomeColorPicker with GtkColorButton.
1791 2005-04-02 Jim Evins <evins@snaught.com>
1793 * docs/libglabels/libglabels-sections.txt:
1794 * docs/libglabels/libglabels-undocumented.txt:
1795 * docs/libglabels/tmpl/enums.sgml:
1796 * docs/libglabels/tmpl/paper.sgml:
1797 * docs/libglabels/tmpl/xml-paper.sgml:
1798 * docs/libglabels/tmpl/xml-template.sgml:
1799 * libglabels/enums.h:
1800 * libglabels/paper.c: (gl_paper_dup):
1801 * libglabels/paper.h:
1802 * libglabels/xml-paper.c:
1803 * libglabels/xml-template.c:
1804 More documentation updates for libglabels.
1806 2005-03-23 Jim Evins <evins@snaught.com>
1809 Automatically updated.
1814 * docs/libglabels/Makefile.am:
1815 * docs/libglabels/libglabels-docs.sgml:
1816 * docs/libglabels/libglabels-sections.txt:
1817 * docs/libglabels/libglabels-undocumented.txt:
1818 * docs/libglabels/tmpl/enums.sgml:
1819 * docs/libglabels/tmpl/libglabels-unused.sgml:
1820 * docs/libglabels/tmpl/libglabels.sgml:
1821 * docs/libglabels/tmpl/paper.sgml:
1822 * docs/libglabels/tmpl/template.sgml:
1823 * docs/libglabels/tmpl/xml-paper.sgml:
1824 * docs/libglabels/tmpl/xml-template.sgml:
1825 * docs/libglabels/tmpl/xml.sgml:
1826 Added basic gtk-doc stuff to support documenting libglabels
1829 Updated function comments with gtk-doc markup.
1833 2005-03-22 Jim Evins <evins@snaught.com>
1835 Since the development version now requires gtk-2.6/gnome-2.10, I
1836 have made a first pass at removing deprecations.
1839 * libglabels/Makefile.am:
1841 Added configure option to turn on X_DISABLE_DEPRECATED flags.
1842 Also removed all remnants of HAVE_FILECHOOSER.
1843 * src/file.c: (gl_file_open_real):
1844 Removed code for old GtkFileSelection.
1845 * libglabels/libglabels-private.h:
1846 * libglabels/paper.c:
1847 * libglabels/template.c:
1848 * libglabels/xml-paper.c:
1849 * libglabels/xml-template.c:
1853 * src/glabels-batch.c:
1857 * src/merge-properties-dialog.c:
1859 * src/object-editor.c:
1860 * src/prefs-dialog.c:
1862 * src/print-dialog.c:
1865 * src/template-designer.c:
1866 * src/ui-property-bar.c:
1868 * src/view-barcode.c:
1870 * src/view-ellipse.c:
1875 * src/wdgt-image-select.c:
1876 * src/wdgt-media-select.c:
1877 * src/wdgt-print-copies.c:
1878 * src/wdgt-print-merge.c:
1879 * src/wdgt-rotate-label.c:
1881 * src/xml-label-04.c:
1882 * src/xml-label-191.c:
1884 Added '#include <glib/gi18n.h>" where needed.
1885 Removed any unused '#include <gnome.h>"s.
1887 2005-03-22 Jim Evins <evins@snaught.com>
1889 * src/commands.c: (activate_url), (gl_cmd_help_about):
1890 Replaced GnomeAbout with GtkAboutDialog. Therefore the
1891 development version of glabels now depends on GTK 2.6 and
1894 Updated library dependencies.
1896 2005-02-28 Jim Evins <evins@snaught.com>
1899 * data/templates/misc-iso-templates.xml:
1900 Added 'Ednet 45021' template provided by Ali Akcaagac
1903 2005-02-14 Jim Evins <evins@snaught.com>
1905 * data/templates/avery-us-templates.xml:
1906 Updated templates to use inches instead of points.
1907 * src/print-dialog.c: (printer_page_new):
1908 Changed packing style when adding printer selector widget. This fixes
1911 2005-02-13 Jim Evins <evins@snaught.com>
1915 Updated spanish translations. (sergio rivadero)
1917 2005-02-05 Jim Evins <evins@snaught.com>
1919 Some cleanup to libglabels.
1922 Updated version to 2.1.1cvs. Added generation of libglabels.pc.
1923 * libglabels/libglabels.pc.in
1925 * libglabels/enums.h
1926 Created. Currently only contains glUnitsType which provides enumerations
1927 for all possible units of distance.
1928 * libglabels/Makefile.am:
1929 Incorporated new files enums.h and libglabels.pc[.in].
1930 * libglabels/libglabels.h:
1932 * libglabels/template.h:
1933 * libglabels/template.c: (gl_template_layout_new):
1934 Changed parameters nx and ny to gint from gdouble.
1936 * libglabels/xml.c: (gl_xml_get_prop_length),
1937 (gl_xml_set_prop_length), (gl_xml_set_default_units):
1938 Added support for different output units.
1939 * src/prefs-dialog.c: (update_locale_page_from_prefs),
1940 (update_prefs_from_locale_page):
1941 * src/prefs-model.c: (string_to_units), (units_to_string):
1942 * src/prefs-model.h:
1943 * src/prefs.c: (gl_prefs_get_units_per_point),
1944 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
1945 (gl_prefs_get_units_string):
1947 * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
1948 Reconciled all length enumerations with the new enumerations provided
1949 in libglabels/enums.h.
1951 2005-02-03 Jim Evins <evins@snaught.com>
1954 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
1956 Updated Italian translations. (Daniele Medri)
1958 Updated credits to reflect above translations.
1961 2005-01-22 Jim Evins <evins@snaught.com>
1966 Added MESSAGE-OF-DOOM to EXTRA_DIST.
1968 Final prep for 2.1.0.
1970 Set version to 2.1.0. Output MESSAGE-OF-DOOM.
1972 Added '--remove-original' flag to desktop-file-install, so that there is
1973 only one menu entry.
1975 2005-01-20 Jim Evins <evins@snaught.com>
1977 * data/glade/object-editor.glade:
1978 - Font family entry should not be editable.
1979 - img_key_entry should have sensitivity=YES, so that it follows the
1980 sensitivity of img_key_combo.
1982 2005-01-19 Jim Evins <evins@snaught.com>
1985 Give credit to Frederic Ruaudel for the color merge patches.
1987 2005-01-18 Frederic Ruaudel <grumz@users.sf.net>
1989 Add support to merge color for all other color attribute (Feature
1990 Requests item #1008635. If the data is invalid, the color used is transparent
1991 (GL_COLOR_NONE). The format for color in merge data file are those accepted
1992 by gdk_color_parse() these include name for a color from rgb.txt, such as
1993 DarkSlateGray, or a hex specification such as #305050. File format has been
1994 changed but backward compatibility is preserved for all format. For
1995 box/ellipse/line, keep attribute "line_color" for static color or replace by
1996 "line_color_field" for merge data. For text/barcode objects, keep attribute
1997 "color" for static color or replace by "color_field" for merge data. In the
1998 edit canvas window, merged color are represented by half-transparent black
2001 * data/dtd/glabels-2.0.dtd:
2002 Added line_color_field to line_attrs. Added color_field to
2003 Object-barcode and Span.
2004 * data/glade/object-editor.glade:
2005 Modify the layout of the editor to add merge possibility to color options
2007 Fix a copy/paste error in a comment
2009 Add default color for merge color representation in the editor canvas.
2010 * src/label-barcode.c:
2011 * src/object-editor-bc-page.c:
2012 * src/view-barcode.c:
2013 Add merge color support for barcode color.
2016 Add merge color support for box border color.
2017 * src/label-ellipse.c:
2018 * src/view-ellipse.c:
2019 Add merge color support for ellipse border color.
2022 Add merge color support for line color.
2023 * src/label-object.c:
2024 * src/label-object.h:
2025 * src/object-editor.c:
2026 * src/object-editor.h:
2027 * src/ui-property-bar.c:
2030 * src/xml-label-04.c:
2031 * src/xml-label-191.c:
2032 Add support for merging to other color attribute.
2034 * src/object-editor-text-page.c:
2036 Add merge color support for text color.
2037 * src/object-editor-fill-page.c:
2038 Change a blocked handler that didn't match the good widget. Fix the type
2039 of some debug message.
2040 * src/object-editor-line-page.c:
2041 Add merging support to line color option.
2042 * src/object-editor-private.h:
2043 Add variables for new widget.
2045 Modify the draw functions to get merge data if needed.
2047 Change the default size of the window in order to see all widget in the
2048 "text style tab" of the editor.
2050 Modify the parser to record/retreive the field value for objects that need
2051 "color" attribute. For box/ellipse/line, keep attribute "line_color" for
2052 static color or replace by "line_color_field" for merge data. For
2053 text/barcode objects, keep attribute "color" for static color or replace
2054 by "color_field" for merge data.
2056 2005-01-17 Jim Evins <evins@snaught.com>
2058 * src/view.c: (screen_changed_cb):
2059 Don't do anything if we don't have a screen.
2061 2005-01-06 Jim Evins <evins@snaught.com>
2063 * src/view.c: (get_home_scale):
2064 Fixed bad call to gtk_widget_has_screen() -- huh?.
2066 2005-01-06 Jim Evins <evins@snaught.com>
2068 * data/dtd/glabels-2.0.dtd:
2069 Added fill_color_field to fill_attrs. Also added xmlns attribute to all
2072 2005-01-06 Jim Evins <evins@snaught.com>
2074 * data/glade/object-editor.glade:
2075 Set entries for fill and data field key dropdowns to NOT editable.
2076 * src/view-box.c: (construct_properties_editor):
2077 * src/view-ellipse.c: (construct_properties_editor):
2078 Update object editor when label's merge property has changed.
2079 * src/xml-label.c: (xml_parse_object_ellipse):
2080 Completed the merge color support for the ellipse item.
2082 2005-01-06 Frederic Ruaudel <grumz@users.sf.net>
2084 Add support to merge color for object that have a "Fill color" attribute (Feature
2085 Requests item #1008635. If the data is invalid, the color used is transparent
2086 (GL_COLOR_NONE). The format for color in merge data file are those accepted
2087 by gdk_color_parse() these include name for a color from rgb.txt, such as
2088 DarkSlateGray, or a hex specification such as #305050. File format has been
2089 changed but backward compatibility is preserved for all format. For box/ellipse,
2090 keep attribute "fill_color" for static color or replace by "fill_color_field"
2093 * data/glade/object-editor.glade:
2094 Modify "Fill" tab to add the merge key combo and convert the labels into
2098 Add "glColorNode" structure and associated functions to manage it. This
2099 structure is equivalent for color than the "glTextNode". It holds the color
2101 * src/label-object.h:
2102 * src/label-object.c:
2104 * src/label-ellipse.c:
2105 * src/ui-property-bar.c:
2109 * src/view-ellipse.c:
2110 * src/xml-label-04.c:
2111 * src/xml-label-191.c:
2112 Change functions of objects that have a "fill color" attribute to use the
2113 new "glColorNode" structure. Use barcode code as example.
2115 Add the color.[ch] file to glabels_batch binary that now need support for
2117 * src/object-editor.h:
2118 * src/object-editor.c:
2119 * src/object-editor-fill-page.c:
2120 Manage the new widget of the editor's "Fill" tab : key combo and radio button
2121 to choose between static color or merge key. Use barcode code as example.
2122 * src/object-editor-private.h:
2123 Add new widget in the "_glObjectEditorPrivate" structure.
2125 Modify the draw functions to get merge data if needed.
2127 Modify the parser to record/retreive the field value for objects that need
2128 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
2129 color or "fill_color_field" for merge data.
2131 2005-01-04 Jim Evins <evins@snaught.com>
2134 * data/templates/avery-iso-templates.xml:
2135 * data/templates/misc-iso-templates.xml:
2136 * data/templates/misc-us-templates.xml:
2137 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
2140 2004-11-26 Jim Evins <evins@snaught.com>
2144 Updated french translations provided by Florent Morel <florent@taket.org>.
2145 * src/view-barcode.c:
2147 * src/view-ellipse.c:
2151 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
2152 thus _() strings were not being translated.
2154 2004-11-14 Jim Evins <evins@snaught.com>
2157 * src/debug.c: (gl_debug_init), (gl_debug):
2158 Borrowed from gedit: use environmental variables to select debug
2161 Removed unused include of debug.h.
2162 * src/glabels.c: (main):
2163 Added call to gl_debug_init(), and removed debug clutter from command line
2165 * src/glabels-batch.c: (main):
2166 Added call to gl_debug_init().
2168 2004-11-13 Jim Evins <evins@snaught.com>
2170 Drawing and property toolbars were being initialized with the "icons and text"
2171 look in Fedora Core 3. Even though none of the buttons had any text attached to
2172 them, the buttons were being sized as if they were. This led to less real estate
2173 for the property editor, leading to Bug #1064630. The
2175 * data/ui/glabels-ui.xml:
2176 Added explicit "look" property to both drawing and property toolbars.
2177 * src/prefs-model.c: (gl_prefs_model_save_settings),
2178 (gl_prefs_model_load_settings):
2179 * src/prefs-model.h:
2180 Removed drawing_toolbar_button_style configuration parameter.
2181 * src/ui.c: (view_menu_item_toggled_cb),
2182 (set_app_drawing_toolbar_style):
2183 Do not attempt to adjust look property of the drawing toolbar.
2185 2004-10-28 Jim Evins <evins@snaught.com>
2187 * data/pixmaps/glabels-about-logo.png:
2190 2004-10-28 Jim Evins <evins@snaught.com>
2192 * data/man/glabels.1:
2193 * src/glabels-batch.c: (main):
2195 * src/print.c: (gl_print_batch):
2197 Added option to glabels-batch to select the first label to begin
2200 2004-09-26 Jim Evins <evins@snaught.com>
2202 * data/desktop/glabels.desktop.in:
2203 Point to app icon, "glabels.png"
2204 * data/mime/glabels.keys.in:
2205 Point at mime icon, "glabels-application-x-glabels.png"
2206 * data/pixmaps/Makefile.am:
2207 Added glabels_app_icondir. Renamed icons.
2208 * data/pixmaps/glabels.png:
2209 New cleaned up app icon. Deleted glabels-icon.png.
2210 * data/pixmaps/glabels-application-x-glabels.png:
2212 * data/pixmaps/glabels-splash.png:
2213 Renamed glabels-logo to glabels-splash to be more correct about role.
2215 * src/template-designer.c:
2216 Point at app icon, "glabels.png"
2218 Point at renamed splash image, "glabels-splash.png"
2220 2004-08-22 Jim Evins <evins@snaught.com>
2223 * src/glabels-batch.c: (main):
2224 Applied patch with minor mods to allow selecting merge source and
2225 crop-marks on glabels-batch's command line. Original patch provided by
2226 José Dapena Paz <jdapena@igalia.com>.
2228 2004-08-15 Jim Evins <evins@snaught.com>
2230 * data/desktop/glabels.desktop.in:
2231 - Added encoding line
2232 - Removed period from comment
2233 - Fixed Terminal line, changed "0" to "false"
2234 - Added semicolen to Categories line
2236 - Made sure desktop.in comment string above still translated properly
2238 2004-08-14 Jim Evins <evins@snaught.com>
2240 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
2241 * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
2242 * src/xml-label-191.c: (xml191_parse_sheet):
2243 Fixed improper freeing of gettext strings. Merged from 2.0.1.
2245 Reconciled libglabels versioning with 2.0.1.
2248 2004-08-14 Jim Evins <evins@snaught.com>
2251 Updated version to 2.1cvs.
2253 2004-08-14 Jim Evins <evins@snaught.com>
2256 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
2258 2004-08-14 Jim Evins <evins@snaught.com>
2260 Fixes for Bug #1008181.
2262 * src/bc.c: (gl_barcode_default_digits):
2263 Make a format of zero digits, harmless.
2264 * src/xml-label.c: (xml_parse_object_barcode):
2265 Set default value of the format property of barcode objects to 10, not
2266 zero. This will prevent crashes when reading pre 2.0.x files.
2268 2004-08-09 Jim Evins <evins@snaught.com>
2272 * help/C/glabels-C.omf:
2273 * help/C/glabels.xml:
2274 Brought documentation up-to-date for 2.0.0 release.
2276 2004-08-09 Jim Evins <evins@snaught.com>
2278 These are hopefully the final preparations for 2.0.0.
2280 * data/mime/Makefile.am:
2281 Include glabels.xml in EXTRA_DIST.
2283 - Updated comment style.
2284 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
2285 - Added package and version info to configuration printout
2286 - Update version to 2.0.0
2287 * libglabels/Makefile.am:
2288 Use the new LIBGLABELS_VERSION_INFO macro.
2290 2004-08-09 Jim Evins <evins@snaught.com>
2294 Cleanup of required library macros.
2296 2004-08-08 Jim Evins <evins@snaught.com>
2300 - More specific of what to install in /usr/bin and /usr/lib
2301 - Remove built mime registration files from staging directory
2303 2004-08-08 Jim Evins <evins@snaught.com>
2305 * data/mime/Makefile.am:
2306 Fixed typo: key_files should have been keys_files.
2308 2004-08-08 Jim Evins <evins@snaught.com>
2310 Reorganization of runtime data files. Also added registration of mimetype with
2311 new freedesktop.org mime database if available.
2314 Moved files to appropriate subdirectories, creating local Makefile.am
2315 in each subdirectory.
2316 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
2317 These are now installed at $datadir/glabels/templates.
2318 - Moved glabels.1 to man subdirectory.
2319 - Moved glabels-2.0.dtd to dtd subdirectory.
2320 - Moved glabels.desktop.in to desktop subdirectory.
2321 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
2323 Moved "./pixmaps" to "./data/pixmaps"
2325 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
2327 Moved libglade files from src to data/glade. Created Makefile.am.
2329 Removed pixmaps from SUBDIRS.
2331 - Removed pixmaps from makefiles.
2332 - Added makefiles for new subdirs of data.
2333 - Added tests for freedesktop.org mime database.
2335 - Added tests for freedesktop.org mime database for post install and
2336 post un-install actions.
2337 * libglabels/Makefile.am:
2338 Moved system template files to $(datadir)/glabels/templates.
2339 * libglabels/libglabels-private.h:
2340 Moved system template files to $(datadir)/glabels/templates.
2342 - Accounted for movement of ui and libglade files.
2343 - Added missing .in files.
2344 - Reorganized by directory.
2346 Accounted for movement of ui and libglade files.
2347 * data/mime/glabels.xml.in:
2348 New file for registering with freedesktop.org mime database.
2350 2004-08-07 Jim Evins <evins@snaught.com>
2352 * src/recent-files/*:
2353 Re-synced to latest libegg/recent-files.
2355 2004-08-07 Jim Evins <evins@snaught.com>
2360 Renamed "./doc" directory to "./help" which contains user documentation,
2361 to be more consistent with other GNOME applications.
2364 2004-07-26 Jim Evins <evins@snaught.com>
2366 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
2367 Corrected button order of merge properties dialog.
2369 2004-07-18 Jim Evins <evins@snaught.com>
2371 * data/glabels-2.0.dtd:
2372 * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
2373 (gl_barcode_get_prefered_n):
2375 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
2376 (gl_label_barcode_get_props), (get_size):
2377 * src/label-barcode.h:
2378 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
2379 (style_changed_cb), (gl_object_editor_set_bc_style),
2380 (gl_object_editor_get_bc_style):
2381 * src/object-editor-data-page.c: (data_radio_toggled_cb),
2382 (gl_object_editor_set_data), (gl_object_editor_get_data):
2383 * src/object-editor-private.h:
2384 * src/object-editor.c: (gl_object_editor_set_key_names):
2385 * src/object-editor.glade:
2386 * src/object-editor.h:
2387 * src/print.c: (draw_barcode_object):
2388 * src/view-barcode.c: (update_object_from_editor_cb),
2389 (update_editor_from_object_cb),
2390 (gl_view_barcode_create_event_handler), (draw_barcode):
2391 * src/xml-label-04.c: (xml04_parse_barcode_props):
2392 * src/xml-label-191.c: (xml191_parse_barcode_props):
2393 * src/xml-label.c: (xml_parse_object_barcode),
2394 (xml_create_object_barcode):
2395 Added "format" attribute to barcode objects. This attribute is used
2396 to properly format freeform barcodes barcodes prior to merge data is
2397 applied, so that barcodes can be accurately layed out. This addresses
2398 remaining issues of feature request #824787. Also added an example of
2399 the format in the object editor.
2401 2004-07-12 Jim Evins <evins@snaught.com>
2403 Various code cleanups.
2405 * src/label-barcode.c:
2406 Removed unneeded include of gnome-glyphlist.h.
2408 * src/label-text.c: (get_size):
2409 Fixed memory leak: unref glyphlists when done with them.
2411 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
2412 * src/object-editor-data-page.c:
2413 (gl_object_editor_prepare_data_page):
2414 * src/object-editor-image-page.c:
2415 (gl_object_editor_prepare_image_page):
2416 * src/object-editor-line-page.c:
2417 (gl_object_editor_prepare_line_page):
2418 * src/object-editor-lsize-page.c:
2419 (gl_object_editor_prepare_lsize_page):
2420 * src/object-editor-position-page.c:
2421 (gl_object_editor_prepare_position_page):
2422 * src/object-editor-size-page.c:
2423 (gl_object_editor_prepare_size_page):
2424 * src/object-editor-text-page.c:
2425 (gl_object_editor_prepare_text_page):
2426 Removed unneeded size groups, originally intended to keep widgets aligned.
2427 Now use tables to lay these out in object-editor.glade.
2429 * src/print.c: (draw_text_object):
2430 Fixed memory leak: unref glyphlists when done with them.
2432 * src/view-barcode.c: (draw_barcode):
2433 Fixed memory leak: unref glyphlists when done with them.
2435 * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
2436 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
2438 - Fixed memory leak: unref glyphlists when done with them.
2440 2004-07-11 Jim Evins <evins@snaught.com>
2442 * data/glabels-2.0.dtd:
2443 * src/label-text.c: (gl_label_text_instance_init), (copy),
2444 (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
2446 * src/object-editor-private.h:
2447 * src/object-editor-text-page.c:
2448 (gl_object_editor_prepare_text_page),
2449 (gl_object_editor_set_text_auto_shrink),
2450 (gl_object_editor_get_text_auto_shrink):
2451 * src/object-editor.c: (gl_object_editor_set_key_names):
2452 * src/object-editor.glade:
2453 * src/object-editor.h:
2454 * src/print.c: (draw_text_object):
2455 * src/view-text.c: (update_object_from_editor_cb),
2456 (update_editor_from_object_cb):
2457 * src/xml-label.c: (xml_parse_object_text),
2458 (xml_create_object_text):
2459 Added option to allow document merge to auto shrink text size to fit
2460 within the text box. The code in print.c that actually shrinks the
2461 text is loosely based on a patch submitted by Mark Harrison
2462 <mark.harrison@velocitynet.com.au>. This addresses feature request
2465 2004-07-11 Jim Evins <evins@snaught.com>
2467 * data/glabels-2.0.dtd:
2468 * libglabels/template.c: (gl_template_rect_label_type_new),
2469 (gl_template_round_label_type_new),
2470 (gl_template_cd_label_type_new), (gl_template_label_type_dup),
2471 (template_full_page):
2472 * libglabels/template.h:
2473 * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
2474 (xml_create_label_node):
2475 * pixmaps/ex-rect-size.png:
2476 * src/print.c: (clip_to_outline), (clip_punchouts):
2477 * src/template-designer.c: (construct_rect_size_page),
2478 (rect_size_page_prepare_cb), (layout_page_prepare_cb),
2480 * src/template-designer.glade:
2481 * src/xml-label-191.c: (xml191_parse_label):
2482 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
2483 properties for rectangular labels. Templates remain backwards compatible,
2484 but this breaks the libglabels API (I don't know of anyone outside of
2485 glabels using libglabels at this time -- what can I say, the program is
2486 is still "unstable"). This addresses the suggestion in Feature Request
2489 2004-07-05 Jim Evins <evins@snaught.com>
2490 * src/print.c: (print_crop_marks), (draw_outline):
2491 Changed crop marks and label outlines to black, instead of 25% gray.
2492 This addresses debian Bug #257460.
2494 2004-07-05 Jim Evins <evins@snaught.com>
2496 * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
2497 * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
2498 Preserve "is_default" of fill and line color_combos when creating from
2501 2004-07-02 Jim Evins <evins@snaught.com>
2504 Created man page. Based on page submitted by Matthew J. Lockner, however
2505 it has been severely edited.
2507 * data/avery-other-templates.xml
2508 * data/misc-other-templates.xml:
2509 Started new files for predefined templates with non-standard sheet sizes.
2510 These have been initially populated with the Avery 06141 and
2511 OfficeMax #86112, both provided by Matthew J. Lockner.
2514 Install above manpage and template files.
2517 Make sure we install man pages.
2519 * src/glabels-batch.c:
2520 Changed short form of help option to '-?' to be consistent with glabels.
2523 Added acknowledgement for above labels.
2525 2004-07-02 Jim Evins <evins@snaught.com>
2527 * src/glabels.c: (main), (save_session_cb):
2528 - Now include libbonoboui.h, recent.h, and file.h to provide missing
2530 - save_session_cb() now returns gboolean.
2531 - Minor formatting changes.
2535 - Now include file.h to provide missing prototype.
2536 - gl_window_get_type() now returns GType, not guint. I believe this may
2537 ultimately be cause of the segfault reported in Bug #982287, since
2538 GType is actually a gulong, which may not be compatible on other
2539 architectures (64bit) -- I cannot personally test this at this time.
2540 I was sloppy in several other xxx_get_type() functions which also
2541 returned guint -- see next group of files:
2543 * src/window.c: (gl_window_get_type):
2544 * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
2545 * src/canvas-hacktext.h:
2546 * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
2547 (gl_hig_category_get_type), (gl_hig_vbox_get_type),
2548 (gl_hig_hbox_get_type):
2550 * src/label-barcode.c: (gl_label_barcode_get_type):
2551 * src/label-barcode.h:
2552 * src/label-box.c: (gl_label_box_get_type):
2554 * src/label-ellipse.c: (gl_label_ellipse_get_type):
2555 * src/label-ellipse.h:
2556 * src/label-image.c: (gl_label_image_get_type):
2557 * src/label-image.h:
2558 * src/label-line.c: (gl_label_line_get_type):
2560 * src/label-object.c: (gl_label_object_get_type):
2561 * src/label-object.h:
2562 * src/label-text.c: (gl_label_text_get_type):
2564 * src/label.c: (gl_label_get_type):
2566 * src/merge-properties-dialog.c:
2567 (gl_merge_properties_dialog_get_type):
2568 * src/merge-properties-dialog.h:
2569 * src/merge-text.c: (gl_merge_text_get_type):
2571 * src/merge.c: (gl_merge_get_type):
2573 * src/object-editor.c: (gl_object_editor_get_type):
2574 * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
2575 * src/prefs-dialog.h:
2576 * src/prefs-model.c: (gl_prefs_model_get_type):
2577 * src/prefs-model.h:
2578 * src/print-dialog.c: (gl_print_dialog_get_type):
2579 * src/print-dialog.h:
2580 * src/template-designer.c: (gl_template_designer_get_type):
2581 * src/template-designer.h:
2582 * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
2583 * src/ui-property-bar.h:
2584 * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
2586 * src/view-barcode.c: (gl_view_barcode_get_type):
2587 * src/view-barcode.h:
2588 * src/view-box.c: (gl_view_box_get_type):
2590 * src/view-ellipse.c: (gl_view_ellipse_get_type):
2591 * src/view-ellipse.h:
2592 * src/view-highlight.c: (gl_view_highlight_get_type):
2593 * src/view-highlight.h:
2594 * src/view-image.c: (gl_view_image_get_type):
2596 * src/view-line.c: (gl_view_line_get_type):
2598 * src/view-object.c: (gl_view_object_get_type):
2599 * src/view-object.h:
2600 * src/view-text.c: (gl_view_text_get_type):
2602 * src/view.c: (gl_view_get_type):
2604 * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
2605 * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
2606 * src/wdgt-image-select.h:
2607 * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
2608 * src/wdgt-media-select.h:
2609 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
2610 * src/wdgt-mini-preview.h:
2611 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
2612 * src/wdgt-print-copies.h:
2613 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
2614 * src/wdgt-print-merge.h:
2615 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
2616 * src/wdgt-rotate-label.h:
2617 - Made sure all xxx_get_type functions returned GType, not guint. This
2618 was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
2619 ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
2620 wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
2621 wdt-print-merge.[ch], and wdgt-rotate-label.[ch]. See separate
2622 window.[ch] details above for more info.
2623 - Reconciled various coding style differences in all xxx_get_type()
2625 * All prototypes include G_GNUC_CONST.
2626 * All prototypes specify the return value as GType, not GtkType
2628 * Info structures are all declared as "static const."
2629 * Generalized the names of type and info variables.
2630 * Miscelaneous formatting.
2632 2004-06-08 Jim Evins <evins@snaught.com>
2638 Don't touch compression of original file -- still defaults to 9 for
2639 new files. Original patch provided by Javier Donaire Segarra
2640 (#912252 in patch tracker).
2642 2004-05-05 Jim Evins <evins@snaught.com>
2644 * data/glabels-2.0.dtd:
2645 Broke DTD previously when adding new barcode types that contain a
2646 plus sign (+). Simply changed the BC_STYLE_TYPE entity to "CDATA"
2647 to avoid the problem.
2648 * data/avery-iso-templates.xml:
2649 * data/zweckform-iso-templates.xml:
2651 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021. Templates
2652 provided by Frank Altpeter.
2653 * libglabels/xml-template.c: (xml_create_label_node):
2654 Reordered markup and layout sub-nodes so that resulting templates will
2655 validate against DTD.
2657 2004-03-13 Jim Evins <evins@snaught.com>
2659 * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
2660 Changed spin callback signals from "value-changed" back to "changed."
2661 This was accidentally introduced in a previous revision, and can cause
2662 size changes just by selecting the size tab.
2664 2004-03-06 Jim Evins <evins@snaught.com>
2666 * src/view.c: (draw_grid_layer):
2667 For round labels (round and cd) adjust grid so that it lines up with
2668 center of label. Also, no longer draw box around label in the grid layer,
2669 it is hidden by he fg layer anyway. Feature suggested by
2670 nemolivier@free.fr. Although the grid is aligned with the center of the
2671 label, the coordinate system is still relative to the upper left corner
2672 of the rectangle containing the label.
2674 2004-02-25 Jim Evins <evins@snaught.com>
2677 Changed version to 2.0pre1cvs
2679 * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
2680 Removed extra xmlFreeDoc() calls upon error. Also print the doc->URL
2681 instead of doc->name fields when errors encountered.
2683 2004-02-21 Jim Evins <evins@snaught.com>
2685 * data/avery-iso-templates.xml:
2686 Added aliases for Avery 8651. Patch provided by Wayne Schuller.
2689 Added libglabels library and include file to installed files.
2692 Final prep for 1.93.3.
2694 2004-02-20 Jim Evins <evins@snaught.com>
2696 * src/glabels-batch.c: (main):
2697 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
2698 as suggested by Javier Donaire Segarra. This addresses bug #901063.
2700 2004-02-16 Jim Evins <evins@snaught.com>
2703 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
2706 Added HAVE_FILE_CHOOSER to INCLUDES.
2708 * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
2709 (gl_file_save_as), (save_as_response):
2710 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
2712 2004-02-16 Jim Evins <evins@snaught.com>
2714 * src/xml-label-04.c: (xml04_parse_image_props):
2715 * src/xml-label-191.c: (xml191_parse_image_props):
2716 * src/xml-label.c: (xml_parse_object_image):
2717 Delay setting image size until after image has been applied to new
2720 2004-02-15 Jim Evins <evins@snaught.com>
2722 * src/label-barcode.c: (gl_label_barcode_set_data),
2723 (gl_label_barcode_set_props):
2724 Don't emit "changed" signal, if no change actually made for these
2725 methods. Reduces number of unnecessary redraws of barcodes.
2727 * src/label-object.h:
2728 * src/label-object.c: (gl_label_object_set_position),
2729 (gl_label_object_set_position_relative), (set_size),
2730 (gl_label_object_set_size),
2731 (gl_label_object_set_size_honor_aspect):
2732 Don't emit "changed" signal, if no change actually made for these
2735 2004-02-15 Jim Evins <evins@snaught.com>
2737 * data/glabels-2.0.dtd:
2738 Added specific subtypes for various barcode types.
2741 * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
2742 (gl_barcode_get_styles_list), (gl_barcode_default_digits),
2743 (gl_barcode_can_text), (gl_barcode_text_optional),
2744 (gl_barcode_can_csum), (gl_barcode_csum_optional),
2745 (gl_barcode_id_to_name), (gl_barcode_name_to_id):
2746 Changed API to use a string id, rather than a fixed enumeration. Id and
2747 name are separate strings. Added entries to backend table for specific
2748 subtypes for various barcode types.
2751 * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
2753 Modified to conform to above API. Now more stringent with data length
2754 for various subtypes.
2756 * src/bc-gnubarcode.h:
2757 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
2758 (is_length_valid), (is_length1_valid), (is_length2_valid):
2759 Modified to conform to above API. Now more stringent with data length
2760 for various subtypes.
2762 * src/label-barcode.h:
2763 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
2764 (gl_label_barcode_get_props), (get_size):
2765 Modified to use above API for storing barcode type.
2767 * src/object-editor.h:
2768 * src/object-editor-bc-page.c: (style_changed_cb),
2769 (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
2770 Modified to use above API for storing barcode type.
2772 * src/object-editor-size-page.c:
2773 (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
2774 (w_spin_cb), (h_spin_cb), (size_reset_cb):
2775 Added debug markers.
2777 * src/object-editor.glade:
2778 Made barcode style combo's text entry non-editable.
2780 * src/print.c: (draw_barcode_object):
2781 Modified to use above API for barcode type.
2783 * src/view-barcode.c: (update_object_from_editor_cb),
2784 (update_editor_from_object_cb),
2785 (gl_view_barcode_create_event_handler), (draw_barcode):
2786 Modified to use above API for barcode type.
2788 * src/xml-label-04.c: (xml04_parse_barcode_props):
2789 * src/xml-label-191.c: (xml191_parse_barcode_props):
2790 * src/xml-label.c: (xml_parse_object_barcode),
2791 (xml_create_object_barcode):
2792 Modified to use above API for barcode type.
2794 2004-02-07 Jim Evins <evins@snaught.com>
2796 * src/stock-pixmaps/Makefile.am:
2797 * src/stock-pixmaps/stock_hchain_24.png:
2798 * src/stock-pixmaps/stock_hchain_broken_24.png:
2799 * src/stock-pixmaps/stock_vchain_24.png:
2800 * src/stock-pixmaps/stock_vchain_broken_24.png:
2801 Added chain pixmaps borrowed from the gimp's default theme.
2804 * src/stock.c: (gl_stock_init), (add_button_icon):
2805 Added above pixmaps to stock icon sets. Created add_button_icon() to
2806 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
2808 * src/wdgt-chain-button.h
2809 * src/wdgt-chain-button.c
2812 Added this Modified version of gimpchainbutton widget, borrowed from
2816 Added acknowledgements of the above borrowing from the gimp.
2818 * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
2820 * src/object-editor.c: (gl_object_editor_construct_chain_button):
2821 * src/object-editor.glade:
2822 Replaced the keep aspect ratio check box with the above chain-button
2825 * src/text-node.c: (gl_text_node_equal):
2827 Added function gl_text_node_equal() to compare text_nodes.
2829 * src/label-image.c: (gl_label_image_set_filename):
2830 Replaced incomplete text_node comparison code with invocation of
2831 gl_text_node_equal. This fixed the problem of not being able to
2832 resize an image using the object_editor if the aspect ratio is not
2835 2004-02-04 Jim Evins <evins@snaught.com>
2837 * src/object-editor-image-page.c:
2838 (gl_object_editor_prepare_image_page):
2839 Track "changed" signal of pixmap entry's GtkEntry rather than its
2840 "activate" signal -- this catches all changes to the entry rather than
2841 just changes resulting from a browse, so one can easily pull previous
2842 entries from the history. (This change is marked below on 2004-02-03,
2843 but somehow never got checked in.)
2845 * src/view-highlight.c: (sl_resize_event_handler),
2846 (sr_resize_event_handler), (st_resize_event_handler),
2847 (sb_resize_event_handler):
2848 Side resize handles will now confirm the actual resize that the object
2849 accepted before adjusting position parameters. Previously some interesting
2850 things happened when resizing a barcode to its minimum size.
2852 2004-02-03 Jim Evins <evins@snaught.com>
2854 * src/object-editor-image-page.c:
2855 (gl_object_editor_prepare_image_page):
2856 Track "changed" signal of pixmap entry's GtkEntry rather than its
2857 "activate" signal -- this catches all changes to the entry rather than
2858 just changes resulting from a browse, so one can easily pull previous
2859 entries from the history.
2861 * src/view-highlight.c: (tl_resize_event_handler),
2862 (tr_resize_event_handler), (bl_resize_event_handler),
2863 (br_resize_event_handler):
2864 Allow control key to be dropped while dragging a corner resize handle
2865 without losing the aspect ratio lock.
2867 2004-02-02 Jim Evins <evins@snaught.com>
2869 * src/label-image.c: (gl_label_image_set_filename):
2870 When setting a new filename adjust size such that the aspect ratio of
2871 the image is preserved using the current size as a bounding box.
2873 * src/view-image.c: (update_object_from_editor_cb):
2874 When updating object from editor, feed back possible size changes to
2875 editor as a result of a possible change in image.
2877 * src/object-editor-size-page.c: (size_reset_cb):
2878 Fixed typo when blocking spin handlers. If the base size is larger than
2879 the max size, treat max size as a bounding box while keeping aspect
2883 2004-02-02 Jim Evins <evins@snaught.com>
2885 * src/label-object.h:
2886 * src/label-object.c: (gl_label_object_set_size),
2887 (gl_label_object_set_size_honor_aspect):
2888 Added gl_label_object_set_size_honor_aspect() which will maintain the
2889 current aspect ratio by modifying the supplied w or h apropriately.
2891 * src/view-highlight.c: (tl_resize_event_handler),
2892 (tr_resize_event_handler), (bl_resize_event_handler),
2893 (br_resize_event_handler):
2894 Corner handles will now maintain the current aspect ratio if the
2895 control key is pressed while resizing. This addresses feature
2899 2004-01-31 Jim Evins <evins@snaught.com>
2902 * data/avery-us-templates.xml:
2903 Added entries for "LSK-3," "LSK-5," and "LSK-8." Submitted by JBadger.
2905 * libglabels/template.c: (read_template_files_from_dir):
2906 Corrected problem with testing for extensions.
2908 * src/object-editor.glade:
2909 Corrected grouping of radio buttons in barcode data page.
2911 * src/print.c: (draw_barcode_object):
2912 * src/view-barcode.c: (draw_barcode):
2913 Corrected problem with calculation of y_offset for locating characters.
2915 2004-01-24 Jim Evins <evins@snaught.com>
2918 * data/avery-us-templates.xml:
2919 Added Avery 5824, submitted by Fred Bacon.
2921 2004-01-20 Jim Evins <evins@snaught.com>
2923 Catching up on a couple of backlogged user template submissions.
2925 * data/avery-iso-templates.xml:
2926 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
2927 Suggested by Linas Jakucionis.
2929 * data/zweckform-iso-templates.xml:
2930 Added Zweckform 4760, submitted by Thomas Vill.
2933 Updated to reflect above submissions.
2935 2004-01-06 Jim Evins <evins@snaught.com>
2937 Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
2938 xml.[ch] into a separate library called libglabels, to facilitate third
2939 party use of glabels template files. This was suggested by Wayne Schuller.
2940 Once split-out, some modifications to the structures and functions to
2941 make a cleaner more useful API, hopefully. Rather extensive changes have
2942 propogated to other modules.
2950 * src/xml-template.h:
2951 * src/xml-template.c:
2954 These files have been moved to libglabels/. API cleanup performed.
2956 * libglabels/libglabels.h:
2957 * libglabels/libglabels-private.h:
2958 * libglabels/Makefile.am:
2959 These files have been added to finish out libglabels.
2966 Modified to reflect new sets of files in src/ and libglabels/.
2968 * COPYING.LIBGLABELS:
2970 Added copy of the LGPL for libglabels, and a copy the GFDL for
2973 * src/glabels-batch.c:
2975 * src/label.c: (gl_label_finalize), (gl_label_set_template),
2976 (gl_label_get_size):
2978 * src/prefs-model.c: (gl_prefs_model_load_settings):
2979 * src/print-dialog.c:
2980 * src/print.c: (gl_print_simple), (gl_print_merge_collated),
2981 (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
2982 (print_crop_marks), (print_label), (draw_outline),
2983 (clip_to_outline), (clip_punchouts):
2984 * src/template-designer.c: (construct_pg_size_page),
2985 (pg_size_page_changed_cb), (layout_page_changed_cb),
2986 (print_test_cb), (build_template):
2987 * src/util.c: (gl_util_fraction):
2989 * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
2990 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
2991 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
2992 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
2993 (draw_markup_margin_round), (draw_markup_margin_cd),
2994 (draw_markup_margin_cd_bc), (draw_markup_line),
2995 (draw_markup_circle), (gl_view_copy):
2996 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
2997 (page_size_entry_changed_cb), (details_update), (get_layout_desc),
2998 (get_label_size_desc):
2999 * src/wdgt-mini-preview.c:
3000 (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
3002 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
3003 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
3004 * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
3005 (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
3006 * src/wdgt-rotate-label.h:
3007 * src/xml-label-04.c: (xml04_parse_media_description):
3008 * src/xml-label-191.c: (gl_xml_label_191_parse),
3009 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
3010 (xml191_parse_markup), (xml191_parse_alias):
3011 * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
3013 Various changes to accomodate new libglabels API.
3015 2004-01-03 Jim Evins <evins@snaught.com>
3020 2004-01-03 Jim Evins <evins@snaught.com>
3023 Added acknowledgement of contributions by Wayne Schuller.
3025 * src/commands.c: (gl_cmd_file_print):
3026 Create extra reference to print dialog, so that it can be properly re-used.
3028 * src/mygal/mygal-combo-box.h:
3029 * src/mygal/mygal-combo-box.c:
3030 (mygal_combo_box_popup_hide_unconditional),
3031 (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
3032 (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
3033 (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
3034 (mygal_combo_box_set_tearable):
3035 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
3036 complete the rename of this widget to prevent namespace collisions
3039 * src/prefs-dialog.glade:
3040 Fixed alignment of Fill/Color widgets.
3042 2004-01-03 Jim Evins <evins@snaught.com>
3044 * data/avery-iso-templates.xml:
3045 Added user submitted templates.
3046 Avery 8435A & 8435B, submitted by Ludger Solbach.
3048 * doc/C/glabels.xml:
3049 Added minimal documentation, noting the new template designer.
3051 2004-01-03 Jim Evins <evins@snaught.com>
3053 * pixmaps/ex-rect-size.png:
3054 * pixmaps/ex-round-size.png:
3055 * pixmaps/ex-cd-size.png:
3056 * pixmaps/Makefile.am:
3057 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
3058 files to be used as illustrations/examples in the template-designer.
3060 * src/template-designer.c: (construct_rect_size_page),
3061 (construct_round_size_page), (construct_cd_size_page),
3062 (construct_nlayouts_page), (rect_size_page_prepare_cb),
3063 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
3064 (layout_page_prepare_cb), (build_template):
3065 * src/template-designer.glade:
3066 Added illustrations for rectangle, round, and cd label size pages.
3067 Added margin spinboxes to these pages, and now add a margin markup
3068 to the constructed template. Added realistic default values for
3069 some of the size spinboxes. Cleaned up the code for setting spinbox
3070 ranges on the layouts page.
3072 2004-01-02 Jim Evins <evins@snaught.com>
3074 * src/object-editor-size-page.c: (h_spin_cb):
3075 Fixed cut-n-paste error in h_spin_cb that loaded h from
3076 the wrong spinbutton.
3078 * src/object-editor.h:
3079 * src/object-editor.c: (gl_object_editor_class_init),
3080 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
3081 * src/object-editor-private.h:
3082 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
3084 Added "size_changed" signal.
3086 * src/view-text.c: (construct_properties_editor),
3087 (update_object_from_editor_cb),
3088 (update_object_from_editor_size_cb):
3089 Track size changes from object editor separately from other
3090 properties. This is so the default size (0,0) of a text
3091 object is not modified unintentionally.
3093 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
3095 Added feature: line spacing - allows you to comfortably space a text box to
3096 fit a label perfectly.
3098 * data/glabels-2.0.dtd:
3099 * src/label-object.c: (gl_label_object_set_text_line_spacing),
3100 (gl_label_object_get_text_alignment),
3101 (gl_label_object_get_text_line_spacing):
3102 * src/label-object.h:
3103 * src/label-text.c: (gl_label_text_class_init),
3104 (gl_label_text_instance_init), (copy), (get_size),
3105 (set_text_line_spacing), (get_text_alignment),
3106 (get_text_line_spacing):
3107 * src/object-editor-private.h:
3108 * src/object-editor-text-page.c:
3109 (gl_object_editor_prepare_text_page),
3110 (gl_object_editor_set_text_line_spacing),
3111 (gl_object_editor_get_text_line_spacing):
3112 * src/object-editor.glade:
3113 * src/object-editor.h:
3114 * src/prefs-dialog.c: (construct_object_page),
3115 (update_object_page_from_prefs), (update_prefs_from_object_page):
3116 * src/prefs-dialog.glade:
3117 * src/prefs-model.c: (gl_prefs_model_save_settings),
3118 (gl_prefs_model_load_settings), (get_float):
3119 * src/prefs-model.h:
3120 * src/print.c: (draw_text_object):
3122 * src/view-text.c: (update_object_from_editor_cb),
3123 (update_editor_from_object_cb),
3124 (gl_view_text_create_event_handler), (draw_hacktext):
3125 * src/view.c: (gl_view_construct),
3126 (gl_view_set_selection_text_line_spacing),
3127 (gl_view_set_default_text_line_spacing),
3128 (gl_view_get_default_text_line_spacing):
3130 * src/xml-label.c: (xml_parse_toplevel_span),
3131 (xml_create_toplevel_span):
3133 2003-12-30 Jim Evins <evins@snaught.com>
3135 * src/template-designer.c:
3136 * src/template-designer.h:
3137 * src/template-designer.glade:
3138 New template designer assistant.
3142 Added entries for src/template-designer.* files.
3144 * pixmaps/ex-1layout.png
3145 * pixmaps/ex-2layouts.png
3146 * pixmaps/Makefile.am:
3147 Added the new image files ex-*.png used as illustrations in the
3148 template designer assistant.
3150 * src/print-dialog.h:
3151 * src/print-dialog.c: (gl_print_dialog_finalize),
3152 (gl_print_dialog_new), (gl_print_dialog_construct),
3153 (gl_print_dialog_force_outline_flag):
3154 Changed first argument of gl_print_dialog_new() from glView to glLabel,
3155 to support printing from the template designer assistant which does not
3156 have a full-fledged view. Nothing else from the view object was being
3157 used by the dialog anyway.
3159 Added the gl_print_dialog_force_outline_flag() method, for better
3160 integration with the template designer assistant.
3164 * src/commands.c: (gl_cmd_file_template_designer),
3165 (gl_cmd_file_print):
3166 Modified print command to provide label instead of view to dialog.
3167 Added the gl_cmd_file_template_designer() command to invoke the
3168 template designer assistant.
3171 * src/glabels-ui.xml:
3172 Added support for template designer assistant.
3174 * src/wdgt-mini-preview.h:
3175 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
3176 (gl_wdgt_mini_preview_set_bg_color):
3177 Preview is now centered in canvas. Added
3178 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
3179 assistant to match the background color with its own.
3181 * src/print.c: (clip_to_outline):
3182 Fixed really stupid bug when adding waste to clip region of rectangular
3183 labels/cards. Each side of the clip region needs to be extended by
3184 twice the waste margin, as well as negatively offset by the waste
3187 2003-12-28 Jim Evins <evins@snaught.com>
3189 * src/prefs-dialog.c: (update_object_page_from_prefs):
3190 Block intermediary function align_toggle_cb() instead of
3191 update_prefs_from_object_page() for the three alignment
3194 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
3196 * src/file.c: (gl_file_new), (gl_file_properties):
3197 Swap button order and set default for higificatory pleasure.
3199 2003-12-27 Jim Evins <evins@snaught.com>
3201 * barcode-0.98/Makefile.am:
3202 One last time: removed doc/Makefile and po/Makefile.in.in from
3205 2003-12-27 Jim Evins <evins@snaught.com>
3207 * barcode-0.98/Makefile.am:
3208 Removed config.stat entry from EXTRA_DIST files.
3210 * barcode-0.98/Makefile.in:
3213 2003-12-27 Jim Evins <evins@snaught.com>
3216 Updated to work with latest gnome-common package from CVS.
3217 Removed recursive configuration of barcode-0.98.
3224 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
3226 * barcode-0.98/Makefile.in:
3227 * barcode-0.98/configure.in:
3228 * barcode-0.98/Makefile.am:
3229 * barcode-0.98/README.glabels:
3230 Modified to ignore the barcode package's build system, and build
3231 as a part of glabels.
3232 Renamed Makefile.in to Makefile.in.dist.
3233 Renamed configure.in to configure.in.dist.
3234 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
3237 * src/mygal/Makefile.am:
3238 * src/recent-files/Makefile.am:
3239 In order to build against the GNOME 2.5 platform,
3240 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
3242 * src/mygal/Makefile.am:
3243 * src/mygal/mygal-combo-box.c:
3244 * src/mygal/mygal-combo-box.h:
3245 * src/mygal/widget-color-combo.c:
3246 * src/mygal/widget-color-combo.h:
3248 In order to build against the GNOME 2.5 platform,
3249 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
3250 collisions with the real gtk_combo_box widget, now a part of gtk.
3252 2003-12-26 Jim Evins <evins@snaught.com>
3258 Moved local versions of get_home_data_dir() in paper.c and
3259 template.c to util package. Cleaned up formatting in
3263 In gl_template_register() save a copy of the template in
3264 ~/.glabels if the template is not known. Still need to
3265 handle duplicate filename case and duplicate name but
3266 different template case.
3270 Moved local definition of NAME_SPACE macro from xml-label.c
3273 * src/xml-template.c:
3274 * src/xml-template.h:
3275 Added function gl_xml_template_write_template_to_file(), used
3276 in gl_template_register().