1 2007-04-25 Jim Evins <evins@snaught.com>
4 * src/view.c: (gl_view_update), (expose_cb),
5 (motion_notify_event_cb), (button_press_event_cb),
6 (button_release_event_cb):
7 - Try not to let updates get backed up.
8 - Grab pointer when doing any drag operations.
10 2007-04-11 Jim Evins <evins@snaught.com>
12 * src/cairo-label-path.c: (gl_cairo_label_path),
13 (gl_cairo_rect_label_path), (gl_cairo_round_label_path),
14 (gl_cairo_cd_label_path):
15 * src/cairo-label-path.h:
16 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
18 * src/print.c: (draw_outline), (clip_to_outline):
19 * src/view.c: (draw_bg_layer), (draw_fg_layer):
20 * src/wdgt-mini-preview.c: (draw_labels):
21 * src/wdgt-rotate-label.c: (drawingarea_update):
22 Modified to universally use gl_cairo_label_path() to create paths
23 for labels. Added shadow to mini preview in rotate widget.
25 2007-04-10 Jim Evins <evins@snaught.com>
27 * libglabels/template.h:
28 * libglabels/template.c: (gl_template_get_name_list_unique),
29 (gl_template_get_name_list_all), (gl_template_from_name):
30 Modified libglabels to allow you to get a list of all template names
31 including all aliases or just a list of primary names of each unique
34 * src/file.c: (gl_file_properties):
35 * src/glabels.c: (main):
36 * src/mini-preview-pixbuf-cache.h:
37 * src/mini-preview-pixbuf-cache.c:
38 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
39 (filter_changed_cb), (load_list):
40 Added mini-preview pixbuf cache, so that only one mini-preview is
41 needed for a unique template and gets reused for all aliases. These
42 pixbufs will also live for the life of the program so they are not
43 rebuilt everytime a new label dialog is invoked.
44 * src/mini-preview-pixbuf.c: (draw_paper),
45 (draw_rect_label_outline), (draw_round_label_outline),
46 (draw_cd_label_outline):
47 Removed some comment artifacts.
49 2007-04-04 Jim Evins <evins@snaught.com>
51 * src/mini-preview-pixbuf.c: (gl_mini_preview_pixbuf_new),
52 (draw_paper), (draw_label_outlines), (draw_rect_label_outline),
53 (draw_round_label_outline), (draw_cd_label_outline):
54 * src/wdgt-media-select.c: (load_list):
55 * src/wdgt-rotate-label.c: (draw_cd_label_outline):
56 Cosmetic enhancments to mini previews.
58 2007-04-04 Jim Evins <evins@snaught.com>
60 * src/ui-property-bar.c: (gl_ui_property_bar_finalize),
61 (gl_ui_property_bar_construct):
62 Save copy of GladeXML tree so that we don't lose tooltips.
64 2007-04-02 Jim Evins <evins@snaught.com>
66 * src/merge-properties-dialog.c:
67 * src/new-label-dialog.c:
68 * src/object-editor.c:
71 * src/template-designer.c:
72 * src/ui-property-bar.c:
73 * src/wdgt-media-select.c:
74 * src/wdgt-rotate-label.c:
75 Fixed several memory leaks.
77 2007-04-01 Jim Evins <evins@snaught.com>
79 * src/label-text.c: (gl_label_text_init), (copy),
80 (gl_label_text_set_lines), (buffer_changed_cb), (get_size),
81 (set_font_family), (set_font_size), (set_font_weight),
82 (set_font_italic_flag), (set_text_alignment),
83 (set_text_line_spacing):
84 Cache object size, so that expensive extent calculations are only done
87 2007-03-30 Jim Evins <evins@snaught.com>
89 * src/prefs-model.c: (gl_prefs_model_load_settings):
90 Default to an unlimited list of recent documents, since this parameter
91 seems to be pre-filter anyway.
93 2007-03-30 Jim Evins <evins@snaught.com>
95 * src/label-box.c: (draw_shadow):
96 * src/label-ellipse.c: (draw_shadow):
97 Added missing shadow fill.
99 2007-03-28 Jim Evins <evins@snaught.com>
101 * src/ui-commands.c: (gl_ui_cmd_file_print):
102 Unreferencing the print operation sometimes crashes. Just don't do it
105 2007-03-28 Jim Evins <evins@snaught.com>
107 * src/print-op.c: (gl_print_op_construct),
108 (gl_print_op_get_settings), (gl_print_op_set_settings),
109 (gl_print_op_free_settings), (create_custom_widget_cb):
111 * src/ui-commands.c: (gl_ui_cmd_file_print):
112 * src/window.c: (gl_window_init):
114 Save print settings and custom settings between print operations
117 2007-03-24 Jim Evins <evins@snaught.com>
119 * src/object-editor-image-page.c:
120 (gl_object_editor_prepare_image_page),
121 (gl_object_editor_set_image), (img_selection_changed_cb):
122 Workaround for GtkFileChooserButton bug # 327243. This the root
123 cause for gLabels bug # 1192884. I have actually observed 3 delayed
124 "selection-changed" signals -- the first 2 return NULL -- this is
125 what caused the image to reset to the default followed by setting
126 it back to the original image, trying to fit it into a new bounding
127 box. This sequence of events is much more evident with the new
130 2007-03-23 Jim Evins <evins@snaught.com>
132 Merged all changes from experimental cairo branch to trunk.
133 Trunk no longer depends on libgnomecanvas or libgnomeprint[ui].
135 2007-03-23 Jim Evins <evins@snaught.com>
137 * src/label-object.h:
138 * src/label-object.c: (gl_label_object_class_init),
139 (gl_label_object_get_raw_size), (gl_label_object_get_size):
140 Created "get_raw_size" method.
141 * src/label-barcode.c: (get_size):
142 * src/xml-label.c: (xml_create_object_text),
143 (xml_create_object_barcode):
144 Use new "get_raw_size" method on label-objects when apropos.
146 * src/label-text.c: (get_size), (draw_object), (draw_shadow),
147 (auto_shrink_font_size):
148 Added "auto shrink" functionality back.
150 2007-03-19 Jim Evins <evins@snaught.com>
152 * src/label-text.c: (draw_object), (draw_shadow):
153 Don't use negative scales in workaround from previous commit.
156 2007-03-18 Jim Evins <evins@snaught.com>
159 Forgot to remove include of xml-lable-191 in previous commit.
160 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
161 Workaround for pango Bug #341481. Render text at device scale,
162 and scale font size accordingly. Also, don't do any hinting.
164 2007-03-18 Jim Evins <evins@snaught.com>
166 * src/cairo-ellipse-path.c:
167 * src/cairo-ellipse-path.h:
168 Forgot to add these new files during last mass commit.
170 2007-03-18 Jim Evins <evins@snaught.com>
173 * src/xml-label-191.c:
174 * src/xml-label-191.h:
175 Removed -- Very buggy. Version 1.91 is a very old "unstable" version,
176 so there is no need to keep compatability.
179 * src/cairo-label-path.c:
180 * src/cairo-label-path.h:
181 * src/cairo-markup-path.c:
185 * src/glabels-batch.c:
187 * src/label-barcode.c:
189 * src/label-ellipse.c:
192 * src/label-object.c:
193 * src/label-object.h:
197 * src/merge-properties-dialog.c:
199 * src/new-label-dialog.c:
200 * src/object-editor-bc-page.c:
201 * src/object-editor-data-page.c:
202 * src/object-editor-edit-page.c:
203 * src/object-editor-fill-page.c:
204 * src/object-editor-image-page.c:
205 * src/object-editor-line-page.c:
206 * src/object-editor-private.h:
207 * src/object-editor-shadow-page.c:
208 * src/object-editor-text-page.c:
209 * src/object-editor.c:
210 * src/pixbuf-cache.c:
215 * src/template-designer.c:
217 * src/ui-property-bar.c:
219 * src/view-barcode.c:
221 * src/view-ellipse.c:
228 * src/wdgt-media-select.c:
229 * src/wdgt-print-copies.c:
230 * src/wdgt-print-merge.c:
232 * src/xml-label-04.c:
234 Many changes, including:
235 - Move draw methods from view-*() to label-*().
236 - Use same drawing code for on screen view and printing.
237 - Fix all issues exposed with '-Wall -Werror'.
239 2007-03-14 Jim Evins <evins@snaught.com>
242 * src/cairo-handle-path.c:
243 * src/cairo-handle-path.h:
244 * src/cairo-object-path.c:
245 * src/cairo-object-path.h:
246 Removed cairo-handle-path.[ch] and cairo-object-path.[ch].
247 * src/view-barcode.c: (gl_view_barcode_class_init), (draw_object),
249 * src/view-box.c: (gl_view_box_class_init), (draw_object),
250 (draw_shadow), (object_at):
251 * src/view-ellipse.c: (gl_view_ellipse_class_init),
252 (create_ellipse_path), (draw_object), (draw_shadow), (object_at):
253 * src/view-image.c: (gl_view_image_class_init), (draw_object),
255 * src/view-line.c: (gl_view_line_class_init), (draw_object),
256 (draw_shadow), (object_at):
257 * src/view-object.c: (gl_view_object_draw), (gl_view_object_at),
258 (create_handle_path), (gl_view_object_draw_handles),
259 (gl_view_object_handle_at):
261 * src/view-text.c: (gl_view_text_class_init), (draw_object),
262 (draw_shadow), (object_at):
263 * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
264 Some restructuring of new code.
266 2007-03-12 Jim Evins <evins@snaught.com>
269 * src/cairo-object-path.c:
270 * src/view-barcode.c:
271 * src/view-barcode.h:
273 Added barcode object support to view.
275 2007-03-12 Jim Evins <evins@snaught.com>
281 * src/cairo-object-path.c:
282 * src/cairo-object-path.h:
284 * src/view-ellipse.c:
289 Added text object support to view. Added object_at method to all
292 2007-03-11 Jim Evins <evins@snaught.com>
295 * src/cairo-object-path.c: (gl_cairo_object_path),
296 (gl_cairo_image_object_path):
297 * src/view-image.c: (gl_view_image_class_init),
298 (gl_view_image_finalize), (gl_view_image_new),
299 (update_editor_from_label_cb), (draw),
300 (gl_view_image_get_create_cursor),
301 (gl_view_image_create_button_press_event),
302 (gl_view_image_create_motion_event),
303 (gl_view_image_create_button_release_event):
305 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
306 (selection_received_cb), (motion_notify_event_cb),
307 (button_press_event_cb), (button_release_event_cb):
308 Added image object support to view.
310 2007-03-11 Jim Evins <evins@snaught.com>
313 * src/cairo-object-path.c: (gl_cairo_object_path),
314 (gl_cairo_line_object_path):
315 * src/view-line.c: (gl_view_line_class_init), (gl_view_line_new),
316 (update_object_from_editor_cb), (update_editor_from_object_cb),
317 (update_editor_from_label_cb), (draw),
318 (gl_view_line_get_create_cursor),
319 (gl_view_line_create_button_press_event),
320 (gl_view_line_create_motion_event),
321 (gl_view_line_create_button_release_event):
323 * src/view-object.c: (gl_view_object_resize_event):
324 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
325 (selection_received_cb), (motion_notify_event_cb),
326 (button_press_event_cb), (button_release_event_cb):
327 Added line object support to view.
328 * src/cairo-handle-path.c:
329 Made handles slightly larger.
332 2007-03-11 Jim Evins <evins@snaught.com>
335 * src/cairo-handle-path.c:
336 * src/cairo-label-path.c: (gl_cairo_rect_label_path),
337 (gl_cairo_round_label_path), (gl_cairo_cd_label_path):
338 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
339 (gl_cairo_markup_margin_round_path),
340 (gl_cairo_markup_margin_cd_path), (gl_cairo_markup_circle_path):
341 * src/cairo-object-path.c: (gl_cairo_object_path),
342 (gl_cairo_ellipse_object_path):
343 * src/label-object.c: (gl_label_object_rotate):
346 * src/view-ellipse.c: (gl_view_ellipse_class_init),
347 (gl_view_ellipse_new), (update_object_from_editor_cb),
348 (update_editor_from_object_cb), (update_editor_from_label_cb),
349 (draw), (gl_view_ellipse_get_create_cursor),
350 (gl_view_ellipse_create_button_press_event),
351 (gl_view_ellipse_create_motion_event),
352 (gl_view_ellipse_create_button_release_event):
353 * src/view-ellipse.h:
356 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
357 (select_object_real), (selection_received_cb),
358 (motion_notify_event_cb), (button_press_event_cb),
359 (button_release_event_cb):
361 Added ellipse object support to view. Plus other cleanup.
363 2007-03-11 Jim Evins <evins@snaught.com>
366 * src/view-box.c: (gl_view_box_get_create_cursor),
367 (gl_view_box_create_button_press_event),
368 (gl_view_box_create_motion_event),
369 (gl_view_box_create_button_release_event):
370 * src/view-object.c: (gl_view_object_set_view),
371 (gl_view_object_handle_at):
373 * src/view.c: (gl_view_arrow_mode), (gl_view_object_create_mode),
374 (motion_notify_event_cb), (button_press_event_cb),
375 (button_release_event_cb), (key_press_event_cb):
376 Added creation code for box object.
378 2007-03-09 Jim Evins <evins@snaught.com>
380 * src/view-object.c: (gl_view_object_resize_event):
382 * src/view.c: (motion_notify_event_cb):
383 Fix bugs with resizing transformed objects.
384 * src/cairo-handle-path.c: (gl_cairo_handle_path):
385 * src/cairo-object-path.c: (gl_cairo_object_path):
386 * src/cairo-object-path.h:
387 * src/label-object.c: (gl_label_object_init),
388 (gl_label_object_dup), (gl_label_object_get_extent),
389 (gl_label_object_flip_horiz), (gl_label_object_flip_vert),
390 (gl_label_object_rotate), (gl_label_object_set_matrix),
391 (gl_label_object_get_matrix):
392 * src/label-object.h:
393 * src/print.c: (draw_object):
395 * src/view-highlight.c:
396 * src/view-highlight.h:
397 * src/xml-label-191.c: (xml191_parse_object):
398 * src/xml-label.c: (xml_parse_affine_attrs),
399 (xml_create_affine_attrs):
400 Replace libart affine matrices with cairo matrices.
402 2007-03-08 Jim Evins <evins@snaught.com>
405 * src/view.c: (gl_view_update), (motion_notify_event_cb):
406 * src/view-object.c: (gl_view_object_handle_at),
407 (gl_view_object_resize_event):
408 Added resize code -- still a bit buggy.
410 2007-03-07 Jim Evins <evins@snaught.com>
413 * src/cairo-handle-path.c:
414 * src/cairo-handle-path.h:
415 * src/view-box.c: (gl_view_box_new):
416 * src/view-object.c: (gl_view_object_set_object),
417 (gl_view_object_draw_handles), (gl_view_object_handle_at):
419 * src/view.c: (draw_highlight_layer), (select_object_real),
420 (unselect_object_real), (view_handle_at), (motion_notify_event_cb),
421 (button_press_event_cb), (button_release_event_cb),
422 (key_press_event_cb):
424 Added beginnings of object resize handles.
426 2007-03-07 Jim Evins <evins@snaught.com>
429 * src/view.c: (gl_view_init), (gl_view_arrow_mode),
430 (gl_view_object_create_mode), (motion_notify_event_cb),
431 (button_press_event_cb), (button_release_event_cb),
432 (key_press_event_cb):
433 Added move selection support.
435 2007-03-05 Jim Evins <evins@snaught.com>
437 * src/cairo-object-path.c: (gl_cairo_object_path):
438 * src/view-object.c: (gl_view_object_draw),
439 (gl_view_object_draw_highlight):
440 * src/view.c: (view_object_at), (motion_notify_event_cb),
441 (button_press_event_cb), (button_release_event_cb):
442 Additional refinements to select logic.
444 2007-03-05 Jim Evins <evins@snaught.com>
447 * src/view.c: (gl_view_init), (gl_view_construct),
448 (label_changed_cb), (draw_layers), (draw_select_region_layer),
449 (gl_view_select_region), (object_at), (motion_notify_event_cb),
450 (button_press_event_cb), (button_release_event_cb):
451 Added initial select region support and context menu.
453 2007-03-04 Jim Evins <evins@snaught.com>
471 * src/wdgt-print-copies.c:
472 * src/wdgt-print-merge.c:
474 Initial port to a raw Cairo canvas. This removes all remaining
475 dependencies on libgnomecanvas and libgnomeprint[ui]. Basically
476 the view is becoming a canvas widget in its own right. Still needs
478 * src/cairo-label-path.c:
479 * src/cairo-label-path.h:
480 * src/cairo-markup-path.c:
481 * src/cairo-markup-path.h:
482 * src/cairo-object-path.c:
483 * src/cairo-object-path.h:
484 New files to support cairo canvas.
485 * src/canvas-hacktext.c:
486 * src/canvas-hacktext.h:
489 2007-02-18 Jim Evins <evins@snaught.com>
492 GNOME_FONT_BOOK changed to PANGO_WEIGHT_NORMAL.
494 2007-02-14 Jim Evins <evins@snaught.com>
498 * src/bc-gnubarcode.c:
499 * src/bc-gnubarcode.h:
504 * src/canvas-hacktext.c:
505 * src/canvas-hacktext.h:
512 * src/label-barcode.c:
513 * src/label-barcode.h:
516 * src/label-ellipse.c:
517 * src/label-ellipse.h:
522 * src/label-object.c:
523 * src/label-object.h:
528 * src/merge-evolution.c:
529 * src/merge-evolution.h:
532 * src/merge-properties-dialog.c:
533 * src/merge-properties-dialog.h:
540 * src/mini-preview-pixbuf.h:
541 * src/new-label-dialog.c:
542 * src/new-label-dialog.h:
543 * src/object-editor-bc-page.c:
544 * src/object-editor-data-page.c:
545 * src/object-editor-edit-page.c:
546 * src/object-editor-fill-page.c:
547 * src/object-editor-image-page.c:
548 * src/object-editor-line-page.c:
549 * src/object-editor-lsize-page.c:
550 * src/object-editor-position-page.c:
551 * src/object-editor-private.h:
552 * src/object-editor-size-page.c:
553 * src/object-editor-text-page.c:
554 * src/object-editor.c:
555 * src/object-editor.h:
556 * src/pixbuf-cache.c:
557 * src/pixbuf-cache.h:
558 * src/prefs-dialog.c:
559 * src/prefs-dialog.h:
567 * src/template-designer.c:
572 * src/ui-property-bar.c:
573 * src/ui-property-bar.h:
582 * src/view-barcode.c:
583 * src/view-barcode.h:
586 * src/view-ellipse.c:
587 * src/view-ellipse.h:
588 * src/view-highlight.c:
589 * src/view-highlight.h:
600 * src/wdgt-chain-button.c:
601 * src/wdgt-chain-button.h:
602 * src/wdgt-media-select.c:
603 * src/wdgt-mini-preview.c:
604 * src/wdgt-print-copies.c:
605 * src/wdgt-print-copies.h:
606 * src/wdgt-print-merge.c:
607 * src/wdgt-print-merge.h:
608 * src/wdgt-rotate-label.c:
610 * src/xml-label-04.c:
611 * src/xml-label-04.h:
612 * src/xml-label-191.c:
613 * src/xml-label-191.h:
617 Assorted superficial cleanup. Including:
618 - Use G_DEFINE_TYPE for all objects.
619 - Reconcile style of all class initializer functions
620 - Reconcile style of all finalize functions
621 - Add emacs mode line to all source files
623 2007-02-06 Jim Evins <evins@snaught.com>
625 Assorted cleanup and removal of deprecated items.
630 Removed annoying splash screen.
631 * src/glabels-batch.c: (main):
632 * src/glabels.c: (main):
633 Converted from popt to GOption.
634 * src/object-editor-shadow-page.c:
635 (gl_object_editor_set_shadow_state):
636 Removed deprecated method on GtkToggleButton.
637 * src/ui-commands.c: (gl_ui_cmd_help_about):
638 Removed dependency on libgnomui/qnome-url.h.
639 * src/template-designer.c:
640 Removed dependency on libgnome/gnome-program.h.
643 2007-02-04 Jim Evins <evins@snaught.com>
648 * src/print.c: (draw_text_object):
649 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_construct):
650 Removed GnomeCanvas artifacts from color.[ch] and related modules.
652 2007-02-04 Jim Evins <evins@snaught.com>
654 * src/wdgt-mini-preview.c:
655 * src/wdgt-mini-preview.h:
656 Ported widget from GnomeCanvas to Cairo.
658 2007-02-03 Jim Evins <evins@snaught.com>
660 * data/glade/template-designer.glade:
661 * src/template-designer.c:
662 * src/template-designer.h:
663 Ported GnomeDruid to GtkAssistant. Since libglade does not
664 yet support the GtkAssistant and we derive directly from
665 the Assistant, the pages are layed out in a GtkNotebook in
666 the glade description -- we then append each page to the
669 2007-01-25 Jim Evins <evins@snaught.com>
671 * data/glade/object-editor.glade:
672 Added dummy page to notebook, to prevent shadow page from
673 becoming the default current page at creation.
674 * src/view-box.c: (construct_properties_editor):
675 * src/view-ellipse.c: (construct_properties_editor):
676 * src/view-line.c: (construct_properties_editor):
677 * src/view-text.c: (construct_properties_editor):
678 Reconciled order of params.
680 2007-01-19 Jim Evins <evins@snaught.com>
682 * src/label-barcode.h:
683 * src/label-object.c: (gl_label_object_set_font_weight),
684 (gl_label_object_set_text_alignment),
685 (gl_label_object_get_font_weight),
686 (gl_label_object_get_text_alignment):
687 * src/label-object.h:
688 * src/label-text.c: (gl_label_text_instance_init), (copy),
689 (get_size), (set_font_family), (set_font_weight),
690 (set_text_alignment), (get_font_weight), (get_text_alignment):
692 * src/object-editor-text-page.c:
693 (gl_object_editor_prepare_text_page),
694 (gl_object_editor_set_font_family),
695 (gl_object_editor_set_font_weight),
696 (gl_object_editor_get_font_weight),
697 (gl_object_editor_set_text_alignment),
698 (gl_object_editor_get_text_alignment),
699 (gl_object_editor_set_text_color):
700 * src/object-editor.h:
701 * src/prefs-dialog.c: (construct_object_page),
702 (update_object_page_from_prefs), (update_prefs_from_object_page):
703 * src/prefs-model.c: (gl_prefs_model_save_settings),
704 (gl_prefs_model_load_settings):
706 * src/print.c: (draw_text_object):
707 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
708 (reset_to_default_properties), (update_text_properties),
709 (font_bold_toggled_cb), (text_align_toggled_cb):
711 * src/util.c: (gl_util_align_to_string), (gl_util_string_to_align),
712 (gl_util_weight_to_string), (gl_util_string_to_weight),
713 (gl_util_get_font_family_list), (gl_util_font_family_list_free):
715 * src/view-text.c: (update_object_from_editor_cb),
716 (update_editor_from_object_cb), (draw_hacktext), (draw_cursor):
717 * src/view.c: (gl_view_set_selection_text_alignment),
718 (gl_view_set_default_text_alignment),
719 (gl_view_get_default_text_alignment):
721 * src/xml-label-04.c: (xml04_parse_text_props):
722 * src/xml-label-191.c: (xml191_parse_text_props):
723 * src/xml-label.c: (xml_parse_object_text),
724 (xml_parse_toplevel_span), (xml_create_object_text),
725 (xml_create_toplevel_span):
726 Converted all model internals to Pango. GnomeFont remains in
727 view until GnomeCanvas can be replaced with a cairo-based canvas.
729 2007-01-17 Jim Evins <evins@snaught.com>
735 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type),
736 (gl_wdgt_print_copies_construct):
737 * src/wdgt-print-copies.h:
738 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type),
739 (gl_wdgt_print_merge_construct):
740 * src/wdgt-print-merge.h:
741 Removed all remaining HIG wrapper widgets.
743 2007-01-16 Jim Evins <evins@snaught.com>
746 * src/print-dialog.c:
747 * src/print-dialog.h:
750 * src/template-designer.c: (print_test_cb):
751 * src/ui-commands.c: (gl_ui_cmd_file_print):
753 Renamed PrintDialog to PrintOp. Added constructor for batch
755 * src/glabels-batch.c: (main):
756 Converted to use new PrintOp object for printing.
758 2007-01-15 Jim Evins <evins@snaught.com>
760 * data/glade/Makefile.am:
761 * data/glade/print-custom-widget.glade:
762 * src/print-dialog.c:
763 * src/print-dialog.h:
766 * src/template-designer.c: (print_test_cb):
767 * src/ui-commands.c: (gl_ui_cmd_file_print):
768 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_copies):
769 * src/wdgt-print-merge.h:
770 * src/window.c: (gl_window_init):
772 Initial conversion to GtkPrintOperation.
774 - Remove font and other libgnomeprint[ui] from elsewhere
775 - Add batch initialization of print operation
777 2007-01-08 Jim Evins <evins@snaught.com>
779 Updated dependencies. Set version to 2.1.pre4cvs.
781 2007-01-03 Jim Evins <evins@snaught.com>
784 Removed EggRecent stuff.
793 Ported from EggRecent to GtkRecentManager.
796 2007-01-02 Jim Evins <evins@snaught.com>
799 * iec16022-0.2.1/BUGS:
800 * iec16022-0.2.1/CHANGELOG:
801 * iec16022-0.2.1/CREDITS:
802 * iec16022-0.2.1/INSTALL:
803 * iec16022-0.2.1/LICENSE:
804 * iec16022-0.2.1/Makefile.am:
805 * iec16022-0.2.1/Makefile.dist:
806 * iec16022-0.2.1/README:
807 * iec16022-0.2.1/README.glabels:
808 * iec16022-0.2.1/TODO:
809 * iec16022-0.2.1/iec16022.1:
810 * iec16022-0.2.1/iec16022.c:
811 * iec16022-0.2.1/iec16022ecc200.c:
812 * iec16022-0.2.1/iec16022ecc200.h:
813 * iec16022-0.2.1/image.c:
814 * iec16022-0.2.1/image.h:
815 * iec16022-0.2.1/reedsol.c:
816 * iec16022-0.2.1/reedsol.h:
817 * iec16022-0.2.1/test/testsuite-example.bin:
818 * iec16022-0.2.1/test/testsuite-example.eps:
819 * iec16022-0.2.1/test/testsuite-example.hex:
820 * iec16022-0.2.1/test/testsuite-example.png:
821 * iec16022-0.2.1/test/testsuite-example.text:
822 * iec16022-0.2.1/test/testsuite.sh:
823 Include modified copy of iec16022-0.2.1 to provide encoding
824 support for datamatrix 2D barcodes.
829 Added initial datamatrix 2D barcode backend to barcode code.
832 Automatic updates to later versions of these files.
834 2006-11-28 Jim Evins <evins@snaught.com>
836 * data/templates/avery-iso-templates.xml:
837 * data/templates/avery-us-templates.xml:
838 * data/templates/categories.xml:
839 * data/templates/misc-iso-templates.xml:
840 * data/templates/misc-us-templates.xml:
841 * data/templates/zweckform-iso-templates.xml:
844 2006-09-12 Jim Evins <evins@snaught.com>
846 * data/dtd/glabels-2.0.dtd:
847 * data/templates/Makefile.am:
848 * data/templates/avery-iso-templates.xml:
849 * data/templates/avery-other-templates.xml:
850 * data/templates/avery-us-templates.xml:
851 * data/templates/categories.xml:
852 * data/templates/misc-iso-templates.xml:
853 * data/templates/misc-other-templates.xml:
854 * data/templates/zweckform-iso-templates.xml:
855 * data/glade/Makefile.am:
856 * data/glade/new-label-dialog.glade:
857 * data/glade/wdgt-media-select.glade:
858 * data/glade/wdgt-rotate-label.glade:
859 * libglabels/Makefile.am:
860 * libglabels/category.c:
861 * libglabels/category.h:
862 * libglabels/libglabels.h:
863 * libglabels/paper.c:
864 * libglabels/template.c:
865 * libglabels/template.h:
866 * libglabels/xml-category.c:
867 * libglabels/xml-category.h:
868 * libglabels/xml-template.c:
869 Added support for category meta data.
872 * src/mini-preview-pixbuf.c:
873 * src/mini-preview-pixbuf.h:
874 * src/new-label-dialog.c:
875 * src/new-label-dialog.h:
876 * src/wdgt-media-select.c:
877 * src/wdgt-media-select.h:
878 * src/wdgt-rotate-label.c:
879 * src/wdgt-rotate-label.h:
880 New "new label" dialog.
882 2006-05-27 Jim Evins <evins@snaught.com>
887 Preparation for 2.1.3.
893 2006-05-22 Jim Evins <evins@snaught.com>
895 * src/print.c: (draw_barcode_object):
896 Don't print "Invalid barcode data" if data field is empty. Patch provided
897 by Darren Warner <warnerd@users.sourceforge.net>. Fixes Bug #1479839.
899 Added acknowledgment for above patch.
900 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
901 * src/bc-postnet.c: (postnet_code):
902 Removed "Invalid barcode data" warnings from stderr.
903 * src/view-barcode.c: (draw_barcode):
904 Draw box around barcode extent if data empty or invalid. Center a
905 message whether the data is empty or invalid in box.
907 2006-05-22 Jim Evins <evins@snaught.com>
909 * src/print.c: (draw_text_object):
910 Check shadow state when printing text.
912 2006-05-20 Jim Evins <evins@snaught.com>
914 * src/ui-commands.c: (gl_ui_cmd_view_grid_toggle),
915 (gl_ui_cmd_view_markup_toggle):
916 Fixed crash when grid or markup have been toggled off during
917 a previous session. Bug #1434324.
919 2006-04-05 Jim Evins <evins@snaught.com>
921 * src/object-editor.c: (gl_object_editor_set_key_names):
922 Fixed potential crash when freeing empty key list.
924 2006-03-11 Jim Evins <evins@snaught.com>
926 * src/print.c: (draw_text_object):
927 * src/view-text.c: (gl_view_text_new),
928 (construct_properties_editor), (update_object_from_editor_cb),
929 (update_editor_from_object_cb), (update_editor_from_label_cb),
931 Added shadow support to text object.
933 2006-02-18 Jim Evins <evins@snaught.com>
935 * src/print.c: (draw_line_object):
936 * src/view-line.c: (gl_view_line_new),
937 (construct_properties_editor), (update_canvas_item_from_object_cb),
938 (update_object_from_editor_cb), (update_editor_from_object_cb),
939 (update_editor_from_label_cb):
940 Added shadow support to line object.
942 2006-02-16 Jim Evins <evins@snaught.com>
946 * src/print.c: (draw_ellipse_object):
947 * src/view-ellipse.c: (gl_view_ellipse_new),
948 (construct_properties_editor), (update_canvas_item_from_object_cb),
949 (update_object_from_editor_cb), (update_editor_from_object_cb),
950 (update_editor_from_label_cb):
951 Added shadow support to ellipse object.
953 2006-02-15 Jim Evins <evins@snaught.com>
955 * src/label-object.c:
956 Changed default shadow offsets.
957 * src/view-box.c: (gl_view_box_new):
958 Simplified gl_view_box_new() so that is does not duplicate code
959 in update_canvas_item_from_object_cb().
961 2006-02-07 Jim Evins <evins@snaught.com>
963 * data/glade/object-editor.glade:
964 Fixed color groups of color combos.
966 Added default shadow color.
967 * src/object-editor.c: (gl_object_editor_construct_color_combo):
968 Added shadow color group.
970 2006-02-06 Jim Evins <evins@snaught.com>
972 * src/object-editor-shadow-page.c:
973 Forgot to add this file.
974 * src/view-box.c: (gl_view_box_new),
975 (update_canvas_item_from_object_cb), (update_editor_from_label_cb):
976 Update limits on shadow offset spinbuttons.
978 2006-01-19 Jim Evins <evins@snaught.com>
980 * src/merge-evolution.c: (gl_merge_evolution_get_key_list):
981 Initialize key_list to NULL.
982 * data/glade/object-editor.glade:
986 * src/label-object.c:
987 * src/label-object.h:
988 * src/object-editor-fill-page.c:
989 * src/object-editor-private.h:
990 * src/object-editor.c:
991 * src/object-editor.h:
993 Created infrastructure for shadow support.
996 Initial shadow support in box object only.
998 2006-01-05 Jim Evins <evins@snaught.com>
1000 * src/merge-properties-dialog.c: (src_changed_cb):
1001 Be extra paranoid before calling strcmp().
1002 * src/merge.c: (gl_merge_set_src):
1003 Don't make (merge == NULL) a critical error.
1005 2005-12-22 Jim Evins <evins@snaught.com>
1007 * src/glabels-batch.c: (main):
1008 Compile warning free with gcc 4.0.
1010 2005-12-21 Jim Evins <evins@snaught.com>
1013 Updated example RPM spec file.
1015 2005-12-21 Jim Evins <evins@snaught.com>
1019 Preparation for 2.1.2.
1021 2005-12-20 Jim Evins <evins@snaught.com>
1024 Define unique G_LOG_DOMAIN for glabels.
1025 * src/critical-error-handler.c: (gl_critical_error_handler_init):
1026 * src/warning-handler.c: (gl_warning_handler_init),
1028 Register for G_LOG_DOMAIN instead of NULL.
1030 2005-12-10 Jim Evins <evins@snaught.com>
1032 * src/merge-evolution.c:
1033 * src/merge-vcard.c:
1036 2005-12-08 Jim Evins <evins@snaught.com>
1038 * libglabels/paper.c: (read_paper_files_from_dir):
1039 * libglabels/template.c: (gl_template_register),
1040 (read_template_files_from_dir):
1041 * libglabels/xml-paper.c: (gl_xml_paper_read_papers_from_file),
1042 (gl_xml_paper_parse_papers_doc):
1043 * libglabels/xml-template.c:
1044 (gl_xml_template_read_templates_from_file),
1045 (gl_xml_template_parse_templates_doc),
1046 (gl_xml_template_parse_template_node),
1047 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
1048 (xml_parse_label_cd_node), (xml_parse_layout_node),
1049 (xml_parse_markup_margin_node), (xml_parse_markup_line_node),
1050 (xml_parse_markup_circle_node),
1051 (gl_xml_template_write_templates_to_file), (xml_create_label_node):
1052 * libglabels/xml.c: (gl_xml_get_prop_length):
1053 Re-classified g_warnings to g_messages.
1055 * src/glabels.c: (main):
1056 * src/warning-handler.c: (gl_warning_handler_init),
1058 * src/warning-handler.h:
1059 Added warning message handler to make sure the user is
1060 presented with appropriate non-fatal errors.
1061 * src/critical-error-handler.c: (critical_error_handler):
1062 Changed exit to abort.
1063 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new), (render_pass1):
1064 * src/bc-postnet.c: (postnet_code):
1065 * src/bc.c: (id_to_index), (name_to_index):
1066 * src/merge.c: (gl_merge_register_backend), (gl_merge_new):
1067 * src/object-editor.c: (gl_object_notebook_construct_valist):
1068 * src/prefs-dialog.c: (update_locale_page_from_prefs):
1069 * src/prefs.c: (gl_prefs_get_units_per_point),
1070 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
1071 (gl_prefs_get_units_string):
1072 * src/print.c: (draw_outline), (clip_to_outline), (clip_punchouts):
1073 * src/splash.c: (gl_splash):
1074 * src/ui-commands.c: (gl_ui_cmd_help_contents):
1075 * src/view-highlight.c: (gl_view_highlight_new),
1076 (highlight_resizable_box_construct), (object_changed_cb),
1077 (view_scale_changed_cb):
1078 * src/view.c: (draw_label_layer), (draw_bg_fg_layers),
1079 (draw_markup_layer), (draw_markup_margin),
1080 (gl_view_object_create_mode), (canvas_event),
1081 (selection_received_cb):
1082 * src/wdgt-mini-preview.c: (mini_outline_list_new):
1083 * src/wdgt-rotate-label.c: (mini_preview_canvas_update):
1084 * src/xml-label-04.c: (gl_xml_label_04_parse),
1085 (xml04_parse_media_description), (xml04_parse_text_props),
1086 (xml04_parse_barcode_props):
1087 * src/xml-label-191.c: (gl_xml_label_191_parse),
1088 (xml191_parse_objects), (xml191_parse_object),
1089 (xml191_parse_text_props), (xml191_parse_image_props),
1090 (xml191_parse_barcode_props), (xml191_parse_data),
1091 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
1092 (xml191_parse_markup):
1093 * src/xml-label.c: (gl_xml_label_open), (gl_xml_label_open_buffer),
1094 (xml_doc_to_label), (xml_parse_label), (xml_parse_objects),
1095 (xml_parse_object_text), (xml_parse_object_image),
1096 (xml_parse_object_barcode), (xml_parse_data),
1097 (xml_parse_toplevel_span), (gl_xml_label_save),
1098 (xml_create_objects):
1099 Re-classified g_warnings to g_messages.
1100 * src/merge-evolution.c: (gl_merge_evolution_open),
1101 (gl_merge_evolution_close), (gl_merge_evolution_get_record):
1102 Use g_warning to output errors encountered while
1103 communicating with the evolution data server
1104 instead of embedding them in the data.
1106 2005-12-08 Jim Evins <evins@snaught.com>
1108 * libglabels/libglabels-private.h:
1110 * libglabels/paper.c: (read_papers):
1111 * libglabels/template.c: (read_templates):
1112 Made appropriate warnings critical.
1114 * src/critical-error-handler.h:
1115 * src/critical-error-handler.c: (gl_critical_error_handler_init),
1116 (critical_error_handler):
1117 Created critical error handler.
1118 * src/glabels.c: (main):
1119 Register critical error handler.
1120 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
1121 * src/object-editor.c: (gl_object_editor_init):
1122 * src/prefs-dialog.c: (gl_prefs_dialog_init):
1123 * src/template-designer.c: (gl_template_designer_init):
1124 * src/ui-property-bar.c: (gl_ui_property_bar_instance_init):
1125 Made appropriate warnings critical.
1127 2005-11-27 Jim Evins <evins@snaught.com>
1129 * src/merge-evolution.c: (gl_merge_evolution_get_key_list),
1130 (gl_merge_evolution_get_primary_key),
1131 (gl_merge_evolution_get_record):
1132 Don't create "record_key" pseudo-key. Don't populate
1133 fields with null data.
1135 2005-11-25 Jim Evins <evins@snaught.com>
1137 * src/merge-evolution.c: (gl_merge_evolution_finalize),
1138 (gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
1139 (gl_merge_evolution_get_record), (gl_merge_evolution_copy),
1141 Query EDS for all supported fields. Patch provided by
1142 Austin Henry <ahenry@users.sourceforge.net>.
1144 2005-10-29 Jim Evins <evins@snaught.com>
1146 * src/glabels.c: (main):
1147 * src/label-barcode.c: (gl_label_barcode_finalize):
1148 * src/label-text.c: (gl_label_text_finalize), (set_font_family):
1149 * src/label.c: (gl_label_instance_init), (gl_label_finalize):
1150 * src/object-editor.c: (gl_object_editor_finalize):
1151 Another pass at valgrinding -- plugged several memory leaks.
1152 * src/view-text.c: (gl_view_text_new),
1153 (update_canvas_item_from_object_cb), (draw_hacktext):
1154 Commented out artifacts of edit-in-place code.
1156 2005-10-28 Jim Evins <evins@snaught.com>
1158 * src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
1159 Fixed use of uninitialized variable. Caught by
1160 d binderman <dcb314@hotmail.com>.
1162 2005-10-27 Jim Evins <evins@snaught.com>
1164 * src/merge-evolution.c: (gl_merge_evolution_get_record):
1165 * src/merge-vcard.c: (gl_merge_vcard_get_record),
1167 Additional cleanup of EDS and vcard backends. Provided by
1168 Austin Henry <ahenry@users.sourceforge.net>.
1170 2005-10-24 Jim Evins <evins@snaught.com>
1174 * src/merge-evolution.c:
1175 * src/merge-evolution.h:
1176 * src/merge-init.c: (gl_merge_init):
1177 * src/merge-properties-dialog.c: (type_changed_cb):
1178 * src/merge-vcard.c:
1179 * src/merge-vcard.h:
1180 * src/ui-commands.c: (gl_ui_cmd_help_about):
1181 Added Evolution Data Server and VCard merge backends. Original patch
1182 provided by Austin Henry <ahenry@users.sourceforge.net>.
1184 Only support EDS and VCard backends if libebook is installed. Allow
1185 user to disable support, even if installed.
1187 2005-10-24 Jim Evins <evins@snaught.com>
1190 * data/templates/avery-iso-templates.xml:
1191 * data/templates/avery-us-templates.xml:
1192 * data/templates/misc-iso-templates.xml:
1193 * data/templates/zweckform-iso-templates.xml:
1194 Collected all template changes and submissions since last
1197 2005-10-23 Jim Evins <evins@snaught.com>
1200 * data/mime/Makefile.am:
1201 Added configure options to disable update-mime-database and
1202 update-desktop-database as part of the install. Patch
1203 provided by Leonardo Boshell (qhoracio@sourceforge.net).
1205 2005-10-23 Jim Evins <evins@snaught.com>
1208 * libglabels/xml.c: (gl_xml_get_prop_string),
1209 (gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
1210 (gl_xml_is_node), (gl_xml_get_node_content):
1211 Added new XML utility functions.
1212 * libglabels/xml-paper.c:
1213 * libglabels/xml-template.c:
1215 Cleanup by using new xml utilities created above.
1216 * libglabels/paper.c: (gl_paper_free):
1217 * src/file.c: (new_response):
1218 * src/object-editor-image-page.c: (add_image_filters_to_chooser):
1219 * src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
1220 (gl_pixbuf_cache_get_pixbuf):
1221 * src/ui-property-bar.c:
1222 (gl_ui_property_bar_construct_color_combo):
1223 * src/view-highlight.c: (gl_view_highlight_finalize):
1224 * src/view-image.c: (update_object_from_editor_cb):
1225 * src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
1226 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
1227 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
1228 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
1229 (draw_markup_margin_round), (draw_markup_margin_cd),
1230 (draw_markup_margin_cd_bc):
1231 * src/wdgt-mini-preview.c: (mini_outline_list_new):
1232 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
1233 Plugged various memory leaks located with valgrind.
1234 * src/view-image.c: (update_canvas_item_from_object_cb):
1235 Don't allow a width or height of zero when drawing pixbuf.
1237 2005-10-22 Jim Evins <evins@snaught.com>
1239 * libglabels/xml-paper.c:
1240 * libglabels/xml-template.c:
1243 * src/bc-gnubarcode.c:
1244 * src/canvas-hacktext.c:
1246 * src/object-editor-data-page.c:
1247 * src/print-dialog.c:
1250 * src/template-designer.c:
1252 * src/ui-property-bar.c:
1254 * src/view-barcode.c:
1256 * src/view-ellipse.c:
1261 * src/wdgt-media-select.c:
1262 * src/xml-label-04.c:
1263 * src/xml-label-191.c:
1265 Modified to compile warning free with gcc-4.0. Mostly
1266 casting to change signedness of characters. Did not
1267 attack gnu-barcode library yet.
1269 2005-10-22 Jim Evins <evins@snaught.com>
1271 * src/glabels.c: (main):
1272 * src/splash.c: (gl_splash):
1273 Removed some small memory leaks.
1277 2005-09-19 Jim Evins <evins@snaught.com>
1279 * data/glade/property-bar.glade:
1280 Remove items from font_family_combo. This prevents the
1281 double entry after adding text model and list of fonts.
1282 * src/ui-property-bar.c: (reset_to_default_properties):
1283 Free font_family_list.
1285 2005-07-01 Jim Evins <evins@snaught.com>
1288 Updated italian translation (Daniele Medri)
1290 2005-06-26 Jim Evins <evins@snaught.com>
1292 * docs/libglabels/libglabels-decl-list.txt:
1293 Somehow never got checked in before.
1294 * docs/libglabels/libglabels.types:
1295 Removed -- don't need it afterall.
1297 2005-06-20 Jim Evins <evins@snaught.com>
1300 Final prep for 2.1.1 release.
1302 2005-06-20 Jim Evins <evins@snaught.com>
1305 Final preps for 2.1.1 release.
1306 * docs/libglabels/libglabels.types:
1307 Somehow never got checked in before.
1309 Bring up-to-date with recent reorg of ui code.
1312 2005-06-19 Jim Evins <evins@snaught.com>
1314 * src/template-designer.c: (construct_layout_page):
1315 Removed attempt to match background color of mini preview widget to
1318 2005-06-17 Jim Evins <evins@snaught.com>
1320 * help/C/figures/merge-ex2-4.png:
1321 * help/C/glabels.xml:
1322 Fixed spelling error.
1324 2005-06-13 Jim Evins <evins@snaught.com>
1326 * help/C/figures/merge-ex1-1.png:
1327 * help/C/figures/merge-ex1-2.png:
1328 * help/C/figures/merge-ex1-3.png:
1329 * help/C/figures/merge-ex1-4.png:
1330 * help/C/figures/merge-ex2-1.png:
1331 * help/C/figures/merge-ex2-2.png:
1332 * help/C/figures/merge-ex2-3.png:
1333 * help/C/figures/merge-ex2-4.png:
1334 Added figures for document merge tutorial.
1335 * help/C/glabels.xml:
1336 Added document merge tutorial.
1338 2005-05-19 Jim Evins <evins@snaught.com>
1340 * data/glade/merge-properties-dialog.glade:
1341 Fixed irregular spacing.
1342 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
1343 (gl_merge_properties_dialog_construct):
1344 Set outer padding and remove separator.
1346 2005-05-18 Jim Evins <evins@snaught.com>
1350 Removed glHigDialog class.
1351 * src/file.c: (gl_file_new), (create_new_dialog_widgets),
1352 (gl_file_properties), (create_properties_dialog_widgets):
1353 * src/prefs-dialog.h:
1354 * src/prefs-dialog.c: (gl_prefs_dialog_get_type),
1355 (gl_prefs_dialog_init), (gl_prefs_dialog_construct):
1356 * src/print-dialog.h:
1357 * src/prefs-dialog.h:
1358 * src/print-dialog.c: (gl_print_dialog_get_type),
1359 (gl_print_dialog_init), (gl_print_dialog_construct):
1360 Replaced all instances of glHigDialog with GtkDialog.
1362 2005-05-17 Jim Evins <evins@snaught.com>
1366 Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
1367 * src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
1368 (save_as_response), (gl_file_close):
1369 Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.
1371 2005-05-15 Jim Evins <evins@snaught.com>
1373 * src/ui-commands.h:
1381 A little code reformatting -- no functional changes.
1383 2005-05-14 Jim Evins <evins@snaught.com>
1386 Removed obsolete macros.
1388 Added marshalling template to support new view signal: "context_menu_activate."
1390 * src/view.c: (gl_view_class_init), (gl_view_construct),
1391 (canvas_event_arrow_mode):
1392 - Removed hardcoded context menus and added new signal "context_menu_activate"
1393 to push this up to the uimanager.
1394 - Removed merge properties and print dialogs so that they can be managed with
1395 the window by the uimanager.
1396 * src/merge-properties-dialog.h:
1397 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
1398 (gl_merge_properties_dialog_construct):
1399 Changed calling convention of gl_merge_properties_dialog_new() to use
1400 glLabel and GtkWindow instead of view to make more consistent with other
1402 * src/print-dialog.h:
1403 * src/print-dialog.c: (gl_print_dialog_new),
1404 (gl_print_dialog_construct):
1405 Removed last artifact of libbonoboui.
1406 * src/ui-commands.c: (gl_ui_cmd_file_print),
1407 (gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
1408 Reconciled style for launching dialogs.
1409 * src/ui.c: (gl_ui_new):
1410 Added context menus to ui manager.
1411 * src/view-object.c: (item_event_arrow_mode):
1412 No longer try to select objects with right-click.
1414 * src/window.c: (gl_window_init), (gl_window_set_label),
1415 (context_menu_activate_cb):
1416 Context menus and all dialogs are now managed in a consistent way in window
1419 2005-05-11 Jim Evins <evins@snaught.com>
1422 * src/window.c: (gl_window_init), (gl_window_destroy):
1423 * src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
1424 * src/ui-commands.c: (gl_ui_cmd_file_open_recent):
1425 Moved management of recent_view back from window.c to ui.c -- it just feels
1428 2005-05-10 Jim Evins <evins@snaught.com>
1431 * src/window.c: (gl_window_init):
1433 * src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
1434 (menu_item_select_cb), (menu_item_deselect_cb):
1435 Added GtkStatusbar which displays menu tooltips.
1437 2005-05-09 Jim Evins <evins@snaught.com>
1439 Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
1444 Removed dependencies on libbonoboui.
1446 * data/ui/Makefile.am:
1447 * data/ui/glabels-ui.xml:
1448 Removed data/ui directory.
1449 * data/glade/Makefile.am:
1450 * data/property-bar.glade:
1451 Added glade description of property-bar for new libglade implementation
1458 * src/ui-commands.h:
1459 * src/ui-commands.c:
1460 Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
1461 since the distinction between "commands" and "tools" is no longer that clear.
1464 Modified to expect glWindow instead of GtkWindow. gl_file_open_recent()
1465 no longer has knowledge of eggRecent*.
1466 * src/glabels.c: (main):
1467 Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
1469 * src/object-editor.c: (gl_object_editor_init):
1470 Make sure notebook does not respond to a "show_all" on the parent.
1471 * src/recent-files/Makefile.am:
1472 * src/recent-files/*.[ch]
1473 Updated from latest version of libegg which now has a view based on
1474 GtkUIManager. Removed unused bonobo and gtk views.
1475 * src/ui-property-bar.h:
1476 * src/ui-property-bar.c:
1477 New implementation based on libglade.
1480 Sidebar is now simply a GtkWidget and does not expect to be a part of
1481 a libbonoboui interface.
1486 Converted for use with GtkUIManager.
1489 Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
1490 to create menus and toolbars.
1492 2005-04-25 Jim Evins <evins@snaught.com>
1494 * data/templates/misc-iso-templates.xml:
1495 Added Fellows 04715 template provided by Steve Saxon.
1497 Updated acknowledgement for above.
1499 2005-04-23 Jim Evins <evins@snaught.com>
1501 * src/util.c: (gl_util_combo_box_set_strings):
1502 Make sure to clear model before loading a new list of strings.
1503 * src/wdgt-media-select.h:
1504 * src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
1505 (gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
1506 (template_combo_changed_cb), (prefs_changed_cb),
1507 (gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
1508 (gl_wdgt_media_select_get_page_size),
1509 (gl_wdgt_media_select_set_page_size):
1510 Replaced the deprecated GtkCombo widget with the new
1513 2005-04-21 Jim Evins <evins@snaught.com>
1515 * data/glade/template-designer.glade:
1516 * src/template-designer.c: (construct_pg_size_page),
1517 (pg_size_page_changed_cb), (build_template):
1518 Replaced the deprecated GtkCombo widget with the new
1521 2005-04-20 Jim Evins <evins@snaught.com>
1523 * data/glade/prefs-dialog.glade:
1524 * src/prefs-dialog.c: (construct_object_page),
1525 (update_object_page_from_prefs), (update_prefs_from_object_page):
1526 Replaced the deprecated GtkCombo widget with the new
1529 2005-04-19 Jim Evins <evins@snaught.com>
1531 * data/glade/object-editor.glade:
1532 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
1533 (style_changed_cb), (gl_object_editor_set_bc_style),
1534 (gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
1535 (gl_object_editor_get_bc_color):
1536 * src/object-editor-data-page.c:
1537 (gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
1538 (gl_object_editor_get_data):
1539 * src/object-editor-edit-page.c:
1540 (gl_object_editor_prepare_edit_page), (insert_button_cb):
1541 * src/object-editor-fill-page.c:
1542 (gl_object_editor_prepare_fill_page),
1543 (gl_object_editor_set_fill_color),
1544 (gl_object_editor_get_fill_color):
1545 * src/object-editor-image-page.c:
1546 (gl_object_editor_prepare_image_page),
1547 (gl_object_editor_set_image), (gl_object_editor_get_image):
1548 * src/object-editor-line-page.c:
1549 (gl_object_editor_prepare_line_page),
1550 (gl_object_editor_set_line_color),
1551 (gl_object_editor_get_line_color):
1552 * src/object-editor-private.h:
1553 * src/object-editor-text-page.c:
1554 (gl_object_editor_prepare_text_page),
1555 (gl_object_editor_set_font_family),
1556 (gl_object_editor_get_font_family),
1557 (gl_object_editor_set_text_color),
1558 (gl_object_editor_get_text_color):
1559 * src/object-editor.c: (gl_object_editor_set_key_names):
1561 In the object editor: replaced all instances of the deprecated
1562 GtkCombo widget with the new GtkComboBox.
1564 2005-04-18 Jim Evins <evins@snaught.com>
1567 Neglected to save this one in previous checkin to support
1570 2005-04-17 Jim Evins <evins@snaught.com>
1572 * libglabels/libglabels-private.h:
1573 * libglabels/paper.c:
1574 * libglabels/paper.h:
1575 * libglabels/template.c:
1576 * libglabels/template.h:
1577 * libglabels/xml-paper.c:
1578 * libglabels/xml-paper.h:
1579 * libglabels/xml-template.c:
1584 * src/bc-gnubarcode.c:
1595 * src/label-barcode.c:
1597 * src/label-ellipse.c:
1598 * src/label-image.c:
1599 * src/label-image.h:
1601 * src/label-object.c:
1605 * src/merge-properties-dialog.c:
1606 * src/object-editor-bc-page.c:
1607 * src/object-editor-data-page.c:
1608 * src/object-editor-edit-page.c:
1609 * src/object-editor-fill-page.c:
1610 * src/object-editor-image-page.c:
1611 * src/object-editor-line-page.c:
1612 * src/object-editor-lsize-page.c:
1613 * src/object-editor-position-page.c:
1614 * src/object-editor-private.h:
1615 * src/object-editor-size-page.c:
1616 * src/object-editor-text-page.c:
1617 * src/object-editor.c:
1618 * src/object-editor.h:
1619 * src/pixbuf-cache.h:
1620 * src/prefs-dialog.c:
1621 * src/prefs-dialog.h:
1622 * src/prefs-model.c:
1623 * src/prefs-model.h:
1625 * src/print-dialog.c:
1626 * src/print-dialog.h:
1634 * src/template-designer.c:
1635 * src/template-designer.h:
1638 * src/ui-property-bar.c: (gl_ui_property_bar_construct):
1644 * src/view-barcode.c:
1646 * src/view-ellipse.c:
1647 * src/view-highlight.c:
1648 * src/view-highlight.h:
1651 * src/view-object.c:
1652 * src/view-object.h:
1656 * src/wdgt-chain-button.c:
1657 * src/wdgt-media-select.c:
1658 * src/wdgt-media-select.h:
1659 * src/wdgt-mini-preview.c:
1660 * src/wdgt-mini-preview.h:
1661 * src/wdgt-print-copies.c:
1662 * src/wdgt-print-copies.h:
1663 * src/wdgt-print-merge.c:
1664 * src/wdgt-print-merge.h:
1665 * src/wdgt-rotate-label.c:
1666 * src/wdgt-rotate-label.h:
1669 * src/xml-label-04.c:
1670 * src/xml-label-191.c:
1672 Cleanup of header files:
1673 - all header files are now stand-alone, verified by including
1674 first in corresponding "c" files
1675 - replaced blanket includes of gnome, gtk, and glib with
1678 2005-04-16 Jim Evins <evins@snaught.com>
1680 * data/glade/Makefile.am:
1681 * data/glade/merge-properties-dialog.glade:
1682 Added merge properties dialog glade description file.
1683 * src/merge-properties-dialog.h:
1684 * src/merge-properties-dialog.c:
1685 (gl_merge_properties_dialog_get_type),
1686 (gl_merge_properties_dialog_init),
1687 (gl_merge_properties_dialog_finalize),
1688 (gl_merge_properties_dialog_new),
1689 (gl_merge_properties_dialog_construct), (type_changed_cb),
1690 (src_changed_cb), (response_cb), (load_tree),
1691 (record_select_toggled_cb), (select_all_button_clicked_cb),
1692 (unselect_all_button_clicked_cb):
1693 Modified merge properties dialog to use libglade. Added
1694 "select all" and "unselect all" buttons.
1695 * src/merge-text.c: (parse_line):
1696 Handle empty lines better.
1697 * src/merge.c: (gl_merge_eval_key):
1698 Evaluate the key whether the record is selected or not.
1700 * src/util.c: (gl_util_combo_box_add_text_model):
1701 Since libglade does not use the gtk_combo_box_new_text()
1702 constructor for GtkComboBoxes, a utility function was created
1703 to add an appropriate text model to a GtkComboBox.
1704 * src/view.c: (gl_view_edit_merge_props):
1705 Removed unnecessary "show all's".
1707 2005-04-15 Jim Evins <evins@snaught.com>
1710 Updated russian translation (Vitaly Lipatov)
1711 * data/templates/misc-iso-templates.xml:
1712 Added templates for russian business cards provided by Vitaly Lipatov.
1714 Updated acknowledgements for above.
1716 2005-04-15 Jim Evins <evins@snaught.com>
1718 * data/templates/avery-us-templates.xml:
1719 Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
1720 * data/templates/misc-iso-templates.xml:
1721 Added Ryman standard CD/DVD template, provided by Dan Clark.
1723 Added acknowledgements for above.
1725 2005-04-10 Jim Evins <evins@snaught.com>
1727 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
1728 * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
1729 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
1730 (xml_parse_label_cd_node), (xml_parse_alias_node):
1731 * libglabels/xml.c: (gl_xml_get_prop_double),
1732 (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
1733 (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
1734 * src/xml-label-04.c: (xml04_parse_media_description),
1735 (xml04_parse_text_props), (xml04_parse_barcode_props),
1736 (xml04_parse_merge_properties):
1737 * src/xml-label-191.c: (xml191_parse_object),
1738 (xml191_parse_text_props), (xml191_parse_barcode_props),
1739 (xml191_parse_merge_fields), (xml191_parse_pixdata),
1740 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
1741 (xml191_parse_alias):
1742 * src/xml-label.c: (xml_parse_object_text),
1743 (xml_parse_object_barcode), (xml_parse_merge_fields),
1744 (xml_parse_pixdata), (xml_parse_toplevel_span):
1745 Make sure to use xmlFree for anything obtained from libxml
1746 in case libxml and glib use different memory management
1749 2005-04-08 Jim Evins <evins@snaught.com>
1752 * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
1753 (gl_util_combo_box_set_active_text):
1754 Added utility functions to simplify working with GtkComboBox
1756 * src/ui-property-bar.h:
1757 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
1758 (reset_to_default_properties), (update_text_properties),
1759 (font_family_changed_cb):
1760 Replaced deprecated GtkCombo with GtkComboBox.
1763 2005-04-03 Jim Evins <evins@snaught.com>
1766 * src/wdgt-image-select.h:
1767 * src/wdgt-image-select.c:
1768 Removed obsolete wdgt-image-select.[ch] files.
1769 * libglabels/paper.c: (gl_paper_dup):
1770 Fixed rename of parameter introduced during documentation
1772 * data/glade/object-editor.glade:
1773 * src/object-editor-image-page.c:
1774 (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
1775 (gl_object_editor_set_image), (gl_object_editor_get_image),
1776 (update_preview_cb), (add_image_filters_to_chooser):
1777 * src/object-editor-private.h:
1778 Replaced deprecated GnomePixmapEntry with
1779 GtkFileChooserButton.
1781 2005-04-02 Jim Evins <evins@snaught.com>
1783 * src/mygal/mygal-combo-box.c: (deactivate_arrow),
1784 (mygal_combo_box_popup_hide_unconditional),
1785 (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
1786 (mygal_combo_toggle_pressed), (mygal_combo_box_init),
1787 (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
1788 (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
1789 (cb_tearable_button_release), (mygal_combo_box_set_tearable):
1790 Renamed all internal gtk_combo functions to mygal_combo
1791 to prevent namespace confusion.
1793 2005-04-02 Jim Evins <evins@snaught.com>
1795 * src/mygal/color-palette.c: (color_palette_change_custom_color),
1796 (cust_color_set), (color_palette_setup):
1797 * src/mygal/color-palette.h:
1798 Replaced deprecated GnomeColorPicker with GtkColorButton.
1800 2005-04-02 Jim Evins <evins@snaught.com>
1802 * docs/libglabels/libglabels-sections.txt:
1803 * docs/libglabels/libglabels-undocumented.txt:
1804 * docs/libglabels/tmpl/enums.sgml:
1805 * docs/libglabels/tmpl/paper.sgml:
1806 * docs/libglabels/tmpl/xml-paper.sgml:
1807 * docs/libglabels/tmpl/xml-template.sgml:
1808 * libglabels/enums.h:
1809 * libglabels/paper.c: (gl_paper_dup):
1810 * libglabels/paper.h:
1811 * libglabels/xml-paper.c:
1812 * libglabels/xml-template.c:
1813 More documentation updates for libglabels.
1815 2005-03-23 Jim Evins <evins@snaught.com>
1818 Automatically updated.
1823 * docs/libglabels/Makefile.am:
1824 * docs/libglabels/libglabels-docs.sgml:
1825 * docs/libglabels/libglabels-sections.txt:
1826 * docs/libglabels/libglabels-undocumented.txt:
1827 * docs/libglabels/tmpl/enums.sgml:
1828 * docs/libglabels/tmpl/libglabels-unused.sgml:
1829 * docs/libglabels/tmpl/libglabels.sgml:
1830 * docs/libglabels/tmpl/paper.sgml:
1831 * docs/libglabels/tmpl/template.sgml:
1832 * docs/libglabels/tmpl/xml-paper.sgml:
1833 * docs/libglabels/tmpl/xml-template.sgml:
1834 * docs/libglabels/tmpl/xml.sgml:
1835 Added basic gtk-doc stuff to support documenting libglabels
1838 Updated function comments with gtk-doc markup.
1842 2005-03-22 Jim Evins <evins@snaught.com>
1844 Since the development version now requires gtk-2.6/gnome-2.10, I
1845 have made a first pass at removing deprecations.
1848 * libglabels/Makefile.am:
1850 Added configure option to turn on X_DISABLE_DEPRECATED flags.
1851 Also removed all remnants of HAVE_FILECHOOSER.
1852 * src/file.c: (gl_file_open_real):
1853 Removed code for old GtkFileSelection.
1854 * libglabels/libglabels-private.h:
1855 * libglabels/paper.c:
1856 * libglabels/template.c:
1857 * libglabels/xml-paper.c:
1858 * libglabels/xml-template.c:
1862 * src/glabels-batch.c:
1866 * src/merge-properties-dialog.c:
1868 * src/object-editor.c:
1869 * src/prefs-dialog.c:
1871 * src/print-dialog.c:
1874 * src/template-designer.c:
1875 * src/ui-property-bar.c:
1877 * src/view-barcode.c:
1879 * src/view-ellipse.c:
1884 * src/wdgt-image-select.c:
1885 * src/wdgt-media-select.c:
1886 * src/wdgt-print-copies.c:
1887 * src/wdgt-print-merge.c:
1888 * src/wdgt-rotate-label.c:
1890 * src/xml-label-04.c:
1891 * src/xml-label-191.c:
1893 Added '#include <glib/gi18n.h>" where needed.
1894 Removed any unused '#include <gnome.h>"s.
1896 2005-03-22 Jim Evins <evins@snaught.com>
1898 * src/commands.c: (activate_url), (gl_cmd_help_about):
1899 Replaced GnomeAbout with GtkAboutDialog. Therefore the
1900 development version of glabels now depends on GTK 2.6 and
1903 Updated library dependencies.
1905 2005-02-28 Jim Evins <evins@snaught.com>
1908 * data/templates/misc-iso-templates.xml:
1909 Added 'Ednet 45021' template provided by Ali Akcaagac
1912 2005-02-14 Jim Evins <evins@snaught.com>
1914 * data/templates/avery-us-templates.xml:
1915 Updated templates to use inches instead of points.
1916 * src/print-dialog.c: (printer_page_new):
1917 Changed packing style when adding printer selector widget. This fixes
1920 2005-02-13 Jim Evins <evins@snaught.com>
1924 Updated spanish translations. (sergio rivadero)
1926 2005-02-05 Jim Evins <evins@snaught.com>
1928 Some cleanup to libglabels.
1931 Updated version to 2.1.1cvs. Added generation of libglabels.pc.
1932 * libglabels/libglabels.pc.in
1934 * libglabels/enums.h
1935 Created. Currently only contains glUnitsType which provides enumerations
1936 for all possible units of distance.
1937 * libglabels/Makefile.am:
1938 Incorporated new files enums.h and libglabels.pc[.in].
1939 * libglabels/libglabels.h:
1941 * libglabels/template.h:
1942 * libglabels/template.c: (gl_template_layout_new):
1943 Changed parameters nx and ny to gint from gdouble.
1945 * libglabels/xml.c: (gl_xml_get_prop_length),
1946 (gl_xml_set_prop_length), (gl_xml_set_default_units):
1947 Added support for different output units.
1948 * src/prefs-dialog.c: (update_locale_page_from_prefs),
1949 (update_prefs_from_locale_page):
1950 * src/prefs-model.c: (string_to_units), (units_to_string):
1951 * src/prefs-model.h:
1952 * src/prefs.c: (gl_prefs_get_units_per_point),
1953 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
1954 (gl_prefs_get_units_string):
1956 * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
1957 Reconciled all length enumerations with the new enumerations provided
1958 in libglabels/enums.h.
1960 2005-02-03 Jim Evins <evins@snaught.com>
1963 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
1965 Updated Italian translations. (Daniele Medri)
1967 Updated credits to reflect above translations.
1970 2005-01-22 Jim Evins <evins@snaught.com>
1975 Added MESSAGE-OF-DOOM to EXTRA_DIST.
1977 Final prep for 2.1.0.
1979 Set version to 2.1.0. Output MESSAGE-OF-DOOM.
1981 Added '--remove-original' flag to desktop-file-install, so that there is
1982 only one menu entry.
1984 2005-01-20 Jim Evins <evins@snaught.com>
1986 * data/glade/object-editor.glade:
1987 - Font family entry should not be editable.
1988 - img_key_entry should have sensitivity=YES, so that it follows the
1989 sensitivity of img_key_combo.
1991 2005-01-19 Jim Evins <evins@snaught.com>
1994 Give credit to Frederic Ruaudel for the color merge patches.
1996 2005-01-18 Frederic Ruaudel <grumz@users.sf.net>
1998 Add support to merge color for all other color attribute (Feature
1999 Requests item #1008635. If the data is invalid, the color used is transparent
2000 (GL_COLOR_NONE). The format for color in merge data file are those accepted
2001 by gdk_color_parse() these include name for a color from rgb.txt, such as
2002 DarkSlateGray, or a hex specification such as #305050. File format has been
2003 changed but backward compatibility is preserved for all format. For
2004 box/ellipse/line, keep attribute "line_color" for static color or replace by
2005 "line_color_field" for merge data. For text/barcode objects, keep attribute
2006 "color" for static color or replace by "color_field" for merge data. In the
2007 edit canvas window, merged color are represented by half-transparent black
2010 * data/dtd/glabels-2.0.dtd:
2011 Added line_color_field to line_attrs. Added color_field to
2012 Object-barcode and Span.
2013 * data/glade/object-editor.glade:
2014 Modify the layout of the editor to add merge possibility to color options
2016 Fix a copy/paste error in a comment
2018 Add default color for merge color representation in the editor canvas.
2019 * src/label-barcode.c:
2020 * src/object-editor-bc-page.c:
2021 * src/view-barcode.c:
2022 Add merge color support for barcode color.
2025 Add merge color support for box border color.
2026 * src/label-ellipse.c:
2027 * src/view-ellipse.c:
2028 Add merge color support for ellipse border color.
2031 Add merge color support for line color.
2032 * src/label-object.c:
2033 * src/label-object.h:
2034 * src/object-editor.c:
2035 * src/object-editor.h:
2036 * src/ui-property-bar.c:
2039 * src/xml-label-04.c:
2040 * src/xml-label-191.c:
2041 Add support for merging to other color attribute.
2043 * src/object-editor-text-page.c:
2045 Add merge color support for text color.
2046 * src/object-editor-fill-page.c:
2047 Change a blocked handler that didn't match the good widget. Fix the type
2048 of some debug message.
2049 * src/object-editor-line-page.c:
2050 Add merging support to line color option.
2051 * src/object-editor-private.h:
2052 Add variables for new widget.
2054 Modify the draw functions to get merge data if needed.
2056 Change the default size of the window in order to see all widget in the
2057 "text style tab" of the editor.
2059 Modify the parser to record/retreive the field value for objects that need
2060 "color" attribute. For box/ellipse/line, keep attribute "line_color" for
2061 static color or replace by "line_color_field" for merge data. For
2062 text/barcode objects, keep attribute "color" for static color or replace
2063 by "color_field" for merge data.
2065 2005-01-17 Jim Evins <evins@snaught.com>
2067 * src/view.c: (screen_changed_cb):
2068 Don't do anything if we don't have a screen.
2070 2005-01-06 Jim Evins <evins@snaught.com>
2072 * src/view.c: (get_home_scale):
2073 Fixed bad call to gtk_widget_has_screen() -- huh?.
2075 2005-01-06 Jim Evins <evins@snaught.com>
2077 * data/dtd/glabels-2.0.dtd:
2078 Added fill_color_field to fill_attrs. Also added xmlns attribute to all
2081 2005-01-06 Jim Evins <evins@snaught.com>
2083 * data/glade/object-editor.glade:
2084 Set entries for fill and data field key dropdowns to NOT editable.
2085 * src/view-box.c: (construct_properties_editor):
2086 * src/view-ellipse.c: (construct_properties_editor):
2087 Update object editor when label's merge property has changed.
2088 * src/xml-label.c: (xml_parse_object_ellipse):
2089 Completed the merge color support for the ellipse item.
2091 2005-01-06 Frederic Ruaudel <grumz@users.sf.net>
2093 Add support to merge color for object that have a "Fill color" attribute (Feature
2094 Requests item #1008635. If the data is invalid, the color used is transparent
2095 (GL_COLOR_NONE). The format for color in merge data file are those accepted
2096 by gdk_color_parse() these include name for a color from rgb.txt, such as
2097 DarkSlateGray, or a hex specification such as #305050. File format has been
2098 changed but backward compatibility is preserved for all format. For box/ellipse,
2099 keep attribute "fill_color" for static color or replace by "fill_color_field"
2102 * data/glade/object-editor.glade:
2103 Modify "Fill" tab to add the merge key combo and convert the labels into
2107 Add "glColorNode" structure and associated functions to manage it. This
2108 structure is equivalent for color than the "glTextNode". It holds the color
2110 * src/label-object.h:
2111 * src/label-object.c:
2113 * src/label-ellipse.c:
2114 * src/ui-property-bar.c:
2118 * src/view-ellipse.c:
2119 * src/xml-label-04.c:
2120 * src/xml-label-191.c:
2121 Change functions of objects that have a "fill color" attribute to use the
2122 new "glColorNode" structure. Use barcode code as example.
2124 Add the color.[ch] file to glabels_batch binary that now need support for
2126 * src/object-editor.h:
2127 * src/object-editor.c:
2128 * src/object-editor-fill-page.c:
2129 Manage the new widget of the editor's "Fill" tab : key combo and radio button
2130 to choose between static color or merge key. Use barcode code as example.
2131 * src/object-editor-private.h:
2132 Add new widget in the "_glObjectEditorPrivate" structure.
2134 Modify the draw functions to get merge data if needed.
2136 Modify the parser to record/retreive the field value for objects that need
2137 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
2138 color or "fill_color_field" for merge data.
2140 2005-01-04 Jim Evins <evins@snaught.com>
2143 * data/templates/avery-iso-templates.xml:
2144 * data/templates/misc-iso-templates.xml:
2145 * data/templates/misc-us-templates.xml:
2146 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
2149 2004-11-26 Jim Evins <evins@snaught.com>
2153 Updated french translations provided by Florent Morel <florent@taket.org>.
2154 * src/view-barcode.c:
2156 * src/view-ellipse.c:
2160 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
2161 thus _() strings were not being translated.
2163 2004-11-14 Jim Evins <evins@snaught.com>
2166 * src/debug.c: (gl_debug_init), (gl_debug):
2167 Borrowed from gedit: use environmental variables to select debug
2170 Removed unused include of debug.h.
2171 * src/glabels.c: (main):
2172 Added call to gl_debug_init(), and removed debug clutter from command line
2174 * src/glabels-batch.c: (main):
2175 Added call to gl_debug_init().
2177 2004-11-13 Jim Evins <evins@snaught.com>
2179 Drawing and property toolbars were being initialized with the "icons and text"
2180 look in Fedora Core 3. Even though none of the buttons had any text attached to
2181 them, the buttons were being sized as if they were. This led to less real estate
2182 for the property editor, leading to Bug #1064630. The
2184 * data/ui/glabels-ui.xml:
2185 Added explicit "look" property to both drawing and property toolbars.
2186 * src/prefs-model.c: (gl_prefs_model_save_settings),
2187 (gl_prefs_model_load_settings):
2188 * src/prefs-model.h:
2189 Removed drawing_toolbar_button_style configuration parameter.
2190 * src/ui.c: (view_menu_item_toggled_cb),
2191 (set_app_drawing_toolbar_style):
2192 Do not attempt to adjust look property of the drawing toolbar.
2194 2004-10-28 Jim Evins <evins@snaught.com>
2196 * data/pixmaps/glabels-about-logo.png:
2199 2004-10-28 Jim Evins <evins@snaught.com>
2201 * data/man/glabels.1:
2202 * src/glabels-batch.c: (main):
2204 * src/print.c: (gl_print_batch):
2206 Added option to glabels-batch to select the first label to begin
2209 2004-09-26 Jim Evins <evins@snaught.com>
2211 * data/desktop/glabels.desktop.in:
2212 Point to app icon, "glabels.png"
2213 * data/mime/glabels.keys.in:
2214 Point at mime icon, "glabels-application-x-glabels.png"
2215 * data/pixmaps/Makefile.am:
2216 Added glabels_app_icondir. Renamed icons.
2217 * data/pixmaps/glabels.png:
2218 New cleaned up app icon. Deleted glabels-icon.png.
2219 * data/pixmaps/glabels-application-x-glabels.png:
2221 * data/pixmaps/glabels-splash.png:
2222 Renamed glabels-logo to glabels-splash to be more correct about role.
2224 * src/template-designer.c:
2225 Point at app icon, "glabels.png"
2227 Point at renamed splash image, "glabels-splash.png"
2229 2004-08-22 Jim Evins <evins@snaught.com>
2232 * src/glabels-batch.c: (main):
2233 Applied patch with minor mods to allow selecting merge source and
2234 crop-marks on glabels-batch's command line. Original patch provided by
2235 José Dapena Paz <jdapena@igalia.com>.
2237 2004-08-15 Jim Evins <evins@snaught.com>
2239 * data/desktop/glabels.desktop.in:
2240 - Added encoding line
2241 - Removed period from comment
2242 - Fixed Terminal line, changed "0" to "false"
2243 - Added semicolen to Categories line
2245 - Made sure desktop.in comment string above still translated properly
2247 2004-08-14 Jim Evins <evins@snaught.com>
2249 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
2250 * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
2251 * src/xml-label-191.c: (xml191_parse_sheet):
2252 Fixed improper freeing of gettext strings. Merged from 2.0.1.
2254 Reconciled libglabels versioning with 2.0.1.
2257 2004-08-14 Jim Evins <evins@snaught.com>
2260 Updated version to 2.1cvs.
2262 2004-08-14 Jim Evins <evins@snaught.com>
2265 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
2267 2004-08-14 Jim Evins <evins@snaught.com>
2269 Fixes for Bug #1008181.
2271 * src/bc.c: (gl_barcode_default_digits):
2272 Make a format of zero digits, harmless.
2273 * src/xml-label.c: (xml_parse_object_barcode):
2274 Set default value of the format property of barcode objects to 10, not
2275 zero. This will prevent crashes when reading pre 2.0.x files.
2277 2004-08-09 Jim Evins <evins@snaught.com>
2281 * help/C/glabels-C.omf:
2282 * help/C/glabels.xml:
2283 Brought documentation up-to-date for 2.0.0 release.
2285 2004-08-09 Jim Evins <evins@snaught.com>
2287 These are hopefully the final preparations for 2.0.0.
2289 * data/mime/Makefile.am:
2290 Include glabels.xml in EXTRA_DIST.
2292 - Updated comment style.
2293 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
2294 - Added package and version info to configuration printout
2295 - Update version to 2.0.0
2296 * libglabels/Makefile.am:
2297 Use the new LIBGLABELS_VERSION_INFO macro.
2299 2004-08-09 Jim Evins <evins@snaught.com>
2303 Cleanup of required library macros.
2305 2004-08-08 Jim Evins <evins@snaught.com>
2309 - More specific of what to install in /usr/bin and /usr/lib
2310 - Remove built mime registration files from staging directory
2312 2004-08-08 Jim Evins <evins@snaught.com>
2314 * data/mime/Makefile.am:
2315 Fixed typo: key_files should have been keys_files.
2317 2004-08-08 Jim Evins <evins@snaught.com>
2319 Reorganization of runtime data files. Also added registration of mimetype with
2320 new freedesktop.org mime database if available.
2323 Moved files to appropriate subdirectories, creating local Makefile.am
2324 in each subdirectory.
2325 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
2326 These are now installed at $datadir/glabels/templates.
2327 - Moved glabels.1 to man subdirectory.
2328 - Moved glabels-2.0.dtd to dtd subdirectory.
2329 - Moved glabels.desktop.in to desktop subdirectory.
2330 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
2332 Moved "./pixmaps" to "./data/pixmaps"
2334 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
2336 Moved libglade files from src to data/glade. Created Makefile.am.
2338 Removed pixmaps from SUBDIRS.
2340 - Removed pixmaps from makefiles.
2341 - Added makefiles for new subdirs of data.
2342 - Added tests for freedesktop.org mime database.
2344 - Added tests for freedesktop.org mime database for post install and
2345 post un-install actions.
2346 * libglabels/Makefile.am:
2347 Moved system template files to $(datadir)/glabels/templates.
2348 * libglabels/libglabels-private.h:
2349 Moved system template files to $(datadir)/glabels/templates.
2351 - Accounted for movement of ui and libglade files.
2352 - Added missing .in files.
2353 - Reorganized by directory.
2355 Accounted for movement of ui and libglade files.
2356 * data/mime/glabels.xml.in:
2357 New file for registering with freedesktop.org mime database.
2359 2004-08-07 Jim Evins <evins@snaught.com>
2361 * src/recent-files/*:
2362 Re-synced to latest libegg/recent-files.
2364 2004-08-07 Jim Evins <evins@snaught.com>
2369 Renamed "./doc" directory to "./help" which contains user documentation,
2370 to be more consistent with other GNOME applications.
2373 2004-07-26 Jim Evins <evins@snaught.com>
2375 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
2376 Corrected button order of merge properties dialog.
2378 2004-07-18 Jim Evins <evins@snaught.com>
2380 * data/glabels-2.0.dtd:
2381 * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
2382 (gl_barcode_get_prefered_n):
2384 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
2385 (gl_label_barcode_get_props), (get_size):
2386 * src/label-barcode.h:
2387 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
2388 (style_changed_cb), (gl_object_editor_set_bc_style),
2389 (gl_object_editor_get_bc_style):
2390 * src/object-editor-data-page.c: (data_radio_toggled_cb),
2391 (gl_object_editor_set_data), (gl_object_editor_get_data):
2392 * src/object-editor-private.h:
2393 * src/object-editor.c: (gl_object_editor_set_key_names):
2394 * src/object-editor.glade:
2395 * src/object-editor.h:
2396 * src/print.c: (draw_barcode_object):
2397 * src/view-barcode.c: (update_object_from_editor_cb),
2398 (update_editor_from_object_cb),
2399 (gl_view_barcode_create_event_handler), (draw_barcode):
2400 * src/xml-label-04.c: (xml04_parse_barcode_props):
2401 * src/xml-label-191.c: (xml191_parse_barcode_props):
2402 * src/xml-label.c: (xml_parse_object_barcode),
2403 (xml_create_object_barcode):
2404 Added "format" attribute to barcode objects. This attribute is used
2405 to properly format freeform barcodes barcodes prior to merge data is
2406 applied, so that barcodes can be accurately layed out. This addresses
2407 remaining issues of feature request #824787. Also added an example of
2408 the format in the object editor.
2410 2004-07-12 Jim Evins <evins@snaught.com>
2412 Various code cleanups.
2414 * src/label-barcode.c:
2415 Removed unneeded include of gnome-glyphlist.h.
2417 * src/label-text.c: (get_size):
2418 Fixed memory leak: unref glyphlists when done with them.
2420 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
2421 * src/object-editor-data-page.c:
2422 (gl_object_editor_prepare_data_page):
2423 * src/object-editor-image-page.c:
2424 (gl_object_editor_prepare_image_page):
2425 * src/object-editor-line-page.c:
2426 (gl_object_editor_prepare_line_page):
2427 * src/object-editor-lsize-page.c:
2428 (gl_object_editor_prepare_lsize_page):
2429 * src/object-editor-position-page.c:
2430 (gl_object_editor_prepare_position_page):
2431 * src/object-editor-size-page.c:
2432 (gl_object_editor_prepare_size_page):
2433 * src/object-editor-text-page.c:
2434 (gl_object_editor_prepare_text_page):
2435 Removed unneeded size groups, originally intended to keep widgets aligned.
2436 Now use tables to lay these out in object-editor.glade.
2438 * src/print.c: (draw_text_object):
2439 Fixed memory leak: unref glyphlists when done with them.
2441 * src/view-barcode.c: (draw_barcode):
2442 Fixed memory leak: unref glyphlists when done with them.
2444 * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
2445 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
2447 - Fixed memory leak: unref glyphlists when done with them.
2449 2004-07-11 Jim Evins <evins@snaught.com>
2451 * data/glabels-2.0.dtd:
2452 * src/label-text.c: (gl_label_text_instance_init), (copy),
2453 (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
2455 * src/object-editor-private.h:
2456 * src/object-editor-text-page.c:
2457 (gl_object_editor_prepare_text_page),
2458 (gl_object_editor_set_text_auto_shrink),
2459 (gl_object_editor_get_text_auto_shrink):
2460 * src/object-editor.c: (gl_object_editor_set_key_names):
2461 * src/object-editor.glade:
2462 * src/object-editor.h:
2463 * src/print.c: (draw_text_object):
2464 * src/view-text.c: (update_object_from_editor_cb),
2465 (update_editor_from_object_cb):
2466 * src/xml-label.c: (xml_parse_object_text),
2467 (xml_create_object_text):
2468 Added option to allow document merge to auto shrink text size to fit
2469 within the text box. The code in print.c that actually shrinks the
2470 text is loosely based on a patch submitted by Mark Harrison
2471 <mark.harrison@velocitynet.com.au>. This addresses feature request
2474 2004-07-11 Jim Evins <evins@snaught.com>
2476 * data/glabels-2.0.dtd:
2477 * libglabels/template.c: (gl_template_rect_label_type_new),
2478 (gl_template_round_label_type_new),
2479 (gl_template_cd_label_type_new), (gl_template_label_type_dup),
2480 (template_full_page):
2481 * libglabels/template.h:
2482 * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
2483 (xml_create_label_node):
2484 * pixmaps/ex-rect-size.png:
2485 * src/print.c: (clip_to_outline), (clip_punchouts):
2486 * src/template-designer.c: (construct_rect_size_page),
2487 (rect_size_page_prepare_cb), (layout_page_prepare_cb),
2489 * src/template-designer.glade:
2490 * src/xml-label-191.c: (xml191_parse_label):
2491 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
2492 properties for rectangular labels. Templates remain backwards compatible,
2493 but this breaks the libglabels API (I don't know of anyone outside of
2494 glabels using libglabels at this time -- what can I say, the program is
2495 is still "unstable"). This addresses the suggestion in Feature Request
2498 2004-07-05 Jim Evins <evins@snaught.com>
2499 * src/print.c: (print_crop_marks), (draw_outline):
2500 Changed crop marks and label outlines to black, instead of 25% gray.
2501 This addresses debian Bug #257460.
2503 2004-07-05 Jim Evins <evins@snaught.com>
2505 * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
2506 * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
2507 Preserve "is_default" of fill and line color_combos when creating from
2510 2004-07-02 Jim Evins <evins@snaught.com>
2513 Created man page. Based on page submitted by Matthew J. Lockner, however
2514 it has been severely edited.
2516 * data/avery-other-templates.xml
2517 * data/misc-other-templates.xml:
2518 Started new files for predefined templates with non-standard sheet sizes.
2519 These have been initially populated with the Avery 06141 and
2520 OfficeMax #86112, both provided by Matthew J. Lockner.
2523 Install above manpage and template files.
2526 Make sure we install man pages.
2528 * src/glabels-batch.c:
2529 Changed short form of help option to '-?' to be consistent with glabels.
2532 Added acknowledgement for above labels.
2534 2004-07-02 Jim Evins <evins@snaught.com>
2536 * src/glabels.c: (main), (save_session_cb):
2537 - Now include libbonoboui.h, recent.h, and file.h to provide missing
2539 - save_session_cb() now returns gboolean.
2540 - Minor formatting changes.
2544 - Now include file.h to provide missing prototype.
2545 - gl_window_get_type() now returns GType, not guint. I believe this may
2546 ultimately be cause of the segfault reported in Bug #982287, since
2547 GType is actually a gulong, which may not be compatible on other
2548 architectures (64bit) -- I cannot personally test this at this time.
2549 I was sloppy in several other xxx_get_type() functions which also
2550 returned guint -- see next group of files:
2552 * src/window.c: (gl_window_get_type):
2553 * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
2554 * src/canvas-hacktext.h:
2555 * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
2556 (gl_hig_category_get_type), (gl_hig_vbox_get_type),
2557 (gl_hig_hbox_get_type):
2559 * src/label-barcode.c: (gl_label_barcode_get_type):
2560 * src/label-barcode.h:
2561 * src/label-box.c: (gl_label_box_get_type):
2563 * src/label-ellipse.c: (gl_label_ellipse_get_type):
2564 * src/label-ellipse.h:
2565 * src/label-image.c: (gl_label_image_get_type):
2566 * src/label-image.h:
2567 * src/label-line.c: (gl_label_line_get_type):
2569 * src/label-object.c: (gl_label_object_get_type):
2570 * src/label-object.h:
2571 * src/label-text.c: (gl_label_text_get_type):
2573 * src/label.c: (gl_label_get_type):
2575 * src/merge-properties-dialog.c:
2576 (gl_merge_properties_dialog_get_type):
2577 * src/merge-properties-dialog.h:
2578 * src/merge-text.c: (gl_merge_text_get_type):
2580 * src/merge.c: (gl_merge_get_type):
2582 * src/object-editor.c: (gl_object_editor_get_type):
2583 * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
2584 * src/prefs-dialog.h:
2585 * src/prefs-model.c: (gl_prefs_model_get_type):
2586 * src/prefs-model.h:
2587 * src/print-dialog.c: (gl_print_dialog_get_type):
2588 * src/print-dialog.h:
2589 * src/template-designer.c: (gl_template_designer_get_type):
2590 * src/template-designer.h:
2591 * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
2592 * src/ui-property-bar.h:
2593 * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
2595 * src/view-barcode.c: (gl_view_barcode_get_type):
2596 * src/view-barcode.h:
2597 * src/view-box.c: (gl_view_box_get_type):
2599 * src/view-ellipse.c: (gl_view_ellipse_get_type):
2600 * src/view-ellipse.h:
2601 * src/view-highlight.c: (gl_view_highlight_get_type):
2602 * src/view-highlight.h:
2603 * src/view-image.c: (gl_view_image_get_type):
2605 * src/view-line.c: (gl_view_line_get_type):
2607 * src/view-object.c: (gl_view_object_get_type):
2608 * src/view-object.h:
2609 * src/view-text.c: (gl_view_text_get_type):
2611 * src/view.c: (gl_view_get_type):
2613 * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
2614 * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
2615 * src/wdgt-image-select.h:
2616 * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
2617 * src/wdgt-media-select.h:
2618 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
2619 * src/wdgt-mini-preview.h:
2620 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
2621 * src/wdgt-print-copies.h:
2622 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
2623 * src/wdgt-print-merge.h:
2624 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
2625 * src/wdgt-rotate-label.h:
2626 - Made sure all xxx_get_type functions returned GType, not guint. This
2627 was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
2628 ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
2629 wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
2630 wdt-print-merge.[ch], and wdgt-rotate-label.[ch]. See separate
2631 window.[ch] details above for more info.
2632 - Reconciled various coding style differences in all xxx_get_type()
2634 * All prototypes include G_GNUC_CONST.
2635 * All prototypes specify the return value as GType, not GtkType
2637 * Info structures are all declared as "static const."
2638 * Generalized the names of type and info variables.
2639 * Miscelaneous formatting.
2641 2004-06-08 Jim Evins <evins@snaught.com>
2647 Don't touch compression of original file -- still defaults to 9 for
2648 new files. Original patch provided by Javier Donaire Segarra
2649 (#912252 in patch tracker).
2651 2004-05-05 Jim Evins <evins@snaught.com>
2653 * data/glabels-2.0.dtd:
2654 Broke DTD previously when adding new barcode types that contain a
2655 plus sign (+). Simply changed the BC_STYLE_TYPE entity to "CDATA"
2656 to avoid the problem.
2657 * data/avery-iso-templates.xml:
2658 * data/zweckform-iso-templates.xml:
2660 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021. Templates
2661 provided by Frank Altpeter.
2662 * libglabels/xml-template.c: (xml_create_label_node):
2663 Reordered markup and layout sub-nodes so that resulting templates will
2664 validate against DTD.
2666 2004-03-13 Jim Evins <evins@snaught.com>
2668 * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
2669 Changed spin callback signals from "value-changed" back to "changed."
2670 This was accidentally introduced in a previous revision, and can cause
2671 size changes just by selecting the size tab.
2673 2004-03-06 Jim Evins <evins@snaught.com>
2675 * src/view.c: (draw_grid_layer):
2676 For round labels (round and cd) adjust grid so that it lines up with
2677 center of label. Also, no longer draw box around label in the grid layer,
2678 it is hidden by he fg layer anyway. Feature suggested by
2679 nemolivier@free.fr. Although the grid is aligned with the center of the
2680 label, the coordinate system is still relative to the upper left corner
2681 of the rectangle containing the label.
2683 2004-02-25 Jim Evins <evins@snaught.com>
2686 Changed version to 2.0pre1cvs
2688 * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
2689 Removed extra xmlFreeDoc() calls upon error. Also print the doc->URL
2690 instead of doc->name fields when errors encountered.
2692 2004-02-21 Jim Evins <evins@snaught.com>
2694 * data/avery-iso-templates.xml:
2695 Added aliases for Avery 8651. Patch provided by Wayne Schuller.
2698 Added libglabels library and include file to installed files.
2701 Final prep for 1.93.3.
2703 2004-02-20 Jim Evins <evins@snaught.com>
2705 * src/glabels-batch.c: (main):
2706 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
2707 as suggested by Javier Donaire Segarra. This addresses bug #901063.
2709 2004-02-16 Jim Evins <evins@snaught.com>
2712 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
2715 Added HAVE_FILE_CHOOSER to INCLUDES.
2717 * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
2718 (gl_file_save_as), (save_as_response):
2719 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
2721 2004-02-16 Jim Evins <evins@snaught.com>
2723 * src/xml-label-04.c: (xml04_parse_image_props):
2724 * src/xml-label-191.c: (xml191_parse_image_props):
2725 * src/xml-label.c: (xml_parse_object_image):
2726 Delay setting image size until after image has been applied to new
2729 2004-02-15 Jim Evins <evins@snaught.com>
2731 * src/label-barcode.c: (gl_label_barcode_set_data),
2732 (gl_label_barcode_set_props):
2733 Don't emit "changed" signal, if no change actually made for these
2734 methods. Reduces number of unnecessary redraws of barcodes.
2736 * src/label-object.h:
2737 * src/label-object.c: (gl_label_object_set_position),
2738 (gl_label_object_set_position_relative), (set_size),
2739 (gl_label_object_set_size),
2740 (gl_label_object_set_size_honor_aspect):
2741 Don't emit "changed" signal, if no change actually made for these
2744 2004-02-15 Jim Evins <evins@snaught.com>
2746 * data/glabels-2.0.dtd:
2747 Added specific subtypes for various barcode types.
2750 * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
2751 (gl_barcode_get_styles_list), (gl_barcode_default_digits),
2752 (gl_barcode_can_text), (gl_barcode_text_optional),
2753 (gl_barcode_can_csum), (gl_barcode_csum_optional),
2754 (gl_barcode_id_to_name), (gl_barcode_name_to_id):
2755 Changed API to use a string id, rather than a fixed enumeration. Id and
2756 name are separate strings. Added entries to backend table for specific
2757 subtypes for various barcode types.
2760 * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
2762 Modified to conform to above API. Now more stringent with data length
2763 for various subtypes.
2765 * src/bc-gnubarcode.h:
2766 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
2767 (is_length_valid), (is_length1_valid), (is_length2_valid):
2768 Modified to conform to above API. Now more stringent with data length
2769 for various subtypes.
2771 * src/label-barcode.h:
2772 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
2773 (gl_label_barcode_get_props), (get_size):
2774 Modified to use above API for storing barcode type.
2776 * src/object-editor.h:
2777 * src/object-editor-bc-page.c: (style_changed_cb),
2778 (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
2779 Modified to use above API for storing barcode type.
2781 * src/object-editor-size-page.c:
2782 (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
2783 (w_spin_cb), (h_spin_cb), (size_reset_cb):
2784 Added debug markers.
2786 * src/object-editor.glade:
2787 Made barcode style combo's text entry non-editable.
2789 * src/print.c: (draw_barcode_object):
2790 Modified to use above API for barcode type.
2792 * src/view-barcode.c: (update_object_from_editor_cb),
2793 (update_editor_from_object_cb),
2794 (gl_view_barcode_create_event_handler), (draw_barcode):
2795 Modified to use above API for barcode type.
2797 * src/xml-label-04.c: (xml04_parse_barcode_props):
2798 * src/xml-label-191.c: (xml191_parse_barcode_props):
2799 * src/xml-label.c: (xml_parse_object_barcode),
2800 (xml_create_object_barcode):
2801 Modified to use above API for barcode type.
2803 2004-02-07 Jim Evins <evins@snaught.com>
2805 * src/stock-pixmaps/Makefile.am:
2806 * src/stock-pixmaps/stock_hchain_24.png:
2807 * src/stock-pixmaps/stock_hchain_broken_24.png:
2808 * src/stock-pixmaps/stock_vchain_24.png:
2809 * src/stock-pixmaps/stock_vchain_broken_24.png:
2810 Added chain pixmaps borrowed from the gimp's default theme.
2813 * src/stock.c: (gl_stock_init), (add_button_icon):
2814 Added above pixmaps to stock icon sets. Created add_button_icon() to
2815 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
2817 * src/wdgt-chain-button.h
2818 * src/wdgt-chain-button.c
2821 Added this Modified version of gimpchainbutton widget, borrowed from
2825 Added acknowledgements of the above borrowing from the gimp.
2827 * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
2829 * src/object-editor.c: (gl_object_editor_construct_chain_button):
2830 * src/object-editor.glade:
2831 Replaced the keep aspect ratio check box with the above chain-button
2834 * src/text-node.c: (gl_text_node_equal):
2836 Added function gl_text_node_equal() to compare text_nodes.
2838 * src/label-image.c: (gl_label_image_set_filename):
2839 Replaced incomplete text_node comparison code with invocation of
2840 gl_text_node_equal. This fixed the problem of not being able to
2841 resize an image using the object_editor if the aspect ratio is not
2844 2004-02-04 Jim Evins <evins@snaught.com>
2846 * src/object-editor-image-page.c:
2847 (gl_object_editor_prepare_image_page):
2848 Track "changed" signal of pixmap entry's GtkEntry rather than its
2849 "activate" signal -- this catches all changes to the entry rather than
2850 just changes resulting from a browse, so one can easily pull previous
2851 entries from the history. (This change is marked below on 2004-02-03,
2852 but somehow never got checked in.)
2854 * src/view-highlight.c: (sl_resize_event_handler),
2855 (sr_resize_event_handler), (st_resize_event_handler),
2856 (sb_resize_event_handler):
2857 Side resize handles will now confirm the actual resize that the object
2858 accepted before adjusting position parameters. Previously some interesting
2859 things happened when resizing a barcode to its minimum size.
2861 2004-02-03 Jim Evins <evins@snaught.com>
2863 * src/object-editor-image-page.c:
2864 (gl_object_editor_prepare_image_page):
2865 Track "changed" signal of pixmap entry's GtkEntry rather than its
2866 "activate" signal -- this catches all changes to the entry rather than
2867 just changes resulting from a browse, so one can easily pull previous
2868 entries from the history.
2870 * src/view-highlight.c: (tl_resize_event_handler),
2871 (tr_resize_event_handler), (bl_resize_event_handler),
2872 (br_resize_event_handler):
2873 Allow control key to be dropped while dragging a corner resize handle
2874 without losing the aspect ratio lock.
2876 2004-02-02 Jim Evins <evins@snaught.com>
2878 * src/label-image.c: (gl_label_image_set_filename):
2879 When setting a new filename adjust size such that the aspect ratio of
2880 the image is preserved using the current size as a bounding box.
2882 * src/view-image.c: (update_object_from_editor_cb):
2883 When updating object from editor, feed back possible size changes to
2884 editor as a result of a possible change in image.
2886 * src/object-editor-size-page.c: (size_reset_cb):
2887 Fixed typo when blocking spin handlers. If the base size is larger than
2888 the max size, treat max size as a bounding box while keeping aspect
2892 2004-02-02 Jim Evins <evins@snaught.com>
2894 * src/label-object.h:
2895 * src/label-object.c: (gl_label_object_set_size),
2896 (gl_label_object_set_size_honor_aspect):
2897 Added gl_label_object_set_size_honor_aspect() which will maintain the
2898 current aspect ratio by modifying the supplied w or h apropriately.
2900 * src/view-highlight.c: (tl_resize_event_handler),
2901 (tr_resize_event_handler), (bl_resize_event_handler),
2902 (br_resize_event_handler):
2903 Corner handles will now maintain the current aspect ratio if the
2904 control key is pressed while resizing. This addresses feature
2908 2004-01-31 Jim Evins <evins@snaught.com>
2911 * data/avery-us-templates.xml:
2912 Added entries for "LSK-3," "LSK-5," and "LSK-8." Submitted by JBadger.
2914 * libglabels/template.c: (read_template_files_from_dir):
2915 Corrected problem with testing for extensions.
2917 * src/object-editor.glade:
2918 Corrected grouping of radio buttons in barcode data page.
2920 * src/print.c: (draw_barcode_object):
2921 * src/view-barcode.c: (draw_barcode):
2922 Corrected problem with calculation of y_offset for locating characters.
2924 2004-01-24 Jim Evins <evins@snaught.com>
2927 * data/avery-us-templates.xml:
2928 Added Avery 5824, submitted by Fred Bacon.
2930 2004-01-20 Jim Evins <evins@snaught.com>
2932 Catching up on a couple of backlogged user template submissions.
2934 * data/avery-iso-templates.xml:
2935 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
2936 Suggested by Linas Jakucionis.
2938 * data/zweckform-iso-templates.xml:
2939 Added Zweckform 4760, submitted by Thomas Vill.
2942 Updated to reflect above submissions.
2944 2004-01-06 Jim Evins <evins@snaught.com>
2946 Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
2947 xml.[ch] into a separate library called libglabels, to facilitate third
2948 party use of glabels template files. This was suggested by Wayne Schuller.
2949 Once split-out, some modifications to the structures and functions to
2950 make a cleaner more useful API, hopefully. Rather extensive changes have
2951 propogated to other modules.
2959 * src/xml-template.h:
2960 * src/xml-template.c:
2963 These files have been moved to libglabels/. API cleanup performed.
2965 * libglabels/libglabels.h:
2966 * libglabels/libglabels-private.h:
2967 * libglabels/Makefile.am:
2968 These files have been added to finish out libglabels.
2975 Modified to reflect new sets of files in src/ and libglabels/.
2977 * COPYING.LIBGLABELS:
2979 Added copy of the LGPL for libglabels, and a copy the GFDL for
2982 * src/glabels-batch.c:
2984 * src/label.c: (gl_label_finalize), (gl_label_set_template),
2985 (gl_label_get_size):
2987 * src/prefs-model.c: (gl_prefs_model_load_settings):
2988 * src/print-dialog.c:
2989 * src/print.c: (gl_print_simple), (gl_print_merge_collated),
2990 (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
2991 (print_crop_marks), (print_label), (draw_outline),
2992 (clip_to_outline), (clip_punchouts):
2993 * src/template-designer.c: (construct_pg_size_page),
2994 (pg_size_page_changed_cb), (layout_page_changed_cb),
2995 (print_test_cb), (build_template):
2996 * src/util.c: (gl_util_fraction):
2998 * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
2999 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
3000 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
3001 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
3002 (draw_markup_margin_round), (draw_markup_margin_cd),
3003 (draw_markup_margin_cd_bc), (draw_markup_line),
3004 (draw_markup_circle), (gl_view_copy):
3005 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
3006 (page_size_entry_changed_cb), (details_update), (get_layout_desc),
3007 (get_label_size_desc):
3008 * src/wdgt-mini-preview.c:
3009 (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
3011 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
3012 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
3013 * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
3014 (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
3015 * src/wdgt-rotate-label.h:
3016 * src/xml-label-04.c: (xml04_parse_media_description):
3017 * src/xml-label-191.c: (gl_xml_label_191_parse),
3018 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
3019 (xml191_parse_markup), (xml191_parse_alias):
3020 * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
3022 Various changes to accomodate new libglabels API.
3024 2004-01-03 Jim Evins <evins@snaught.com>
3029 2004-01-03 Jim Evins <evins@snaught.com>
3032 Added acknowledgement of contributions by Wayne Schuller.
3034 * src/commands.c: (gl_cmd_file_print):
3035 Create extra reference to print dialog, so that it can be properly re-used.
3037 * src/mygal/mygal-combo-box.h:
3038 * src/mygal/mygal-combo-box.c:
3039 (mygal_combo_box_popup_hide_unconditional),
3040 (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
3041 (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
3042 (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
3043 (mygal_combo_box_set_tearable):
3044 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
3045 complete the rename of this widget to prevent namespace collisions
3048 * src/prefs-dialog.glade:
3049 Fixed alignment of Fill/Color widgets.
3051 2004-01-03 Jim Evins <evins@snaught.com>
3053 * data/avery-iso-templates.xml:
3054 Added user submitted templates.
3055 Avery 8435A & 8435B, submitted by Ludger Solbach.
3057 * doc/C/glabels.xml:
3058 Added minimal documentation, noting the new template designer.
3060 2004-01-03 Jim Evins <evins@snaught.com>
3062 * pixmaps/ex-rect-size.png:
3063 * pixmaps/ex-round-size.png:
3064 * pixmaps/ex-cd-size.png:
3065 * pixmaps/Makefile.am:
3066 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
3067 files to be used as illustrations/examples in the template-designer.
3069 * src/template-designer.c: (construct_rect_size_page),
3070 (construct_round_size_page), (construct_cd_size_page),
3071 (construct_nlayouts_page), (rect_size_page_prepare_cb),
3072 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
3073 (layout_page_prepare_cb), (build_template):
3074 * src/template-designer.glade:
3075 Added illustrations for rectangle, round, and cd label size pages.
3076 Added margin spinboxes to these pages, and now add a margin markup
3077 to the constructed template. Added realistic default values for
3078 some of the size spinboxes. Cleaned up the code for setting spinbox
3079 ranges on the layouts page.
3081 2004-01-02 Jim Evins <evins@snaught.com>
3083 * src/object-editor-size-page.c: (h_spin_cb):
3084 Fixed cut-n-paste error in h_spin_cb that loaded h from
3085 the wrong spinbutton.
3087 * src/object-editor.h:
3088 * src/object-editor.c: (gl_object_editor_class_init),
3089 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
3090 * src/object-editor-private.h:
3091 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
3093 Added "size_changed" signal.
3095 * src/view-text.c: (construct_properties_editor),
3096 (update_object_from_editor_cb),
3097 (update_object_from_editor_size_cb):
3098 Track size changes from object editor separately from other
3099 properties. This is so the default size (0,0) of a text
3100 object is not modified unintentionally.
3102 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
3104 Added feature: line spacing - allows you to comfortably space a text box to
3105 fit a label perfectly.
3107 * data/glabels-2.0.dtd:
3108 * src/label-object.c: (gl_label_object_set_text_line_spacing),
3109 (gl_label_object_get_text_alignment),
3110 (gl_label_object_get_text_line_spacing):
3111 * src/label-object.h:
3112 * src/label-text.c: (gl_label_text_class_init),
3113 (gl_label_text_instance_init), (copy), (get_size),
3114 (set_text_line_spacing), (get_text_alignment),
3115 (get_text_line_spacing):
3116 * src/object-editor-private.h:
3117 * src/object-editor-text-page.c:
3118 (gl_object_editor_prepare_text_page),
3119 (gl_object_editor_set_text_line_spacing),
3120 (gl_object_editor_get_text_line_spacing):
3121 * src/object-editor.glade:
3122 * src/object-editor.h:
3123 * src/prefs-dialog.c: (construct_object_page),
3124 (update_object_page_from_prefs), (update_prefs_from_object_page):
3125 * src/prefs-dialog.glade:
3126 * src/prefs-model.c: (gl_prefs_model_save_settings),
3127 (gl_prefs_model_load_settings), (get_float):
3128 * src/prefs-model.h:
3129 * src/print.c: (draw_text_object):
3131 * src/view-text.c: (update_object_from_editor_cb),
3132 (update_editor_from_object_cb),
3133 (gl_view_text_create_event_handler), (draw_hacktext):
3134 * src/view.c: (gl_view_construct),
3135 (gl_view_set_selection_text_line_spacing),
3136 (gl_view_set_default_text_line_spacing),
3137 (gl_view_get_default_text_line_spacing):
3139 * src/xml-label.c: (xml_parse_toplevel_span),
3140 (xml_create_toplevel_span):
3142 2003-12-30 Jim Evins <evins@snaught.com>
3144 * src/template-designer.c:
3145 * src/template-designer.h:
3146 * src/template-designer.glade:
3147 New template designer assistant.
3151 Added entries for src/template-designer.* files.
3153 * pixmaps/ex-1layout.png
3154 * pixmaps/ex-2layouts.png
3155 * pixmaps/Makefile.am:
3156 Added the new image files ex-*.png used as illustrations in the
3157 template designer assistant.
3159 * src/print-dialog.h:
3160 * src/print-dialog.c: (gl_print_dialog_finalize),
3161 (gl_print_dialog_new), (gl_print_dialog_construct),
3162 (gl_print_dialog_force_outline_flag):
3163 Changed first argument of gl_print_dialog_new() from glView to glLabel,
3164 to support printing from the template designer assistant which does not
3165 have a full-fledged view. Nothing else from the view object was being
3166 used by the dialog anyway.
3168 Added the gl_print_dialog_force_outline_flag() method, for better
3169 integration with the template designer assistant.
3173 * src/commands.c: (gl_cmd_file_template_designer),
3174 (gl_cmd_file_print):
3175 Modified print command to provide label instead of view to dialog.
3176 Added the gl_cmd_file_template_designer() command to invoke the
3177 template designer assistant.
3180 * src/glabels-ui.xml:
3181 Added support for template designer assistant.
3183 * src/wdgt-mini-preview.h:
3184 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
3185 (gl_wdgt_mini_preview_set_bg_color):
3186 Preview is now centered in canvas. Added
3187 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
3188 assistant to match the background color with its own.
3190 * src/print.c: (clip_to_outline):
3191 Fixed really stupid bug when adding waste to clip region of rectangular
3192 labels/cards. Each side of the clip region needs to be extended by
3193 twice the waste margin, as well as negatively offset by the waste
3196 2003-12-28 Jim Evins <evins@snaught.com>
3198 * src/prefs-dialog.c: (update_object_page_from_prefs):
3199 Block intermediary function align_toggle_cb() instead of
3200 update_prefs_from_object_page() for the three alignment
3203 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
3205 * src/file.c: (gl_file_new), (gl_file_properties):
3206 Swap button order and set default for higificatory pleasure.
3208 2003-12-27 Jim Evins <evins@snaught.com>
3210 * barcode-0.98/Makefile.am:
3211 One last time: removed doc/Makefile and po/Makefile.in.in from
3214 2003-12-27 Jim Evins <evins@snaught.com>
3216 * barcode-0.98/Makefile.am:
3217 Removed config.stat entry from EXTRA_DIST files.
3219 * barcode-0.98/Makefile.in:
3222 2003-12-27 Jim Evins <evins@snaught.com>
3225 Updated to work with latest gnome-common package from CVS.
3226 Removed recursive configuration of barcode-0.98.
3233 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
3235 * barcode-0.98/Makefile.in:
3236 * barcode-0.98/configure.in:
3237 * barcode-0.98/Makefile.am:
3238 * barcode-0.98/README.glabels:
3239 Modified to ignore the barcode package's build system, and build
3240 as a part of glabels.
3241 Renamed Makefile.in to Makefile.in.dist.
3242 Renamed configure.in to configure.in.dist.
3243 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
3246 * src/mygal/Makefile.am:
3247 * src/recent-files/Makefile.am:
3248 In order to build against the GNOME 2.5 platform,
3249 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
3251 * src/mygal/Makefile.am:
3252 * src/mygal/mygal-combo-box.c:
3253 * src/mygal/mygal-combo-box.h:
3254 * src/mygal/widget-color-combo.c:
3255 * src/mygal/widget-color-combo.h:
3257 In order to build against the GNOME 2.5 platform,
3258 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
3259 collisions with the real gtk_combo_box widget, now a part of gtk.
3261 2003-12-26 Jim Evins <evins@snaught.com>
3267 Moved local versions of get_home_data_dir() in paper.c and
3268 template.c to util package. Cleaned up formatting in
3272 In gl_template_register() save a copy of the template in
3273 ~/.glabels if the template is not known. Still need to
3274 handle duplicate filename case and duplicate name but
3275 different template case.
3279 Moved local definition of NAME_SPACE macro from xml-label.c
3282 * src/xml-template.c:
3283 * src/xml-template.h:
3284 Added function gl_xml_template_write_template_to_file(), used
3285 in gl_template_register().