1 2007-08-16 Jim Evins <evins@snaught.com>
4 Include subdir iec16022-0.2.1.
11 2007-08-11 Jim Evins <evins@snaught.com>
17 Added Esperanto translation. Provided by Antonio C.
18 Codazzi "la Filozofo" <f_sophia@libero.it>.
20 Updated French translation. Provided by Claude Paroz
23 Updated to reflect above translations.
25 2007-08-11 Jim Evins <evins@snaught.com>
28 * data/templates/avery-iso-templates.xml:
29 * data/templates/avery-us-templates.xml:
30 * data/templates/misc-iso-templates.xml:
31 * data/templates/misc-other-templates.xml:
32 * data/templates/misc-us-templates.xml:
33 * data/templates/zweckform-iso-templates.xml:
34 Caught up with backlog of template submissions.
36 2007-08-10 Jim Evins <evins@snaught.com>
38 * src/bc-postnet.c: (gl_barcode_postnet_new):
40 Added support for Brazilian CEPNet barcodes. This is simply an
41 instance of the US POSTNET format with 8 digits. Patch supplied
42 by Mário Meyer in bug # 1768792.
44 Updated acknowledgments to reflect above patch and recent shuffling
45 of underlying technology.
47 2007-05-13 Jim Evins <evins@snaught.com>
49 * src/merge-text.c: (parse_line), (parse_field):
50 Remove leading and trailing spaces from CSV fields, unless quoted.
52 2007-05-09 Jim Evins <evins@snaught.com>
54 * src/object-editor-bc-page.c:
55 * src/object-editor-data-page.c:
56 * src/object-editor-fill-page.c:
57 * src/object-editor-image-page.c:
58 * src/object-editor-line-page.c:
59 * src/object-editor-lsize-page.c:
60 * src/object-editor-position-page.c:
61 * src/object-editor-private.h:
62 * src/object-editor-shadow-page.c:
63 * src/object-editor-size-page.c:
64 * src/object-editor-text-page.c:
65 * src/object-editor.c:
67 * src/template-designer.c:
68 * src/ui-property-bar.c:
69 * src/wdgt-media-select.c:
70 Replaced signal block/unblock pairs with simple flags. This reduces
71 some code clutter, hopefully making it easier to read.
73 2007-05-05 Jim Evins <evins@snaught.com>
75 * src/template-designer.c: (apply_cb):
76 Add new template to mini-preview pixbuf cache.
78 2007-05-03 Jim Evins <evins@snaught.com>
80 * src/label-image.c: (gl_label_image_init), (draw_object):
81 Scale default pixbuf up, to prevent bluring. Use cairo_fill to
84 2007-05-02 Jim Evins <evins@snaught.com>
86 * src/view.c: (draw_select_region_layer), (motion_notify_event_cb),
87 (button_release_event_cb):
88 Removed attempt at rendering optimization by clipping the updates
89 to areas affected -- this actually seemed to hurt update performance.
91 2007-04-30 Jim Evins <evins@snaught.com>
94 * src/color.c: (gl_color_shadow), (gl_color_node_new_default),
95 (gl_color_node_equal), (gl_color_node_expand):
96 * src/label-barcode.c: (draw_object):
97 * src/label-box.c: (draw_object), (draw_shadow):
98 * src/label-ellipse.c: (draw_object), (draw_shadow):
99 * src/label-line.c: (draw_object), (draw_shadow):
100 * src/label-text.c: (draw_object), (draw_shadow):
101 * src/wdgt-mini-preview.c: (draw_shadow), (draw_labels):
102 * src/wdgt-rotate-label.c: (drawingarea_update):
103 Some cleanup to color related code.
105 2007-04-30 Jim Evins <evins@snaught.com>
108 Added glLabelRegion structure type.
109 * src/label-object.c: (gl_label_object_get_extent):
110 * src/label-object.h:
111 Modified gl_label_object_get_extent() to fill in a glLabelRegion struct.
113 * src/view.c: (gl_view_update_region), (draw_select_region_layer),
114 (gl_view_select_region), (gl_view_align_selection_left),
115 (gl_view_align_selection_right), (gl_view_align_selection_hcenter),
116 (gl_view_align_selection_top), (gl_view_align_selection_bottom),
117 (gl_view_align_selection_vcenter),
118 (gl_view_center_selection_horiz), (gl_view_center_selection_vert),
119 (gl_view_move_selection), (gl_view_can_selection_text),
120 (motion_notify_event_cb), (button_press_event_cb),
121 (button_release_event_cb):
122 - Reconcile with new gl_label_object_get_extent() API.
123 - Use glLabelRegion for view->select_region.
124 - Added gl_view_update_region() to clip updates to region.
125 - Use gl_view_update_region() during manipulation of view->select_region.
127 2007-04-26 Jim Evins <evins@snaught.com>
129 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
130 (draw_label_outline):
131 * src/print.c: (print_crop_marks), (draw_outline):
132 * src/view-object.c: (gl_view_object_draw_handles):
133 * src/view.c: (draw_bg_layer), (draw_grid_layer),
134 (draw_markup_layer), (draw_fg_layer), (draw_select_region_layer):
135 * src/wdgt-mini-preview.c: (draw_paper), (draw_labels):
136 * src/wdgt-rotate-label.c: (drawingarea_update):
137 Added defines for various magic numbers.
139 2007-04-25 Jim Evins <evins@snaught.com>
141 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
142 Scale text down. Cairo seems to render text too large.
144 2007-04-25 Jim Evins <evins@snaught.com>
147 * src/view.c: (gl_view_update), (expose_cb),
148 (motion_notify_event_cb), (button_press_event_cb),
149 (button_release_event_cb):
150 - Try not to let updates get backed up.
151 - Grab pointer when doing any drag operations.
153 2007-04-11 Jim Evins <evins@snaught.com>
155 * src/cairo-label-path.c: (gl_cairo_label_path),
156 (gl_cairo_rect_label_path), (gl_cairo_round_label_path),
157 (gl_cairo_cd_label_path):
158 * src/cairo-label-path.h:
159 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
160 (draw_label_outline):
161 * src/print.c: (draw_outline), (clip_to_outline):
162 * src/view.c: (draw_bg_layer), (draw_fg_layer):
163 * src/wdgt-mini-preview.c: (draw_labels):
164 * src/wdgt-rotate-label.c: (drawingarea_update):
165 Modified to universally use gl_cairo_label_path() to create paths
166 for labels. Added shadow to mini preview in rotate widget.
168 2007-04-10 Jim Evins <evins@snaught.com>
170 * libglabels/template.h:
171 * libglabels/template.c: (gl_template_get_name_list_unique),
172 (gl_template_get_name_list_all), (gl_template_from_name):
173 Modified libglabels to allow you to get a list of all template names
174 including all aliases or just a list of primary names of each unique
177 * src/file.c: (gl_file_properties):
178 * src/glabels.c: (main):
179 * src/mini-preview-pixbuf-cache.h:
180 * src/mini-preview-pixbuf-cache.c:
181 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
182 (filter_changed_cb), (load_list):
183 Added mini-preview pixbuf cache, so that only one mini-preview is
184 needed for a unique template and gets reused for all aliases. These
185 pixbufs will also live for the life of the program so they are not
186 rebuilt everytime a new label dialog is invoked.
187 * src/mini-preview-pixbuf.c: (draw_paper),
188 (draw_rect_label_outline), (draw_round_label_outline),
189 (draw_cd_label_outline):
190 Removed some comment artifacts.
192 2007-04-04 Jim Evins <evins@snaught.com>
194 * src/mini-preview-pixbuf.c: (gl_mini_preview_pixbuf_new),
195 (draw_paper), (draw_label_outlines), (draw_rect_label_outline),
196 (draw_round_label_outline), (draw_cd_label_outline):
197 * src/wdgt-media-select.c: (load_list):
198 * src/wdgt-rotate-label.c: (draw_cd_label_outline):
199 Cosmetic enhancments to mini previews.
201 2007-04-04 Jim Evins <evins@snaught.com>
203 * src/ui-property-bar.c: (gl_ui_property_bar_finalize),
204 (gl_ui_property_bar_construct):
205 Save copy of GladeXML tree so that we don't lose tooltips.
207 2007-04-02 Jim Evins <evins@snaught.com>
209 * src/merge-properties-dialog.c:
210 * src/new-label-dialog.c:
211 * src/object-editor.c:
212 * src/prefs-dialog.c:
214 * src/template-designer.c:
215 * src/ui-property-bar.c:
216 * src/wdgt-media-select.c:
217 * src/wdgt-rotate-label.c:
218 Fixed several memory leaks.
220 2007-04-01 Jim Evins <evins@snaught.com>
222 * src/label-text.c: (gl_label_text_init), (copy),
223 (gl_label_text_set_lines), (buffer_changed_cb), (get_size),
224 (set_font_family), (set_font_size), (set_font_weight),
225 (set_font_italic_flag), (set_text_alignment),
226 (set_text_line_spacing):
227 Cache object size, so that expensive extent calculations are only done
230 2007-03-30 Jim Evins <evins@snaught.com>
232 * src/prefs-model.c: (gl_prefs_model_load_settings):
233 Default to an unlimited list of recent documents, since this parameter
234 seems to be pre-filter anyway.
236 2007-03-30 Jim Evins <evins@snaught.com>
238 * src/label-box.c: (draw_shadow):
239 * src/label-ellipse.c: (draw_shadow):
240 Added missing shadow fill.
242 2007-03-28 Jim Evins <evins@snaught.com>
244 * src/ui-commands.c: (gl_ui_cmd_file_print):
245 Unreferencing the print operation sometimes crashes. Just don't do it
248 2007-03-28 Jim Evins <evins@snaught.com>
250 * src/print-op.c: (gl_print_op_construct),
251 (gl_print_op_get_settings), (gl_print_op_set_settings),
252 (gl_print_op_free_settings), (create_custom_widget_cb):
254 * src/ui-commands.c: (gl_ui_cmd_file_print):
255 * src/window.c: (gl_window_init):
257 Save print settings and custom settings between print operations
260 2007-03-24 Jim Evins <evins@snaught.com>
262 * src/object-editor-image-page.c:
263 (gl_object_editor_prepare_image_page),
264 (gl_object_editor_set_image), (img_selection_changed_cb):
265 Workaround for GtkFileChooserButton bug # 327243. This the root
266 cause for gLabels bug # 1192884. I have actually observed 3 delayed
267 "selection-changed" signals -- the first 2 return NULL -- this is
268 what caused the image to reset to the default followed by setting
269 it back to the original image, trying to fit it into a new bounding
270 box. This sequence of events is much more evident with the new
273 2007-03-23 Jim Evins <evins@snaught.com>
275 Merged all changes from experimental cairo branch to trunk.
276 Trunk no longer depends on libgnomecanvas or libgnomeprint[ui].
278 2007-03-23 Jim Evins <evins@snaught.com>
280 * src/label-object.h:
281 * src/label-object.c: (gl_label_object_class_init),
282 (gl_label_object_get_raw_size), (gl_label_object_get_size):
283 Created "get_raw_size" method.
284 * src/label-barcode.c: (get_size):
285 * src/xml-label.c: (xml_create_object_text),
286 (xml_create_object_barcode):
287 Use new "get_raw_size" method on label-objects when apropos.
289 * src/label-text.c: (get_size), (draw_object), (draw_shadow),
290 (auto_shrink_font_size):
291 Added "auto shrink" functionality back.
293 2007-03-19 Jim Evins <evins@snaught.com>
295 * src/label-text.c: (draw_object), (draw_shadow):
296 Don't use negative scales in workaround from previous commit.
299 2007-03-18 Jim Evins <evins@snaught.com>
302 Forgot to remove include of xml-lable-191 in previous commit.
303 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
304 Workaround for pango Bug #341481. Render text at device scale,
305 and scale font size accordingly. Also, don't do any hinting.
307 2007-03-18 Jim Evins <evins@snaught.com>
309 * src/cairo-ellipse-path.c:
310 * src/cairo-ellipse-path.h:
311 Forgot to add these new files during last mass commit.
313 2007-03-18 Jim Evins <evins@snaught.com>
316 * src/xml-label-191.c:
317 * src/xml-label-191.h:
318 Removed -- Very buggy. Version 1.91 is a very old "unstable" version,
319 so there is no need to keep compatability.
322 * src/cairo-label-path.c:
323 * src/cairo-label-path.h:
324 * src/cairo-markup-path.c:
328 * src/glabels-batch.c:
330 * src/label-barcode.c:
332 * src/label-ellipse.c:
335 * src/label-object.c:
336 * src/label-object.h:
340 * src/merge-properties-dialog.c:
342 * src/new-label-dialog.c:
343 * src/object-editor-bc-page.c:
344 * src/object-editor-data-page.c:
345 * src/object-editor-edit-page.c:
346 * src/object-editor-fill-page.c:
347 * src/object-editor-image-page.c:
348 * src/object-editor-line-page.c:
349 * src/object-editor-private.h:
350 * src/object-editor-shadow-page.c:
351 * src/object-editor-text-page.c:
352 * src/object-editor.c:
353 * src/pixbuf-cache.c:
358 * src/template-designer.c:
360 * src/ui-property-bar.c:
362 * src/view-barcode.c:
364 * src/view-ellipse.c:
371 * src/wdgt-media-select.c:
372 * src/wdgt-print-copies.c:
373 * src/wdgt-print-merge.c:
375 * src/xml-label-04.c:
377 Many changes, including:
378 - Move draw methods from view-*() to label-*().
379 - Use same drawing code for on screen view and printing.
380 - Fix all issues exposed with '-Wall -Werror'.
382 2007-03-14 Jim Evins <evins@snaught.com>
385 * src/cairo-handle-path.c:
386 * src/cairo-handle-path.h:
387 * src/cairo-object-path.c:
388 * src/cairo-object-path.h:
389 Removed cairo-handle-path.[ch] and cairo-object-path.[ch].
390 * src/view-barcode.c: (gl_view_barcode_class_init), (draw_object),
392 * src/view-box.c: (gl_view_box_class_init), (draw_object),
393 (draw_shadow), (object_at):
394 * src/view-ellipse.c: (gl_view_ellipse_class_init),
395 (create_ellipse_path), (draw_object), (draw_shadow), (object_at):
396 * src/view-image.c: (gl_view_image_class_init), (draw_object),
398 * src/view-line.c: (gl_view_line_class_init), (draw_object),
399 (draw_shadow), (object_at):
400 * src/view-object.c: (gl_view_object_draw), (gl_view_object_at),
401 (create_handle_path), (gl_view_object_draw_handles),
402 (gl_view_object_handle_at):
404 * src/view-text.c: (gl_view_text_class_init), (draw_object),
405 (draw_shadow), (object_at):
406 * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
407 Some restructuring of new code.
409 2007-03-12 Jim Evins <evins@snaught.com>
412 * src/cairo-object-path.c:
413 * src/view-barcode.c:
414 * src/view-barcode.h:
416 Added barcode object support to view.
418 2007-03-12 Jim Evins <evins@snaught.com>
424 * src/cairo-object-path.c:
425 * src/cairo-object-path.h:
427 * src/view-ellipse.c:
432 Added text object support to view. Added object_at method to all
435 2007-03-11 Jim Evins <evins@snaught.com>
438 * src/cairo-object-path.c: (gl_cairo_object_path),
439 (gl_cairo_image_object_path):
440 * src/view-image.c: (gl_view_image_class_init),
441 (gl_view_image_finalize), (gl_view_image_new),
442 (update_editor_from_label_cb), (draw),
443 (gl_view_image_get_create_cursor),
444 (gl_view_image_create_button_press_event),
445 (gl_view_image_create_motion_event),
446 (gl_view_image_create_button_release_event):
448 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
449 (selection_received_cb), (motion_notify_event_cb),
450 (button_press_event_cb), (button_release_event_cb):
451 Added image object support to view.
453 2007-03-11 Jim Evins <evins@snaught.com>
456 * src/cairo-object-path.c: (gl_cairo_object_path),
457 (gl_cairo_line_object_path):
458 * src/view-line.c: (gl_view_line_class_init), (gl_view_line_new),
459 (update_object_from_editor_cb), (update_editor_from_object_cb),
460 (update_editor_from_label_cb), (draw),
461 (gl_view_line_get_create_cursor),
462 (gl_view_line_create_button_press_event),
463 (gl_view_line_create_motion_event),
464 (gl_view_line_create_button_release_event):
466 * src/view-object.c: (gl_view_object_resize_event):
467 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
468 (selection_received_cb), (motion_notify_event_cb),
469 (button_press_event_cb), (button_release_event_cb):
470 Added line object support to view.
471 * src/cairo-handle-path.c:
472 Made handles slightly larger.
475 2007-03-11 Jim Evins <evins@snaught.com>
478 * src/cairo-handle-path.c:
479 * src/cairo-label-path.c: (gl_cairo_rect_label_path),
480 (gl_cairo_round_label_path), (gl_cairo_cd_label_path):
481 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
482 (gl_cairo_markup_margin_round_path),
483 (gl_cairo_markup_margin_cd_path), (gl_cairo_markup_circle_path):
484 * src/cairo-object-path.c: (gl_cairo_object_path),
485 (gl_cairo_ellipse_object_path):
486 * src/label-object.c: (gl_label_object_rotate):
489 * src/view-ellipse.c: (gl_view_ellipse_class_init),
490 (gl_view_ellipse_new), (update_object_from_editor_cb),
491 (update_editor_from_object_cb), (update_editor_from_label_cb),
492 (draw), (gl_view_ellipse_get_create_cursor),
493 (gl_view_ellipse_create_button_press_event),
494 (gl_view_ellipse_create_motion_event),
495 (gl_view_ellipse_create_button_release_event):
496 * src/view-ellipse.h:
499 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
500 (select_object_real), (selection_received_cb),
501 (motion_notify_event_cb), (button_press_event_cb),
502 (button_release_event_cb):
504 Added ellipse object support to view. Plus other cleanup.
506 2007-03-11 Jim Evins <evins@snaught.com>
509 * src/view-box.c: (gl_view_box_get_create_cursor),
510 (gl_view_box_create_button_press_event),
511 (gl_view_box_create_motion_event),
512 (gl_view_box_create_button_release_event):
513 * src/view-object.c: (gl_view_object_set_view),
514 (gl_view_object_handle_at):
516 * src/view.c: (gl_view_arrow_mode), (gl_view_object_create_mode),
517 (motion_notify_event_cb), (button_press_event_cb),
518 (button_release_event_cb), (key_press_event_cb):
519 Added creation code for box object.
521 2007-03-09 Jim Evins <evins@snaught.com>
523 * src/view-object.c: (gl_view_object_resize_event):
525 * src/view.c: (motion_notify_event_cb):
526 Fix bugs with resizing transformed objects.
527 * src/cairo-handle-path.c: (gl_cairo_handle_path):
528 * src/cairo-object-path.c: (gl_cairo_object_path):
529 * src/cairo-object-path.h:
530 * src/label-object.c: (gl_label_object_init),
531 (gl_label_object_dup), (gl_label_object_get_extent),
532 (gl_label_object_flip_horiz), (gl_label_object_flip_vert),
533 (gl_label_object_rotate), (gl_label_object_set_matrix),
534 (gl_label_object_get_matrix):
535 * src/label-object.h:
536 * src/print.c: (draw_object):
538 * src/view-highlight.c:
539 * src/view-highlight.h:
540 * src/xml-label-191.c: (xml191_parse_object):
541 * src/xml-label.c: (xml_parse_affine_attrs),
542 (xml_create_affine_attrs):
543 Replace libart affine matrices with cairo matrices.
545 2007-03-08 Jim Evins <evins@snaught.com>
548 * src/view.c: (gl_view_update), (motion_notify_event_cb):
549 * src/view-object.c: (gl_view_object_handle_at),
550 (gl_view_object_resize_event):
551 Added resize code -- still a bit buggy.
553 2007-03-07 Jim Evins <evins@snaught.com>
556 * src/cairo-handle-path.c:
557 * src/cairo-handle-path.h:
558 * src/view-box.c: (gl_view_box_new):
559 * src/view-object.c: (gl_view_object_set_object),
560 (gl_view_object_draw_handles), (gl_view_object_handle_at):
562 * src/view.c: (draw_highlight_layer), (select_object_real),
563 (unselect_object_real), (view_handle_at), (motion_notify_event_cb),
564 (button_press_event_cb), (button_release_event_cb),
565 (key_press_event_cb):
567 Added beginnings of object resize handles.
569 2007-03-07 Jim Evins <evins@snaught.com>
572 * src/view.c: (gl_view_init), (gl_view_arrow_mode),
573 (gl_view_object_create_mode), (motion_notify_event_cb),
574 (button_press_event_cb), (button_release_event_cb),
575 (key_press_event_cb):
576 Added move selection support.
578 2007-03-05 Jim Evins <evins@snaught.com>
580 * src/cairo-object-path.c: (gl_cairo_object_path):
581 * src/view-object.c: (gl_view_object_draw),
582 (gl_view_object_draw_highlight):
583 * src/view.c: (view_object_at), (motion_notify_event_cb),
584 (button_press_event_cb), (button_release_event_cb):
585 Additional refinements to select logic.
587 2007-03-05 Jim Evins <evins@snaught.com>
590 * src/view.c: (gl_view_init), (gl_view_construct),
591 (label_changed_cb), (draw_layers), (draw_select_region_layer),
592 (gl_view_select_region), (object_at), (motion_notify_event_cb),
593 (button_press_event_cb), (button_release_event_cb):
594 Added initial select region support and context menu.
596 2007-03-04 Jim Evins <evins@snaught.com>
614 * src/wdgt-print-copies.c:
615 * src/wdgt-print-merge.c:
617 Initial port to a raw Cairo canvas. This removes all remaining
618 dependencies on libgnomecanvas and libgnomeprint[ui]. Basically
619 the view is becoming a canvas widget in its own right. Still needs
621 * src/cairo-label-path.c:
622 * src/cairo-label-path.h:
623 * src/cairo-markup-path.c:
624 * src/cairo-markup-path.h:
625 * src/cairo-object-path.c:
626 * src/cairo-object-path.h:
627 New files to support cairo canvas.
628 * src/canvas-hacktext.c:
629 * src/canvas-hacktext.h:
632 2007-02-18 Jim Evins <evins@snaught.com>
635 GNOME_FONT_BOOK changed to PANGO_WEIGHT_NORMAL.
637 2007-02-14 Jim Evins <evins@snaught.com>
641 * src/bc-gnubarcode.c:
642 * src/bc-gnubarcode.h:
647 * src/canvas-hacktext.c:
648 * src/canvas-hacktext.h:
655 * src/label-barcode.c:
656 * src/label-barcode.h:
659 * src/label-ellipse.c:
660 * src/label-ellipse.h:
665 * src/label-object.c:
666 * src/label-object.h:
671 * src/merge-evolution.c:
672 * src/merge-evolution.h:
675 * src/merge-properties-dialog.c:
676 * src/merge-properties-dialog.h:
683 * src/mini-preview-pixbuf.h:
684 * src/new-label-dialog.c:
685 * src/new-label-dialog.h:
686 * src/object-editor-bc-page.c:
687 * src/object-editor-data-page.c:
688 * src/object-editor-edit-page.c:
689 * src/object-editor-fill-page.c:
690 * src/object-editor-image-page.c:
691 * src/object-editor-line-page.c:
692 * src/object-editor-lsize-page.c:
693 * src/object-editor-position-page.c:
694 * src/object-editor-private.h:
695 * src/object-editor-size-page.c:
696 * src/object-editor-text-page.c:
697 * src/object-editor.c:
698 * src/object-editor.h:
699 * src/pixbuf-cache.c:
700 * src/pixbuf-cache.h:
701 * src/prefs-dialog.c:
702 * src/prefs-dialog.h:
710 * src/template-designer.c:
715 * src/ui-property-bar.c:
716 * src/ui-property-bar.h:
725 * src/view-barcode.c:
726 * src/view-barcode.h:
729 * src/view-ellipse.c:
730 * src/view-ellipse.h:
731 * src/view-highlight.c:
732 * src/view-highlight.h:
743 * src/wdgt-chain-button.c:
744 * src/wdgt-chain-button.h:
745 * src/wdgt-media-select.c:
746 * src/wdgt-mini-preview.c:
747 * src/wdgt-print-copies.c:
748 * src/wdgt-print-copies.h:
749 * src/wdgt-print-merge.c:
750 * src/wdgt-print-merge.h:
751 * src/wdgt-rotate-label.c:
753 * src/xml-label-04.c:
754 * src/xml-label-04.h:
755 * src/xml-label-191.c:
756 * src/xml-label-191.h:
760 Assorted superficial cleanup. Including:
761 - Use G_DEFINE_TYPE for all objects.
762 - Reconcile style of all class initializer functions
763 - Reconcile style of all finalize functions
764 - Add emacs mode line to all source files
766 2007-02-06 Jim Evins <evins@snaught.com>
768 Assorted cleanup and removal of deprecated items.
773 Removed annoying splash screen.
774 * src/glabels-batch.c: (main):
775 * src/glabels.c: (main):
776 Converted from popt to GOption.
777 * src/object-editor-shadow-page.c:
778 (gl_object_editor_set_shadow_state):
779 Removed deprecated method on GtkToggleButton.
780 * src/ui-commands.c: (gl_ui_cmd_help_about):
781 Removed dependency on libgnomui/qnome-url.h.
782 * src/template-designer.c:
783 Removed dependency on libgnome/gnome-program.h.
786 2007-02-04 Jim Evins <evins@snaught.com>
791 * src/print.c: (draw_text_object):
792 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_construct):
793 Removed GnomeCanvas artifacts from color.[ch] and related modules.
795 2007-02-04 Jim Evins <evins@snaught.com>
797 * src/wdgt-mini-preview.c:
798 * src/wdgt-mini-preview.h:
799 Ported widget from GnomeCanvas to Cairo.
801 2007-02-03 Jim Evins <evins@snaught.com>
803 * data/glade/template-designer.glade:
804 * src/template-designer.c:
805 * src/template-designer.h:
806 Ported GnomeDruid to GtkAssistant. Since libglade does not
807 yet support the GtkAssistant and we derive directly from
808 the Assistant, the pages are layed out in a GtkNotebook in
809 the glade description -- we then append each page to the
812 2007-01-25 Jim Evins <evins@snaught.com>
814 * data/glade/object-editor.glade:
815 Added dummy page to notebook, to prevent shadow page from
816 becoming the default current page at creation.
817 * src/view-box.c: (construct_properties_editor):
818 * src/view-ellipse.c: (construct_properties_editor):
819 * src/view-line.c: (construct_properties_editor):
820 * src/view-text.c: (construct_properties_editor):
821 Reconciled order of params.
823 2007-01-19 Jim Evins <evins@snaught.com>
825 * src/label-barcode.h:
826 * src/label-object.c: (gl_label_object_set_font_weight),
827 (gl_label_object_set_text_alignment),
828 (gl_label_object_get_font_weight),
829 (gl_label_object_get_text_alignment):
830 * src/label-object.h:
831 * src/label-text.c: (gl_label_text_instance_init), (copy),
832 (get_size), (set_font_family), (set_font_weight),
833 (set_text_alignment), (get_font_weight), (get_text_alignment):
835 * src/object-editor-text-page.c:
836 (gl_object_editor_prepare_text_page),
837 (gl_object_editor_set_font_family),
838 (gl_object_editor_set_font_weight),
839 (gl_object_editor_get_font_weight),
840 (gl_object_editor_set_text_alignment),
841 (gl_object_editor_get_text_alignment),
842 (gl_object_editor_set_text_color):
843 * src/object-editor.h:
844 * src/prefs-dialog.c: (construct_object_page),
845 (update_object_page_from_prefs), (update_prefs_from_object_page):
846 * src/prefs-model.c: (gl_prefs_model_save_settings),
847 (gl_prefs_model_load_settings):
849 * src/print.c: (draw_text_object):
850 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
851 (reset_to_default_properties), (update_text_properties),
852 (font_bold_toggled_cb), (text_align_toggled_cb):
854 * src/util.c: (gl_util_align_to_string), (gl_util_string_to_align),
855 (gl_util_weight_to_string), (gl_util_string_to_weight),
856 (gl_util_get_font_family_list), (gl_util_font_family_list_free):
858 * src/view-text.c: (update_object_from_editor_cb),
859 (update_editor_from_object_cb), (draw_hacktext), (draw_cursor):
860 * src/view.c: (gl_view_set_selection_text_alignment),
861 (gl_view_set_default_text_alignment),
862 (gl_view_get_default_text_alignment):
864 * src/xml-label-04.c: (xml04_parse_text_props):
865 * src/xml-label-191.c: (xml191_parse_text_props):
866 * src/xml-label.c: (xml_parse_object_text),
867 (xml_parse_toplevel_span), (xml_create_object_text),
868 (xml_create_toplevel_span):
869 Converted all model internals to Pango. GnomeFont remains in
870 view until GnomeCanvas can be replaced with a cairo-based canvas.
872 2007-01-17 Jim Evins <evins@snaught.com>
878 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type),
879 (gl_wdgt_print_copies_construct):
880 * src/wdgt-print-copies.h:
881 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type),
882 (gl_wdgt_print_merge_construct):
883 * src/wdgt-print-merge.h:
884 Removed all remaining HIG wrapper widgets.
886 2007-01-16 Jim Evins <evins@snaught.com>
889 * src/print-dialog.c:
890 * src/print-dialog.h:
893 * src/template-designer.c: (print_test_cb):
894 * src/ui-commands.c: (gl_ui_cmd_file_print):
896 Renamed PrintDialog to PrintOp. Added constructor for batch
898 * src/glabels-batch.c: (main):
899 Converted to use new PrintOp object for printing.
901 2007-01-15 Jim Evins <evins@snaught.com>
903 * data/glade/Makefile.am:
904 * data/glade/print-custom-widget.glade:
905 * src/print-dialog.c:
906 * src/print-dialog.h:
909 * src/template-designer.c: (print_test_cb):
910 * src/ui-commands.c: (gl_ui_cmd_file_print):
911 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_copies):
912 * src/wdgt-print-merge.h:
913 * src/window.c: (gl_window_init):
915 Initial conversion to GtkPrintOperation.
917 - Remove font and other libgnomeprint[ui] from elsewhere
918 - Add batch initialization of print operation
920 2007-01-08 Jim Evins <evins@snaught.com>
922 Updated dependencies. Set version to 2.1.pre4cvs.
924 2007-01-03 Jim Evins <evins@snaught.com>
927 Removed EggRecent stuff.
936 Ported from EggRecent to GtkRecentManager.
939 2007-01-02 Jim Evins <evins@snaught.com>
942 * iec16022-0.2.1/BUGS:
943 * iec16022-0.2.1/CHANGELOG:
944 * iec16022-0.2.1/CREDITS:
945 * iec16022-0.2.1/INSTALL:
946 * iec16022-0.2.1/LICENSE:
947 * iec16022-0.2.1/Makefile.am:
948 * iec16022-0.2.1/Makefile.dist:
949 * iec16022-0.2.1/README:
950 * iec16022-0.2.1/README.glabels:
951 * iec16022-0.2.1/TODO:
952 * iec16022-0.2.1/iec16022.1:
953 * iec16022-0.2.1/iec16022.c:
954 * iec16022-0.2.1/iec16022ecc200.c:
955 * iec16022-0.2.1/iec16022ecc200.h:
956 * iec16022-0.2.1/image.c:
957 * iec16022-0.2.1/image.h:
958 * iec16022-0.2.1/reedsol.c:
959 * iec16022-0.2.1/reedsol.h:
960 * iec16022-0.2.1/test/testsuite-example.bin:
961 * iec16022-0.2.1/test/testsuite-example.eps:
962 * iec16022-0.2.1/test/testsuite-example.hex:
963 * iec16022-0.2.1/test/testsuite-example.png:
964 * iec16022-0.2.1/test/testsuite-example.text:
965 * iec16022-0.2.1/test/testsuite.sh:
966 Include modified copy of iec16022-0.2.1 to provide encoding
967 support for datamatrix 2D barcodes.
972 Added initial datamatrix 2D barcode backend to barcode code.
975 Automatic updates to later versions of these files.
977 2006-11-28 Jim Evins <evins@snaught.com>
979 * data/templates/avery-iso-templates.xml:
980 * data/templates/avery-us-templates.xml:
981 * data/templates/categories.xml:
982 * data/templates/misc-iso-templates.xml:
983 * data/templates/misc-us-templates.xml:
984 * data/templates/zweckform-iso-templates.xml:
987 2006-09-12 Jim Evins <evins@snaught.com>
989 * data/dtd/glabels-2.0.dtd:
990 * data/templates/Makefile.am:
991 * data/templates/avery-iso-templates.xml:
992 * data/templates/avery-other-templates.xml:
993 * data/templates/avery-us-templates.xml:
994 * data/templates/categories.xml:
995 * data/templates/misc-iso-templates.xml:
996 * data/templates/misc-other-templates.xml:
997 * data/templates/zweckform-iso-templates.xml:
998 * data/glade/Makefile.am:
999 * data/glade/new-label-dialog.glade:
1000 * data/glade/wdgt-media-select.glade:
1001 * data/glade/wdgt-rotate-label.glade:
1002 * libglabels/Makefile.am:
1003 * libglabels/category.c:
1004 * libglabels/category.h:
1005 * libglabels/libglabels.h:
1006 * libglabels/paper.c:
1007 * libglabels/template.c:
1008 * libglabels/template.h:
1009 * libglabels/xml-category.c:
1010 * libglabels/xml-category.h:
1011 * libglabels/xml-template.c:
1012 Added support for category meta data.
1015 * src/mini-preview-pixbuf.c:
1016 * src/mini-preview-pixbuf.h:
1017 * src/new-label-dialog.c:
1018 * src/new-label-dialog.h:
1019 * src/wdgt-media-select.c:
1020 * src/wdgt-media-select.h:
1021 * src/wdgt-rotate-label.c:
1022 * src/wdgt-rotate-label.h:
1023 New "new label" dialog.
1025 2006-05-27 Jim Evins <evins@snaught.com>
1030 Preparation for 2.1.3.
1036 2006-05-22 Jim Evins <evins@snaught.com>
1038 * src/print.c: (draw_barcode_object):
1039 Don't print "Invalid barcode data" if data field is empty. Patch provided
1040 by Darren Warner <warnerd@users.sourceforge.net>. Fixes Bug #1479839.
1042 Added acknowledgment for above patch.
1043 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
1044 * src/bc-postnet.c: (postnet_code):
1045 Removed "Invalid barcode data" warnings from stderr.
1046 * src/view-barcode.c: (draw_barcode):
1047 Draw box around barcode extent if data empty or invalid. Center a
1048 message whether the data is empty or invalid in box.
1050 2006-05-22 Jim Evins <evins@snaught.com>
1052 * src/print.c: (draw_text_object):
1053 Check shadow state when printing text.
1055 2006-05-20 Jim Evins <evins@snaught.com>
1057 * src/ui-commands.c: (gl_ui_cmd_view_grid_toggle),
1058 (gl_ui_cmd_view_markup_toggle):
1059 Fixed crash when grid or markup have been toggled off during
1060 a previous session. Bug #1434324.
1062 2006-04-05 Jim Evins <evins@snaught.com>
1064 * src/object-editor.c: (gl_object_editor_set_key_names):
1065 Fixed potential crash when freeing empty key list.
1067 2006-03-11 Jim Evins <evins@snaught.com>
1069 * src/print.c: (draw_text_object):
1070 * src/view-text.c: (gl_view_text_new),
1071 (construct_properties_editor), (update_object_from_editor_cb),
1072 (update_editor_from_object_cb), (update_editor_from_label_cb),
1074 Added shadow support to text object.
1076 2006-02-18 Jim Evins <evins@snaught.com>
1078 * src/print.c: (draw_line_object):
1079 * src/view-line.c: (gl_view_line_new),
1080 (construct_properties_editor), (update_canvas_item_from_object_cb),
1081 (update_object_from_editor_cb), (update_editor_from_object_cb),
1082 (update_editor_from_label_cb):
1083 Added shadow support to line object.
1085 2006-02-16 Jim Evins <evins@snaught.com>
1089 * src/print.c: (draw_ellipse_object):
1090 * src/view-ellipse.c: (gl_view_ellipse_new),
1091 (construct_properties_editor), (update_canvas_item_from_object_cb),
1092 (update_object_from_editor_cb), (update_editor_from_object_cb),
1093 (update_editor_from_label_cb):
1094 Added shadow support to ellipse object.
1096 2006-02-15 Jim Evins <evins@snaught.com>
1098 * src/label-object.c:
1099 Changed default shadow offsets.
1100 * src/view-box.c: (gl_view_box_new):
1101 Simplified gl_view_box_new() so that is does not duplicate code
1102 in update_canvas_item_from_object_cb().
1104 2006-02-07 Jim Evins <evins@snaught.com>
1106 * data/glade/object-editor.glade:
1107 Fixed color groups of color combos.
1109 Added default shadow color.
1110 * src/object-editor.c: (gl_object_editor_construct_color_combo):
1111 Added shadow color group.
1113 2006-02-06 Jim Evins <evins@snaught.com>
1115 * src/object-editor-shadow-page.c:
1116 Forgot to add this file.
1117 * src/view-box.c: (gl_view_box_new),
1118 (update_canvas_item_from_object_cb), (update_editor_from_label_cb):
1119 Update limits on shadow offset spinbuttons.
1121 2006-01-19 Jim Evins <evins@snaught.com>
1123 * src/merge-evolution.c: (gl_merge_evolution_get_key_list):
1124 Initialize key_list to NULL.
1125 * data/glade/object-editor.glade:
1129 * src/label-object.c:
1130 * src/label-object.h:
1131 * src/object-editor-fill-page.c:
1132 * src/object-editor-private.h:
1133 * src/object-editor.c:
1134 * src/object-editor.h:
1136 Created infrastructure for shadow support.
1139 Initial shadow support in box object only.
1141 2006-01-05 Jim Evins <evins@snaught.com>
1143 * src/merge-properties-dialog.c: (src_changed_cb):
1144 Be extra paranoid before calling strcmp().
1145 * src/merge.c: (gl_merge_set_src):
1146 Don't make (merge == NULL) a critical error.
1148 2005-12-22 Jim Evins <evins@snaught.com>
1150 * src/glabels-batch.c: (main):
1151 Compile warning free with gcc 4.0.
1153 2005-12-21 Jim Evins <evins@snaught.com>
1156 Updated example RPM spec file.
1158 2005-12-21 Jim Evins <evins@snaught.com>
1162 Preparation for 2.1.2.
1164 2005-12-20 Jim Evins <evins@snaught.com>
1167 Define unique G_LOG_DOMAIN for glabels.
1168 * src/critical-error-handler.c: (gl_critical_error_handler_init):
1169 * src/warning-handler.c: (gl_warning_handler_init),
1171 Register for G_LOG_DOMAIN instead of NULL.
1173 2005-12-10 Jim Evins <evins@snaught.com>
1175 * src/merge-evolution.c:
1176 * src/merge-vcard.c:
1179 2005-12-08 Jim Evins <evins@snaught.com>
1181 * libglabels/paper.c: (read_paper_files_from_dir):
1182 * libglabels/template.c: (gl_template_register),
1183 (read_template_files_from_dir):
1184 * libglabels/xml-paper.c: (gl_xml_paper_read_papers_from_file),
1185 (gl_xml_paper_parse_papers_doc):
1186 * libglabels/xml-template.c:
1187 (gl_xml_template_read_templates_from_file),
1188 (gl_xml_template_parse_templates_doc),
1189 (gl_xml_template_parse_template_node),
1190 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
1191 (xml_parse_label_cd_node), (xml_parse_layout_node),
1192 (xml_parse_markup_margin_node), (xml_parse_markup_line_node),
1193 (xml_parse_markup_circle_node),
1194 (gl_xml_template_write_templates_to_file), (xml_create_label_node):
1195 * libglabels/xml.c: (gl_xml_get_prop_length):
1196 Re-classified g_warnings to g_messages.
1198 * src/glabels.c: (main):
1199 * src/warning-handler.c: (gl_warning_handler_init),
1201 * src/warning-handler.h:
1202 Added warning message handler to make sure the user is
1203 presented with appropriate non-fatal errors.
1204 * src/critical-error-handler.c: (critical_error_handler):
1205 Changed exit to abort.
1206 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new), (render_pass1):
1207 * src/bc-postnet.c: (postnet_code):
1208 * src/bc.c: (id_to_index), (name_to_index):
1209 * src/merge.c: (gl_merge_register_backend), (gl_merge_new):
1210 * src/object-editor.c: (gl_object_notebook_construct_valist):
1211 * src/prefs-dialog.c: (update_locale_page_from_prefs):
1212 * src/prefs.c: (gl_prefs_get_units_per_point),
1213 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
1214 (gl_prefs_get_units_string):
1215 * src/print.c: (draw_outline), (clip_to_outline), (clip_punchouts):
1216 * src/splash.c: (gl_splash):
1217 * src/ui-commands.c: (gl_ui_cmd_help_contents):
1218 * src/view-highlight.c: (gl_view_highlight_new),
1219 (highlight_resizable_box_construct), (object_changed_cb),
1220 (view_scale_changed_cb):
1221 * src/view.c: (draw_label_layer), (draw_bg_fg_layers),
1222 (draw_markup_layer), (draw_markup_margin),
1223 (gl_view_object_create_mode), (canvas_event),
1224 (selection_received_cb):
1225 * src/wdgt-mini-preview.c: (mini_outline_list_new):
1226 * src/wdgt-rotate-label.c: (mini_preview_canvas_update):
1227 * src/xml-label-04.c: (gl_xml_label_04_parse),
1228 (xml04_parse_media_description), (xml04_parse_text_props),
1229 (xml04_parse_barcode_props):
1230 * src/xml-label-191.c: (gl_xml_label_191_parse),
1231 (xml191_parse_objects), (xml191_parse_object),
1232 (xml191_parse_text_props), (xml191_parse_image_props),
1233 (xml191_parse_barcode_props), (xml191_parse_data),
1234 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
1235 (xml191_parse_markup):
1236 * src/xml-label.c: (gl_xml_label_open), (gl_xml_label_open_buffer),
1237 (xml_doc_to_label), (xml_parse_label), (xml_parse_objects),
1238 (xml_parse_object_text), (xml_parse_object_image),
1239 (xml_parse_object_barcode), (xml_parse_data),
1240 (xml_parse_toplevel_span), (gl_xml_label_save),
1241 (xml_create_objects):
1242 Re-classified g_warnings to g_messages.
1243 * src/merge-evolution.c: (gl_merge_evolution_open),
1244 (gl_merge_evolution_close), (gl_merge_evolution_get_record):
1245 Use g_warning to output errors encountered while
1246 communicating with the evolution data server
1247 instead of embedding them in the data.
1249 2005-12-08 Jim Evins <evins@snaught.com>
1251 * libglabels/libglabels-private.h:
1253 * libglabels/paper.c: (read_papers):
1254 * libglabels/template.c: (read_templates):
1255 Made appropriate warnings critical.
1257 * src/critical-error-handler.h:
1258 * src/critical-error-handler.c: (gl_critical_error_handler_init),
1259 (critical_error_handler):
1260 Created critical error handler.
1261 * src/glabels.c: (main):
1262 Register critical error handler.
1263 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
1264 * src/object-editor.c: (gl_object_editor_init):
1265 * src/prefs-dialog.c: (gl_prefs_dialog_init):
1266 * src/template-designer.c: (gl_template_designer_init):
1267 * src/ui-property-bar.c: (gl_ui_property_bar_instance_init):
1268 Made appropriate warnings critical.
1270 2005-11-27 Jim Evins <evins@snaught.com>
1272 * src/merge-evolution.c: (gl_merge_evolution_get_key_list),
1273 (gl_merge_evolution_get_primary_key),
1274 (gl_merge_evolution_get_record):
1275 Don't create "record_key" pseudo-key. Don't populate
1276 fields with null data.
1278 2005-11-25 Jim Evins <evins@snaught.com>
1280 * src/merge-evolution.c: (gl_merge_evolution_finalize),
1281 (gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
1282 (gl_merge_evolution_get_record), (gl_merge_evolution_copy),
1284 Query EDS for all supported fields. Patch provided by
1285 Austin Henry <ahenry@users.sourceforge.net>.
1287 2005-10-29 Jim Evins <evins@snaught.com>
1289 * src/glabels.c: (main):
1290 * src/label-barcode.c: (gl_label_barcode_finalize):
1291 * src/label-text.c: (gl_label_text_finalize), (set_font_family):
1292 * src/label.c: (gl_label_instance_init), (gl_label_finalize):
1293 * src/object-editor.c: (gl_object_editor_finalize):
1294 Another pass at valgrinding -- plugged several memory leaks.
1295 * src/view-text.c: (gl_view_text_new),
1296 (update_canvas_item_from_object_cb), (draw_hacktext):
1297 Commented out artifacts of edit-in-place code.
1299 2005-10-28 Jim Evins <evins@snaught.com>
1301 * src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
1302 Fixed use of uninitialized variable. Caught by
1303 d binderman <dcb314@hotmail.com>.
1305 2005-10-27 Jim Evins <evins@snaught.com>
1307 * src/merge-evolution.c: (gl_merge_evolution_get_record):
1308 * src/merge-vcard.c: (gl_merge_vcard_get_record),
1310 Additional cleanup of EDS and vcard backends. Provided by
1311 Austin Henry <ahenry@users.sourceforge.net>.
1313 2005-10-24 Jim Evins <evins@snaught.com>
1317 * src/merge-evolution.c:
1318 * src/merge-evolution.h:
1319 * src/merge-init.c: (gl_merge_init):
1320 * src/merge-properties-dialog.c: (type_changed_cb):
1321 * src/merge-vcard.c:
1322 * src/merge-vcard.h:
1323 * src/ui-commands.c: (gl_ui_cmd_help_about):
1324 Added Evolution Data Server and VCard merge backends. Original patch
1325 provided by Austin Henry <ahenry@users.sourceforge.net>.
1327 Only support EDS and VCard backends if libebook is installed. Allow
1328 user to disable support, even if installed.
1330 2005-10-24 Jim Evins <evins@snaught.com>
1333 * data/templates/avery-iso-templates.xml:
1334 * data/templates/avery-us-templates.xml:
1335 * data/templates/misc-iso-templates.xml:
1336 * data/templates/zweckform-iso-templates.xml:
1337 Collected all template changes and submissions since last
1340 2005-10-23 Jim Evins <evins@snaught.com>
1343 * data/mime/Makefile.am:
1344 Added configure options to disable update-mime-database and
1345 update-desktop-database as part of the install. Patch
1346 provided by Leonardo Boshell (qhoracio@sourceforge.net).
1348 2005-10-23 Jim Evins <evins@snaught.com>
1351 * libglabels/xml.c: (gl_xml_get_prop_string),
1352 (gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
1353 (gl_xml_is_node), (gl_xml_get_node_content):
1354 Added new XML utility functions.
1355 * libglabels/xml-paper.c:
1356 * libglabels/xml-template.c:
1358 Cleanup by using new xml utilities created above.
1359 * libglabels/paper.c: (gl_paper_free):
1360 * src/file.c: (new_response):
1361 * src/object-editor-image-page.c: (add_image_filters_to_chooser):
1362 * src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
1363 (gl_pixbuf_cache_get_pixbuf):
1364 * src/ui-property-bar.c:
1365 (gl_ui_property_bar_construct_color_combo):
1366 * src/view-highlight.c: (gl_view_highlight_finalize):
1367 * src/view-image.c: (update_object_from_editor_cb):
1368 * src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
1369 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
1370 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
1371 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
1372 (draw_markup_margin_round), (draw_markup_margin_cd),
1373 (draw_markup_margin_cd_bc):
1374 * src/wdgt-mini-preview.c: (mini_outline_list_new):
1375 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
1376 Plugged various memory leaks located with valgrind.
1377 * src/view-image.c: (update_canvas_item_from_object_cb):
1378 Don't allow a width or height of zero when drawing pixbuf.
1380 2005-10-22 Jim Evins <evins@snaught.com>
1382 * libglabels/xml-paper.c:
1383 * libglabels/xml-template.c:
1386 * src/bc-gnubarcode.c:
1387 * src/canvas-hacktext.c:
1389 * src/object-editor-data-page.c:
1390 * src/print-dialog.c:
1393 * src/template-designer.c:
1395 * src/ui-property-bar.c:
1397 * src/view-barcode.c:
1399 * src/view-ellipse.c:
1404 * src/wdgt-media-select.c:
1405 * src/xml-label-04.c:
1406 * src/xml-label-191.c:
1408 Modified to compile warning free with gcc-4.0. Mostly
1409 casting to change signedness of characters. Did not
1410 attack gnu-barcode library yet.
1412 2005-10-22 Jim Evins <evins@snaught.com>
1414 * src/glabels.c: (main):
1415 * src/splash.c: (gl_splash):
1416 Removed some small memory leaks.
1420 2005-09-19 Jim Evins <evins@snaught.com>
1422 * data/glade/property-bar.glade:
1423 Remove items from font_family_combo. This prevents the
1424 double entry after adding text model and list of fonts.
1425 * src/ui-property-bar.c: (reset_to_default_properties):
1426 Free font_family_list.
1428 2005-07-01 Jim Evins <evins@snaught.com>
1431 Updated italian translation (Daniele Medri)
1433 2005-06-26 Jim Evins <evins@snaught.com>
1435 * docs/libglabels/libglabels-decl-list.txt:
1436 Somehow never got checked in before.
1437 * docs/libglabels/libglabels.types:
1438 Removed -- don't need it afterall.
1440 2005-06-20 Jim Evins <evins@snaught.com>
1443 Final prep for 2.1.1 release.
1445 2005-06-20 Jim Evins <evins@snaught.com>
1448 Final preps for 2.1.1 release.
1449 * docs/libglabels/libglabels.types:
1450 Somehow never got checked in before.
1452 Bring up-to-date with recent reorg of ui code.
1455 2005-06-19 Jim Evins <evins@snaught.com>
1457 * src/template-designer.c: (construct_layout_page):
1458 Removed attempt to match background color of mini preview widget to
1461 2005-06-17 Jim Evins <evins@snaught.com>
1463 * help/C/figures/merge-ex2-4.png:
1464 * help/C/glabels.xml:
1465 Fixed spelling error.
1467 2005-06-13 Jim Evins <evins@snaught.com>
1469 * help/C/figures/merge-ex1-1.png:
1470 * help/C/figures/merge-ex1-2.png:
1471 * help/C/figures/merge-ex1-3.png:
1472 * help/C/figures/merge-ex1-4.png:
1473 * help/C/figures/merge-ex2-1.png:
1474 * help/C/figures/merge-ex2-2.png:
1475 * help/C/figures/merge-ex2-3.png:
1476 * help/C/figures/merge-ex2-4.png:
1477 Added figures for document merge tutorial.
1478 * help/C/glabels.xml:
1479 Added document merge tutorial.
1481 2005-05-19 Jim Evins <evins@snaught.com>
1483 * data/glade/merge-properties-dialog.glade:
1484 Fixed irregular spacing.
1485 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
1486 (gl_merge_properties_dialog_construct):
1487 Set outer padding and remove separator.
1489 2005-05-18 Jim Evins <evins@snaught.com>
1493 Removed glHigDialog class.
1494 * src/file.c: (gl_file_new), (create_new_dialog_widgets),
1495 (gl_file_properties), (create_properties_dialog_widgets):
1496 * src/prefs-dialog.h:
1497 * src/prefs-dialog.c: (gl_prefs_dialog_get_type),
1498 (gl_prefs_dialog_init), (gl_prefs_dialog_construct):
1499 * src/print-dialog.h:
1500 * src/prefs-dialog.h:
1501 * src/print-dialog.c: (gl_print_dialog_get_type),
1502 (gl_print_dialog_init), (gl_print_dialog_construct):
1503 Replaced all instances of glHigDialog with GtkDialog.
1505 2005-05-17 Jim Evins <evins@snaught.com>
1509 Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
1510 * src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
1511 (save_as_response), (gl_file_close):
1512 Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.
1514 2005-05-15 Jim Evins <evins@snaught.com>
1516 * src/ui-commands.h:
1524 A little code reformatting -- no functional changes.
1526 2005-05-14 Jim Evins <evins@snaught.com>
1529 Removed obsolete macros.
1531 Added marshalling template to support new view signal: "context_menu_activate."
1533 * src/view.c: (gl_view_class_init), (gl_view_construct),
1534 (canvas_event_arrow_mode):
1535 - Removed hardcoded context menus and added new signal "context_menu_activate"
1536 to push this up to the uimanager.
1537 - Removed merge properties and print dialogs so that they can be managed with
1538 the window by the uimanager.
1539 * src/merge-properties-dialog.h:
1540 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
1541 (gl_merge_properties_dialog_construct):
1542 Changed calling convention of gl_merge_properties_dialog_new() to use
1543 glLabel and GtkWindow instead of view to make more consistent with other
1545 * src/print-dialog.h:
1546 * src/print-dialog.c: (gl_print_dialog_new),
1547 (gl_print_dialog_construct):
1548 Removed last artifact of libbonoboui.
1549 * src/ui-commands.c: (gl_ui_cmd_file_print),
1550 (gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
1551 Reconciled style for launching dialogs.
1552 * src/ui.c: (gl_ui_new):
1553 Added context menus to ui manager.
1554 * src/view-object.c: (item_event_arrow_mode):
1555 No longer try to select objects with right-click.
1557 * src/window.c: (gl_window_init), (gl_window_set_label),
1558 (context_menu_activate_cb):
1559 Context menus and all dialogs are now managed in a consistent way in window
1562 2005-05-11 Jim Evins <evins@snaught.com>
1565 * src/window.c: (gl_window_init), (gl_window_destroy):
1566 * src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
1567 * src/ui-commands.c: (gl_ui_cmd_file_open_recent):
1568 Moved management of recent_view back from window.c to ui.c -- it just feels
1571 2005-05-10 Jim Evins <evins@snaught.com>
1574 * src/window.c: (gl_window_init):
1576 * src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
1577 (menu_item_select_cb), (menu_item_deselect_cb):
1578 Added GtkStatusbar which displays menu tooltips.
1580 2005-05-09 Jim Evins <evins@snaught.com>
1582 Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
1587 Removed dependencies on libbonoboui.
1589 * data/ui/Makefile.am:
1590 * data/ui/glabels-ui.xml:
1591 Removed data/ui directory.
1592 * data/glade/Makefile.am:
1593 * data/property-bar.glade:
1594 Added glade description of property-bar for new libglade implementation
1601 * src/ui-commands.h:
1602 * src/ui-commands.c:
1603 Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
1604 since the distinction between "commands" and "tools" is no longer that clear.
1607 Modified to expect glWindow instead of GtkWindow. gl_file_open_recent()
1608 no longer has knowledge of eggRecent*.
1609 * src/glabels.c: (main):
1610 Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
1612 * src/object-editor.c: (gl_object_editor_init):
1613 Make sure notebook does not respond to a "show_all" on the parent.
1614 * src/recent-files/Makefile.am:
1615 * src/recent-files/*.[ch]
1616 Updated from latest version of libegg which now has a view based on
1617 GtkUIManager. Removed unused bonobo and gtk views.
1618 * src/ui-property-bar.h:
1619 * src/ui-property-bar.c:
1620 New implementation based on libglade.
1623 Sidebar is now simply a GtkWidget and does not expect to be a part of
1624 a libbonoboui interface.
1629 Converted for use with GtkUIManager.
1632 Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
1633 to create menus and toolbars.
1635 2005-04-25 Jim Evins <evins@snaught.com>
1637 * data/templates/misc-iso-templates.xml:
1638 Added Fellows 04715 template provided by Steve Saxon.
1640 Updated acknowledgement for above.
1642 2005-04-23 Jim Evins <evins@snaught.com>
1644 * src/util.c: (gl_util_combo_box_set_strings):
1645 Make sure to clear model before loading a new list of strings.
1646 * src/wdgt-media-select.h:
1647 * src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
1648 (gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
1649 (template_combo_changed_cb), (prefs_changed_cb),
1650 (gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
1651 (gl_wdgt_media_select_get_page_size),
1652 (gl_wdgt_media_select_set_page_size):
1653 Replaced the deprecated GtkCombo widget with the new
1656 2005-04-21 Jim Evins <evins@snaught.com>
1658 * data/glade/template-designer.glade:
1659 * src/template-designer.c: (construct_pg_size_page),
1660 (pg_size_page_changed_cb), (build_template):
1661 Replaced the deprecated GtkCombo widget with the new
1664 2005-04-20 Jim Evins <evins@snaught.com>
1666 * data/glade/prefs-dialog.glade:
1667 * src/prefs-dialog.c: (construct_object_page),
1668 (update_object_page_from_prefs), (update_prefs_from_object_page):
1669 Replaced the deprecated GtkCombo widget with the new
1672 2005-04-19 Jim Evins <evins@snaught.com>
1674 * data/glade/object-editor.glade:
1675 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
1676 (style_changed_cb), (gl_object_editor_set_bc_style),
1677 (gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
1678 (gl_object_editor_get_bc_color):
1679 * src/object-editor-data-page.c:
1680 (gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
1681 (gl_object_editor_get_data):
1682 * src/object-editor-edit-page.c:
1683 (gl_object_editor_prepare_edit_page), (insert_button_cb):
1684 * src/object-editor-fill-page.c:
1685 (gl_object_editor_prepare_fill_page),
1686 (gl_object_editor_set_fill_color),
1687 (gl_object_editor_get_fill_color):
1688 * src/object-editor-image-page.c:
1689 (gl_object_editor_prepare_image_page),
1690 (gl_object_editor_set_image), (gl_object_editor_get_image):
1691 * src/object-editor-line-page.c:
1692 (gl_object_editor_prepare_line_page),
1693 (gl_object_editor_set_line_color),
1694 (gl_object_editor_get_line_color):
1695 * src/object-editor-private.h:
1696 * src/object-editor-text-page.c:
1697 (gl_object_editor_prepare_text_page),
1698 (gl_object_editor_set_font_family),
1699 (gl_object_editor_get_font_family),
1700 (gl_object_editor_set_text_color),
1701 (gl_object_editor_get_text_color):
1702 * src/object-editor.c: (gl_object_editor_set_key_names):
1704 In the object editor: replaced all instances of the deprecated
1705 GtkCombo widget with the new GtkComboBox.
1707 2005-04-18 Jim Evins <evins@snaught.com>
1710 Neglected to save this one in previous checkin to support
1713 2005-04-17 Jim Evins <evins@snaught.com>
1715 * libglabels/libglabels-private.h:
1716 * libglabels/paper.c:
1717 * libglabels/paper.h:
1718 * libglabels/template.c:
1719 * libglabels/template.h:
1720 * libglabels/xml-paper.c:
1721 * libglabels/xml-paper.h:
1722 * libglabels/xml-template.c:
1727 * src/bc-gnubarcode.c:
1738 * src/label-barcode.c:
1740 * src/label-ellipse.c:
1741 * src/label-image.c:
1742 * src/label-image.h:
1744 * src/label-object.c:
1748 * src/merge-properties-dialog.c:
1749 * src/object-editor-bc-page.c:
1750 * src/object-editor-data-page.c:
1751 * src/object-editor-edit-page.c:
1752 * src/object-editor-fill-page.c:
1753 * src/object-editor-image-page.c:
1754 * src/object-editor-line-page.c:
1755 * src/object-editor-lsize-page.c:
1756 * src/object-editor-position-page.c:
1757 * src/object-editor-private.h:
1758 * src/object-editor-size-page.c:
1759 * src/object-editor-text-page.c:
1760 * src/object-editor.c:
1761 * src/object-editor.h:
1762 * src/pixbuf-cache.h:
1763 * src/prefs-dialog.c:
1764 * src/prefs-dialog.h:
1765 * src/prefs-model.c:
1766 * src/prefs-model.h:
1768 * src/print-dialog.c:
1769 * src/print-dialog.h:
1777 * src/template-designer.c:
1778 * src/template-designer.h:
1781 * src/ui-property-bar.c: (gl_ui_property_bar_construct):
1787 * src/view-barcode.c:
1789 * src/view-ellipse.c:
1790 * src/view-highlight.c:
1791 * src/view-highlight.h:
1794 * src/view-object.c:
1795 * src/view-object.h:
1799 * src/wdgt-chain-button.c:
1800 * src/wdgt-media-select.c:
1801 * src/wdgt-media-select.h:
1802 * src/wdgt-mini-preview.c:
1803 * src/wdgt-mini-preview.h:
1804 * src/wdgt-print-copies.c:
1805 * src/wdgt-print-copies.h:
1806 * src/wdgt-print-merge.c:
1807 * src/wdgt-print-merge.h:
1808 * src/wdgt-rotate-label.c:
1809 * src/wdgt-rotate-label.h:
1812 * src/xml-label-04.c:
1813 * src/xml-label-191.c:
1815 Cleanup of header files:
1816 - all header files are now stand-alone, verified by including
1817 first in corresponding "c" files
1818 - replaced blanket includes of gnome, gtk, and glib with
1821 2005-04-16 Jim Evins <evins@snaught.com>
1823 * data/glade/Makefile.am:
1824 * data/glade/merge-properties-dialog.glade:
1825 Added merge properties dialog glade description file.
1826 * src/merge-properties-dialog.h:
1827 * src/merge-properties-dialog.c:
1828 (gl_merge_properties_dialog_get_type),
1829 (gl_merge_properties_dialog_init),
1830 (gl_merge_properties_dialog_finalize),
1831 (gl_merge_properties_dialog_new),
1832 (gl_merge_properties_dialog_construct), (type_changed_cb),
1833 (src_changed_cb), (response_cb), (load_tree),
1834 (record_select_toggled_cb), (select_all_button_clicked_cb),
1835 (unselect_all_button_clicked_cb):
1836 Modified merge properties dialog to use libglade. Added
1837 "select all" and "unselect all" buttons.
1838 * src/merge-text.c: (parse_line):
1839 Handle empty lines better.
1840 * src/merge.c: (gl_merge_eval_key):
1841 Evaluate the key whether the record is selected or not.
1843 * src/util.c: (gl_util_combo_box_add_text_model):
1844 Since libglade does not use the gtk_combo_box_new_text()
1845 constructor for GtkComboBoxes, a utility function was created
1846 to add an appropriate text model to a GtkComboBox.
1847 * src/view.c: (gl_view_edit_merge_props):
1848 Removed unnecessary "show all's".
1850 2005-04-15 Jim Evins <evins@snaught.com>
1853 Updated russian translation (Vitaly Lipatov)
1854 * data/templates/misc-iso-templates.xml:
1855 Added templates for russian business cards provided by Vitaly Lipatov.
1857 Updated acknowledgements for above.
1859 2005-04-15 Jim Evins <evins@snaught.com>
1861 * data/templates/avery-us-templates.xml:
1862 Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
1863 * data/templates/misc-iso-templates.xml:
1864 Added Ryman standard CD/DVD template, provided by Dan Clark.
1866 Added acknowledgements for above.
1868 2005-04-10 Jim Evins <evins@snaught.com>
1870 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
1871 * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
1872 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
1873 (xml_parse_label_cd_node), (xml_parse_alias_node):
1874 * libglabels/xml.c: (gl_xml_get_prop_double),
1875 (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
1876 (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
1877 * src/xml-label-04.c: (xml04_parse_media_description),
1878 (xml04_parse_text_props), (xml04_parse_barcode_props),
1879 (xml04_parse_merge_properties):
1880 * src/xml-label-191.c: (xml191_parse_object),
1881 (xml191_parse_text_props), (xml191_parse_barcode_props),
1882 (xml191_parse_merge_fields), (xml191_parse_pixdata),
1883 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
1884 (xml191_parse_alias):
1885 * src/xml-label.c: (xml_parse_object_text),
1886 (xml_parse_object_barcode), (xml_parse_merge_fields),
1887 (xml_parse_pixdata), (xml_parse_toplevel_span):
1888 Make sure to use xmlFree for anything obtained from libxml
1889 in case libxml and glib use different memory management
1892 2005-04-08 Jim Evins <evins@snaught.com>
1895 * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
1896 (gl_util_combo_box_set_active_text):
1897 Added utility functions to simplify working with GtkComboBox
1899 * src/ui-property-bar.h:
1900 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
1901 (reset_to_default_properties), (update_text_properties),
1902 (font_family_changed_cb):
1903 Replaced deprecated GtkCombo with GtkComboBox.
1906 2005-04-03 Jim Evins <evins@snaught.com>
1909 * src/wdgt-image-select.h:
1910 * src/wdgt-image-select.c:
1911 Removed obsolete wdgt-image-select.[ch] files.
1912 * libglabels/paper.c: (gl_paper_dup):
1913 Fixed rename of parameter introduced during documentation
1915 * data/glade/object-editor.glade:
1916 * src/object-editor-image-page.c:
1917 (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
1918 (gl_object_editor_set_image), (gl_object_editor_get_image),
1919 (update_preview_cb), (add_image_filters_to_chooser):
1920 * src/object-editor-private.h:
1921 Replaced deprecated GnomePixmapEntry with
1922 GtkFileChooserButton.
1924 2005-04-02 Jim Evins <evins@snaught.com>
1926 * src/mygal/mygal-combo-box.c: (deactivate_arrow),
1927 (mygal_combo_box_popup_hide_unconditional),
1928 (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
1929 (mygal_combo_toggle_pressed), (mygal_combo_box_init),
1930 (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
1931 (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
1932 (cb_tearable_button_release), (mygal_combo_box_set_tearable):
1933 Renamed all internal gtk_combo functions to mygal_combo
1934 to prevent namespace confusion.
1936 2005-04-02 Jim Evins <evins@snaught.com>
1938 * src/mygal/color-palette.c: (color_palette_change_custom_color),
1939 (cust_color_set), (color_palette_setup):
1940 * src/mygal/color-palette.h:
1941 Replaced deprecated GnomeColorPicker with GtkColorButton.
1943 2005-04-02 Jim Evins <evins@snaught.com>
1945 * docs/libglabels/libglabels-sections.txt:
1946 * docs/libglabels/libglabels-undocumented.txt:
1947 * docs/libglabels/tmpl/enums.sgml:
1948 * docs/libglabels/tmpl/paper.sgml:
1949 * docs/libglabels/tmpl/xml-paper.sgml:
1950 * docs/libglabels/tmpl/xml-template.sgml:
1951 * libglabels/enums.h:
1952 * libglabels/paper.c: (gl_paper_dup):
1953 * libglabels/paper.h:
1954 * libglabels/xml-paper.c:
1955 * libglabels/xml-template.c:
1956 More documentation updates for libglabels.
1958 2005-03-23 Jim Evins <evins@snaught.com>
1961 Automatically updated.
1966 * docs/libglabels/Makefile.am:
1967 * docs/libglabels/libglabels-docs.sgml:
1968 * docs/libglabels/libglabels-sections.txt:
1969 * docs/libglabels/libglabels-undocumented.txt:
1970 * docs/libglabels/tmpl/enums.sgml:
1971 * docs/libglabels/tmpl/libglabels-unused.sgml:
1972 * docs/libglabels/tmpl/libglabels.sgml:
1973 * docs/libglabels/tmpl/paper.sgml:
1974 * docs/libglabels/tmpl/template.sgml:
1975 * docs/libglabels/tmpl/xml-paper.sgml:
1976 * docs/libglabels/tmpl/xml-template.sgml:
1977 * docs/libglabels/tmpl/xml.sgml:
1978 Added basic gtk-doc stuff to support documenting libglabels
1981 Updated function comments with gtk-doc markup.
1985 2005-03-22 Jim Evins <evins@snaught.com>
1987 Since the development version now requires gtk-2.6/gnome-2.10, I
1988 have made a first pass at removing deprecations.
1991 * libglabels/Makefile.am:
1993 Added configure option to turn on X_DISABLE_DEPRECATED flags.
1994 Also removed all remnants of HAVE_FILECHOOSER.
1995 * src/file.c: (gl_file_open_real):
1996 Removed code for old GtkFileSelection.
1997 * libglabels/libglabels-private.h:
1998 * libglabels/paper.c:
1999 * libglabels/template.c:
2000 * libglabels/xml-paper.c:
2001 * libglabels/xml-template.c:
2005 * src/glabels-batch.c:
2009 * src/merge-properties-dialog.c:
2011 * src/object-editor.c:
2012 * src/prefs-dialog.c:
2014 * src/print-dialog.c:
2017 * src/template-designer.c:
2018 * src/ui-property-bar.c:
2020 * src/view-barcode.c:
2022 * src/view-ellipse.c:
2027 * src/wdgt-image-select.c:
2028 * src/wdgt-media-select.c:
2029 * src/wdgt-print-copies.c:
2030 * src/wdgt-print-merge.c:
2031 * src/wdgt-rotate-label.c:
2033 * src/xml-label-04.c:
2034 * src/xml-label-191.c:
2036 Added '#include <glib/gi18n.h>" where needed.
2037 Removed any unused '#include <gnome.h>"s.
2039 2005-03-22 Jim Evins <evins@snaught.com>
2041 * src/commands.c: (activate_url), (gl_cmd_help_about):
2042 Replaced GnomeAbout with GtkAboutDialog. Therefore the
2043 development version of glabels now depends on GTK 2.6 and
2046 Updated library dependencies.
2048 2005-02-28 Jim Evins <evins@snaught.com>
2051 * data/templates/misc-iso-templates.xml:
2052 Added 'Ednet 45021' template provided by Ali Akcaagac
2055 2005-02-14 Jim Evins <evins@snaught.com>
2057 * data/templates/avery-us-templates.xml:
2058 Updated templates to use inches instead of points.
2059 * src/print-dialog.c: (printer_page_new):
2060 Changed packing style when adding printer selector widget. This fixes
2063 2005-02-13 Jim Evins <evins@snaught.com>
2067 Updated spanish translations. (sergio rivadero)
2069 2005-02-05 Jim Evins <evins@snaught.com>
2071 Some cleanup to libglabels.
2074 Updated version to 2.1.1cvs. Added generation of libglabels.pc.
2075 * libglabels/libglabels.pc.in
2077 * libglabels/enums.h
2078 Created. Currently only contains glUnitsType which provides enumerations
2079 for all possible units of distance.
2080 * libglabels/Makefile.am:
2081 Incorporated new files enums.h and libglabels.pc[.in].
2082 * libglabels/libglabels.h:
2084 * libglabels/template.h:
2085 * libglabels/template.c: (gl_template_layout_new):
2086 Changed parameters nx and ny to gint from gdouble.
2088 * libglabels/xml.c: (gl_xml_get_prop_length),
2089 (gl_xml_set_prop_length), (gl_xml_set_default_units):
2090 Added support for different output units.
2091 * src/prefs-dialog.c: (update_locale_page_from_prefs),
2092 (update_prefs_from_locale_page):
2093 * src/prefs-model.c: (string_to_units), (units_to_string):
2094 * src/prefs-model.h:
2095 * src/prefs.c: (gl_prefs_get_units_per_point),
2096 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
2097 (gl_prefs_get_units_string):
2099 * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
2100 Reconciled all length enumerations with the new enumerations provided
2101 in libglabels/enums.h.
2103 2005-02-03 Jim Evins <evins@snaught.com>
2106 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
2108 Updated Italian translations. (Daniele Medri)
2110 Updated credits to reflect above translations.
2113 2005-01-22 Jim Evins <evins@snaught.com>
2118 Added MESSAGE-OF-DOOM to EXTRA_DIST.
2120 Final prep for 2.1.0.
2122 Set version to 2.1.0. Output MESSAGE-OF-DOOM.
2124 Added '--remove-original' flag to desktop-file-install, so that there is
2125 only one menu entry.
2127 2005-01-20 Jim Evins <evins@snaught.com>
2129 * data/glade/object-editor.glade:
2130 - Font family entry should not be editable.
2131 - img_key_entry should have sensitivity=YES, so that it follows the
2132 sensitivity of img_key_combo.
2134 2005-01-19 Jim Evins <evins@snaught.com>
2137 Give credit to Frederic Ruaudel for the color merge patches.
2139 2005-01-18 Frederic Ruaudel <grumz@users.sf.net>
2141 Add support to merge color for all other color attribute (Feature
2142 Requests item #1008635. If the data is invalid, the color used is transparent
2143 (GL_COLOR_NONE). The format for color in merge data file are those accepted
2144 by gdk_color_parse() these include name for a color from rgb.txt, such as
2145 DarkSlateGray, or a hex specification such as #305050. File format has been
2146 changed but backward compatibility is preserved for all format. For
2147 box/ellipse/line, keep attribute "line_color" for static color or replace by
2148 "line_color_field" for merge data. For text/barcode objects, keep attribute
2149 "color" for static color or replace by "color_field" for merge data. In the
2150 edit canvas window, merged color are represented by half-transparent black
2153 * data/dtd/glabels-2.0.dtd:
2154 Added line_color_field to line_attrs. Added color_field to
2155 Object-barcode and Span.
2156 * data/glade/object-editor.glade:
2157 Modify the layout of the editor to add merge possibility to color options
2159 Fix a copy/paste error in a comment
2161 Add default color for merge color representation in the editor canvas.
2162 * src/label-barcode.c:
2163 * src/object-editor-bc-page.c:
2164 * src/view-barcode.c:
2165 Add merge color support for barcode color.
2168 Add merge color support for box border color.
2169 * src/label-ellipse.c:
2170 * src/view-ellipse.c:
2171 Add merge color support for ellipse border color.
2174 Add merge color support for line color.
2175 * src/label-object.c:
2176 * src/label-object.h:
2177 * src/object-editor.c:
2178 * src/object-editor.h:
2179 * src/ui-property-bar.c:
2182 * src/xml-label-04.c:
2183 * src/xml-label-191.c:
2184 Add support for merging to other color attribute.
2186 * src/object-editor-text-page.c:
2188 Add merge color support for text color.
2189 * src/object-editor-fill-page.c:
2190 Change a blocked handler that didn't match the good widget. Fix the type
2191 of some debug message.
2192 * src/object-editor-line-page.c:
2193 Add merging support to line color option.
2194 * src/object-editor-private.h:
2195 Add variables for new widget.
2197 Modify the draw functions to get merge data if needed.
2199 Change the default size of the window in order to see all widget in the
2200 "text style tab" of the editor.
2202 Modify the parser to record/retreive the field value for objects that need
2203 "color" attribute. For box/ellipse/line, keep attribute "line_color" for
2204 static color or replace by "line_color_field" for merge data. For
2205 text/barcode objects, keep attribute "color" for static color or replace
2206 by "color_field" for merge data.
2208 2005-01-17 Jim Evins <evins@snaught.com>
2210 * src/view.c: (screen_changed_cb):
2211 Don't do anything if we don't have a screen.
2213 2005-01-06 Jim Evins <evins@snaught.com>
2215 * src/view.c: (get_home_scale):
2216 Fixed bad call to gtk_widget_has_screen() -- huh?.
2218 2005-01-06 Jim Evins <evins@snaught.com>
2220 * data/dtd/glabels-2.0.dtd:
2221 Added fill_color_field to fill_attrs. Also added xmlns attribute to all
2224 2005-01-06 Jim Evins <evins@snaught.com>
2226 * data/glade/object-editor.glade:
2227 Set entries for fill and data field key dropdowns to NOT editable.
2228 * src/view-box.c: (construct_properties_editor):
2229 * src/view-ellipse.c: (construct_properties_editor):
2230 Update object editor when label's merge property has changed.
2231 * src/xml-label.c: (xml_parse_object_ellipse):
2232 Completed the merge color support for the ellipse item.
2234 2005-01-06 Frederic Ruaudel <grumz@users.sf.net>
2236 Add support to merge color for object that have a "Fill color" attribute (Feature
2237 Requests item #1008635. If the data is invalid, the color used is transparent
2238 (GL_COLOR_NONE). The format for color in merge data file are those accepted
2239 by gdk_color_parse() these include name for a color from rgb.txt, such as
2240 DarkSlateGray, or a hex specification such as #305050. File format has been
2241 changed but backward compatibility is preserved for all format. For box/ellipse,
2242 keep attribute "fill_color" for static color or replace by "fill_color_field"
2245 * data/glade/object-editor.glade:
2246 Modify "Fill" tab to add the merge key combo and convert the labels into
2250 Add "glColorNode" structure and associated functions to manage it. This
2251 structure is equivalent for color than the "glTextNode". It holds the color
2253 * src/label-object.h:
2254 * src/label-object.c:
2256 * src/label-ellipse.c:
2257 * src/ui-property-bar.c:
2261 * src/view-ellipse.c:
2262 * src/xml-label-04.c:
2263 * src/xml-label-191.c:
2264 Change functions of objects that have a "fill color" attribute to use the
2265 new "glColorNode" structure. Use barcode code as example.
2267 Add the color.[ch] file to glabels_batch binary that now need support for
2269 * src/object-editor.h:
2270 * src/object-editor.c:
2271 * src/object-editor-fill-page.c:
2272 Manage the new widget of the editor's "Fill" tab : key combo and radio button
2273 to choose between static color or merge key. Use barcode code as example.
2274 * src/object-editor-private.h:
2275 Add new widget in the "_glObjectEditorPrivate" structure.
2277 Modify the draw functions to get merge data if needed.
2279 Modify the parser to record/retreive the field value for objects that need
2280 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
2281 color or "fill_color_field" for merge data.
2283 2005-01-04 Jim Evins <evins@snaught.com>
2286 * data/templates/avery-iso-templates.xml:
2287 * data/templates/misc-iso-templates.xml:
2288 * data/templates/misc-us-templates.xml:
2289 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
2292 2004-11-26 Jim Evins <evins@snaught.com>
2296 Updated french translations provided by Florent Morel <florent@taket.org>.
2297 * src/view-barcode.c:
2299 * src/view-ellipse.c:
2303 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
2304 thus _() strings were not being translated.
2306 2004-11-14 Jim Evins <evins@snaught.com>
2309 * src/debug.c: (gl_debug_init), (gl_debug):
2310 Borrowed from gedit: use environmental variables to select debug
2313 Removed unused include of debug.h.
2314 * src/glabels.c: (main):
2315 Added call to gl_debug_init(), and removed debug clutter from command line
2317 * src/glabels-batch.c: (main):
2318 Added call to gl_debug_init().
2320 2004-11-13 Jim Evins <evins@snaught.com>
2322 Drawing and property toolbars were being initialized with the "icons and text"
2323 look in Fedora Core 3. Even though none of the buttons had any text attached to
2324 them, the buttons were being sized as if they were. This led to less real estate
2325 for the property editor, leading to Bug #1064630. The
2327 * data/ui/glabels-ui.xml:
2328 Added explicit "look" property to both drawing and property toolbars.
2329 * src/prefs-model.c: (gl_prefs_model_save_settings),
2330 (gl_prefs_model_load_settings):
2331 * src/prefs-model.h:
2332 Removed drawing_toolbar_button_style configuration parameter.
2333 * src/ui.c: (view_menu_item_toggled_cb),
2334 (set_app_drawing_toolbar_style):
2335 Do not attempt to adjust look property of the drawing toolbar.
2337 2004-10-28 Jim Evins <evins@snaught.com>
2339 * data/pixmaps/glabels-about-logo.png:
2342 2004-10-28 Jim Evins <evins@snaught.com>
2344 * data/man/glabels.1:
2345 * src/glabels-batch.c: (main):
2347 * src/print.c: (gl_print_batch):
2349 Added option to glabels-batch to select the first label to begin
2352 2004-09-26 Jim Evins <evins@snaught.com>
2354 * data/desktop/glabels.desktop.in:
2355 Point to app icon, "glabels.png"
2356 * data/mime/glabels.keys.in:
2357 Point at mime icon, "glabels-application-x-glabels.png"
2358 * data/pixmaps/Makefile.am:
2359 Added glabels_app_icondir. Renamed icons.
2360 * data/pixmaps/glabels.png:
2361 New cleaned up app icon. Deleted glabels-icon.png.
2362 * data/pixmaps/glabels-application-x-glabels.png:
2364 * data/pixmaps/glabels-splash.png:
2365 Renamed glabels-logo to glabels-splash to be more correct about role.
2367 * src/template-designer.c:
2368 Point at app icon, "glabels.png"
2370 Point at renamed splash image, "glabels-splash.png"
2372 2004-08-22 Jim Evins <evins@snaught.com>
2375 * src/glabels-batch.c: (main):
2376 Applied patch with minor mods to allow selecting merge source and
2377 crop-marks on glabels-batch's command line. Original patch provided by
2378 José Dapena Paz <jdapena@igalia.com>.
2380 2004-08-15 Jim Evins <evins@snaught.com>
2382 * data/desktop/glabels.desktop.in:
2383 - Added encoding line
2384 - Removed period from comment
2385 - Fixed Terminal line, changed "0" to "false"
2386 - Added semicolen to Categories line
2388 - Made sure desktop.in comment string above still translated properly
2390 2004-08-14 Jim Evins <evins@snaught.com>
2392 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
2393 * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
2394 * src/xml-label-191.c: (xml191_parse_sheet):
2395 Fixed improper freeing of gettext strings. Merged from 2.0.1.
2397 Reconciled libglabels versioning with 2.0.1.
2400 2004-08-14 Jim Evins <evins@snaught.com>
2403 Updated version to 2.1cvs.
2405 2004-08-14 Jim Evins <evins@snaught.com>
2408 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
2410 2004-08-14 Jim Evins <evins@snaught.com>
2412 Fixes for Bug #1008181.
2414 * src/bc.c: (gl_barcode_default_digits):
2415 Make a format of zero digits, harmless.
2416 * src/xml-label.c: (xml_parse_object_barcode):
2417 Set default value of the format property of barcode objects to 10, not
2418 zero. This will prevent crashes when reading pre 2.0.x files.
2420 2004-08-09 Jim Evins <evins@snaught.com>
2424 * help/C/glabels-C.omf:
2425 * help/C/glabels.xml:
2426 Brought documentation up-to-date for 2.0.0 release.
2428 2004-08-09 Jim Evins <evins@snaught.com>
2430 These are hopefully the final preparations for 2.0.0.
2432 * data/mime/Makefile.am:
2433 Include glabels.xml in EXTRA_DIST.
2435 - Updated comment style.
2436 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
2437 - Added package and version info to configuration printout
2438 - Update version to 2.0.0
2439 * libglabels/Makefile.am:
2440 Use the new LIBGLABELS_VERSION_INFO macro.
2442 2004-08-09 Jim Evins <evins@snaught.com>
2446 Cleanup of required library macros.
2448 2004-08-08 Jim Evins <evins@snaught.com>
2452 - More specific of what to install in /usr/bin and /usr/lib
2453 - Remove built mime registration files from staging directory
2455 2004-08-08 Jim Evins <evins@snaught.com>
2457 * data/mime/Makefile.am:
2458 Fixed typo: key_files should have been keys_files.
2460 2004-08-08 Jim Evins <evins@snaught.com>
2462 Reorganization of runtime data files. Also added registration of mimetype with
2463 new freedesktop.org mime database if available.
2466 Moved files to appropriate subdirectories, creating local Makefile.am
2467 in each subdirectory.
2468 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
2469 These are now installed at $datadir/glabels/templates.
2470 - Moved glabels.1 to man subdirectory.
2471 - Moved glabels-2.0.dtd to dtd subdirectory.
2472 - Moved glabels.desktop.in to desktop subdirectory.
2473 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
2475 Moved "./pixmaps" to "./data/pixmaps"
2477 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
2479 Moved libglade files from src to data/glade. Created Makefile.am.
2481 Removed pixmaps from SUBDIRS.
2483 - Removed pixmaps from makefiles.
2484 - Added makefiles for new subdirs of data.
2485 - Added tests for freedesktop.org mime database.
2487 - Added tests for freedesktop.org mime database for post install and
2488 post un-install actions.
2489 * libglabels/Makefile.am:
2490 Moved system template files to $(datadir)/glabels/templates.
2491 * libglabels/libglabels-private.h:
2492 Moved system template files to $(datadir)/glabels/templates.
2494 - Accounted for movement of ui and libglade files.
2495 - Added missing .in files.
2496 - Reorganized by directory.
2498 Accounted for movement of ui and libglade files.
2499 * data/mime/glabels.xml.in:
2500 New file for registering with freedesktop.org mime database.
2502 2004-08-07 Jim Evins <evins@snaught.com>
2504 * src/recent-files/*:
2505 Re-synced to latest libegg/recent-files.
2507 2004-08-07 Jim Evins <evins@snaught.com>
2512 Renamed "./doc" directory to "./help" which contains user documentation,
2513 to be more consistent with other GNOME applications.
2516 2004-07-26 Jim Evins <evins@snaught.com>
2518 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
2519 Corrected button order of merge properties dialog.
2521 2004-07-18 Jim Evins <evins@snaught.com>
2523 * data/glabels-2.0.dtd:
2524 * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
2525 (gl_barcode_get_prefered_n):
2527 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
2528 (gl_label_barcode_get_props), (get_size):
2529 * src/label-barcode.h:
2530 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
2531 (style_changed_cb), (gl_object_editor_set_bc_style),
2532 (gl_object_editor_get_bc_style):
2533 * src/object-editor-data-page.c: (data_radio_toggled_cb),
2534 (gl_object_editor_set_data), (gl_object_editor_get_data):
2535 * src/object-editor-private.h:
2536 * src/object-editor.c: (gl_object_editor_set_key_names):
2537 * src/object-editor.glade:
2538 * src/object-editor.h:
2539 * src/print.c: (draw_barcode_object):
2540 * src/view-barcode.c: (update_object_from_editor_cb),
2541 (update_editor_from_object_cb),
2542 (gl_view_barcode_create_event_handler), (draw_barcode):
2543 * src/xml-label-04.c: (xml04_parse_barcode_props):
2544 * src/xml-label-191.c: (xml191_parse_barcode_props):
2545 * src/xml-label.c: (xml_parse_object_barcode),
2546 (xml_create_object_barcode):
2547 Added "format" attribute to barcode objects. This attribute is used
2548 to properly format freeform barcodes barcodes prior to merge data is
2549 applied, so that barcodes can be accurately layed out. This addresses
2550 remaining issues of feature request #824787. Also added an example of
2551 the format in the object editor.
2553 2004-07-12 Jim Evins <evins@snaught.com>
2555 Various code cleanups.
2557 * src/label-barcode.c:
2558 Removed unneeded include of gnome-glyphlist.h.
2560 * src/label-text.c: (get_size):
2561 Fixed memory leak: unref glyphlists when done with them.
2563 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
2564 * src/object-editor-data-page.c:
2565 (gl_object_editor_prepare_data_page):
2566 * src/object-editor-image-page.c:
2567 (gl_object_editor_prepare_image_page):
2568 * src/object-editor-line-page.c:
2569 (gl_object_editor_prepare_line_page):
2570 * src/object-editor-lsize-page.c:
2571 (gl_object_editor_prepare_lsize_page):
2572 * src/object-editor-position-page.c:
2573 (gl_object_editor_prepare_position_page):
2574 * src/object-editor-size-page.c:
2575 (gl_object_editor_prepare_size_page):
2576 * src/object-editor-text-page.c:
2577 (gl_object_editor_prepare_text_page):
2578 Removed unneeded size groups, originally intended to keep widgets aligned.
2579 Now use tables to lay these out in object-editor.glade.
2581 * src/print.c: (draw_text_object):
2582 Fixed memory leak: unref glyphlists when done with them.
2584 * src/view-barcode.c: (draw_barcode):
2585 Fixed memory leak: unref glyphlists when done with them.
2587 * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
2588 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
2590 - Fixed memory leak: unref glyphlists when done with them.
2592 2004-07-11 Jim Evins <evins@snaught.com>
2594 * data/glabels-2.0.dtd:
2595 * src/label-text.c: (gl_label_text_instance_init), (copy),
2596 (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
2598 * src/object-editor-private.h:
2599 * src/object-editor-text-page.c:
2600 (gl_object_editor_prepare_text_page),
2601 (gl_object_editor_set_text_auto_shrink),
2602 (gl_object_editor_get_text_auto_shrink):
2603 * src/object-editor.c: (gl_object_editor_set_key_names):
2604 * src/object-editor.glade:
2605 * src/object-editor.h:
2606 * src/print.c: (draw_text_object):
2607 * src/view-text.c: (update_object_from_editor_cb),
2608 (update_editor_from_object_cb):
2609 * src/xml-label.c: (xml_parse_object_text),
2610 (xml_create_object_text):
2611 Added option to allow document merge to auto shrink text size to fit
2612 within the text box. The code in print.c that actually shrinks the
2613 text is loosely based on a patch submitted by Mark Harrison
2614 <mark.harrison@velocitynet.com.au>. This addresses feature request
2617 2004-07-11 Jim Evins <evins@snaught.com>
2619 * data/glabels-2.0.dtd:
2620 * libglabels/template.c: (gl_template_rect_label_type_new),
2621 (gl_template_round_label_type_new),
2622 (gl_template_cd_label_type_new), (gl_template_label_type_dup),
2623 (template_full_page):
2624 * libglabels/template.h:
2625 * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
2626 (xml_create_label_node):
2627 * pixmaps/ex-rect-size.png:
2628 * src/print.c: (clip_to_outline), (clip_punchouts):
2629 * src/template-designer.c: (construct_rect_size_page),
2630 (rect_size_page_prepare_cb), (layout_page_prepare_cb),
2632 * src/template-designer.glade:
2633 * src/xml-label-191.c: (xml191_parse_label):
2634 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
2635 properties for rectangular labels. Templates remain backwards compatible,
2636 but this breaks the libglabels API (I don't know of anyone outside of
2637 glabels using libglabels at this time -- what can I say, the program is
2638 is still "unstable"). This addresses the suggestion in Feature Request
2641 2004-07-05 Jim Evins <evins@snaught.com>
2642 * src/print.c: (print_crop_marks), (draw_outline):
2643 Changed crop marks and label outlines to black, instead of 25% gray.
2644 This addresses debian Bug #257460.
2646 2004-07-05 Jim Evins <evins@snaught.com>
2648 * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
2649 * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
2650 Preserve "is_default" of fill and line color_combos when creating from
2653 2004-07-02 Jim Evins <evins@snaught.com>
2656 Created man page. Based on page submitted by Matthew J. Lockner, however
2657 it has been severely edited.
2659 * data/avery-other-templates.xml
2660 * data/misc-other-templates.xml:
2661 Started new files for predefined templates with non-standard sheet sizes.
2662 These have been initially populated with the Avery 06141 and
2663 OfficeMax #86112, both provided by Matthew J. Lockner.
2666 Install above manpage and template files.
2669 Make sure we install man pages.
2671 * src/glabels-batch.c:
2672 Changed short form of help option to '-?' to be consistent with glabels.
2675 Added acknowledgement for above labels.
2677 2004-07-02 Jim Evins <evins@snaught.com>
2679 * src/glabels.c: (main), (save_session_cb):
2680 - Now include libbonoboui.h, recent.h, and file.h to provide missing
2682 - save_session_cb() now returns gboolean.
2683 - Minor formatting changes.
2687 - Now include file.h to provide missing prototype.
2688 - gl_window_get_type() now returns GType, not guint. I believe this may
2689 ultimately be cause of the segfault reported in Bug #982287, since
2690 GType is actually a gulong, which may not be compatible on other
2691 architectures (64bit) -- I cannot personally test this at this time.
2692 I was sloppy in several other xxx_get_type() functions which also
2693 returned guint -- see next group of files:
2695 * src/window.c: (gl_window_get_type):
2696 * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
2697 * src/canvas-hacktext.h:
2698 * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
2699 (gl_hig_category_get_type), (gl_hig_vbox_get_type),
2700 (gl_hig_hbox_get_type):
2702 * src/label-barcode.c: (gl_label_barcode_get_type):
2703 * src/label-barcode.h:
2704 * src/label-box.c: (gl_label_box_get_type):
2706 * src/label-ellipse.c: (gl_label_ellipse_get_type):
2707 * src/label-ellipse.h:
2708 * src/label-image.c: (gl_label_image_get_type):
2709 * src/label-image.h:
2710 * src/label-line.c: (gl_label_line_get_type):
2712 * src/label-object.c: (gl_label_object_get_type):
2713 * src/label-object.h:
2714 * src/label-text.c: (gl_label_text_get_type):
2716 * src/label.c: (gl_label_get_type):
2718 * src/merge-properties-dialog.c:
2719 (gl_merge_properties_dialog_get_type):
2720 * src/merge-properties-dialog.h:
2721 * src/merge-text.c: (gl_merge_text_get_type):
2723 * src/merge.c: (gl_merge_get_type):
2725 * src/object-editor.c: (gl_object_editor_get_type):
2726 * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
2727 * src/prefs-dialog.h:
2728 * src/prefs-model.c: (gl_prefs_model_get_type):
2729 * src/prefs-model.h:
2730 * src/print-dialog.c: (gl_print_dialog_get_type):
2731 * src/print-dialog.h:
2732 * src/template-designer.c: (gl_template_designer_get_type):
2733 * src/template-designer.h:
2734 * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
2735 * src/ui-property-bar.h:
2736 * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
2738 * src/view-barcode.c: (gl_view_barcode_get_type):
2739 * src/view-barcode.h:
2740 * src/view-box.c: (gl_view_box_get_type):
2742 * src/view-ellipse.c: (gl_view_ellipse_get_type):
2743 * src/view-ellipse.h:
2744 * src/view-highlight.c: (gl_view_highlight_get_type):
2745 * src/view-highlight.h:
2746 * src/view-image.c: (gl_view_image_get_type):
2748 * src/view-line.c: (gl_view_line_get_type):
2750 * src/view-object.c: (gl_view_object_get_type):
2751 * src/view-object.h:
2752 * src/view-text.c: (gl_view_text_get_type):
2754 * src/view.c: (gl_view_get_type):
2756 * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
2757 * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
2758 * src/wdgt-image-select.h:
2759 * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
2760 * src/wdgt-media-select.h:
2761 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
2762 * src/wdgt-mini-preview.h:
2763 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
2764 * src/wdgt-print-copies.h:
2765 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
2766 * src/wdgt-print-merge.h:
2767 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
2768 * src/wdgt-rotate-label.h:
2769 - Made sure all xxx_get_type functions returned GType, not guint. This
2770 was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
2771 ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
2772 wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
2773 wdt-print-merge.[ch], and wdgt-rotate-label.[ch]. See separate
2774 window.[ch] details above for more info.
2775 - Reconciled various coding style differences in all xxx_get_type()
2777 * All prototypes include G_GNUC_CONST.
2778 * All prototypes specify the return value as GType, not GtkType
2780 * Info structures are all declared as "static const."
2781 * Generalized the names of type and info variables.
2782 * Miscelaneous formatting.
2784 2004-06-08 Jim Evins <evins@snaught.com>
2790 Don't touch compression of original file -- still defaults to 9 for
2791 new files. Original patch provided by Javier Donaire Segarra
2792 (#912252 in patch tracker).
2794 2004-05-05 Jim Evins <evins@snaught.com>
2796 * data/glabels-2.0.dtd:
2797 Broke DTD previously when adding new barcode types that contain a
2798 plus sign (+). Simply changed the BC_STYLE_TYPE entity to "CDATA"
2799 to avoid the problem.
2800 * data/avery-iso-templates.xml:
2801 * data/zweckform-iso-templates.xml:
2803 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021. Templates
2804 provided by Frank Altpeter.
2805 * libglabels/xml-template.c: (xml_create_label_node):
2806 Reordered markup and layout sub-nodes so that resulting templates will
2807 validate against DTD.
2809 2004-03-13 Jim Evins <evins@snaught.com>
2811 * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
2812 Changed spin callback signals from "value-changed" back to "changed."
2813 This was accidentally introduced in a previous revision, and can cause
2814 size changes just by selecting the size tab.
2816 2004-03-06 Jim Evins <evins@snaught.com>
2818 * src/view.c: (draw_grid_layer):
2819 For round labels (round and cd) adjust grid so that it lines up with
2820 center of label. Also, no longer draw box around label in the grid layer,
2821 it is hidden by he fg layer anyway. Feature suggested by
2822 nemolivier@free.fr. Although the grid is aligned with the center of the
2823 label, the coordinate system is still relative to the upper left corner
2824 of the rectangle containing the label.
2826 2004-02-25 Jim Evins <evins@snaught.com>
2829 Changed version to 2.0pre1cvs
2831 * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
2832 Removed extra xmlFreeDoc() calls upon error. Also print the doc->URL
2833 instead of doc->name fields when errors encountered.
2835 2004-02-21 Jim Evins <evins@snaught.com>
2837 * data/avery-iso-templates.xml:
2838 Added aliases for Avery 8651. Patch provided by Wayne Schuller.
2841 Added libglabels library and include file to installed files.
2844 Final prep for 1.93.3.
2846 2004-02-20 Jim Evins <evins@snaught.com>
2848 * src/glabels-batch.c: (main):
2849 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
2850 as suggested by Javier Donaire Segarra. This addresses bug #901063.
2852 2004-02-16 Jim Evins <evins@snaught.com>
2855 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
2858 Added HAVE_FILE_CHOOSER to INCLUDES.
2860 * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
2861 (gl_file_save_as), (save_as_response):
2862 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
2864 2004-02-16 Jim Evins <evins@snaught.com>
2866 * src/xml-label-04.c: (xml04_parse_image_props):
2867 * src/xml-label-191.c: (xml191_parse_image_props):
2868 * src/xml-label.c: (xml_parse_object_image):
2869 Delay setting image size until after image has been applied to new
2872 2004-02-15 Jim Evins <evins@snaught.com>
2874 * src/label-barcode.c: (gl_label_barcode_set_data),
2875 (gl_label_barcode_set_props):
2876 Don't emit "changed" signal, if no change actually made for these
2877 methods. Reduces number of unnecessary redraws of barcodes.
2879 * src/label-object.h:
2880 * src/label-object.c: (gl_label_object_set_position),
2881 (gl_label_object_set_position_relative), (set_size),
2882 (gl_label_object_set_size),
2883 (gl_label_object_set_size_honor_aspect):
2884 Don't emit "changed" signal, if no change actually made for these
2887 2004-02-15 Jim Evins <evins@snaught.com>
2889 * data/glabels-2.0.dtd:
2890 Added specific subtypes for various barcode types.
2893 * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
2894 (gl_barcode_get_styles_list), (gl_barcode_default_digits),
2895 (gl_barcode_can_text), (gl_barcode_text_optional),
2896 (gl_barcode_can_csum), (gl_barcode_csum_optional),
2897 (gl_barcode_id_to_name), (gl_barcode_name_to_id):
2898 Changed API to use a string id, rather than a fixed enumeration. Id and
2899 name are separate strings. Added entries to backend table for specific
2900 subtypes for various barcode types.
2903 * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
2905 Modified to conform to above API. Now more stringent with data length
2906 for various subtypes.
2908 * src/bc-gnubarcode.h:
2909 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
2910 (is_length_valid), (is_length1_valid), (is_length2_valid):
2911 Modified to conform to above API. Now more stringent with data length
2912 for various subtypes.
2914 * src/label-barcode.h:
2915 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
2916 (gl_label_barcode_get_props), (get_size):
2917 Modified to use above API for storing barcode type.
2919 * src/object-editor.h:
2920 * src/object-editor-bc-page.c: (style_changed_cb),
2921 (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
2922 Modified to use above API for storing barcode type.
2924 * src/object-editor-size-page.c:
2925 (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
2926 (w_spin_cb), (h_spin_cb), (size_reset_cb):
2927 Added debug markers.
2929 * src/object-editor.glade:
2930 Made barcode style combo's text entry non-editable.
2932 * src/print.c: (draw_barcode_object):
2933 Modified to use above API for barcode type.
2935 * src/view-barcode.c: (update_object_from_editor_cb),
2936 (update_editor_from_object_cb),
2937 (gl_view_barcode_create_event_handler), (draw_barcode):
2938 Modified to use above API for barcode type.
2940 * src/xml-label-04.c: (xml04_parse_barcode_props):
2941 * src/xml-label-191.c: (xml191_parse_barcode_props):
2942 * src/xml-label.c: (xml_parse_object_barcode),
2943 (xml_create_object_barcode):
2944 Modified to use above API for barcode type.
2946 2004-02-07 Jim Evins <evins@snaught.com>
2948 * src/stock-pixmaps/Makefile.am:
2949 * src/stock-pixmaps/stock_hchain_24.png:
2950 * src/stock-pixmaps/stock_hchain_broken_24.png:
2951 * src/stock-pixmaps/stock_vchain_24.png:
2952 * src/stock-pixmaps/stock_vchain_broken_24.png:
2953 Added chain pixmaps borrowed from the gimp's default theme.
2956 * src/stock.c: (gl_stock_init), (add_button_icon):
2957 Added above pixmaps to stock icon sets. Created add_button_icon() to
2958 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
2960 * src/wdgt-chain-button.h
2961 * src/wdgt-chain-button.c
2964 Added this Modified version of gimpchainbutton widget, borrowed from
2968 Added acknowledgements of the above borrowing from the gimp.
2970 * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
2972 * src/object-editor.c: (gl_object_editor_construct_chain_button):
2973 * src/object-editor.glade:
2974 Replaced the keep aspect ratio check box with the above chain-button
2977 * src/text-node.c: (gl_text_node_equal):
2979 Added function gl_text_node_equal() to compare text_nodes.
2981 * src/label-image.c: (gl_label_image_set_filename):
2982 Replaced incomplete text_node comparison code with invocation of
2983 gl_text_node_equal. This fixed the problem of not being able to
2984 resize an image using the object_editor if the aspect ratio is not
2987 2004-02-04 Jim Evins <evins@snaught.com>
2989 * src/object-editor-image-page.c:
2990 (gl_object_editor_prepare_image_page):
2991 Track "changed" signal of pixmap entry's GtkEntry rather than its
2992 "activate" signal -- this catches all changes to the entry rather than
2993 just changes resulting from a browse, so one can easily pull previous
2994 entries from the history. (This change is marked below on 2004-02-03,
2995 but somehow never got checked in.)
2997 * src/view-highlight.c: (sl_resize_event_handler),
2998 (sr_resize_event_handler), (st_resize_event_handler),
2999 (sb_resize_event_handler):
3000 Side resize handles will now confirm the actual resize that the object
3001 accepted before adjusting position parameters. Previously some interesting
3002 things happened when resizing a barcode to its minimum size.
3004 2004-02-03 Jim Evins <evins@snaught.com>
3006 * src/object-editor-image-page.c:
3007 (gl_object_editor_prepare_image_page):
3008 Track "changed" signal of pixmap entry's GtkEntry rather than its
3009 "activate" signal -- this catches all changes to the entry rather than
3010 just changes resulting from a browse, so one can easily pull previous
3011 entries from the history.
3013 * src/view-highlight.c: (tl_resize_event_handler),
3014 (tr_resize_event_handler), (bl_resize_event_handler),
3015 (br_resize_event_handler):
3016 Allow control key to be dropped while dragging a corner resize handle
3017 without losing the aspect ratio lock.
3019 2004-02-02 Jim Evins <evins@snaught.com>
3021 * src/label-image.c: (gl_label_image_set_filename):
3022 When setting a new filename adjust size such that the aspect ratio of
3023 the image is preserved using the current size as a bounding box.
3025 * src/view-image.c: (update_object_from_editor_cb):
3026 When updating object from editor, feed back possible size changes to
3027 editor as a result of a possible change in image.
3029 * src/object-editor-size-page.c: (size_reset_cb):
3030 Fixed typo when blocking spin handlers. If the base size is larger than
3031 the max size, treat max size as a bounding box while keeping aspect
3035 2004-02-02 Jim Evins <evins@snaught.com>
3037 * src/label-object.h:
3038 * src/label-object.c: (gl_label_object_set_size),
3039 (gl_label_object_set_size_honor_aspect):
3040 Added gl_label_object_set_size_honor_aspect() which will maintain the
3041 current aspect ratio by modifying the supplied w or h apropriately.
3043 * src/view-highlight.c: (tl_resize_event_handler),
3044 (tr_resize_event_handler), (bl_resize_event_handler),
3045 (br_resize_event_handler):
3046 Corner handles will now maintain the current aspect ratio if the
3047 control key is pressed while resizing. This addresses feature
3051 2004-01-31 Jim Evins <evins@snaught.com>
3054 * data/avery-us-templates.xml:
3055 Added entries for "LSK-3," "LSK-5," and "LSK-8." Submitted by JBadger.
3057 * libglabels/template.c: (read_template_files_from_dir):
3058 Corrected problem with testing for extensions.
3060 * src/object-editor.glade:
3061 Corrected grouping of radio buttons in barcode data page.
3063 * src/print.c: (draw_barcode_object):
3064 * src/view-barcode.c: (draw_barcode):
3065 Corrected problem with calculation of y_offset for locating characters.
3067 2004-01-24 Jim Evins <evins@snaught.com>
3070 * data/avery-us-templates.xml:
3071 Added Avery 5824, submitted by Fred Bacon.
3073 2004-01-20 Jim Evins <evins@snaught.com>
3075 Catching up on a couple of backlogged user template submissions.
3077 * data/avery-iso-templates.xml:
3078 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
3079 Suggested by Linas Jakucionis.
3081 * data/zweckform-iso-templates.xml:
3082 Added Zweckform 4760, submitted by Thomas Vill.
3085 Updated to reflect above submissions.
3087 2004-01-06 Jim Evins <evins@snaught.com>
3089 Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
3090 xml.[ch] into a separate library called libglabels, to facilitate third
3091 party use of glabels template files. This was suggested by Wayne Schuller.
3092 Once split-out, some modifications to the structures and functions to
3093 make a cleaner more useful API, hopefully. Rather extensive changes have
3094 propogated to other modules.
3102 * src/xml-template.h:
3103 * src/xml-template.c:
3106 These files have been moved to libglabels/. API cleanup performed.
3108 * libglabels/libglabels.h:
3109 * libglabels/libglabels-private.h:
3110 * libglabels/Makefile.am:
3111 These files have been added to finish out libglabels.
3118 Modified to reflect new sets of files in src/ and libglabels/.
3120 * COPYING.LIBGLABELS:
3122 Added copy of the LGPL for libglabels, and a copy the GFDL for
3125 * src/glabels-batch.c:
3127 * src/label.c: (gl_label_finalize), (gl_label_set_template),
3128 (gl_label_get_size):
3130 * src/prefs-model.c: (gl_prefs_model_load_settings):
3131 * src/print-dialog.c:
3132 * src/print.c: (gl_print_simple), (gl_print_merge_collated),
3133 (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
3134 (print_crop_marks), (print_label), (draw_outline),
3135 (clip_to_outline), (clip_punchouts):
3136 * src/template-designer.c: (construct_pg_size_page),
3137 (pg_size_page_changed_cb), (layout_page_changed_cb),
3138 (print_test_cb), (build_template):
3139 * src/util.c: (gl_util_fraction):
3141 * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
3142 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
3143 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
3144 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
3145 (draw_markup_margin_round), (draw_markup_margin_cd),
3146 (draw_markup_margin_cd_bc), (draw_markup_line),
3147 (draw_markup_circle), (gl_view_copy):
3148 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
3149 (page_size_entry_changed_cb), (details_update), (get_layout_desc),
3150 (get_label_size_desc):
3151 * src/wdgt-mini-preview.c:
3152 (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
3154 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
3155 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
3156 * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
3157 (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
3158 * src/wdgt-rotate-label.h:
3159 * src/xml-label-04.c: (xml04_parse_media_description):
3160 * src/xml-label-191.c: (gl_xml_label_191_parse),
3161 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
3162 (xml191_parse_markup), (xml191_parse_alias):
3163 * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
3165 Various changes to accomodate new libglabels API.
3167 2004-01-03 Jim Evins <evins@snaught.com>
3172 2004-01-03 Jim Evins <evins@snaught.com>
3175 Added acknowledgement of contributions by Wayne Schuller.
3177 * src/commands.c: (gl_cmd_file_print):
3178 Create extra reference to print dialog, so that it can be properly re-used.
3180 * src/mygal/mygal-combo-box.h:
3181 * src/mygal/mygal-combo-box.c:
3182 (mygal_combo_box_popup_hide_unconditional),
3183 (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
3184 (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
3185 (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
3186 (mygal_combo_box_set_tearable):
3187 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
3188 complete the rename of this widget to prevent namespace collisions
3191 * src/prefs-dialog.glade:
3192 Fixed alignment of Fill/Color widgets.
3194 2004-01-03 Jim Evins <evins@snaught.com>
3196 * data/avery-iso-templates.xml:
3197 Added user submitted templates.
3198 Avery 8435A & 8435B, submitted by Ludger Solbach.
3200 * doc/C/glabels.xml:
3201 Added minimal documentation, noting the new template designer.
3203 2004-01-03 Jim Evins <evins@snaught.com>
3205 * pixmaps/ex-rect-size.png:
3206 * pixmaps/ex-round-size.png:
3207 * pixmaps/ex-cd-size.png:
3208 * pixmaps/Makefile.am:
3209 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
3210 files to be used as illustrations/examples in the template-designer.
3212 * src/template-designer.c: (construct_rect_size_page),
3213 (construct_round_size_page), (construct_cd_size_page),
3214 (construct_nlayouts_page), (rect_size_page_prepare_cb),
3215 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
3216 (layout_page_prepare_cb), (build_template):
3217 * src/template-designer.glade:
3218 Added illustrations for rectangle, round, and cd label size pages.
3219 Added margin spinboxes to these pages, and now add a margin markup
3220 to the constructed template. Added realistic default values for
3221 some of the size spinboxes. Cleaned up the code for setting spinbox
3222 ranges on the layouts page.
3224 2004-01-02 Jim Evins <evins@snaught.com>
3226 * src/object-editor-size-page.c: (h_spin_cb):
3227 Fixed cut-n-paste error in h_spin_cb that loaded h from
3228 the wrong spinbutton.
3230 * src/object-editor.h:
3231 * src/object-editor.c: (gl_object_editor_class_init),
3232 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
3233 * src/object-editor-private.h:
3234 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
3236 Added "size_changed" signal.
3238 * src/view-text.c: (construct_properties_editor),
3239 (update_object_from_editor_cb),
3240 (update_object_from_editor_size_cb):
3241 Track size changes from object editor separately from other
3242 properties. This is so the default size (0,0) of a text
3243 object is not modified unintentionally.
3245 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
3247 Added feature: line spacing - allows you to comfortably space a text box to
3248 fit a label perfectly.
3250 * data/glabels-2.0.dtd:
3251 * src/label-object.c: (gl_label_object_set_text_line_spacing),
3252 (gl_label_object_get_text_alignment),
3253 (gl_label_object_get_text_line_spacing):
3254 * src/label-object.h:
3255 * src/label-text.c: (gl_label_text_class_init),
3256 (gl_label_text_instance_init), (copy), (get_size),
3257 (set_text_line_spacing), (get_text_alignment),
3258 (get_text_line_spacing):
3259 * src/object-editor-private.h:
3260 * src/object-editor-text-page.c:
3261 (gl_object_editor_prepare_text_page),
3262 (gl_object_editor_set_text_line_spacing),
3263 (gl_object_editor_get_text_line_spacing):
3264 * src/object-editor.glade:
3265 * src/object-editor.h:
3266 * src/prefs-dialog.c: (construct_object_page),
3267 (update_object_page_from_prefs), (update_prefs_from_object_page):
3268 * src/prefs-dialog.glade:
3269 * src/prefs-model.c: (gl_prefs_model_save_settings),
3270 (gl_prefs_model_load_settings), (get_float):
3271 * src/prefs-model.h:
3272 * src/print.c: (draw_text_object):
3274 * src/view-text.c: (update_object_from_editor_cb),
3275 (update_editor_from_object_cb),
3276 (gl_view_text_create_event_handler), (draw_hacktext):
3277 * src/view.c: (gl_view_construct),
3278 (gl_view_set_selection_text_line_spacing),
3279 (gl_view_set_default_text_line_spacing),
3280 (gl_view_get_default_text_line_spacing):
3282 * src/xml-label.c: (xml_parse_toplevel_span),
3283 (xml_create_toplevel_span):
3285 2003-12-30 Jim Evins <evins@snaught.com>
3287 * src/template-designer.c:
3288 * src/template-designer.h:
3289 * src/template-designer.glade:
3290 New template designer assistant.
3294 Added entries for src/template-designer.* files.
3296 * pixmaps/ex-1layout.png
3297 * pixmaps/ex-2layouts.png
3298 * pixmaps/Makefile.am:
3299 Added the new image files ex-*.png used as illustrations in the
3300 template designer assistant.
3302 * src/print-dialog.h:
3303 * src/print-dialog.c: (gl_print_dialog_finalize),
3304 (gl_print_dialog_new), (gl_print_dialog_construct),
3305 (gl_print_dialog_force_outline_flag):
3306 Changed first argument of gl_print_dialog_new() from glView to glLabel,
3307 to support printing from the template designer assistant which does not
3308 have a full-fledged view. Nothing else from the view object was being
3309 used by the dialog anyway.
3311 Added the gl_print_dialog_force_outline_flag() method, for better
3312 integration with the template designer assistant.
3316 * src/commands.c: (gl_cmd_file_template_designer),
3317 (gl_cmd_file_print):
3318 Modified print command to provide label instead of view to dialog.
3319 Added the gl_cmd_file_template_designer() command to invoke the
3320 template designer assistant.
3323 * src/glabels-ui.xml:
3324 Added support for template designer assistant.
3326 * src/wdgt-mini-preview.h:
3327 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
3328 (gl_wdgt_mini_preview_set_bg_color):
3329 Preview is now centered in canvas. Added
3330 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
3331 assistant to match the background color with its own.
3333 * src/print.c: (clip_to_outline):
3334 Fixed really stupid bug when adding waste to clip region of rectangular
3335 labels/cards. Each side of the clip region needs to be extended by
3336 twice the waste margin, as well as negatively offset by the waste
3339 2003-12-28 Jim Evins <evins@snaught.com>
3341 * src/prefs-dialog.c: (update_object_page_from_prefs):
3342 Block intermediary function align_toggle_cb() instead of
3343 update_prefs_from_object_page() for the three alignment
3346 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
3348 * src/file.c: (gl_file_new), (gl_file_properties):
3349 Swap button order and set default for higificatory pleasure.
3351 2003-12-27 Jim Evins <evins@snaught.com>
3353 * barcode-0.98/Makefile.am:
3354 One last time: removed doc/Makefile and po/Makefile.in.in from
3357 2003-12-27 Jim Evins <evins@snaught.com>
3359 * barcode-0.98/Makefile.am:
3360 Removed config.stat entry from EXTRA_DIST files.
3362 * barcode-0.98/Makefile.in:
3365 2003-12-27 Jim Evins <evins@snaught.com>
3368 Updated to work with latest gnome-common package from CVS.
3369 Removed recursive configuration of barcode-0.98.
3376 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
3378 * barcode-0.98/Makefile.in:
3379 * barcode-0.98/configure.in:
3380 * barcode-0.98/Makefile.am:
3381 * barcode-0.98/README.glabels:
3382 Modified to ignore the barcode package's build system, and build
3383 as a part of glabels.
3384 Renamed Makefile.in to Makefile.in.dist.
3385 Renamed configure.in to configure.in.dist.
3386 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
3389 * src/mygal/Makefile.am:
3390 * src/recent-files/Makefile.am:
3391 In order to build against the GNOME 2.5 platform,
3392 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
3394 * src/mygal/Makefile.am:
3395 * src/mygal/mygal-combo-box.c:
3396 * src/mygal/mygal-combo-box.h:
3397 * src/mygal/widget-color-combo.c:
3398 * src/mygal/widget-color-combo.h:
3400 In order to build against the GNOME 2.5 platform,
3401 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
3402 collisions with the real gtk_combo_box widget, now a part of gtk.
3404 2003-12-26 Jim Evins <evins@snaught.com>
3410 Moved local versions of get_home_data_dir() in paper.c and
3411 template.c to util package. Cleaned up formatting in
3415 In gl_template_register() save a copy of the template in
3416 ~/.glabels if the template is not known. Still need to
3417 handle duplicate filename case and duplicate name but
3418 different template case.
3422 Moved local definition of NAME_SPACE macro from xml-label.c
3425 * src/xml-template.c:
3426 * src/xml-template.h:
3427 Added function gl_xml_template_write_template_to_file(), used
3428 in gl_template_register().