1 2007-08-21 Jim Evins <evins@snaught.com>
4 Changed version to 2.1.pre5svn.
5 * src/view.c: (draw_markup_layer):
6 Do a stroke for each markup path, otherwise multiple markups
9 2007-08-17 Jim Evins <evins@snaught.com>
12 Bump libglabels revision numbers for 2.1.4 release.
14 2007-08-16 Jim Evins <evins@snaught.com>
17 Include subdir iec16022-0.2.1.
21 Preparation for 2.1.4.
24 2007-08-11 Jim Evins <evins@snaught.com>
30 Added Esperanto translation. Provided by Antonio C.
31 Codazzi "la Filozofo" <f_sophia@libero.it>.
33 Updated French translation. Provided by Claude Paroz
36 Updated to reflect above translations.
38 2007-08-11 Jim Evins <evins@snaught.com>
41 * data/templates/avery-iso-templates.xml:
42 * data/templates/avery-us-templates.xml:
43 * data/templates/misc-iso-templates.xml:
44 * data/templates/misc-other-templates.xml:
45 * data/templates/misc-us-templates.xml:
46 * data/templates/zweckform-iso-templates.xml:
47 Caught up with backlog of template submissions.
49 2007-08-10 Jim Evins <evins@snaught.com>
51 * src/bc-postnet.c: (gl_barcode_postnet_new):
53 Added support for Brazilian CEPNet barcodes. This is simply an
54 instance of the US POSTNET format with 8 digits. Patch supplied
55 by Mário Meyer in bug # 1768792.
57 Updated acknowledgments to reflect above patch and recent shuffling
58 of underlying technology.
60 2007-05-13 Jim Evins <evins@snaught.com>
62 * src/merge-text.c: (parse_line), (parse_field):
63 Remove leading and trailing spaces from CSV fields, unless quoted.
65 2007-05-09 Jim Evins <evins@snaught.com>
67 * src/object-editor-bc-page.c:
68 * src/object-editor-data-page.c:
69 * src/object-editor-fill-page.c:
70 * src/object-editor-image-page.c:
71 * src/object-editor-line-page.c:
72 * src/object-editor-lsize-page.c:
73 * src/object-editor-position-page.c:
74 * src/object-editor-private.h:
75 * src/object-editor-shadow-page.c:
76 * src/object-editor-size-page.c:
77 * src/object-editor-text-page.c:
78 * src/object-editor.c:
80 * src/template-designer.c:
81 * src/ui-property-bar.c:
82 * src/wdgt-media-select.c:
83 Replaced signal block/unblock pairs with simple flags. This reduces
84 some code clutter, hopefully making it easier to read.
86 2007-05-05 Jim Evins <evins@snaught.com>
88 * src/template-designer.c: (apply_cb):
89 Add new template to mini-preview pixbuf cache.
91 2007-05-03 Jim Evins <evins@snaught.com>
93 * src/label-image.c: (gl_label_image_init), (draw_object):
94 Scale default pixbuf up, to prevent bluring. Use cairo_fill to
97 2007-05-02 Jim Evins <evins@snaught.com>
99 * src/view.c: (draw_select_region_layer), (motion_notify_event_cb),
100 (button_release_event_cb):
101 Removed attempt at rendering optimization by clipping the updates
102 to areas affected -- this actually seemed to hurt update performance.
104 2007-04-30 Jim Evins <evins@snaught.com>
107 * src/color.c: (gl_color_shadow), (gl_color_node_new_default),
108 (gl_color_node_equal), (gl_color_node_expand):
109 * src/label-barcode.c: (draw_object):
110 * src/label-box.c: (draw_object), (draw_shadow):
111 * src/label-ellipse.c: (draw_object), (draw_shadow):
112 * src/label-line.c: (draw_object), (draw_shadow):
113 * src/label-text.c: (draw_object), (draw_shadow):
114 * src/wdgt-mini-preview.c: (draw_shadow), (draw_labels):
115 * src/wdgt-rotate-label.c: (drawingarea_update):
116 Some cleanup to color related code.
118 2007-04-30 Jim Evins <evins@snaught.com>
121 Added glLabelRegion structure type.
122 * src/label-object.c: (gl_label_object_get_extent):
123 * src/label-object.h:
124 Modified gl_label_object_get_extent() to fill in a glLabelRegion struct.
126 * src/view.c: (gl_view_update_region), (draw_select_region_layer),
127 (gl_view_select_region), (gl_view_align_selection_left),
128 (gl_view_align_selection_right), (gl_view_align_selection_hcenter),
129 (gl_view_align_selection_top), (gl_view_align_selection_bottom),
130 (gl_view_align_selection_vcenter),
131 (gl_view_center_selection_horiz), (gl_view_center_selection_vert),
132 (gl_view_move_selection), (gl_view_can_selection_text),
133 (motion_notify_event_cb), (button_press_event_cb),
134 (button_release_event_cb):
135 - Reconcile with new gl_label_object_get_extent() API.
136 - Use glLabelRegion for view->select_region.
137 - Added gl_view_update_region() to clip updates to region.
138 - Use gl_view_update_region() during manipulation of view->select_region.
140 2007-04-26 Jim Evins <evins@snaught.com>
142 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
143 (draw_label_outline):
144 * src/print.c: (print_crop_marks), (draw_outline):
145 * src/view-object.c: (gl_view_object_draw_handles):
146 * src/view.c: (draw_bg_layer), (draw_grid_layer),
147 (draw_markup_layer), (draw_fg_layer), (draw_select_region_layer):
148 * src/wdgt-mini-preview.c: (draw_paper), (draw_labels):
149 * src/wdgt-rotate-label.c: (drawingarea_update):
150 Added defines for various magic numbers.
152 2007-04-25 Jim Evins <evins@snaught.com>
154 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
155 Scale text down. Cairo seems to render text too large.
157 2007-04-25 Jim Evins <evins@snaught.com>
160 * src/view.c: (gl_view_update), (expose_cb),
161 (motion_notify_event_cb), (button_press_event_cb),
162 (button_release_event_cb):
163 - Try not to let updates get backed up.
164 - Grab pointer when doing any drag operations.
166 2007-04-11 Jim Evins <evins@snaught.com>
168 * src/cairo-label-path.c: (gl_cairo_label_path),
169 (gl_cairo_rect_label_path), (gl_cairo_round_label_path),
170 (gl_cairo_cd_label_path):
171 * src/cairo-label-path.h:
172 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
173 (draw_label_outline):
174 * src/print.c: (draw_outline), (clip_to_outline):
175 * src/view.c: (draw_bg_layer), (draw_fg_layer):
176 * src/wdgt-mini-preview.c: (draw_labels):
177 * src/wdgt-rotate-label.c: (drawingarea_update):
178 Modified to universally use gl_cairo_label_path() to create paths
179 for labels. Added shadow to mini preview in rotate widget.
181 2007-04-10 Jim Evins <evins@snaught.com>
183 * libglabels/template.h:
184 * libglabels/template.c: (gl_template_get_name_list_unique),
185 (gl_template_get_name_list_all), (gl_template_from_name):
186 Modified libglabels to allow you to get a list of all template names
187 including all aliases or just a list of primary names of each unique
190 * src/file.c: (gl_file_properties):
191 * src/glabels.c: (main):
192 * src/mini-preview-pixbuf-cache.h:
193 * src/mini-preview-pixbuf-cache.c:
194 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
195 (filter_changed_cb), (load_list):
196 Added mini-preview pixbuf cache, so that only one mini-preview is
197 needed for a unique template and gets reused for all aliases. These
198 pixbufs will also live for the life of the program so they are not
199 rebuilt everytime a new label dialog is invoked.
200 * src/mini-preview-pixbuf.c: (draw_paper),
201 (draw_rect_label_outline), (draw_round_label_outline),
202 (draw_cd_label_outline):
203 Removed some comment artifacts.
205 2007-04-04 Jim Evins <evins@snaught.com>
207 * src/mini-preview-pixbuf.c: (gl_mini_preview_pixbuf_new),
208 (draw_paper), (draw_label_outlines), (draw_rect_label_outline),
209 (draw_round_label_outline), (draw_cd_label_outline):
210 * src/wdgt-media-select.c: (load_list):
211 * src/wdgt-rotate-label.c: (draw_cd_label_outline):
212 Cosmetic enhancments to mini previews.
214 2007-04-04 Jim Evins <evins@snaught.com>
216 * src/ui-property-bar.c: (gl_ui_property_bar_finalize),
217 (gl_ui_property_bar_construct):
218 Save copy of GladeXML tree so that we don't lose tooltips.
220 2007-04-02 Jim Evins <evins@snaught.com>
222 * src/merge-properties-dialog.c:
223 * src/new-label-dialog.c:
224 * src/object-editor.c:
225 * src/prefs-dialog.c:
227 * src/template-designer.c:
228 * src/ui-property-bar.c:
229 * src/wdgt-media-select.c:
230 * src/wdgt-rotate-label.c:
231 Fixed several memory leaks.
233 2007-04-01 Jim Evins <evins@snaught.com>
235 * src/label-text.c: (gl_label_text_init), (copy),
236 (gl_label_text_set_lines), (buffer_changed_cb), (get_size),
237 (set_font_family), (set_font_size), (set_font_weight),
238 (set_font_italic_flag), (set_text_alignment),
239 (set_text_line_spacing):
240 Cache object size, so that expensive extent calculations are only done
243 2007-03-30 Jim Evins <evins@snaught.com>
245 * src/prefs-model.c: (gl_prefs_model_load_settings):
246 Default to an unlimited list of recent documents, since this parameter
247 seems to be pre-filter anyway.
249 2007-03-30 Jim Evins <evins@snaught.com>
251 * src/label-box.c: (draw_shadow):
252 * src/label-ellipse.c: (draw_shadow):
253 Added missing shadow fill.
255 2007-03-28 Jim Evins <evins@snaught.com>
257 * src/ui-commands.c: (gl_ui_cmd_file_print):
258 Unreferencing the print operation sometimes crashes. Just don't do it
261 2007-03-28 Jim Evins <evins@snaught.com>
263 * src/print-op.c: (gl_print_op_construct),
264 (gl_print_op_get_settings), (gl_print_op_set_settings),
265 (gl_print_op_free_settings), (create_custom_widget_cb):
267 * src/ui-commands.c: (gl_ui_cmd_file_print):
268 * src/window.c: (gl_window_init):
270 Save print settings and custom settings between print operations
273 2007-03-24 Jim Evins <evins@snaught.com>
275 * src/object-editor-image-page.c:
276 (gl_object_editor_prepare_image_page),
277 (gl_object_editor_set_image), (img_selection_changed_cb):
278 Workaround for GtkFileChooserButton bug # 327243. This the root
279 cause for gLabels bug # 1192884. I have actually observed 3 delayed
280 "selection-changed" signals -- the first 2 return NULL -- this is
281 what caused the image to reset to the default followed by setting
282 it back to the original image, trying to fit it into a new bounding
283 box. This sequence of events is much more evident with the new
286 2007-03-23 Jim Evins <evins@snaught.com>
288 Merged all changes from experimental cairo branch to trunk.
289 Trunk no longer depends on libgnomecanvas or libgnomeprint[ui].
291 2007-03-23 Jim Evins <evins@snaught.com>
293 * src/label-object.h:
294 * src/label-object.c: (gl_label_object_class_init),
295 (gl_label_object_get_raw_size), (gl_label_object_get_size):
296 Created "get_raw_size" method.
297 * src/label-barcode.c: (get_size):
298 * src/xml-label.c: (xml_create_object_text),
299 (xml_create_object_barcode):
300 Use new "get_raw_size" method on label-objects when apropos.
302 * src/label-text.c: (get_size), (draw_object), (draw_shadow),
303 (auto_shrink_font_size):
304 Added "auto shrink" functionality back.
306 2007-03-19 Jim Evins <evins@snaught.com>
308 * src/label-text.c: (draw_object), (draw_shadow):
309 Don't use negative scales in workaround from previous commit.
312 2007-03-18 Jim Evins <evins@snaught.com>
315 Forgot to remove include of xml-lable-191 in previous commit.
316 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
317 Workaround for pango Bug #341481. Render text at device scale,
318 and scale font size accordingly. Also, don't do any hinting.
320 2007-03-18 Jim Evins <evins@snaught.com>
322 * src/cairo-ellipse-path.c:
323 * src/cairo-ellipse-path.h:
324 Forgot to add these new files during last mass commit.
326 2007-03-18 Jim Evins <evins@snaught.com>
329 * src/xml-label-191.c:
330 * src/xml-label-191.h:
331 Removed -- Very buggy. Version 1.91 is a very old "unstable" version,
332 so there is no need to keep compatability.
335 * src/cairo-label-path.c:
336 * src/cairo-label-path.h:
337 * src/cairo-markup-path.c:
341 * src/glabels-batch.c:
343 * src/label-barcode.c:
345 * src/label-ellipse.c:
348 * src/label-object.c:
349 * src/label-object.h:
353 * src/merge-properties-dialog.c:
355 * src/new-label-dialog.c:
356 * src/object-editor-bc-page.c:
357 * src/object-editor-data-page.c:
358 * src/object-editor-edit-page.c:
359 * src/object-editor-fill-page.c:
360 * src/object-editor-image-page.c:
361 * src/object-editor-line-page.c:
362 * src/object-editor-private.h:
363 * src/object-editor-shadow-page.c:
364 * src/object-editor-text-page.c:
365 * src/object-editor.c:
366 * src/pixbuf-cache.c:
371 * src/template-designer.c:
373 * src/ui-property-bar.c:
375 * src/view-barcode.c:
377 * src/view-ellipse.c:
384 * src/wdgt-media-select.c:
385 * src/wdgt-print-copies.c:
386 * src/wdgt-print-merge.c:
388 * src/xml-label-04.c:
390 Many changes, including:
391 - Move draw methods from view-*() to label-*().
392 - Use same drawing code for on screen view and printing.
393 - Fix all issues exposed with '-Wall -Werror'.
395 2007-03-14 Jim Evins <evins@snaught.com>
398 * src/cairo-handle-path.c:
399 * src/cairo-handle-path.h:
400 * src/cairo-object-path.c:
401 * src/cairo-object-path.h:
402 Removed cairo-handle-path.[ch] and cairo-object-path.[ch].
403 * src/view-barcode.c: (gl_view_barcode_class_init), (draw_object),
405 * src/view-box.c: (gl_view_box_class_init), (draw_object),
406 (draw_shadow), (object_at):
407 * src/view-ellipse.c: (gl_view_ellipse_class_init),
408 (create_ellipse_path), (draw_object), (draw_shadow), (object_at):
409 * src/view-image.c: (gl_view_image_class_init), (draw_object),
411 * src/view-line.c: (gl_view_line_class_init), (draw_object),
412 (draw_shadow), (object_at):
413 * src/view-object.c: (gl_view_object_draw), (gl_view_object_at),
414 (create_handle_path), (gl_view_object_draw_handles),
415 (gl_view_object_handle_at):
417 * src/view-text.c: (gl_view_text_class_init), (draw_object),
418 (draw_shadow), (object_at):
419 * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
420 Some restructuring of new code.
422 2007-03-12 Jim Evins <evins@snaught.com>
425 * src/cairo-object-path.c:
426 * src/view-barcode.c:
427 * src/view-barcode.h:
429 Added barcode object support to view.
431 2007-03-12 Jim Evins <evins@snaught.com>
437 * src/cairo-object-path.c:
438 * src/cairo-object-path.h:
440 * src/view-ellipse.c:
445 Added text object support to view. Added object_at method to all
448 2007-03-11 Jim Evins <evins@snaught.com>
451 * src/cairo-object-path.c: (gl_cairo_object_path),
452 (gl_cairo_image_object_path):
453 * src/view-image.c: (gl_view_image_class_init),
454 (gl_view_image_finalize), (gl_view_image_new),
455 (update_editor_from_label_cb), (draw),
456 (gl_view_image_get_create_cursor),
457 (gl_view_image_create_button_press_event),
458 (gl_view_image_create_motion_event),
459 (gl_view_image_create_button_release_event):
461 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
462 (selection_received_cb), (motion_notify_event_cb),
463 (button_press_event_cb), (button_release_event_cb):
464 Added image object support to view.
466 2007-03-11 Jim Evins <evins@snaught.com>
469 * src/cairo-object-path.c: (gl_cairo_object_path),
470 (gl_cairo_line_object_path):
471 * src/view-line.c: (gl_view_line_class_init), (gl_view_line_new),
472 (update_object_from_editor_cb), (update_editor_from_object_cb),
473 (update_editor_from_label_cb), (draw),
474 (gl_view_line_get_create_cursor),
475 (gl_view_line_create_button_press_event),
476 (gl_view_line_create_motion_event),
477 (gl_view_line_create_button_release_event):
479 * src/view-object.c: (gl_view_object_resize_event):
480 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
481 (selection_received_cb), (motion_notify_event_cb),
482 (button_press_event_cb), (button_release_event_cb):
483 Added line object support to view.
484 * src/cairo-handle-path.c:
485 Made handles slightly larger.
488 2007-03-11 Jim Evins <evins@snaught.com>
491 * src/cairo-handle-path.c:
492 * src/cairo-label-path.c: (gl_cairo_rect_label_path),
493 (gl_cairo_round_label_path), (gl_cairo_cd_label_path):
494 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
495 (gl_cairo_markup_margin_round_path),
496 (gl_cairo_markup_margin_cd_path), (gl_cairo_markup_circle_path):
497 * src/cairo-object-path.c: (gl_cairo_object_path),
498 (gl_cairo_ellipse_object_path):
499 * src/label-object.c: (gl_label_object_rotate):
502 * src/view-ellipse.c: (gl_view_ellipse_class_init),
503 (gl_view_ellipse_new), (update_object_from_editor_cb),
504 (update_editor_from_object_cb), (update_editor_from_label_cb),
505 (draw), (gl_view_ellipse_get_create_cursor),
506 (gl_view_ellipse_create_button_press_event),
507 (gl_view_ellipse_create_motion_event),
508 (gl_view_ellipse_create_button_release_event):
509 * src/view-ellipse.h:
512 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
513 (select_object_real), (selection_received_cb),
514 (motion_notify_event_cb), (button_press_event_cb),
515 (button_release_event_cb):
517 Added ellipse object support to view. Plus other cleanup.
519 2007-03-11 Jim Evins <evins@snaught.com>
522 * src/view-box.c: (gl_view_box_get_create_cursor),
523 (gl_view_box_create_button_press_event),
524 (gl_view_box_create_motion_event),
525 (gl_view_box_create_button_release_event):
526 * src/view-object.c: (gl_view_object_set_view),
527 (gl_view_object_handle_at):
529 * src/view.c: (gl_view_arrow_mode), (gl_view_object_create_mode),
530 (motion_notify_event_cb), (button_press_event_cb),
531 (button_release_event_cb), (key_press_event_cb):
532 Added creation code for box object.
534 2007-03-09 Jim Evins <evins@snaught.com>
536 * src/view-object.c: (gl_view_object_resize_event):
538 * src/view.c: (motion_notify_event_cb):
539 Fix bugs with resizing transformed objects.
540 * src/cairo-handle-path.c: (gl_cairo_handle_path):
541 * src/cairo-object-path.c: (gl_cairo_object_path):
542 * src/cairo-object-path.h:
543 * src/label-object.c: (gl_label_object_init),
544 (gl_label_object_dup), (gl_label_object_get_extent),
545 (gl_label_object_flip_horiz), (gl_label_object_flip_vert),
546 (gl_label_object_rotate), (gl_label_object_set_matrix),
547 (gl_label_object_get_matrix):
548 * src/label-object.h:
549 * src/print.c: (draw_object):
551 * src/view-highlight.c:
552 * src/view-highlight.h:
553 * src/xml-label-191.c: (xml191_parse_object):
554 * src/xml-label.c: (xml_parse_affine_attrs),
555 (xml_create_affine_attrs):
556 Replace libart affine matrices with cairo matrices.
558 2007-03-08 Jim Evins <evins@snaught.com>
561 * src/view.c: (gl_view_update), (motion_notify_event_cb):
562 * src/view-object.c: (gl_view_object_handle_at),
563 (gl_view_object_resize_event):
564 Added resize code -- still a bit buggy.
566 2007-03-07 Jim Evins <evins@snaught.com>
569 * src/cairo-handle-path.c:
570 * src/cairo-handle-path.h:
571 * src/view-box.c: (gl_view_box_new):
572 * src/view-object.c: (gl_view_object_set_object),
573 (gl_view_object_draw_handles), (gl_view_object_handle_at):
575 * src/view.c: (draw_highlight_layer), (select_object_real),
576 (unselect_object_real), (view_handle_at), (motion_notify_event_cb),
577 (button_press_event_cb), (button_release_event_cb),
578 (key_press_event_cb):
580 Added beginnings of object resize handles.
582 2007-03-07 Jim Evins <evins@snaught.com>
585 * src/view.c: (gl_view_init), (gl_view_arrow_mode),
586 (gl_view_object_create_mode), (motion_notify_event_cb),
587 (button_press_event_cb), (button_release_event_cb),
588 (key_press_event_cb):
589 Added move selection support.
591 2007-03-05 Jim Evins <evins@snaught.com>
593 * src/cairo-object-path.c: (gl_cairo_object_path):
594 * src/view-object.c: (gl_view_object_draw),
595 (gl_view_object_draw_highlight):
596 * src/view.c: (view_object_at), (motion_notify_event_cb),
597 (button_press_event_cb), (button_release_event_cb):
598 Additional refinements to select logic.
600 2007-03-05 Jim Evins <evins@snaught.com>
603 * src/view.c: (gl_view_init), (gl_view_construct),
604 (label_changed_cb), (draw_layers), (draw_select_region_layer),
605 (gl_view_select_region), (object_at), (motion_notify_event_cb),
606 (button_press_event_cb), (button_release_event_cb):
607 Added initial select region support and context menu.
609 2007-03-04 Jim Evins <evins@snaught.com>
627 * src/wdgt-print-copies.c:
628 * src/wdgt-print-merge.c:
630 Initial port to a raw Cairo canvas. This removes all remaining
631 dependencies on libgnomecanvas and libgnomeprint[ui]. Basically
632 the view is becoming a canvas widget in its own right. Still needs
634 * src/cairo-label-path.c:
635 * src/cairo-label-path.h:
636 * src/cairo-markup-path.c:
637 * src/cairo-markup-path.h:
638 * src/cairo-object-path.c:
639 * src/cairo-object-path.h:
640 New files to support cairo canvas.
641 * src/canvas-hacktext.c:
642 * src/canvas-hacktext.h:
645 2007-02-18 Jim Evins <evins@snaught.com>
648 GNOME_FONT_BOOK changed to PANGO_WEIGHT_NORMAL.
650 2007-02-14 Jim Evins <evins@snaught.com>
654 * src/bc-gnubarcode.c:
655 * src/bc-gnubarcode.h:
660 * src/canvas-hacktext.c:
661 * src/canvas-hacktext.h:
668 * src/label-barcode.c:
669 * src/label-barcode.h:
672 * src/label-ellipse.c:
673 * src/label-ellipse.h:
678 * src/label-object.c:
679 * src/label-object.h:
684 * src/merge-evolution.c:
685 * src/merge-evolution.h:
688 * src/merge-properties-dialog.c:
689 * src/merge-properties-dialog.h:
696 * src/mini-preview-pixbuf.h:
697 * src/new-label-dialog.c:
698 * src/new-label-dialog.h:
699 * src/object-editor-bc-page.c:
700 * src/object-editor-data-page.c:
701 * src/object-editor-edit-page.c:
702 * src/object-editor-fill-page.c:
703 * src/object-editor-image-page.c:
704 * src/object-editor-line-page.c:
705 * src/object-editor-lsize-page.c:
706 * src/object-editor-position-page.c:
707 * src/object-editor-private.h:
708 * src/object-editor-size-page.c:
709 * src/object-editor-text-page.c:
710 * src/object-editor.c:
711 * src/object-editor.h:
712 * src/pixbuf-cache.c:
713 * src/pixbuf-cache.h:
714 * src/prefs-dialog.c:
715 * src/prefs-dialog.h:
723 * src/template-designer.c:
728 * src/ui-property-bar.c:
729 * src/ui-property-bar.h:
738 * src/view-barcode.c:
739 * src/view-barcode.h:
742 * src/view-ellipse.c:
743 * src/view-ellipse.h:
744 * src/view-highlight.c:
745 * src/view-highlight.h:
756 * src/wdgt-chain-button.c:
757 * src/wdgt-chain-button.h:
758 * src/wdgt-media-select.c:
759 * src/wdgt-mini-preview.c:
760 * src/wdgt-print-copies.c:
761 * src/wdgt-print-copies.h:
762 * src/wdgt-print-merge.c:
763 * src/wdgt-print-merge.h:
764 * src/wdgt-rotate-label.c:
766 * src/xml-label-04.c:
767 * src/xml-label-04.h:
768 * src/xml-label-191.c:
769 * src/xml-label-191.h:
773 Assorted superficial cleanup. Including:
774 - Use G_DEFINE_TYPE for all objects.
775 - Reconcile style of all class initializer functions
776 - Reconcile style of all finalize functions
777 - Add emacs mode line to all source files
779 2007-02-06 Jim Evins <evins@snaught.com>
781 Assorted cleanup and removal of deprecated items.
786 Removed annoying splash screen.
787 * src/glabels-batch.c: (main):
788 * src/glabels.c: (main):
789 Converted from popt to GOption.
790 * src/object-editor-shadow-page.c:
791 (gl_object_editor_set_shadow_state):
792 Removed deprecated method on GtkToggleButton.
793 * src/ui-commands.c: (gl_ui_cmd_help_about):
794 Removed dependency on libgnomui/qnome-url.h.
795 * src/template-designer.c:
796 Removed dependency on libgnome/gnome-program.h.
799 2007-02-04 Jim Evins <evins@snaught.com>
804 * src/print.c: (draw_text_object):
805 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_construct):
806 Removed GnomeCanvas artifacts from color.[ch] and related modules.
808 2007-02-04 Jim Evins <evins@snaught.com>
810 * src/wdgt-mini-preview.c:
811 * src/wdgt-mini-preview.h:
812 Ported widget from GnomeCanvas to Cairo.
814 2007-02-03 Jim Evins <evins@snaught.com>
816 * data/glade/template-designer.glade:
817 * src/template-designer.c:
818 * src/template-designer.h:
819 Ported GnomeDruid to GtkAssistant. Since libglade does not
820 yet support the GtkAssistant and we derive directly from
821 the Assistant, the pages are layed out in a GtkNotebook in
822 the glade description -- we then append each page to the
825 2007-01-25 Jim Evins <evins@snaught.com>
827 * data/glade/object-editor.glade:
828 Added dummy page to notebook, to prevent shadow page from
829 becoming the default current page at creation.
830 * src/view-box.c: (construct_properties_editor):
831 * src/view-ellipse.c: (construct_properties_editor):
832 * src/view-line.c: (construct_properties_editor):
833 * src/view-text.c: (construct_properties_editor):
834 Reconciled order of params.
836 2007-01-19 Jim Evins <evins@snaught.com>
838 * src/label-barcode.h:
839 * src/label-object.c: (gl_label_object_set_font_weight),
840 (gl_label_object_set_text_alignment),
841 (gl_label_object_get_font_weight),
842 (gl_label_object_get_text_alignment):
843 * src/label-object.h:
844 * src/label-text.c: (gl_label_text_instance_init), (copy),
845 (get_size), (set_font_family), (set_font_weight),
846 (set_text_alignment), (get_font_weight), (get_text_alignment):
848 * src/object-editor-text-page.c:
849 (gl_object_editor_prepare_text_page),
850 (gl_object_editor_set_font_family),
851 (gl_object_editor_set_font_weight),
852 (gl_object_editor_get_font_weight),
853 (gl_object_editor_set_text_alignment),
854 (gl_object_editor_get_text_alignment),
855 (gl_object_editor_set_text_color):
856 * src/object-editor.h:
857 * src/prefs-dialog.c: (construct_object_page),
858 (update_object_page_from_prefs), (update_prefs_from_object_page):
859 * src/prefs-model.c: (gl_prefs_model_save_settings),
860 (gl_prefs_model_load_settings):
862 * src/print.c: (draw_text_object):
863 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
864 (reset_to_default_properties), (update_text_properties),
865 (font_bold_toggled_cb), (text_align_toggled_cb):
867 * src/util.c: (gl_util_align_to_string), (gl_util_string_to_align),
868 (gl_util_weight_to_string), (gl_util_string_to_weight),
869 (gl_util_get_font_family_list), (gl_util_font_family_list_free):
871 * src/view-text.c: (update_object_from_editor_cb),
872 (update_editor_from_object_cb), (draw_hacktext), (draw_cursor):
873 * src/view.c: (gl_view_set_selection_text_alignment),
874 (gl_view_set_default_text_alignment),
875 (gl_view_get_default_text_alignment):
877 * src/xml-label-04.c: (xml04_parse_text_props):
878 * src/xml-label-191.c: (xml191_parse_text_props):
879 * src/xml-label.c: (xml_parse_object_text),
880 (xml_parse_toplevel_span), (xml_create_object_text),
881 (xml_create_toplevel_span):
882 Converted all model internals to Pango. GnomeFont remains in
883 view until GnomeCanvas can be replaced with a cairo-based canvas.
885 2007-01-17 Jim Evins <evins@snaught.com>
891 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type),
892 (gl_wdgt_print_copies_construct):
893 * src/wdgt-print-copies.h:
894 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type),
895 (gl_wdgt_print_merge_construct):
896 * src/wdgt-print-merge.h:
897 Removed all remaining HIG wrapper widgets.
899 2007-01-16 Jim Evins <evins@snaught.com>
902 * src/print-dialog.c:
903 * src/print-dialog.h:
906 * src/template-designer.c: (print_test_cb):
907 * src/ui-commands.c: (gl_ui_cmd_file_print):
909 Renamed PrintDialog to PrintOp. Added constructor for batch
911 * src/glabels-batch.c: (main):
912 Converted to use new PrintOp object for printing.
914 2007-01-15 Jim Evins <evins@snaught.com>
916 * data/glade/Makefile.am:
917 * data/glade/print-custom-widget.glade:
918 * src/print-dialog.c:
919 * src/print-dialog.h:
922 * src/template-designer.c: (print_test_cb):
923 * src/ui-commands.c: (gl_ui_cmd_file_print):
924 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_copies):
925 * src/wdgt-print-merge.h:
926 * src/window.c: (gl_window_init):
928 Initial conversion to GtkPrintOperation.
930 - Remove font and other libgnomeprint[ui] from elsewhere
931 - Add batch initialization of print operation
933 2007-01-08 Jim Evins <evins@snaught.com>
935 Updated dependencies. Set version to 2.1.pre4cvs.
937 2007-01-03 Jim Evins <evins@snaught.com>
940 Removed EggRecent stuff.
949 Ported from EggRecent to GtkRecentManager.
952 2007-01-02 Jim Evins <evins@snaught.com>
955 * iec16022-0.2.1/BUGS:
956 * iec16022-0.2.1/CHANGELOG:
957 * iec16022-0.2.1/CREDITS:
958 * iec16022-0.2.1/INSTALL:
959 * iec16022-0.2.1/LICENSE:
960 * iec16022-0.2.1/Makefile.am:
961 * iec16022-0.2.1/Makefile.dist:
962 * iec16022-0.2.1/README:
963 * iec16022-0.2.1/README.glabels:
964 * iec16022-0.2.1/TODO:
965 * iec16022-0.2.1/iec16022.1:
966 * iec16022-0.2.1/iec16022.c:
967 * iec16022-0.2.1/iec16022ecc200.c:
968 * iec16022-0.2.1/iec16022ecc200.h:
969 * iec16022-0.2.1/image.c:
970 * iec16022-0.2.1/image.h:
971 * iec16022-0.2.1/reedsol.c:
972 * iec16022-0.2.1/reedsol.h:
973 * iec16022-0.2.1/test/testsuite-example.bin:
974 * iec16022-0.2.1/test/testsuite-example.eps:
975 * iec16022-0.2.1/test/testsuite-example.hex:
976 * iec16022-0.2.1/test/testsuite-example.png:
977 * iec16022-0.2.1/test/testsuite-example.text:
978 * iec16022-0.2.1/test/testsuite.sh:
979 Include modified copy of iec16022-0.2.1 to provide encoding
980 support for datamatrix 2D barcodes.
985 Added initial datamatrix 2D barcode backend to barcode code.
988 Automatic updates to later versions of these files.
990 2006-11-28 Jim Evins <evins@snaught.com>
992 * data/templates/avery-iso-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-us-templates.xml:
997 * data/templates/zweckform-iso-templates.xml:
1000 2006-09-12 Jim Evins <evins@snaught.com>
1002 * data/dtd/glabels-2.0.dtd:
1003 * data/templates/Makefile.am:
1004 * data/templates/avery-iso-templates.xml:
1005 * data/templates/avery-other-templates.xml:
1006 * data/templates/avery-us-templates.xml:
1007 * data/templates/categories.xml:
1008 * data/templates/misc-iso-templates.xml:
1009 * data/templates/misc-other-templates.xml:
1010 * data/templates/zweckform-iso-templates.xml:
1011 * data/glade/Makefile.am:
1012 * data/glade/new-label-dialog.glade:
1013 * data/glade/wdgt-media-select.glade:
1014 * data/glade/wdgt-rotate-label.glade:
1015 * libglabels/Makefile.am:
1016 * libglabels/category.c:
1017 * libglabels/category.h:
1018 * libglabels/libglabels.h:
1019 * libglabels/paper.c:
1020 * libglabels/template.c:
1021 * libglabels/template.h:
1022 * libglabels/xml-category.c:
1023 * libglabels/xml-category.h:
1024 * libglabels/xml-template.c:
1025 Added support for category meta data.
1028 * src/mini-preview-pixbuf.c:
1029 * src/mini-preview-pixbuf.h:
1030 * src/new-label-dialog.c:
1031 * src/new-label-dialog.h:
1032 * src/wdgt-media-select.c:
1033 * src/wdgt-media-select.h:
1034 * src/wdgt-rotate-label.c:
1035 * src/wdgt-rotate-label.h:
1036 New "new label" dialog.
1038 2006-05-27 Jim Evins <evins@snaught.com>
1043 Preparation for 2.1.3.
1049 2006-05-22 Jim Evins <evins@snaught.com>
1051 * src/print.c: (draw_barcode_object):
1052 Don't print "Invalid barcode data" if data field is empty. Patch provided
1053 by Darren Warner <warnerd@users.sourceforge.net>. Fixes Bug #1479839.
1055 Added acknowledgment for above patch.
1056 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
1057 * src/bc-postnet.c: (postnet_code):
1058 Removed "Invalid barcode data" warnings from stderr.
1059 * src/view-barcode.c: (draw_barcode):
1060 Draw box around barcode extent if data empty or invalid. Center a
1061 message whether the data is empty or invalid in box.
1063 2006-05-22 Jim Evins <evins@snaught.com>
1065 * src/print.c: (draw_text_object):
1066 Check shadow state when printing text.
1068 2006-05-20 Jim Evins <evins@snaught.com>
1070 * src/ui-commands.c: (gl_ui_cmd_view_grid_toggle),
1071 (gl_ui_cmd_view_markup_toggle):
1072 Fixed crash when grid or markup have been toggled off during
1073 a previous session. Bug #1434324.
1075 2006-04-05 Jim Evins <evins@snaught.com>
1077 * src/object-editor.c: (gl_object_editor_set_key_names):
1078 Fixed potential crash when freeing empty key list.
1080 2006-03-11 Jim Evins <evins@snaught.com>
1082 * src/print.c: (draw_text_object):
1083 * src/view-text.c: (gl_view_text_new),
1084 (construct_properties_editor), (update_object_from_editor_cb),
1085 (update_editor_from_object_cb), (update_editor_from_label_cb),
1087 Added shadow support to text object.
1089 2006-02-18 Jim Evins <evins@snaught.com>
1091 * src/print.c: (draw_line_object):
1092 * src/view-line.c: (gl_view_line_new),
1093 (construct_properties_editor), (update_canvas_item_from_object_cb),
1094 (update_object_from_editor_cb), (update_editor_from_object_cb),
1095 (update_editor_from_label_cb):
1096 Added shadow support to line object.
1098 2006-02-16 Jim Evins <evins@snaught.com>
1102 * src/print.c: (draw_ellipse_object):
1103 * src/view-ellipse.c: (gl_view_ellipse_new),
1104 (construct_properties_editor), (update_canvas_item_from_object_cb),
1105 (update_object_from_editor_cb), (update_editor_from_object_cb),
1106 (update_editor_from_label_cb):
1107 Added shadow support to ellipse object.
1109 2006-02-15 Jim Evins <evins@snaught.com>
1111 * src/label-object.c:
1112 Changed default shadow offsets.
1113 * src/view-box.c: (gl_view_box_new):
1114 Simplified gl_view_box_new() so that is does not duplicate code
1115 in update_canvas_item_from_object_cb().
1117 2006-02-07 Jim Evins <evins@snaught.com>
1119 * data/glade/object-editor.glade:
1120 Fixed color groups of color combos.
1122 Added default shadow color.
1123 * src/object-editor.c: (gl_object_editor_construct_color_combo):
1124 Added shadow color group.
1126 2006-02-06 Jim Evins <evins@snaught.com>
1128 * src/object-editor-shadow-page.c:
1129 Forgot to add this file.
1130 * src/view-box.c: (gl_view_box_new),
1131 (update_canvas_item_from_object_cb), (update_editor_from_label_cb):
1132 Update limits on shadow offset spinbuttons.
1134 2006-01-19 Jim Evins <evins@snaught.com>
1136 * src/merge-evolution.c: (gl_merge_evolution_get_key_list):
1137 Initialize key_list to NULL.
1138 * data/glade/object-editor.glade:
1142 * src/label-object.c:
1143 * src/label-object.h:
1144 * src/object-editor-fill-page.c:
1145 * src/object-editor-private.h:
1146 * src/object-editor.c:
1147 * src/object-editor.h:
1149 Created infrastructure for shadow support.
1152 Initial shadow support in box object only.
1154 2006-01-05 Jim Evins <evins@snaught.com>
1156 * src/merge-properties-dialog.c: (src_changed_cb):
1157 Be extra paranoid before calling strcmp().
1158 * src/merge.c: (gl_merge_set_src):
1159 Don't make (merge == NULL) a critical error.
1161 2005-12-22 Jim Evins <evins@snaught.com>
1163 * src/glabels-batch.c: (main):
1164 Compile warning free with gcc 4.0.
1166 2005-12-21 Jim Evins <evins@snaught.com>
1169 Updated example RPM spec file.
1171 2005-12-21 Jim Evins <evins@snaught.com>
1175 Preparation for 2.1.2.
1177 2005-12-20 Jim Evins <evins@snaught.com>
1180 Define unique G_LOG_DOMAIN for glabels.
1181 * src/critical-error-handler.c: (gl_critical_error_handler_init):
1182 * src/warning-handler.c: (gl_warning_handler_init),
1184 Register for G_LOG_DOMAIN instead of NULL.
1186 2005-12-10 Jim Evins <evins@snaught.com>
1188 * src/merge-evolution.c:
1189 * src/merge-vcard.c:
1192 2005-12-08 Jim Evins <evins@snaught.com>
1194 * libglabels/paper.c: (read_paper_files_from_dir):
1195 * libglabels/template.c: (gl_template_register),
1196 (read_template_files_from_dir):
1197 * libglabels/xml-paper.c: (gl_xml_paper_read_papers_from_file),
1198 (gl_xml_paper_parse_papers_doc):
1199 * libglabels/xml-template.c:
1200 (gl_xml_template_read_templates_from_file),
1201 (gl_xml_template_parse_templates_doc),
1202 (gl_xml_template_parse_template_node),
1203 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
1204 (xml_parse_label_cd_node), (xml_parse_layout_node),
1205 (xml_parse_markup_margin_node), (xml_parse_markup_line_node),
1206 (xml_parse_markup_circle_node),
1207 (gl_xml_template_write_templates_to_file), (xml_create_label_node):
1208 * libglabels/xml.c: (gl_xml_get_prop_length):
1209 Re-classified g_warnings to g_messages.
1211 * src/glabels.c: (main):
1212 * src/warning-handler.c: (gl_warning_handler_init),
1214 * src/warning-handler.h:
1215 Added warning message handler to make sure the user is
1216 presented with appropriate non-fatal errors.
1217 * src/critical-error-handler.c: (critical_error_handler):
1218 Changed exit to abort.
1219 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new), (render_pass1):
1220 * src/bc-postnet.c: (postnet_code):
1221 * src/bc.c: (id_to_index), (name_to_index):
1222 * src/merge.c: (gl_merge_register_backend), (gl_merge_new):
1223 * src/object-editor.c: (gl_object_notebook_construct_valist):
1224 * src/prefs-dialog.c: (update_locale_page_from_prefs):
1225 * src/prefs.c: (gl_prefs_get_units_per_point),
1226 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
1227 (gl_prefs_get_units_string):
1228 * src/print.c: (draw_outline), (clip_to_outline), (clip_punchouts):
1229 * src/splash.c: (gl_splash):
1230 * src/ui-commands.c: (gl_ui_cmd_help_contents):
1231 * src/view-highlight.c: (gl_view_highlight_new),
1232 (highlight_resizable_box_construct), (object_changed_cb),
1233 (view_scale_changed_cb):
1234 * src/view.c: (draw_label_layer), (draw_bg_fg_layers),
1235 (draw_markup_layer), (draw_markup_margin),
1236 (gl_view_object_create_mode), (canvas_event),
1237 (selection_received_cb):
1238 * src/wdgt-mini-preview.c: (mini_outline_list_new):
1239 * src/wdgt-rotate-label.c: (mini_preview_canvas_update):
1240 * src/xml-label-04.c: (gl_xml_label_04_parse),
1241 (xml04_parse_media_description), (xml04_parse_text_props),
1242 (xml04_parse_barcode_props):
1243 * src/xml-label-191.c: (gl_xml_label_191_parse),
1244 (xml191_parse_objects), (xml191_parse_object),
1245 (xml191_parse_text_props), (xml191_parse_image_props),
1246 (xml191_parse_barcode_props), (xml191_parse_data),
1247 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
1248 (xml191_parse_markup):
1249 * src/xml-label.c: (gl_xml_label_open), (gl_xml_label_open_buffer),
1250 (xml_doc_to_label), (xml_parse_label), (xml_parse_objects),
1251 (xml_parse_object_text), (xml_parse_object_image),
1252 (xml_parse_object_barcode), (xml_parse_data),
1253 (xml_parse_toplevel_span), (gl_xml_label_save),
1254 (xml_create_objects):
1255 Re-classified g_warnings to g_messages.
1256 * src/merge-evolution.c: (gl_merge_evolution_open),
1257 (gl_merge_evolution_close), (gl_merge_evolution_get_record):
1258 Use g_warning to output errors encountered while
1259 communicating with the evolution data server
1260 instead of embedding them in the data.
1262 2005-12-08 Jim Evins <evins@snaught.com>
1264 * libglabels/libglabels-private.h:
1266 * libglabels/paper.c: (read_papers):
1267 * libglabels/template.c: (read_templates):
1268 Made appropriate warnings critical.
1270 * src/critical-error-handler.h:
1271 * src/critical-error-handler.c: (gl_critical_error_handler_init),
1272 (critical_error_handler):
1273 Created critical error handler.
1274 * src/glabels.c: (main):
1275 Register critical error handler.
1276 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
1277 * src/object-editor.c: (gl_object_editor_init):
1278 * src/prefs-dialog.c: (gl_prefs_dialog_init):
1279 * src/template-designer.c: (gl_template_designer_init):
1280 * src/ui-property-bar.c: (gl_ui_property_bar_instance_init):
1281 Made appropriate warnings critical.
1283 2005-11-27 Jim Evins <evins@snaught.com>
1285 * src/merge-evolution.c: (gl_merge_evolution_get_key_list),
1286 (gl_merge_evolution_get_primary_key),
1287 (gl_merge_evolution_get_record):
1288 Don't create "record_key" pseudo-key. Don't populate
1289 fields with null data.
1291 2005-11-25 Jim Evins <evins@snaught.com>
1293 * src/merge-evolution.c: (gl_merge_evolution_finalize),
1294 (gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
1295 (gl_merge_evolution_get_record), (gl_merge_evolution_copy),
1297 Query EDS for all supported fields. Patch provided by
1298 Austin Henry <ahenry@users.sourceforge.net>.
1300 2005-10-29 Jim Evins <evins@snaught.com>
1302 * src/glabels.c: (main):
1303 * src/label-barcode.c: (gl_label_barcode_finalize):
1304 * src/label-text.c: (gl_label_text_finalize), (set_font_family):
1305 * src/label.c: (gl_label_instance_init), (gl_label_finalize):
1306 * src/object-editor.c: (gl_object_editor_finalize):
1307 Another pass at valgrinding -- plugged several memory leaks.
1308 * src/view-text.c: (gl_view_text_new),
1309 (update_canvas_item_from_object_cb), (draw_hacktext):
1310 Commented out artifacts of edit-in-place code.
1312 2005-10-28 Jim Evins <evins@snaught.com>
1314 * src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
1315 Fixed use of uninitialized variable. Caught by
1316 d binderman <dcb314@hotmail.com>.
1318 2005-10-27 Jim Evins <evins@snaught.com>
1320 * src/merge-evolution.c: (gl_merge_evolution_get_record):
1321 * src/merge-vcard.c: (gl_merge_vcard_get_record),
1323 Additional cleanup of EDS and vcard backends. Provided by
1324 Austin Henry <ahenry@users.sourceforge.net>.
1326 2005-10-24 Jim Evins <evins@snaught.com>
1330 * src/merge-evolution.c:
1331 * src/merge-evolution.h:
1332 * src/merge-init.c: (gl_merge_init):
1333 * src/merge-properties-dialog.c: (type_changed_cb):
1334 * src/merge-vcard.c:
1335 * src/merge-vcard.h:
1336 * src/ui-commands.c: (gl_ui_cmd_help_about):
1337 Added Evolution Data Server and VCard merge backends. Original patch
1338 provided by Austin Henry <ahenry@users.sourceforge.net>.
1340 Only support EDS and VCard backends if libebook is installed. Allow
1341 user to disable support, even if installed.
1343 2005-10-24 Jim Evins <evins@snaught.com>
1346 * data/templates/avery-iso-templates.xml:
1347 * data/templates/avery-us-templates.xml:
1348 * data/templates/misc-iso-templates.xml:
1349 * data/templates/zweckform-iso-templates.xml:
1350 Collected all template changes and submissions since last
1353 2005-10-23 Jim Evins <evins@snaught.com>
1356 * data/mime/Makefile.am:
1357 Added configure options to disable update-mime-database and
1358 update-desktop-database as part of the install. Patch
1359 provided by Leonardo Boshell (qhoracio@sourceforge.net).
1361 2005-10-23 Jim Evins <evins@snaught.com>
1364 * libglabels/xml.c: (gl_xml_get_prop_string),
1365 (gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
1366 (gl_xml_is_node), (gl_xml_get_node_content):
1367 Added new XML utility functions.
1368 * libglabels/xml-paper.c:
1369 * libglabels/xml-template.c:
1371 Cleanup by using new xml utilities created above.
1372 * libglabels/paper.c: (gl_paper_free):
1373 * src/file.c: (new_response):
1374 * src/object-editor-image-page.c: (add_image_filters_to_chooser):
1375 * src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
1376 (gl_pixbuf_cache_get_pixbuf):
1377 * src/ui-property-bar.c:
1378 (gl_ui_property_bar_construct_color_combo):
1379 * src/view-highlight.c: (gl_view_highlight_finalize):
1380 * src/view-image.c: (update_object_from_editor_cb):
1381 * src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
1382 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
1383 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
1384 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
1385 (draw_markup_margin_round), (draw_markup_margin_cd),
1386 (draw_markup_margin_cd_bc):
1387 * src/wdgt-mini-preview.c: (mini_outline_list_new):
1388 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
1389 Plugged various memory leaks located with valgrind.
1390 * src/view-image.c: (update_canvas_item_from_object_cb):
1391 Don't allow a width or height of zero when drawing pixbuf.
1393 2005-10-22 Jim Evins <evins@snaught.com>
1395 * libglabels/xml-paper.c:
1396 * libglabels/xml-template.c:
1399 * src/bc-gnubarcode.c:
1400 * src/canvas-hacktext.c:
1402 * src/object-editor-data-page.c:
1403 * src/print-dialog.c:
1406 * src/template-designer.c:
1408 * src/ui-property-bar.c:
1410 * src/view-barcode.c:
1412 * src/view-ellipse.c:
1417 * src/wdgt-media-select.c:
1418 * src/xml-label-04.c:
1419 * src/xml-label-191.c:
1421 Modified to compile warning free with gcc-4.0. Mostly
1422 casting to change signedness of characters. Did not
1423 attack gnu-barcode library yet.
1425 2005-10-22 Jim Evins <evins@snaught.com>
1427 * src/glabels.c: (main):
1428 * src/splash.c: (gl_splash):
1429 Removed some small memory leaks.
1433 2005-09-19 Jim Evins <evins@snaught.com>
1435 * data/glade/property-bar.glade:
1436 Remove items from font_family_combo. This prevents the
1437 double entry after adding text model and list of fonts.
1438 * src/ui-property-bar.c: (reset_to_default_properties):
1439 Free font_family_list.
1441 2005-07-01 Jim Evins <evins@snaught.com>
1444 Updated italian translation (Daniele Medri)
1446 2005-06-26 Jim Evins <evins@snaught.com>
1448 * docs/libglabels/libglabels-decl-list.txt:
1449 Somehow never got checked in before.
1450 * docs/libglabels/libglabels.types:
1451 Removed -- don't need it afterall.
1453 2005-06-20 Jim Evins <evins@snaught.com>
1456 Final prep for 2.1.1 release.
1458 2005-06-20 Jim Evins <evins@snaught.com>
1461 Final preps for 2.1.1 release.
1462 * docs/libglabels/libglabels.types:
1463 Somehow never got checked in before.
1465 Bring up-to-date with recent reorg of ui code.
1468 2005-06-19 Jim Evins <evins@snaught.com>
1470 * src/template-designer.c: (construct_layout_page):
1471 Removed attempt to match background color of mini preview widget to
1474 2005-06-17 Jim Evins <evins@snaught.com>
1476 * help/C/figures/merge-ex2-4.png:
1477 * help/C/glabels.xml:
1478 Fixed spelling error.
1480 2005-06-13 Jim Evins <evins@snaught.com>
1482 * help/C/figures/merge-ex1-1.png:
1483 * help/C/figures/merge-ex1-2.png:
1484 * help/C/figures/merge-ex1-3.png:
1485 * help/C/figures/merge-ex1-4.png:
1486 * help/C/figures/merge-ex2-1.png:
1487 * help/C/figures/merge-ex2-2.png:
1488 * help/C/figures/merge-ex2-3.png:
1489 * help/C/figures/merge-ex2-4.png:
1490 Added figures for document merge tutorial.
1491 * help/C/glabels.xml:
1492 Added document merge tutorial.
1494 2005-05-19 Jim Evins <evins@snaught.com>
1496 * data/glade/merge-properties-dialog.glade:
1497 Fixed irregular spacing.
1498 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
1499 (gl_merge_properties_dialog_construct):
1500 Set outer padding and remove separator.
1502 2005-05-18 Jim Evins <evins@snaught.com>
1506 Removed glHigDialog class.
1507 * src/file.c: (gl_file_new), (create_new_dialog_widgets),
1508 (gl_file_properties), (create_properties_dialog_widgets):
1509 * src/prefs-dialog.h:
1510 * src/prefs-dialog.c: (gl_prefs_dialog_get_type),
1511 (gl_prefs_dialog_init), (gl_prefs_dialog_construct):
1512 * src/print-dialog.h:
1513 * src/prefs-dialog.h:
1514 * src/print-dialog.c: (gl_print_dialog_get_type),
1515 (gl_print_dialog_init), (gl_print_dialog_construct):
1516 Replaced all instances of glHigDialog with GtkDialog.
1518 2005-05-17 Jim Evins <evins@snaught.com>
1522 Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
1523 * src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
1524 (save_as_response), (gl_file_close):
1525 Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.
1527 2005-05-15 Jim Evins <evins@snaught.com>
1529 * src/ui-commands.h:
1537 A little code reformatting -- no functional changes.
1539 2005-05-14 Jim Evins <evins@snaught.com>
1542 Removed obsolete macros.
1544 Added marshalling template to support new view signal: "context_menu_activate."
1546 * src/view.c: (gl_view_class_init), (gl_view_construct),
1547 (canvas_event_arrow_mode):
1548 - Removed hardcoded context menus and added new signal "context_menu_activate"
1549 to push this up to the uimanager.
1550 - Removed merge properties and print dialogs so that they can be managed with
1551 the window by the uimanager.
1552 * src/merge-properties-dialog.h:
1553 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
1554 (gl_merge_properties_dialog_construct):
1555 Changed calling convention of gl_merge_properties_dialog_new() to use
1556 glLabel and GtkWindow instead of view to make more consistent with other
1558 * src/print-dialog.h:
1559 * src/print-dialog.c: (gl_print_dialog_new),
1560 (gl_print_dialog_construct):
1561 Removed last artifact of libbonoboui.
1562 * src/ui-commands.c: (gl_ui_cmd_file_print),
1563 (gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
1564 Reconciled style for launching dialogs.
1565 * src/ui.c: (gl_ui_new):
1566 Added context menus to ui manager.
1567 * src/view-object.c: (item_event_arrow_mode):
1568 No longer try to select objects with right-click.
1570 * src/window.c: (gl_window_init), (gl_window_set_label),
1571 (context_menu_activate_cb):
1572 Context menus and all dialogs are now managed in a consistent way in window
1575 2005-05-11 Jim Evins <evins@snaught.com>
1578 * src/window.c: (gl_window_init), (gl_window_destroy):
1579 * src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
1580 * src/ui-commands.c: (gl_ui_cmd_file_open_recent):
1581 Moved management of recent_view back from window.c to ui.c -- it just feels
1584 2005-05-10 Jim Evins <evins@snaught.com>
1587 * src/window.c: (gl_window_init):
1589 * src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
1590 (menu_item_select_cb), (menu_item_deselect_cb):
1591 Added GtkStatusbar which displays menu tooltips.
1593 2005-05-09 Jim Evins <evins@snaught.com>
1595 Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
1600 Removed dependencies on libbonoboui.
1602 * data/ui/Makefile.am:
1603 * data/ui/glabels-ui.xml:
1604 Removed data/ui directory.
1605 * data/glade/Makefile.am:
1606 * data/property-bar.glade:
1607 Added glade description of property-bar for new libglade implementation
1614 * src/ui-commands.h:
1615 * src/ui-commands.c:
1616 Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
1617 since the distinction between "commands" and "tools" is no longer that clear.
1620 Modified to expect glWindow instead of GtkWindow. gl_file_open_recent()
1621 no longer has knowledge of eggRecent*.
1622 * src/glabels.c: (main):
1623 Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
1625 * src/object-editor.c: (gl_object_editor_init):
1626 Make sure notebook does not respond to a "show_all" on the parent.
1627 * src/recent-files/Makefile.am:
1628 * src/recent-files/*.[ch]
1629 Updated from latest version of libegg which now has a view based on
1630 GtkUIManager. Removed unused bonobo and gtk views.
1631 * src/ui-property-bar.h:
1632 * src/ui-property-bar.c:
1633 New implementation based on libglade.
1636 Sidebar is now simply a GtkWidget and does not expect to be a part of
1637 a libbonoboui interface.
1642 Converted for use with GtkUIManager.
1645 Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
1646 to create menus and toolbars.
1648 2005-04-25 Jim Evins <evins@snaught.com>
1650 * data/templates/misc-iso-templates.xml:
1651 Added Fellows 04715 template provided by Steve Saxon.
1653 Updated acknowledgement for above.
1655 2005-04-23 Jim Evins <evins@snaught.com>
1657 * src/util.c: (gl_util_combo_box_set_strings):
1658 Make sure to clear model before loading a new list of strings.
1659 * src/wdgt-media-select.h:
1660 * src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
1661 (gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
1662 (template_combo_changed_cb), (prefs_changed_cb),
1663 (gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
1664 (gl_wdgt_media_select_get_page_size),
1665 (gl_wdgt_media_select_set_page_size):
1666 Replaced the deprecated GtkCombo widget with the new
1669 2005-04-21 Jim Evins <evins@snaught.com>
1671 * data/glade/template-designer.glade:
1672 * src/template-designer.c: (construct_pg_size_page),
1673 (pg_size_page_changed_cb), (build_template):
1674 Replaced the deprecated GtkCombo widget with the new
1677 2005-04-20 Jim Evins <evins@snaught.com>
1679 * data/glade/prefs-dialog.glade:
1680 * src/prefs-dialog.c: (construct_object_page),
1681 (update_object_page_from_prefs), (update_prefs_from_object_page):
1682 Replaced the deprecated GtkCombo widget with the new
1685 2005-04-19 Jim Evins <evins@snaught.com>
1687 * data/glade/object-editor.glade:
1688 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
1689 (style_changed_cb), (gl_object_editor_set_bc_style),
1690 (gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
1691 (gl_object_editor_get_bc_color):
1692 * src/object-editor-data-page.c:
1693 (gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
1694 (gl_object_editor_get_data):
1695 * src/object-editor-edit-page.c:
1696 (gl_object_editor_prepare_edit_page), (insert_button_cb):
1697 * src/object-editor-fill-page.c:
1698 (gl_object_editor_prepare_fill_page),
1699 (gl_object_editor_set_fill_color),
1700 (gl_object_editor_get_fill_color):
1701 * src/object-editor-image-page.c:
1702 (gl_object_editor_prepare_image_page),
1703 (gl_object_editor_set_image), (gl_object_editor_get_image):
1704 * src/object-editor-line-page.c:
1705 (gl_object_editor_prepare_line_page),
1706 (gl_object_editor_set_line_color),
1707 (gl_object_editor_get_line_color):
1708 * src/object-editor-private.h:
1709 * src/object-editor-text-page.c:
1710 (gl_object_editor_prepare_text_page),
1711 (gl_object_editor_set_font_family),
1712 (gl_object_editor_get_font_family),
1713 (gl_object_editor_set_text_color),
1714 (gl_object_editor_get_text_color):
1715 * src/object-editor.c: (gl_object_editor_set_key_names):
1717 In the object editor: replaced all instances of the deprecated
1718 GtkCombo widget with the new GtkComboBox.
1720 2005-04-18 Jim Evins <evins@snaught.com>
1723 Neglected to save this one in previous checkin to support
1726 2005-04-17 Jim Evins <evins@snaught.com>
1728 * libglabels/libglabels-private.h:
1729 * libglabels/paper.c:
1730 * libglabels/paper.h:
1731 * libglabels/template.c:
1732 * libglabels/template.h:
1733 * libglabels/xml-paper.c:
1734 * libglabels/xml-paper.h:
1735 * libglabels/xml-template.c:
1740 * src/bc-gnubarcode.c:
1751 * src/label-barcode.c:
1753 * src/label-ellipse.c:
1754 * src/label-image.c:
1755 * src/label-image.h:
1757 * src/label-object.c:
1761 * src/merge-properties-dialog.c:
1762 * src/object-editor-bc-page.c:
1763 * src/object-editor-data-page.c:
1764 * src/object-editor-edit-page.c:
1765 * src/object-editor-fill-page.c:
1766 * src/object-editor-image-page.c:
1767 * src/object-editor-line-page.c:
1768 * src/object-editor-lsize-page.c:
1769 * src/object-editor-position-page.c:
1770 * src/object-editor-private.h:
1771 * src/object-editor-size-page.c:
1772 * src/object-editor-text-page.c:
1773 * src/object-editor.c:
1774 * src/object-editor.h:
1775 * src/pixbuf-cache.h:
1776 * src/prefs-dialog.c:
1777 * src/prefs-dialog.h:
1778 * src/prefs-model.c:
1779 * src/prefs-model.h:
1781 * src/print-dialog.c:
1782 * src/print-dialog.h:
1790 * src/template-designer.c:
1791 * src/template-designer.h:
1794 * src/ui-property-bar.c: (gl_ui_property_bar_construct):
1800 * src/view-barcode.c:
1802 * src/view-ellipse.c:
1803 * src/view-highlight.c:
1804 * src/view-highlight.h:
1807 * src/view-object.c:
1808 * src/view-object.h:
1812 * src/wdgt-chain-button.c:
1813 * src/wdgt-media-select.c:
1814 * src/wdgt-media-select.h:
1815 * src/wdgt-mini-preview.c:
1816 * src/wdgt-mini-preview.h:
1817 * src/wdgt-print-copies.c:
1818 * src/wdgt-print-copies.h:
1819 * src/wdgt-print-merge.c:
1820 * src/wdgt-print-merge.h:
1821 * src/wdgt-rotate-label.c:
1822 * src/wdgt-rotate-label.h:
1825 * src/xml-label-04.c:
1826 * src/xml-label-191.c:
1828 Cleanup of header files:
1829 - all header files are now stand-alone, verified by including
1830 first in corresponding "c" files
1831 - replaced blanket includes of gnome, gtk, and glib with
1834 2005-04-16 Jim Evins <evins@snaught.com>
1836 * data/glade/Makefile.am:
1837 * data/glade/merge-properties-dialog.glade:
1838 Added merge properties dialog glade description file.
1839 * src/merge-properties-dialog.h:
1840 * src/merge-properties-dialog.c:
1841 (gl_merge_properties_dialog_get_type),
1842 (gl_merge_properties_dialog_init),
1843 (gl_merge_properties_dialog_finalize),
1844 (gl_merge_properties_dialog_new),
1845 (gl_merge_properties_dialog_construct), (type_changed_cb),
1846 (src_changed_cb), (response_cb), (load_tree),
1847 (record_select_toggled_cb), (select_all_button_clicked_cb),
1848 (unselect_all_button_clicked_cb):
1849 Modified merge properties dialog to use libglade. Added
1850 "select all" and "unselect all" buttons.
1851 * src/merge-text.c: (parse_line):
1852 Handle empty lines better.
1853 * src/merge.c: (gl_merge_eval_key):
1854 Evaluate the key whether the record is selected or not.
1856 * src/util.c: (gl_util_combo_box_add_text_model):
1857 Since libglade does not use the gtk_combo_box_new_text()
1858 constructor for GtkComboBoxes, a utility function was created
1859 to add an appropriate text model to a GtkComboBox.
1860 * src/view.c: (gl_view_edit_merge_props):
1861 Removed unnecessary "show all's".
1863 2005-04-15 Jim Evins <evins@snaught.com>
1866 Updated russian translation (Vitaly Lipatov)
1867 * data/templates/misc-iso-templates.xml:
1868 Added templates for russian business cards provided by Vitaly Lipatov.
1870 Updated acknowledgements for above.
1872 2005-04-15 Jim Evins <evins@snaught.com>
1874 * data/templates/avery-us-templates.xml:
1875 Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
1876 * data/templates/misc-iso-templates.xml:
1877 Added Ryman standard CD/DVD template, provided by Dan Clark.
1879 Added acknowledgements for above.
1881 2005-04-10 Jim Evins <evins@snaught.com>
1883 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
1884 * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
1885 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
1886 (xml_parse_label_cd_node), (xml_parse_alias_node):
1887 * libglabels/xml.c: (gl_xml_get_prop_double),
1888 (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
1889 (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
1890 * src/xml-label-04.c: (xml04_parse_media_description),
1891 (xml04_parse_text_props), (xml04_parse_barcode_props),
1892 (xml04_parse_merge_properties):
1893 * src/xml-label-191.c: (xml191_parse_object),
1894 (xml191_parse_text_props), (xml191_parse_barcode_props),
1895 (xml191_parse_merge_fields), (xml191_parse_pixdata),
1896 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
1897 (xml191_parse_alias):
1898 * src/xml-label.c: (xml_parse_object_text),
1899 (xml_parse_object_barcode), (xml_parse_merge_fields),
1900 (xml_parse_pixdata), (xml_parse_toplevel_span):
1901 Make sure to use xmlFree for anything obtained from libxml
1902 in case libxml and glib use different memory management
1905 2005-04-08 Jim Evins <evins@snaught.com>
1908 * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
1909 (gl_util_combo_box_set_active_text):
1910 Added utility functions to simplify working with GtkComboBox
1912 * src/ui-property-bar.h:
1913 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
1914 (reset_to_default_properties), (update_text_properties),
1915 (font_family_changed_cb):
1916 Replaced deprecated GtkCombo with GtkComboBox.
1919 2005-04-03 Jim Evins <evins@snaught.com>
1922 * src/wdgt-image-select.h:
1923 * src/wdgt-image-select.c:
1924 Removed obsolete wdgt-image-select.[ch] files.
1925 * libglabels/paper.c: (gl_paper_dup):
1926 Fixed rename of parameter introduced during documentation
1928 * data/glade/object-editor.glade:
1929 * src/object-editor-image-page.c:
1930 (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
1931 (gl_object_editor_set_image), (gl_object_editor_get_image),
1932 (update_preview_cb), (add_image_filters_to_chooser):
1933 * src/object-editor-private.h:
1934 Replaced deprecated GnomePixmapEntry with
1935 GtkFileChooserButton.
1937 2005-04-02 Jim Evins <evins@snaught.com>
1939 * src/mygal/mygal-combo-box.c: (deactivate_arrow),
1940 (mygal_combo_box_popup_hide_unconditional),
1941 (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
1942 (mygal_combo_toggle_pressed), (mygal_combo_box_init),
1943 (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
1944 (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
1945 (cb_tearable_button_release), (mygal_combo_box_set_tearable):
1946 Renamed all internal gtk_combo functions to mygal_combo
1947 to prevent namespace confusion.
1949 2005-04-02 Jim Evins <evins@snaught.com>
1951 * src/mygal/color-palette.c: (color_palette_change_custom_color),
1952 (cust_color_set), (color_palette_setup):
1953 * src/mygal/color-palette.h:
1954 Replaced deprecated GnomeColorPicker with GtkColorButton.
1956 2005-04-02 Jim Evins <evins@snaught.com>
1958 * docs/libglabels/libglabels-sections.txt:
1959 * docs/libglabels/libglabels-undocumented.txt:
1960 * docs/libglabels/tmpl/enums.sgml:
1961 * docs/libglabels/tmpl/paper.sgml:
1962 * docs/libglabels/tmpl/xml-paper.sgml:
1963 * docs/libglabels/tmpl/xml-template.sgml:
1964 * libglabels/enums.h:
1965 * libglabels/paper.c: (gl_paper_dup):
1966 * libglabels/paper.h:
1967 * libglabels/xml-paper.c:
1968 * libglabels/xml-template.c:
1969 More documentation updates for libglabels.
1971 2005-03-23 Jim Evins <evins@snaught.com>
1974 Automatically updated.
1979 * docs/libglabels/Makefile.am:
1980 * docs/libglabels/libglabels-docs.sgml:
1981 * docs/libglabels/libglabels-sections.txt:
1982 * docs/libglabels/libglabels-undocumented.txt:
1983 * docs/libglabels/tmpl/enums.sgml:
1984 * docs/libglabels/tmpl/libglabels-unused.sgml:
1985 * docs/libglabels/tmpl/libglabels.sgml:
1986 * docs/libglabels/tmpl/paper.sgml:
1987 * docs/libglabels/tmpl/template.sgml:
1988 * docs/libglabels/tmpl/xml-paper.sgml:
1989 * docs/libglabels/tmpl/xml-template.sgml:
1990 * docs/libglabels/tmpl/xml.sgml:
1991 Added basic gtk-doc stuff to support documenting libglabels
1994 Updated function comments with gtk-doc markup.
1998 2005-03-22 Jim Evins <evins@snaught.com>
2000 Since the development version now requires gtk-2.6/gnome-2.10, I
2001 have made a first pass at removing deprecations.
2004 * libglabels/Makefile.am:
2006 Added configure option to turn on X_DISABLE_DEPRECATED flags.
2007 Also removed all remnants of HAVE_FILECHOOSER.
2008 * src/file.c: (gl_file_open_real):
2009 Removed code for old GtkFileSelection.
2010 * libglabels/libglabels-private.h:
2011 * libglabels/paper.c:
2012 * libglabels/template.c:
2013 * libglabels/xml-paper.c:
2014 * libglabels/xml-template.c:
2018 * src/glabels-batch.c:
2022 * src/merge-properties-dialog.c:
2024 * src/object-editor.c:
2025 * src/prefs-dialog.c:
2027 * src/print-dialog.c:
2030 * src/template-designer.c:
2031 * src/ui-property-bar.c:
2033 * src/view-barcode.c:
2035 * src/view-ellipse.c:
2040 * src/wdgt-image-select.c:
2041 * src/wdgt-media-select.c:
2042 * src/wdgt-print-copies.c:
2043 * src/wdgt-print-merge.c:
2044 * src/wdgt-rotate-label.c:
2046 * src/xml-label-04.c:
2047 * src/xml-label-191.c:
2049 Added '#include <glib/gi18n.h>" where needed.
2050 Removed any unused '#include <gnome.h>"s.
2052 2005-03-22 Jim Evins <evins@snaught.com>
2054 * src/commands.c: (activate_url), (gl_cmd_help_about):
2055 Replaced GnomeAbout with GtkAboutDialog. Therefore the
2056 development version of glabels now depends on GTK 2.6 and
2059 Updated library dependencies.
2061 2005-02-28 Jim Evins <evins@snaught.com>
2064 * data/templates/misc-iso-templates.xml:
2065 Added 'Ednet 45021' template provided by Ali Akcaagac
2068 2005-02-14 Jim Evins <evins@snaught.com>
2070 * data/templates/avery-us-templates.xml:
2071 Updated templates to use inches instead of points.
2072 * src/print-dialog.c: (printer_page_new):
2073 Changed packing style when adding printer selector widget. This fixes
2076 2005-02-13 Jim Evins <evins@snaught.com>
2080 Updated spanish translations. (sergio rivadero)
2082 2005-02-05 Jim Evins <evins@snaught.com>
2084 Some cleanup to libglabels.
2087 Updated version to 2.1.1cvs. Added generation of libglabels.pc.
2088 * libglabels/libglabels.pc.in
2090 * libglabels/enums.h
2091 Created. Currently only contains glUnitsType which provides enumerations
2092 for all possible units of distance.
2093 * libglabels/Makefile.am:
2094 Incorporated new files enums.h and libglabels.pc[.in].
2095 * libglabels/libglabels.h:
2097 * libglabels/template.h:
2098 * libglabels/template.c: (gl_template_layout_new):
2099 Changed parameters nx and ny to gint from gdouble.
2101 * libglabels/xml.c: (gl_xml_get_prop_length),
2102 (gl_xml_set_prop_length), (gl_xml_set_default_units):
2103 Added support for different output units.
2104 * src/prefs-dialog.c: (update_locale_page_from_prefs),
2105 (update_prefs_from_locale_page):
2106 * src/prefs-model.c: (string_to_units), (units_to_string):
2107 * src/prefs-model.h:
2108 * src/prefs.c: (gl_prefs_get_units_per_point),
2109 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
2110 (gl_prefs_get_units_string):
2112 * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
2113 Reconciled all length enumerations with the new enumerations provided
2114 in libglabels/enums.h.
2116 2005-02-03 Jim Evins <evins@snaught.com>
2119 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
2121 Updated Italian translations. (Daniele Medri)
2123 Updated credits to reflect above translations.
2126 2005-01-22 Jim Evins <evins@snaught.com>
2131 Added MESSAGE-OF-DOOM to EXTRA_DIST.
2133 Final prep for 2.1.0.
2135 Set version to 2.1.0. Output MESSAGE-OF-DOOM.
2137 Added '--remove-original' flag to desktop-file-install, so that there is
2138 only one menu entry.
2140 2005-01-20 Jim Evins <evins@snaught.com>
2142 * data/glade/object-editor.glade:
2143 - Font family entry should not be editable.
2144 - img_key_entry should have sensitivity=YES, so that it follows the
2145 sensitivity of img_key_combo.
2147 2005-01-19 Jim Evins <evins@snaught.com>
2150 Give credit to Frederic Ruaudel for the color merge patches.
2152 2005-01-18 Frederic Ruaudel <grumz@users.sf.net>
2154 Add support to merge color for all other color attribute (Feature
2155 Requests item #1008635. If the data is invalid, the color used is transparent
2156 (GL_COLOR_NONE). The format for color in merge data file are those accepted
2157 by gdk_color_parse() these include name for a color from rgb.txt, such as
2158 DarkSlateGray, or a hex specification such as #305050. File format has been
2159 changed but backward compatibility is preserved for all format. For
2160 box/ellipse/line, keep attribute "line_color" for static color or replace by
2161 "line_color_field" for merge data. For text/barcode objects, keep attribute
2162 "color" for static color or replace by "color_field" for merge data. In the
2163 edit canvas window, merged color are represented by half-transparent black
2166 * data/dtd/glabels-2.0.dtd:
2167 Added line_color_field to line_attrs. Added color_field to
2168 Object-barcode and Span.
2169 * data/glade/object-editor.glade:
2170 Modify the layout of the editor to add merge possibility to color options
2172 Fix a copy/paste error in a comment
2174 Add default color for merge color representation in the editor canvas.
2175 * src/label-barcode.c:
2176 * src/object-editor-bc-page.c:
2177 * src/view-barcode.c:
2178 Add merge color support for barcode color.
2181 Add merge color support for box border color.
2182 * src/label-ellipse.c:
2183 * src/view-ellipse.c:
2184 Add merge color support for ellipse border color.
2187 Add merge color support for line color.
2188 * src/label-object.c:
2189 * src/label-object.h:
2190 * src/object-editor.c:
2191 * src/object-editor.h:
2192 * src/ui-property-bar.c:
2195 * src/xml-label-04.c:
2196 * src/xml-label-191.c:
2197 Add support for merging to other color attribute.
2199 * src/object-editor-text-page.c:
2201 Add merge color support for text color.
2202 * src/object-editor-fill-page.c:
2203 Change a blocked handler that didn't match the good widget. Fix the type
2204 of some debug message.
2205 * src/object-editor-line-page.c:
2206 Add merging support to line color option.
2207 * src/object-editor-private.h:
2208 Add variables for new widget.
2210 Modify the draw functions to get merge data if needed.
2212 Change the default size of the window in order to see all widget in the
2213 "text style tab" of the editor.
2215 Modify the parser to record/retreive the field value for objects that need
2216 "color" attribute. For box/ellipse/line, keep attribute "line_color" for
2217 static color or replace by "line_color_field" for merge data. For
2218 text/barcode objects, keep attribute "color" for static color or replace
2219 by "color_field" for merge data.
2221 2005-01-17 Jim Evins <evins@snaught.com>
2223 * src/view.c: (screen_changed_cb):
2224 Don't do anything if we don't have a screen.
2226 2005-01-06 Jim Evins <evins@snaught.com>
2228 * src/view.c: (get_home_scale):
2229 Fixed bad call to gtk_widget_has_screen() -- huh?.
2231 2005-01-06 Jim Evins <evins@snaught.com>
2233 * data/dtd/glabels-2.0.dtd:
2234 Added fill_color_field to fill_attrs. Also added xmlns attribute to all
2237 2005-01-06 Jim Evins <evins@snaught.com>
2239 * data/glade/object-editor.glade:
2240 Set entries for fill and data field key dropdowns to NOT editable.
2241 * src/view-box.c: (construct_properties_editor):
2242 * src/view-ellipse.c: (construct_properties_editor):
2243 Update object editor when label's merge property has changed.
2244 * src/xml-label.c: (xml_parse_object_ellipse):
2245 Completed the merge color support for the ellipse item.
2247 2005-01-06 Frederic Ruaudel <grumz@users.sf.net>
2249 Add support to merge color for object that have a "Fill color" attribute (Feature
2250 Requests item #1008635. If the data is invalid, the color used is transparent
2251 (GL_COLOR_NONE). The format for color in merge data file are those accepted
2252 by gdk_color_parse() these include name for a color from rgb.txt, such as
2253 DarkSlateGray, or a hex specification such as #305050. File format has been
2254 changed but backward compatibility is preserved for all format. For box/ellipse,
2255 keep attribute "fill_color" for static color or replace by "fill_color_field"
2258 * data/glade/object-editor.glade:
2259 Modify "Fill" tab to add the merge key combo and convert the labels into
2263 Add "glColorNode" structure and associated functions to manage it. This
2264 structure is equivalent for color than the "glTextNode". It holds the color
2266 * src/label-object.h:
2267 * src/label-object.c:
2269 * src/label-ellipse.c:
2270 * src/ui-property-bar.c:
2274 * src/view-ellipse.c:
2275 * src/xml-label-04.c:
2276 * src/xml-label-191.c:
2277 Change functions of objects that have a "fill color" attribute to use the
2278 new "glColorNode" structure. Use barcode code as example.
2280 Add the color.[ch] file to glabels_batch binary that now need support for
2282 * src/object-editor.h:
2283 * src/object-editor.c:
2284 * src/object-editor-fill-page.c:
2285 Manage the new widget of the editor's "Fill" tab : key combo and radio button
2286 to choose between static color or merge key. Use barcode code as example.
2287 * src/object-editor-private.h:
2288 Add new widget in the "_glObjectEditorPrivate" structure.
2290 Modify the draw functions to get merge data if needed.
2292 Modify the parser to record/retreive the field value for objects that need
2293 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
2294 color or "fill_color_field" for merge data.
2296 2005-01-04 Jim Evins <evins@snaught.com>
2299 * data/templates/avery-iso-templates.xml:
2300 * data/templates/misc-iso-templates.xml:
2301 * data/templates/misc-us-templates.xml:
2302 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
2305 2004-11-26 Jim Evins <evins@snaught.com>
2309 Updated french translations provided by Florent Morel <florent@taket.org>.
2310 * src/view-barcode.c:
2312 * src/view-ellipse.c:
2316 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
2317 thus _() strings were not being translated.
2319 2004-11-14 Jim Evins <evins@snaught.com>
2322 * src/debug.c: (gl_debug_init), (gl_debug):
2323 Borrowed from gedit: use environmental variables to select debug
2326 Removed unused include of debug.h.
2327 * src/glabels.c: (main):
2328 Added call to gl_debug_init(), and removed debug clutter from command line
2330 * src/glabels-batch.c: (main):
2331 Added call to gl_debug_init().
2333 2004-11-13 Jim Evins <evins@snaught.com>
2335 Drawing and property toolbars were being initialized with the "icons and text"
2336 look in Fedora Core 3. Even though none of the buttons had any text attached to
2337 them, the buttons were being sized as if they were. This led to less real estate
2338 for the property editor, leading to Bug #1064630. The
2340 * data/ui/glabels-ui.xml:
2341 Added explicit "look" property to both drawing and property toolbars.
2342 * src/prefs-model.c: (gl_prefs_model_save_settings),
2343 (gl_prefs_model_load_settings):
2344 * src/prefs-model.h:
2345 Removed drawing_toolbar_button_style configuration parameter.
2346 * src/ui.c: (view_menu_item_toggled_cb),
2347 (set_app_drawing_toolbar_style):
2348 Do not attempt to adjust look property of the drawing toolbar.
2350 2004-10-28 Jim Evins <evins@snaught.com>
2352 * data/pixmaps/glabels-about-logo.png:
2355 2004-10-28 Jim Evins <evins@snaught.com>
2357 * data/man/glabels.1:
2358 * src/glabels-batch.c: (main):
2360 * src/print.c: (gl_print_batch):
2362 Added option to glabels-batch to select the first label to begin
2365 2004-09-26 Jim Evins <evins@snaught.com>
2367 * data/desktop/glabels.desktop.in:
2368 Point to app icon, "glabels.png"
2369 * data/mime/glabels.keys.in:
2370 Point at mime icon, "glabels-application-x-glabels.png"
2371 * data/pixmaps/Makefile.am:
2372 Added glabels_app_icondir. Renamed icons.
2373 * data/pixmaps/glabels.png:
2374 New cleaned up app icon. Deleted glabels-icon.png.
2375 * data/pixmaps/glabels-application-x-glabels.png:
2377 * data/pixmaps/glabels-splash.png:
2378 Renamed glabels-logo to glabels-splash to be more correct about role.
2380 * src/template-designer.c:
2381 Point at app icon, "glabels.png"
2383 Point at renamed splash image, "glabels-splash.png"
2385 2004-08-22 Jim Evins <evins@snaught.com>
2388 * src/glabels-batch.c: (main):
2389 Applied patch with minor mods to allow selecting merge source and
2390 crop-marks on glabels-batch's command line. Original patch provided by
2391 José Dapena Paz <jdapena@igalia.com>.
2393 2004-08-15 Jim Evins <evins@snaught.com>
2395 * data/desktop/glabels.desktop.in:
2396 - Added encoding line
2397 - Removed period from comment
2398 - Fixed Terminal line, changed "0" to "false"
2399 - Added semicolen to Categories line
2401 - Made sure desktop.in comment string above still translated properly
2403 2004-08-14 Jim Evins <evins@snaught.com>
2405 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
2406 * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
2407 * src/xml-label-191.c: (xml191_parse_sheet):
2408 Fixed improper freeing of gettext strings. Merged from 2.0.1.
2410 Reconciled libglabels versioning with 2.0.1.
2413 2004-08-14 Jim Evins <evins@snaught.com>
2416 Updated version to 2.1cvs.
2418 2004-08-14 Jim Evins <evins@snaught.com>
2421 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
2423 2004-08-14 Jim Evins <evins@snaught.com>
2425 Fixes for Bug #1008181.
2427 * src/bc.c: (gl_barcode_default_digits):
2428 Make a format of zero digits, harmless.
2429 * src/xml-label.c: (xml_parse_object_barcode):
2430 Set default value of the format property of barcode objects to 10, not
2431 zero. This will prevent crashes when reading pre 2.0.x files.
2433 2004-08-09 Jim Evins <evins@snaught.com>
2437 * help/C/glabels-C.omf:
2438 * help/C/glabels.xml:
2439 Brought documentation up-to-date for 2.0.0 release.
2441 2004-08-09 Jim Evins <evins@snaught.com>
2443 These are hopefully the final preparations for 2.0.0.
2445 * data/mime/Makefile.am:
2446 Include glabels.xml in EXTRA_DIST.
2448 - Updated comment style.
2449 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
2450 - Added package and version info to configuration printout
2451 - Update version to 2.0.0
2452 * libglabels/Makefile.am:
2453 Use the new LIBGLABELS_VERSION_INFO macro.
2455 2004-08-09 Jim Evins <evins@snaught.com>
2459 Cleanup of required library macros.
2461 2004-08-08 Jim Evins <evins@snaught.com>
2465 - More specific of what to install in /usr/bin and /usr/lib
2466 - Remove built mime registration files from staging directory
2468 2004-08-08 Jim Evins <evins@snaught.com>
2470 * data/mime/Makefile.am:
2471 Fixed typo: key_files should have been keys_files.
2473 2004-08-08 Jim Evins <evins@snaught.com>
2475 Reorganization of runtime data files. Also added registration of mimetype with
2476 new freedesktop.org mime database if available.
2479 Moved files to appropriate subdirectories, creating local Makefile.am
2480 in each subdirectory.
2481 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
2482 These are now installed at $datadir/glabels/templates.
2483 - Moved glabels.1 to man subdirectory.
2484 - Moved glabels-2.0.dtd to dtd subdirectory.
2485 - Moved glabels.desktop.in to desktop subdirectory.
2486 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
2488 Moved "./pixmaps" to "./data/pixmaps"
2490 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
2492 Moved libglade files from src to data/glade. Created Makefile.am.
2494 Removed pixmaps from SUBDIRS.
2496 - Removed pixmaps from makefiles.
2497 - Added makefiles for new subdirs of data.
2498 - Added tests for freedesktop.org mime database.
2500 - Added tests for freedesktop.org mime database for post install and
2501 post un-install actions.
2502 * libglabels/Makefile.am:
2503 Moved system template files to $(datadir)/glabels/templates.
2504 * libglabels/libglabels-private.h:
2505 Moved system template files to $(datadir)/glabels/templates.
2507 - Accounted for movement of ui and libglade files.
2508 - Added missing .in files.
2509 - Reorganized by directory.
2511 Accounted for movement of ui and libglade files.
2512 * data/mime/glabels.xml.in:
2513 New file for registering with freedesktop.org mime database.
2515 2004-08-07 Jim Evins <evins@snaught.com>
2517 * src/recent-files/*:
2518 Re-synced to latest libegg/recent-files.
2520 2004-08-07 Jim Evins <evins@snaught.com>
2525 Renamed "./doc" directory to "./help" which contains user documentation,
2526 to be more consistent with other GNOME applications.
2529 2004-07-26 Jim Evins <evins@snaught.com>
2531 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
2532 Corrected button order of merge properties dialog.
2534 2004-07-18 Jim Evins <evins@snaught.com>
2536 * data/glabels-2.0.dtd:
2537 * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
2538 (gl_barcode_get_prefered_n):
2540 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
2541 (gl_label_barcode_get_props), (get_size):
2542 * src/label-barcode.h:
2543 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
2544 (style_changed_cb), (gl_object_editor_set_bc_style),
2545 (gl_object_editor_get_bc_style):
2546 * src/object-editor-data-page.c: (data_radio_toggled_cb),
2547 (gl_object_editor_set_data), (gl_object_editor_get_data):
2548 * src/object-editor-private.h:
2549 * src/object-editor.c: (gl_object_editor_set_key_names):
2550 * src/object-editor.glade:
2551 * src/object-editor.h:
2552 * src/print.c: (draw_barcode_object):
2553 * src/view-barcode.c: (update_object_from_editor_cb),
2554 (update_editor_from_object_cb),
2555 (gl_view_barcode_create_event_handler), (draw_barcode):
2556 * src/xml-label-04.c: (xml04_parse_barcode_props):
2557 * src/xml-label-191.c: (xml191_parse_barcode_props):
2558 * src/xml-label.c: (xml_parse_object_barcode),
2559 (xml_create_object_barcode):
2560 Added "format" attribute to barcode objects. This attribute is used
2561 to properly format freeform barcodes barcodes prior to merge data is
2562 applied, so that barcodes can be accurately layed out. This addresses
2563 remaining issues of feature request #824787. Also added an example of
2564 the format in the object editor.
2566 2004-07-12 Jim Evins <evins@snaught.com>
2568 Various code cleanups.
2570 * src/label-barcode.c:
2571 Removed unneeded include of gnome-glyphlist.h.
2573 * src/label-text.c: (get_size):
2574 Fixed memory leak: unref glyphlists when done with them.
2576 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
2577 * src/object-editor-data-page.c:
2578 (gl_object_editor_prepare_data_page):
2579 * src/object-editor-image-page.c:
2580 (gl_object_editor_prepare_image_page):
2581 * src/object-editor-line-page.c:
2582 (gl_object_editor_prepare_line_page):
2583 * src/object-editor-lsize-page.c:
2584 (gl_object_editor_prepare_lsize_page):
2585 * src/object-editor-position-page.c:
2586 (gl_object_editor_prepare_position_page):
2587 * src/object-editor-size-page.c:
2588 (gl_object_editor_prepare_size_page):
2589 * src/object-editor-text-page.c:
2590 (gl_object_editor_prepare_text_page):
2591 Removed unneeded size groups, originally intended to keep widgets aligned.
2592 Now use tables to lay these out in object-editor.glade.
2594 * src/print.c: (draw_text_object):
2595 Fixed memory leak: unref glyphlists when done with them.
2597 * src/view-barcode.c: (draw_barcode):
2598 Fixed memory leak: unref glyphlists when done with them.
2600 * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
2601 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
2603 - Fixed memory leak: unref glyphlists when done with them.
2605 2004-07-11 Jim Evins <evins@snaught.com>
2607 * data/glabels-2.0.dtd:
2608 * src/label-text.c: (gl_label_text_instance_init), (copy),
2609 (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
2611 * src/object-editor-private.h:
2612 * src/object-editor-text-page.c:
2613 (gl_object_editor_prepare_text_page),
2614 (gl_object_editor_set_text_auto_shrink),
2615 (gl_object_editor_get_text_auto_shrink):
2616 * src/object-editor.c: (gl_object_editor_set_key_names):
2617 * src/object-editor.glade:
2618 * src/object-editor.h:
2619 * src/print.c: (draw_text_object):
2620 * src/view-text.c: (update_object_from_editor_cb),
2621 (update_editor_from_object_cb):
2622 * src/xml-label.c: (xml_parse_object_text),
2623 (xml_create_object_text):
2624 Added option to allow document merge to auto shrink text size to fit
2625 within the text box. The code in print.c that actually shrinks the
2626 text is loosely based on a patch submitted by Mark Harrison
2627 <mark.harrison@velocitynet.com.au>. This addresses feature request
2630 2004-07-11 Jim Evins <evins@snaught.com>
2632 * data/glabels-2.0.dtd:
2633 * libglabels/template.c: (gl_template_rect_label_type_new),
2634 (gl_template_round_label_type_new),
2635 (gl_template_cd_label_type_new), (gl_template_label_type_dup),
2636 (template_full_page):
2637 * libglabels/template.h:
2638 * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
2639 (xml_create_label_node):
2640 * pixmaps/ex-rect-size.png:
2641 * src/print.c: (clip_to_outline), (clip_punchouts):
2642 * src/template-designer.c: (construct_rect_size_page),
2643 (rect_size_page_prepare_cb), (layout_page_prepare_cb),
2645 * src/template-designer.glade:
2646 * src/xml-label-191.c: (xml191_parse_label):
2647 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
2648 properties for rectangular labels. Templates remain backwards compatible,
2649 but this breaks the libglabels API (I don't know of anyone outside of
2650 glabels using libglabels at this time -- what can I say, the program is
2651 is still "unstable"). This addresses the suggestion in Feature Request
2654 2004-07-05 Jim Evins <evins@snaught.com>
2655 * src/print.c: (print_crop_marks), (draw_outline):
2656 Changed crop marks and label outlines to black, instead of 25% gray.
2657 This addresses debian Bug #257460.
2659 2004-07-05 Jim Evins <evins@snaught.com>
2661 * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
2662 * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
2663 Preserve "is_default" of fill and line color_combos when creating from
2666 2004-07-02 Jim Evins <evins@snaught.com>
2669 Created man page. Based on page submitted by Matthew J. Lockner, however
2670 it has been severely edited.
2672 * data/avery-other-templates.xml
2673 * data/misc-other-templates.xml:
2674 Started new files for predefined templates with non-standard sheet sizes.
2675 These have been initially populated with the Avery 06141 and
2676 OfficeMax #86112, both provided by Matthew J. Lockner.
2679 Install above manpage and template files.
2682 Make sure we install man pages.
2684 * src/glabels-batch.c:
2685 Changed short form of help option to '-?' to be consistent with glabels.
2688 Added acknowledgement for above labels.
2690 2004-07-02 Jim Evins <evins@snaught.com>
2692 * src/glabels.c: (main), (save_session_cb):
2693 - Now include libbonoboui.h, recent.h, and file.h to provide missing
2695 - save_session_cb() now returns gboolean.
2696 - Minor formatting changes.
2700 - Now include file.h to provide missing prototype.
2701 - gl_window_get_type() now returns GType, not guint. I believe this may
2702 ultimately be cause of the segfault reported in Bug #982287, since
2703 GType is actually a gulong, which may not be compatible on other
2704 architectures (64bit) -- I cannot personally test this at this time.
2705 I was sloppy in several other xxx_get_type() functions which also
2706 returned guint -- see next group of files:
2708 * src/window.c: (gl_window_get_type):
2709 * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
2710 * src/canvas-hacktext.h:
2711 * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
2712 (gl_hig_category_get_type), (gl_hig_vbox_get_type),
2713 (gl_hig_hbox_get_type):
2715 * src/label-barcode.c: (gl_label_barcode_get_type):
2716 * src/label-barcode.h:
2717 * src/label-box.c: (gl_label_box_get_type):
2719 * src/label-ellipse.c: (gl_label_ellipse_get_type):
2720 * src/label-ellipse.h:
2721 * src/label-image.c: (gl_label_image_get_type):
2722 * src/label-image.h:
2723 * src/label-line.c: (gl_label_line_get_type):
2725 * src/label-object.c: (gl_label_object_get_type):
2726 * src/label-object.h:
2727 * src/label-text.c: (gl_label_text_get_type):
2729 * src/label.c: (gl_label_get_type):
2731 * src/merge-properties-dialog.c:
2732 (gl_merge_properties_dialog_get_type):
2733 * src/merge-properties-dialog.h:
2734 * src/merge-text.c: (gl_merge_text_get_type):
2736 * src/merge.c: (gl_merge_get_type):
2738 * src/object-editor.c: (gl_object_editor_get_type):
2739 * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
2740 * src/prefs-dialog.h:
2741 * src/prefs-model.c: (gl_prefs_model_get_type):
2742 * src/prefs-model.h:
2743 * src/print-dialog.c: (gl_print_dialog_get_type):
2744 * src/print-dialog.h:
2745 * src/template-designer.c: (gl_template_designer_get_type):
2746 * src/template-designer.h:
2747 * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
2748 * src/ui-property-bar.h:
2749 * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
2751 * src/view-barcode.c: (gl_view_barcode_get_type):
2752 * src/view-barcode.h:
2753 * src/view-box.c: (gl_view_box_get_type):
2755 * src/view-ellipse.c: (gl_view_ellipse_get_type):
2756 * src/view-ellipse.h:
2757 * src/view-highlight.c: (gl_view_highlight_get_type):
2758 * src/view-highlight.h:
2759 * src/view-image.c: (gl_view_image_get_type):
2761 * src/view-line.c: (gl_view_line_get_type):
2763 * src/view-object.c: (gl_view_object_get_type):
2764 * src/view-object.h:
2765 * src/view-text.c: (gl_view_text_get_type):
2767 * src/view.c: (gl_view_get_type):
2769 * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
2770 * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
2771 * src/wdgt-image-select.h:
2772 * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
2773 * src/wdgt-media-select.h:
2774 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
2775 * src/wdgt-mini-preview.h:
2776 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
2777 * src/wdgt-print-copies.h:
2778 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
2779 * src/wdgt-print-merge.h:
2780 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
2781 * src/wdgt-rotate-label.h:
2782 - Made sure all xxx_get_type functions returned GType, not guint. This
2783 was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
2784 ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
2785 wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
2786 wdt-print-merge.[ch], and wdgt-rotate-label.[ch]. See separate
2787 window.[ch] details above for more info.
2788 - Reconciled various coding style differences in all xxx_get_type()
2790 * All prototypes include G_GNUC_CONST.
2791 * All prototypes specify the return value as GType, not GtkType
2793 * Info structures are all declared as "static const."
2794 * Generalized the names of type and info variables.
2795 * Miscelaneous formatting.
2797 2004-06-08 Jim Evins <evins@snaught.com>
2803 Don't touch compression of original file -- still defaults to 9 for
2804 new files. Original patch provided by Javier Donaire Segarra
2805 (#912252 in patch tracker).
2807 2004-05-05 Jim Evins <evins@snaught.com>
2809 * data/glabels-2.0.dtd:
2810 Broke DTD previously when adding new barcode types that contain a
2811 plus sign (+). Simply changed the BC_STYLE_TYPE entity to "CDATA"
2812 to avoid the problem.
2813 * data/avery-iso-templates.xml:
2814 * data/zweckform-iso-templates.xml:
2816 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021. Templates
2817 provided by Frank Altpeter.
2818 * libglabels/xml-template.c: (xml_create_label_node):
2819 Reordered markup and layout sub-nodes so that resulting templates will
2820 validate against DTD.
2822 2004-03-13 Jim Evins <evins@snaught.com>
2824 * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
2825 Changed spin callback signals from "value-changed" back to "changed."
2826 This was accidentally introduced in a previous revision, and can cause
2827 size changes just by selecting the size tab.
2829 2004-03-06 Jim Evins <evins@snaught.com>
2831 * src/view.c: (draw_grid_layer):
2832 For round labels (round and cd) adjust grid so that it lines up with
2833 center of label. Also, no longer draw box around label in the grid layer,
2834 it is hidden by he fg layer anyway. Feature suggested by
2835 nemolivier@free.fr. Although the grid is aligned with the center of the
2836 label, the coordinate system is still relative to the upper left corner
2837 of the rectangle containing the label.
2839 2004-02-25 Jim Evins <evins@snaught.com>
2842 Changed version to 2.0pre1cvs
2844 * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
2845 Removed extra xmlFreeDoc() calls upon error. Also print the doc->URL
2846 instead of doc->name fields when errors encountered.
2848 2004-02-21 Jim Evins <evins@snaught.com>
2850 * data/avery-iso-templates.xml:
2851 Added aliases for Avery 8651. Patch provided by Wayne Schuller.
2854 Added libglabels library and include file to installed files.
2857 Final prep for 1.93.3.
2859 2004-02-20 Jim Evins <evins@snaught.com>
2861 * src/glabels-batch.c: (main):
2862 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
2863 as suggested by Javier Donaire Segarra. This addresses bug #901063.
2865 2004-02-16 Jim Evins <evins@snaught.com>
2868 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
2871 Added HAVE_FILE_CHOOSER to INCLUDES.
2873 * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
2874 (gl_file_save_as), (save_as_response):
2875 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
2877 2004-02-16 Jim Evins <evins@snaught.com>
2879 * src/xml-label-04.c: (xml04_parse_image_props):
2880 * src/xml-label-191.c: (xml191_parse_image_props):
2881 * src/xml-label.c: (xml_parse_object_image):
2882 Delay setting image size until after image has been applied to new
2885 2004-02-15 Jim Evins <evins@snaught.com>
2887 * src/label-barcode.c: (gl_label_barcode_set_data),
2888 (gl_label_barcode_set_props):
2889 Don't emit "changed" signal, if no change actually made for these
2890 methods. Reduces number of unnecessary redraws of barcodes.
2892 * src/label-object.h:
2893 * src/label-object.c: (gl_label_object_set_position),
2894 (gl_label_object_set_position_relative), (set_size),
2895 (gl_label_object_set_size),
2896 (gl_label_object_set_size_honor_aspect):
2897 Don't emit "changed" signal, if no change actually made for these
2900 2004-02-15 Jim Evins <evins@snaught.com>
2902 * data/glabels-2.0.dtd:
2903 Added specific subtypes for various barcode types.
2906 * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
2907 (gl_barcode_get_styles_list), (gl_barcode_default_digits),
2908 (gl_barcode_can_text), (gl_barcode_text_optional),
2909 (gl_barcode_can_csum), (gl_barcode_csum_optional),
2910 (gl_barcode_id_to_name), (gl_barcode_name_to_id):
2911 Changed API to use a string id, rather than a fixed enumeration. Id and
2912 name are separate strings. Added entries to backend table for specific
2913 subtypes for various barcode types.
2916 * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
2918 Modified to conform to above API. Now more stringent with data length
2919 for various subtypes.
2921 * src/bc-gnubarcode.h:
2922 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
2923 (is_length_valid), (is_length1_valid), (is_length2_valid):
2924 Modified to conform to above API. Now more stringent with data length
2925 for various subtypes.
2927 * src/label-barcode.h:
2928 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
2929 (gl_label_barcode_get_props), (get_size):
2930 Modified to use above API for storing barcode type.
2932 * src/object-editor.h:
2933 * src/object-editor-bc-page.c: (style_changed_cb),
2934 (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
2935 Modified to use above API for storing barcode type.
2937 * src/object-editor-size-page.c:
2938 (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
2939 (w_spin_cb), (h_spin_cb), (size_reset_cb):
2940 Added debug markers.
2942 * src/object-editor.glade:
2943 Made barcode style combo's text entry non-editable.
2945 * src/print.c: (draw_barcode_object):
2946 Modified to use above API for barcode type.
2948 * src/view-barcode.c: (update_object_from_editor_cb),
2949 (update_editor_from_object_cb),
2950 (gl_view_barcode_create_event_handler), (draw_barcode):
2951 Modified to use above API for barcode type.
2953 * src/xml-label-04.c: (xml04_parse_barcode_props):
2954 * src/xml-label-191.c: (xml191_parse_barcode_props):
2955 * src/xml-label.c: (xml_parse_object_barcode),
2956 (xml_create_object_barcode):
2957 Modified to use above API for barcode type.
2959 2004-02-07 Jim Evins <evins@snaught.com>
2961 * src/stock-pixmaps/Makefile.am:
2962 * src/stock-pixmaps/stock_hchain_24.png:
2963 * src/stock-pixmaps/stock_hchain_broken_24.png:
2964 * src/stock-pixmaps/stock_vchain_24.png:
2965 * src/stock-pixmaps/stock_vchain_broken_24.png:
2966 Added chain pixmaps borrowed from the gimp's default theme.
2969 * src/stock.c: (gl_stock_init), (add_button_icon):
2970 Added above pixmaps to stock icon sets. Created add_button_icon() to
2971 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
2973 * src/wdgt-chain-button.h
2974 * src/wdgt-chain-button.c
2977 Added this Modified version of gimpchainbutton widget, borrowed from
2981 Added acknowledgements of the above borrowing from the gimp.
2983 * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
2985 * src/object-editor.c: (gl_object_editor_construct_chain_button):
2986 * src/object-editor.glade:
2987 Replaced the keep aspect ratio check box with the above chain-button
2990 * src/text-node.c: (gl_text_node_equal):
2992 Added function gl_text_node_equal() to compare text_nodes.
2994 * src/label-image.c: (gl_label_image_set_filename):
2995 Replaced incomplete text_node comparison code with invocation of
2996 gl_text_node_equal. This fixed the problem of not being able to
2997 resize an image using the object_editor if the aspect ratio is not
3000 2004-02-04 Jim Evins <evins@snaught.com>
3002 * src/object-editor-image-page.c:
3003 (gl_object_editor_prepare_image_page):
3004 Track "changed" signal of pixmap entry's GtkEntry rather than its
3005 "activate" signal -- this catches all changes to the entry rather than
3006 just changes resulting from a browse, so one can easily pull previous
3007 entries from the history. (This change is marked below on 2004-02-03,
3008 but somehow never got checked in.)
3010 * src/view-highlight.c: (sl_resize_event_handler),
3011 (sr_resize_event_handler), (st_resize_event_handler),
3012 (sb_resize_event_handler):
3013 Side resize handles will now confirm the actual resize that the object
3014 accepted before adjusting position parameters. Previously some interesting
3015 things happened when resizing a barcode to its minimum size.
3017 2004-02-03 Jim Evins <evins@snaught.com>
3019 * src/object-editor-image-page.c:
3020 (gl_object_editor_prepare_image_page):
3021 Track "changed" signal of pixmap entry's GtkEntry rather than its
3022 "activate" signal -- this catches all changes to the entry rather than
3023 just changes resulting from a browse, so one can easily pull previous
3024 entries from the history.
3026 * src/view-highlight.c: (tl_resize_event_handler),
3027 (tr_resize_event_handler), (bl_resize_event_handler),
3028 (br_resize_event_handler):
3029 Allow control key to be dropped while dragging a corner resize handle
3030 without losing the aspect ratio lock.
3032 2004-02-02 Jim Evins <evins@snaught.com>
3034 * src/label-image.c: (gl_label_image_set_filename):
3035 When setting a new filename adjust size such that the aspect ratio of
3036 the image is preserved using the current size as a bounding box.
3038 * src/view-image.c: (update_object_from_editor_cb):
3039 When updating object from editor, feed back possible size changes to
3040 editor as a result of a possible change in image.
3042 * src/object-editor-size-page.c: (size_reset_cb):
3043 Fixed typo when blocking spin handlers. If the base size is larger than
3044 the max size, treat max size as a bounding box while keeping aspect
3048 2004-02-02 Jim Evins <evins@snaught.com>
3050 * src/label-object.h:
3051 * src/label-object.c: (gl_label_object_set_size),
3052 (gl_label_object_set_size_honor_aspect):
3053 Added gl_label_object_set_size_honor_aspect() which will maintain the
3054 current aspect ratio by modifying the supplied w or h apropriately.
3056 * src/view-highlight.c: (tl_resize_event_handler),
3057 (tr_resize_event_handler), (bl_resize_event_handler),
3058 (br_resize_event_handler):
3059 Corner handles will now maintain the current aspect ratio if the
3060 control key is pressed while resizing. This addresses feature
3064 2004-01-31 Jim Evins <evins@snaught.com>
3067 * data/avery-us-templates.xml:
3068 Added entries for "LSK-3," "LSK-5," and "LSK-8." Submitted by JBadger.
3070 * libglabels/template.c: (read_template_files_from_dir):
3071 Corrected problem with testing for extensions.
3073 * src/object-editor.glade:
3074 Corrected grouping of radio buttons in barcode data page.
3076 * src/print.c: (draw_barcode_object):
3077 * src/view-barcode.c: (draw_barcode):
3078 Corrected problem with calculation of y_offset for locating characters.
3080 2004-01-24 Jim Evins <evins@snaught.com>
3083 * data/avery-us-templates.xml:
3084 Added Avery 5824, submitted by Fred Bacon.
3086 2004-01-20 Jim Evins <evins@snaught.com>
3088 Catching up on a couple of backlogged user template submissions.
3090 * data/avery-iso-templates.xml:
3091 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
3092 Suggested by Linas Jakucionis.
3094 * data/zweckform-iso-templates.xml:
3095 Added Zweckform 4760, submitted by Thomas Vill.
3098 Updated to reflect above submissions.
3100 2004-01-06 Jim Evins <evins@snaught.com>
3102 Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
3103 xml.[ch] into a separate library called libglabels, to facilitate third
3104 party use of glabels template files. This was suggested by Wayne Schuller.
3105 Once split-out, some modifications to the structures and functions to
3106 make a cleaner more useful API, hopefully. Rather extensive changes have
3107 propogated to other modules.
3115 * src/xml-template.h:
3116 * src/xml-template.c:
3119 These files have been moved to libglabels/. API cleanup performed.
3121 * libglabels/libglabels.h:
3122 * libglabels/libglabels-private.h:
3123 * libglabels/Makefile.am:
3124 These files have been added to finish out libglabels.
3131 Modified to reflect new sets of files in src/ and libglabels/.
3133 * COPYING.LIBGLABELS:
3135 Added copy of the LGPL for libglabels, and a copy the GFDL for
3138 * src/glabels-batch.c:
3140 * src/label.c: (gl_label_finalize), (gl_label_set_template),
3141 (gl_label_get_size):
3143 * src/prefs-model.c: (gl_prefs_model_load_settings):
3144 * src/print-dialog.c:
3145 * src/print.c: (gl_print_simple), (gl_print_merge_collated),
3146 (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
3147 (print_crop_marks), (print_label), (draw_outline),
3148 (clip_to_outline), (clip_punchouts):
3149 * src/template-designer.c: (construct_pg_size_page),
3150 (pg_size_page_changed_cb), (layout_page_changed_cb),
3151 (print_test_cb), (build_template):
3152 * src/util.c: (gl_util_fraction):
3154 * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
3155 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
3156 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
3157 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
3158 (draw_markup_margin_round), (draw_markup_margin_cd),
3159 (draw_markup_margin_cd_bc), (draw_markup_line),
3160 (draw_markup_circle), (gl_view_copy):
3161 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
3162 (page_size_entry_changed_cb), (details_update), (get_layout_desc),
3163 (get_label_size_desc):
3164 * src/wdgt-mini-preview.c:
3165 (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
3167 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
3168 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
3169 * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
3170 (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
3171 * src/wdgt-rotate-label.h:
3172 * src/xml-label-04.c: (xml04_parse_media_description):
3173 * src/xml-label-191.c: (gl_xml_label_191_parse),
3174 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
3175 (xml191_parse_markup), (xml191_parse_alias):
3176 * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
3178 Various changes to accomodate new libglabels API.
3180 2004-01-03 Jim Evins <evins@snaught.com>
3185 2004-01-03 Jim Evins <evins@snaught.com>
3188 Added acknowledgement of contributions by Wayne Schuller.
3190 * src/commands.c: (gl_cmd_file_print):
3191 Create extra reference to print dialog, so that it can be properly re-used.
3193 * src/mygal/mygal-combo-box.h:
3194 * src/mygal/mygal-combo-box.c:
3195 (mygal_combo_box_popup_hide_unconditional),
3196 (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
3197 (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
3198 (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
3199 (mygal_combo_box_set_tearable):
3200 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
3201 complete the rename of this widget to prevent namespace collisions
3204 * src/prefs-dialog.glade:
3205 Fixed alignment of Fill/Color widgets.
3207 2004-01-03 Jim Evins <evins@snaught.com>
3209 * data/avery-iso-templates.xml:
3210 Added user submitted templates.
3211 Avery 8435A & 8435B, submitted by Ludger Solbach.
3213 * doc/C/glabels.xml:
3214 Added minimal documentation, noting the new template designer.
3216 2004-01-03 Jim Evins <evins@snaught.com>
3218 * pixmaps/ex-rect-size.png:
3219 * pixmaps/ex-round-size.png:
3220 * pixmaps/ex-cd-size.png:
3221 * pixmaps/Makefile.am:
3222 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
3223 files to be used as illustrations/examples in the template-designer.
3225 * src/template-designer.c: (construct_rect_size_page),
3226 (construct_round_size_page), (construct_cd_size_page),
3227 (construct_nlayouts_page), (rect_size_page_prepare_cb),
3228 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
3229 (layout_page_prepare_cb), (build_template):
3230 * src/template-designer.glade:
3231 Added illustrations for rectangle, round, and cd label size pages.
3232 Added margin spinboxes to these pages, and now add a margin markup
3233 to the constructed template. Added realistic default values for
3234 some of the size spinboxes. Cleaned up the code for setting spinbox
3235 ranges on the layouts page.
3237 2004-01-02 Jim Evins <evins@snaught.com>
3239 * src/object-editor-size-page.c: (h_spin_cb):
3240 Fixed cut-n-paste error in h_spin_cb that loaded h from
3241 the wrong spinbutton.
3243 * src/object-editor.h:
3244 * src/object-editor.c: (gl_object_editor_class_init),
3245 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
3246 * src/object-editor-private.h:
3247 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
3249 Added "size_changed" signal.
3251 * src/view-text.c: (construct_properties_editor),
3252 (update_object_from_editor_cb),
3253 (update_object_from_editor_size_cb):
3254 Track size changes from object editor separately from other
3255 properties. This is so the default size (0,0) of a text
3256 object is not modified unintentionally.
3258 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
3260 Added feature: line spacing - allows you to comfortably space a text box to
3261 fit a label perfectly.
3263 * data/glabels-2.0.dtd:
3264 * src/label-object.c: (gl_label_object_set_text_line_spacing),
3265 (gl_label_object_get_text_alignment),
3266 (gl_label_object_get_text_line_spacing):
3267 * src/label-object.h:
3268 * src/label-text.c: (gl_label_text_class_init),
3269 (gl_label_text_instance_init), (copy), (get_size),
3270 (set_text_line_spacing), (get_text_alignment),
3271 (get_text_line_spacing):
3272 * src/object-editor-private.h:
3273 * src/object-editor-text-page.c:
3274 (gl_object_editor_prepare_text_page),
3275 (gl_object_editor_set_text_line_spacing),
3276 (gl_object_editor_get_text_line_spacing):
3277 * src/object-editor.glade:
3278 * src/object-editor.h:
3279 * src/prefs-dialog.c: (construct_object_page),
3280 (update_object_page_from_prefs), (update_prefs_from_object_page):
3281 * src/prefs-dialog.glade:
3282 * src/prefs-model.c: (gl_prefs_model_save_settings),
3283 (gl_prefs_model_load_settings), (get_float):
3284 * src/prefs-model.h:
3285 * src/print.c: (draw_text_object):
3287 * src/view-text.c: (update_object_from_editor_cb),
3288 (update_editor_from_object_cb),
3289 (gl_view_text_create_event_handler), (draw_hacktext):
3290 * src/view.c: (gl_view_construct),
3291 (gl_view_set_selection_text_line_spacing),
3292 (gl_view_set_default_text_line_spacing),
3293 (gl_view_get_default_text_line_spacing):
3295 * src/xml-label.c: (xml_parse_toplevel_span),
3296 (xml_create_toplevel_span):
3298 2003-12-30 Jim Evins <evins@snaught.com>
3300 * src/template-designer.c:
3301 * src/template-designer.h:
3302 * src/template-designer.glade:
3303 New template designer assistant.
3307 Added entries for src/template-designer.* files.
3309 * pixmaps/ex-1layout.png
3310 * pixmaps/ex-2layouts.png
3311 * pixmaps/Makefile.am:
3312 Added the new image files ex-*.png used as illustrations in the
3313 template designer assistant.
3315 * src/print-dialog.h:
3316 * src/print-dialog.c: (gl_print_dialog_finalize),
3317 (gl_print_dialog_new), (gl_print_dialog_construct),
3318 (gl_print_dialog_force_outline_flag):
3319 Changed first argument of gl_print_dialog_new() from glView to glLabel,
3320 to support printing from the template designer assistant which does not
3321 have a full-fledged view. Nothing else from the view object was being
3322 used by the dialog anyway.
3324 Added the gl_print_dialog_force_outline_flag() method, for better
3325 integration with the template designer assistant.
3329 * src/commands.c: (gl_cmd_file_template_designer),
3330 (gl_cmd_file_print):
3331 Modified print command to provide label instead of view to dialog.
3332 Added the gl_cmd_file_template_designer() command to invoke the
3333 template designer assistant.
3336 * src/glabels-ui.xml:
3337 Added support for template designer assistant.
3339 * src/wdgt-mini-preview.h:
3340 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
3341 (gl_wdgt_mini_preview_set_bg_color):
3342 Preview is now centered in canvas. Added
3343 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
3344 assistant to match the background color with its own.
3346 * src/print.c: (clip_to_outline):
3347 Fixed really stupid bug when adding waste to clip region of rectangular
3348 labels/cards. Each side of the clip region needs to be extended by
3349 twice the waste margin, as well as negatively offset by the waste
3352 2003-12-28 Jim Evins <evins@snaught.com>
3354 * src/prefs-dialog.c: (update_object_page_from_prefs):
3355 Block intermediary function align_toggle_cb() instead of
3356 update_prefs_from_object_page() for the three alignment
3359 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
3361 * src/file.c: (gl_file_new), (gl_file_properties):
3362 Swap button order and set default for higificatory pleasure.
3364 2003-12-27 Jim Evins <evins@snaught.com>
3366 * barcode-0.98/Makefile.am:
3367 One last time: removed doc/Makefile and po/Makefile.in.in from
3370 2003-12-27 Jim Evins <evins@snaught.com>
3372 * barcode-0.98/Makefile.am:
3373 Removed config.stat entry from EXTRA_DIST files.
3375 * barcode-0.98/Makefile.in:
3378 2003-12-27 Jim Evins <evins@snaught.com>
3381 Updated to work with latest gnome-common package from CVS.
3382 Removed recursive configuration of barcode-0.98.
3389 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
3391 * barcode-0.98/Makefile.in:
3392 * barcode-0.98/configure.in:
3393 * barcode-0.98/Makefile.am:
3394 * barcode-0.98/README.glabels:
3395 Modified to ignore the barcode package's build system, and build
3396 as a part of glabels.
3397 Renamed Makefile.in to Makefile.in.dist.
3398 Renamed configure.in to configure.in.dist.
3399 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
3402 * src/mygal/Makefile.am:
3403 * src/recent-files/Makefile.am:
3404 In order to build against the GNOME 2.5 platform,
3405 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
3407 * src/mygal/Makefile.am:
3408 * src/mygal/mygal-combo-box.c:
3409 * src/mygal/mygal-combo-box.h:
3410 * src/mygal/widget-color-combo.c:
3411 * src/mygal/widget-color-combo.h:
3413 In order to build against the GNOME 2.5 platform,
3414 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
3415 collisions with the real gtk_combo_box widget, now a part of gtk.
3417 2003-12-26 Jim Evins <evins@snaught.com>
3423 Moved local versions of get_home_data_dir() in paper.c and
3424 template.c to util package. Cleaned up formatting in
3428 In gl_template_register() save a copy of the template in
3429 ~/.glabels if the template is not known. Still need to
3430 handle duplicate filename case and duplicate name but
3431 different template case.
3435 Moved local definition of NAME_SPACE macro from xml-label.c
3438 * src/xml-template.c:
3439 * src/xml-template.h:
3440 Added function gl_xml_template_write_template_to_file(), used
3441 in gl_template_register().