1 2007-08-11 Jim Evins <evins@snaught.com>
4 * data/templates/avery-iso-templates.xml:
5 * data/templates/avery-us-templates.xml:
6 * data/templates/misc-iso-templates.xml:
7 * data/templates/misc-other-templates.xml:
8 * data/templates/misc-us-templates.xml:
9 * data/templates/zweckform-iso-templates.xml:
10 Caught up with backlog of template submissions.
12 2007-08-10 Jim Evins <evins@snaught.com>
14 * src/bc-postnet.c: (gl_barcode_postnet_new):
16 Added support for Brazilian CEPNet barcodes. This is simply an
17 instance of the US POSTNET format with 8 digits. Patch supplied
18 by Mário Meyer in bug # 1768792.
20 Updated acknowledgments to reflect above patch and recent shuffling
21 of underlying technology.
23 2007-05-13 Jim Evins <evins@snaught.com>
25 * src/merge-text.c: (parse_line), (parse_field):
26 Remove leading and trailing spaces from CSV fields, unless quoted.
28 2007-05-09 Jim Evins <evins@snaught.com>
30 * src/object-editor-bc-page.c:
31 * src/object-editor-data-page.c:
32 * src/object-editor-fill-page.c:
33 * src/object-editor-image-page.c:
34 * src/object-editor-line-page.c:
35 * src/object-editor-lsize-page.c:
36 * src/object-editor-position-page.c:
37 * src/object-editor-private.h:
38 * src/object-editor-shadow-page.c:
39 * src/object-editor-size-page.c:
40 * src/object-editor-text-page.c:
41 * src/object-editor.c:
43 * src/template-designer.c:
44 * src/ui-property-bar.c:
45 * src/wdgt-media-select.c:
46 Replaced signal block/unblock pairs with simple flags. This reduces
47 some code clutter, hopefully making it easier to read.
49 2007-05-05 Jim Evins <evins@snaught.com>
51 * src/template-designer.c: (apply_cb):
52 Add new template to mini-preview pixbuf cache.
54 2007-05-03 Jim Evins <evins@snaught.com>
56 * src/label-image.c: (gl_label_image_init), (draw_object):
57 Scale default pixbuf up, to prevent bluring. Use cairo_fill to
60 2007-05-02 Jim Evins <evins@snaught.com>
62 * src/view.c: (draw_select_region_layer), (motion_notify_event_cb),
63 (button_release_event_cb):
64 Removed attempt at rendering optimization by clipping the updates
65 to areas affected -- this actually seemed to hurt update performance.
67 2007-04-30 Jim Evins <evins@snaught.com>
70 * src/color.c: (gl_color_shadow), (gl_color_node_new_default),
71 (gl_color_node_equal), (gl_color_node_expand):
72 * src/label-barcode.c: (draw_object):
73 * src/label-box.c: (draw_object), (draw_shadow):
74 * src/label-ellipse.c: (draw_object), (draw_shadow):
75 * src/label-line.c: (draw_object), (draw_shadow):
76 * src/label-text.c: (draw_object), (draw_shadow):
77 * src/wdgt-mini-preview.c: (draw_shadow), (draw_labels):
78 * src/wdgt-rotate-label.c: (drawingarea_update):
79 Some cleanup to color related code.
81 2007-04-30 Jim Evins <evins@snaught.com>
84 Added glLabelRegion structure type.
85 * src/label-object.c: (gl_label_object_get_extent):
87 Modified gl_label_object_get_extent() to fill in a glLabelRegion struct.
89 * src/view.c: (gl_view_update_region), (draw_select_region_layer),
90 (gl_view_select_region), (gl_view_align_selection_left),
91 (gl_view_align_selection_right), (gl_view_align_selection_hcenter),
92 (gl_view_align_selection_top), (gl_view_align_selection_bottom),
93 (gl_view_align_selection_vcenter),
94 (gl_view_center_selection_horiz), (gl_view_center_selection_vert),
95 (gl_view_move_selection), (gl_view_can_selection_text),
96 (motion_notify_event_cb), (button_press_event_cb),
97 (button_release_event_cb):
98 - Reconcile with new gl_label_object_get_extent() API.
99 - Use glLabelRegion for view->select_region.
100 - Added gl_view_update_region() to clip updates to region.
101 - Use gl_view_update_region() during manipulation of view->select_region.
103 2007-04-26 Jim Evins <evins@snaught.com>
105 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
106 (draw_label_outline):
107 * src/print.c: (print_crop_marks), (draw_outline):
108 * src/view-object.c: (gl_view_object_draw_handles):
109 * src/view.c: (draw_bg_layer), (draw_grid_layer),
110 (draw_markup_layer), (draw_fg_layer), (draw_select_region_layer):
111 * src/wdgt-mini-preview.c: (draw_paper), (draw_labels):
112 * src/wdgt-rotate-label.c: (drawingarea_update):
113 Added defines for various magic numbers.
115 2007-04-25 Jim Evins <evins@snaught.com>
117 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
118 Scale text down. Cairo seems to render text too large.
120 2007-04-25 Jim Evins <evins@snaught.com>
123 * src/view.c: (gl_view_update), (expose_cb),
124 (motion_notify_event_cb), (button_press_event_cb),
125 (button_release_event_cb):
126 - Try not to let updates get backed up.
127 - Grab pointer when doing any drag operations.
129 2007-04-11 Jim Evins <evins@snaught.com>
131 * src/cairo-label-path.c: (gl_cairo_label_path),
132 (gl_cairo_rect_label_path), (gl_cairo_round_label_path),
133 (gl_cairo_cd_label_path):
134 * src/cairo-label-path.h:
135 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
136 (draw_label_outline):
137 * src/print.c: (draw_outline), (clip_to_outline):
138 * src/view.c: (draw_bg_layer), (draw_fg_layer):
139 * src/wdgt-mini-preview.c: (draw_labels):
140 * src/wdgt-rotate-label.c: (drawingarea_update):
141 Modified to universally use gl_cairo_label_path() to create paths
142 for labels. Added shadow to mini preview in rotate widget.
144 2007-04-10 Jim Evins <evins@snaught.com>
146 * libglabels/template.h:
147 * libglabels/template.c: (gl_template_get_name_list_unique),
148 (gl_template_get_name_list_all), (gl_template_from_name):
149 Modified libglabels to allow you to get a list of all template names
150 including all aliases or just a list of primary names of each unique
153 * src/file.c: (gl_file_properties):
154 * src/glabels.c: (main):
155 * src/mini-preview-pixbuf-cache.h:
156 * src/mini-preview-pixbuf-cache.c:
157 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
158 (filter_changed_cb), (load_list):
159 Added mini-preview pixbuf cache, so that only one mini-preview is
160 needed for a unique template and gets reused for all aliases. These
161 pixbufs will also live for the life of the program so they are not
162 rebuilt everytime a new label dialog is invoked.
163 * src/mini-preview-pixbuf.c: (draw_paper),
164 (draw_rect_label_outline), (draw_round_label_outline),
165 (draw_cd_label_outline):
166 Removed some comment artifacts.
168 2007-04-04 Jim Evins <evins@snaught.com>
170 * src/mini-preview-pixbuf.c: (gl_mini_preview_pixbuf_new),
171 (draw_paper), (draw_label_outlines), (draw_rect_label_outline),
172 (draw_round_label_outline), (draw_cd_label_outline):
173 * src/wdgt-media-select.c: (load_list):
174 * src/wdgt-rotate-label.c: (draw_cd_label_outline):
175 Cosmetic enhancments to mini previews.
177 2007-04-04 Jim Evins <evins@snaught.com>
179 * src/ui-property-bar.c: (gl_ui_property_bar_finalize),
180 (gl_ui_property_bar_construct):
181 Save copy of GladeXML tree so that we don't lose tooltips.
183 2007-04-02 Jim Evins <evins@snaught.com>
185 * src/merge-properties-dialog.c:
186 * src/new-label-dialog.c:
187 * src/object-editor.c:
188 * src/prefs-dialog.c:
190 * src/template-designer.c:
191 * src/ui-property-bar.c:
192 * src/wdgt-media-select.c:
193 * src/wdgt-rotate-label.c:
194 Fixed several memory leaks.
196 2007-04-01 Jim Evins <evins@snaught.com>
198 * src/label-text.c: (gl_label_text_init), (copy),
199 (gl_label_text_set_lines), (buffer_changed_cb), (get_size),
200 (set_font_family), (set_font_size), (set_font_weight),
201 (set_font_italic_flag), (set_text_alignment),
202 (set_text_line_spacing):
203 Cache object size, so that expensive extent calculations are only done
206 2007-03-30 Jim Evins <evins@snaught.com>
208 * src/prefs-model.c: (gl_prefs_model_load_settings):
209 Default to an unlimited list of recent documents, since this parameter
210 seems to be pre-filter anyway.
212 2007-03-30 Jim Evins <evins@snaught.com>
214 * src/label-box.c: (draw_shadow):
215 * src/label-ellipse.c: (draw_shadow):
216 Added missing shadow fill.
218 2007-03-28 Jim Evins <evins@snaught.com>
220 * src/ui-commands.c: (gl_ui_cmd_file_print):
221 Unreferencing the print operation sometimes crashes. Just don't do it
224 2007-03-28 Jim Evins <evins@snaught.com>
226 * src/print-op.c: (gl_print_op_construct),
227 (gl_print_op_get_settings), (gl_print_op_set_settings),
228 (gl_print_op_free_settings), (create_custom_widget_cb):
230 * src/ui-commands.c: (gl_ui_cmd_file_print):
231 * src/window.c: (gl_window_init):
233 Save print settings and custom settings between print operations
236 2007-03-24 Jim Evins <evins@snaught.com>
238 * src/object-editor-image-page.c:
239 (gl_object_editor_prepare_image_page),
240 (gl_object_editor_set_image), (img_selection_changed_cb):
241 Workaround for GtkFileChooserButton bug # 327243. This the root
242 cause for gLabels bug # 1192884. I have actually observed 3 delayed
243 "selection-changed" signals -- the first 2 return NULL -- this is
244 what caused the image to reset to the default followed by setting
245 it back to the original image, trying to fit it into a new bounding
246 box. This sequence of events is much more evident with the new
249 2007-03-23 Jim Evins <evins@snaught.com>
251 Merged all changes from experimental cairo branch to trunk.
252 Trunk no longer depends on libgnomecanvas or libgnomeprint[ui].
254 2007-03-23 Jim Evins <evins@snaught.com>
256 * src/label-object.h:
257 * src/label-object.c: (gl_label_object_class_init),
258 (gl_label_object_get_raw_size), (gl_label_object_get_size):
259 Created "get_raw_size" method.
260 * src/label-barcode.c: (get_size):
261 * src/xml-label.c: (xml_create_object_text),
262 (xml_create_object_barcode):
263 Use new "get_raw_size" method on label-objects when apropos.
265 * src/label-text.c: (get_size), (draw_object), (draw_shadow),
266 (auto_shrink_font_size):
267 Added "auto shrink" functionality back.
269 2007-03-19 Jim Evins <evins@snaught.com>
271 * src/label-text.c: (draw_object), (draw_shadow):
272 Don't use negative scales in workaround from previous commit.
275 2007-03-18 Jim Evins <evins@snaught.com>
278 Forgot to remove include of xml-lable-191 in previous commit.
279 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
280 Workaround for pango Bug #341481. Render text at device scale,
281 and scale font size accordingly. Also, don't do any hinting.
283 2007-03-18 Jim Evins <evins@snaught.com>
285 * src/cairo-ellipse-path.c:
286 * src/cairo-ellipse-path.h:
287 Forgot to add these new files during last mass commit.
289 2007-03-18 Jim Evins <evins@snaught.com>
292 * src/xml-label-191.c:
293 * src/xml-label-191.h:
294 Removed -- Very buggy. Version 1.91 is a very old "unstable" version,
295 so there is no need to keep compatability.
298 * src/cairo-label-path.c:
299 * src/cairo-label-path.h:
300 * src/cairo-markup-path.c:
304 * src/glabels-batch.c:
306 * src/label-barcode.c:
308 * src/label-ellipse.c:
311 * src/label-object.c:
312 * src/label-object.h:
316 * src/merge-properties-dialog.c:
318 * src/new-label-dialog.c:
319 * src/object-editor-bc-page.c:
320 * src/object-editor-data-page.c:
321 * src/object-editor-edit-page.c:
322 * src/object-editor-fill-page.c:
323 * src/object-editor-image-page.c:
324 * src/object-editor-line-page.c:
325 * src/object-editor-private.h:
326 * src/object-editor-shadow-page.c:
327 * src/object-editor-text-page.c:
328 * src/object-editor.c:
329 * src/pixbuf-cache.c:
334 * src/template-designer.c:
336 * src/ui-property-bar.c:
338 * src/view-barcode.c:
340 * src/view-ellipse.c:
347 * src/wdgt-media-select.c:
348 * src/wdgt-print-copies.c:
349 * src/wdgt-print-merge.c:
351 * src/xml-label-04.c:
353 Many changes, including:
354 - Move draw methods from view-*() to label-*().
355 - Use same drawing code for on screen view and printing.
356 - Fix all issues exposed with '-Wall -Werror'.
358 2007-03-14 Jim Evins <evins@snaught.com>
361 * src/cairo-handle-path.c:
362 * src/cairo-handle-path.h:
363 * src/cairo-object-path.c:
364 * src/cairo-object-path.h:
365 Removed cairo-handle-path.[ch] and cairo-object-path.[ch].
366 * src/view-barcode.c: (gl_view_barcode_class_init), (draw_object),
368 * src/view-box.c: (gl_view_box_class_init), (draw_object),
369 (draw_shadow), (object_at):
370 * src/view-ellipse.c: (gl_view_ellipse_class_init),
371 (create_ellipse_path), (draw_object), (draw_shadow), (object_at):
372 * src/view-image.c: (gl_view_image_class_init), (draw_object),
374 * src/view-line.c: (gl_view_line_class_init), (draw_object),
375 (draw_shadow), (object_at):
376 * src/view-object.c: (gl_view_object_draw), (gl_view_object_at),
377 (create_handle_path), (gl_view_object_draw_handles),
378 (gl_view_object_handle_at):
380 * src/view-text.c: (gl_view_text_class_init), (draw_object),
381 (draw_shadow), (object_at):
382 * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
383 Some restructuring of new code.
385 2007-03-12 Jim Evins <evins@snaught.com>
388 * src/cairo-object-path.c:
389 * src/view-barcode.c:
390 * src/view-barcode.h:
392 Added barcode object support to view.
394 2007-03-12 Jim Evins <evins@snaught.com>
400 * src/cairo-object-path.c:
401 * src/cairo-object-path.h:
403 * src/view-ellipse.c:
408 Added text object support to view. Added object_at method to all
411 2007-03-11 Jim Evins <evins@snaught.com>
414 * src/cairo-object-path.c: (gl_cairo_object_path),
415 (gl_cairo_image_object_path):
416 * src/view-image.c: (gl_view_image_class_init),
417 (gl_view_image_finalize), (gl_view_image_new),
418 (update_editor_from_label_cb), (draw),
419 (gl_view_image_get_create_cursor),
420 (gl_view_image_create_button_press_event),
421 (gl_view_image_create_motion_event),
422 (gl_view_image_create_button_release_event):
424 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
425 (selection_received_cb), (motion_notify_event_cb),
426 (button_press_event_cb), (button_release_event_cb):
427 Added image object support to view.
429 2007-03-11 Jim Evins <evins@snaught.com>
432 * src/cairo-object-path.c: (gl_cairo_object_path),
433 (gl_cairo_line_object_path):
434 * src/view-line.c: (gl_view_line_class_init), (gl_view_line_new),
435 (update_object_from_editor_cb), (update_editor_from_object_cb),
436 (update_editor_from_label_cb), (draw),
437 (gl_view_line_get_create_cursor),
438 (gl_view_line_create_button_press_event),
439 (gl_view_line_create_motion_event),
440 (gl_view_line_create_button_release_event):
442 * src/view-object.c: (gl_view_object_resize_event):
443 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
444 (selection_received_cb), (motion_notify_event_cb),
445 (button_press_event_cb), (button_release_event_cb):
446 Added line object support to view.
447 * src/cairo-handle-path.c:
448 Made handles slightly larger.
451 2007-03-11 Jim Evins <evins@snaught.com>
454 * src/cairo-handle-path.c:
455 * src/cairo-label-path.c: (gl_cairo_rect_label_path),
456 (gl_cairo_round_label_path), (gl_cairo_cd_label_path):
457 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
458 (gl_cairo_markup_margin_round_path),
459 (gl_cairo_markup_margin_cd_path), (gl_cairo_markup_circle_path):
460 * src/cairo-object-path.c: (gl_cairo_object_path),
461 (gl_cairo_ellipse_object_path):
462 * src/label-object.c: (gl_label_object_rotate):
465 * src/view-ellipse.c: (gl_view_ellipse_class_init),
466 (gl_view_ellipse_new), (update_object_from_editor_cb),
467 (update_editor_from_object_cb), (update_editor_from_label_cb),
468 (draw), (gl_view_ellipse_get_create_cursor),
469 (gl_view_ellipse_create_button_press_event),
470 (gl_view_ellipse_create_motion_event),
471 (gl_view_ellipse_create_button_release_event):
472 * src/view-ellipse.h:
475 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
476 (select_object_real), (selection_received_cb),
477 (motion_notify_event_cb), (button_press_event_cb),
478 (button_release_event_cb):
480 Added ellipse object support to view. Plus other cleanup.
482 2007-03-11 Jim Evins <evins@snaught.com>
485 * src/view-box.c: (gl_view_box_get_create_cursor),
486 (gl_view_box_create_button_press_event),
487 (gl_view_box_create_motion_event),
488 (gl_view_box_create_button_release_event):
489 * src/view-object.c: (gl_view_object_set_view),
490 (gl_view_object_handle_at):
492 * src/view.c: (gl_view_arrow_mode), (gl_view_object_create_mode),
493 (motion_notify_event_cb), (button_press_event_cb),
494 (button_release_event_cb), (key_press_event_cb):
495 Added creation code for box object.
497 2007-03-09 Jim Evins <evins@snaught.com>
499 * src/view-object.c: (gl_view_object_resize_event):
501 * src/view.c: (motion_notify_event_cb):
502 Fix bugs with resizing transformed objects.
503 * src/cairo-handle-path.c: (gl_cairo_handle_path):
504 * src/cairo-object-path.c: (gl_cairo_object_path):
505 * src/cairo-object-path.h:
506 * src/label-object.c: (gl_label_object_init),
507 (gl_label_object_dup), (gl_label_object_get_extent),
508 (gl_label_object_flip_horiz), (gl_label_object_flip_vert),
509 (gl_label_object_rotate), (gl_label_object_set_matrix),
510 (gl_label_object_get_matrix):
511 * src/label-object.h:
512 * src/print.c: (draw_object):
514 * src/view-highlight.c:
515 * src/view-highlight.h:
516 * src/xml-label-191.c: (xml191_parse_object):
517 * src/xml-label.c: (xml_parse_affine_attrs),
518 (xml_create_affine_attrs):
519 Replace libart affine matrices with cairo matrices.
521 2007-03-08 Jim Evins <evins@snaught.com>
524 * src/view.c: (gl_view_update), (motion_notify_event_cb):
525 * src/view-object.c: (gl_view_object_handle_at),
526 (gl_view_object_resize_event):
527 Added resize code -- still a bit buggy.
529 2007-03-07 Jim Evins <evins@snaught.com>
532 * src/cairo-handle-path.c:
533 * src/cairo-handle-path.h:
534 * src/view-box.c: (gl_view_box_new):
535 * src/view-object.c: (gl_view_object_set_object),
536 (gl_view_object_draw_handles), (gl_view_object_handle_at):
538 * src/view.c: (draw_highlight_layer), (select_object_real),
539 (unselect_object_real), (view_handle_at), (motion_notify_event_cb),
540 (button_press_event_cb), (button_release_event_cb),
541 (key_press_event_cb):
543 Added beginnings of object resize handles.
545 2007-03-07 Jim Evins <evins@snaught.com>
548 * src/view.c: (gl_view_init), (gl_view_arrow_mode),
549 (gl_view_object_create_mode), (motion_notify_event_cb),
550 (button_press_event_cb), (button_release_event_cb),
551 (key_press_event_cb):
552 Added move selection support.
554 2007-03-05 Jim Evins <evins@snaught.com>
556 * src/cairo-object-path.c: (gl_cairo_object_path):
557 * src/view-object.c: (gl_view_object_draw),
558 (gl_view_object_draw_highlight):
559 * src/view.c: (view_object_at), (motion_notify_event_cb),
560 (button_press_event_cb), (button_release_event_cb):
561 Additional refinements to select logic.
563 2007-03-05 Jim Evins <evins@snaught.com>
566 * src/view.c: (gl_view_init), (gl_view_construct),
567 (label_changed_cb), (draw_layers), (draw_select_region_layer),
568 (gl_view_select_region), (object_at), (motion_notify_event_cb),
569 (button_press_event_cb), (button_release_event_cb):
570 Added initial select region support and context menu.
572 2007-03-04 Jim Evins <evins@snaught.com>
590 * src/wdgt-print-copies.c:
591 * src/wdgt-print-merge.c:
593 Initial port to a raw Cairo canvas. This removes all remaining
594 dependencies on libgnomecanvas and libgnomeprint[ui]. Basically
595 the view is becoming a canvas widget in its own right. Still needs
597 * src/cairo-label-path.c:
598 * src/cairo-label-path.h:
599 * src/cairo-markup-path.c:
600 * src/cairo-markup-path.h:
601 * src/cairo-object-path.c:
602 * src/cairo-object-path.h:
603 New files to support cairo canvas.
604 * src/canvas-hacktext.c:
605 * src/canvas-hacktext.h:
608 2007-02-18 Jim Evins <evins@snaught.com>
611 GNOME_FONT_BOOK changed to PANGO_WEIGHT_NORMAL.
613 2007-02-14 Jim Evins <evins@snaught.com>
617 * src/bc-gnubarcode.c:
618 * src/bc-gnubarcode.h:
623 * src/canvas-hacktext.c:
624 * src/canvas-hacktext.h:
631 * src/label-barcode.c:
632 * src/label-barcode.h:
635 * src/label-ellipse.c:
636 * src/label-ellipse.h:
641 * src/label-object.c:
642 * src/label-object.h:
647 * src/merge-evolution.c:
648 * src/merge-evolution.h:
651 * src/merge-properties-dialog.c:
652 * src/merge-properties-dialog.h:
659 * src/mini-preview-pixbuf.h:
660 * src/new-label-dialog.c:
661 * src/new-label-dialog.h:
662 * src/object-editor-bc-page.c:
663 * src/object-editor-data-page.c:
664 * src/object-editor-edit-page.c:
665 * src/object-editor-fill-page.c:
666 * src/object-editor-image-page.c:
667 * src/object-editor-line-page.c:
668 * src/object-editor-lsize-page.c:
669 * src/object-editor-position-page.c:
670 * src/object-editor-private.h:
671 * src/object-editor-size-page.c:
672 * src/object-editor-text-page.c:
673 * src/object-editor.c:
674 * src/object-editor.h:
675 * src/pixbuf-cache.c:
676 * src/pixbuf-cache.h:
677 * src/prefs-dialog.c:
678 * src/prefs-dialog.h:
686 * src/template-designer.c:
691 * src/ui-property-bar.c:
692 * src/ui-property-bar.h:
701 * src/view-barcode.c:
702 * src/view-barcode.h:
705 * src/view-ellipse.c:
706 * src/view-ellipse.h:
707 * src/view-highlight.c:
708 * src/view-highlight.h:
719 * src/wdgt-chain-button.c:
720 * src/wdgt-chain-button.h:
721 * src/wdgt-media-select.c:
722 * src/wdgt-mini-preview.c:
723 * src/wdgt-print-copies.c:
724 * src/wdgt-print-copies.h:
725 * src/wdgt-print-merge.c:
726 * src/wdgt-print-merge.h:
727 * src/wdgt-rotate-label.c:
729 * src/xml-label-04.c:
730 * src/xml-label-04.h:
731 * src/xml-label-191.c:
732 * src/xml-label-191.h:
736 Assorted superficial cleanup. Including:
737 - Use G_DEFINE_TYPE for all objects.
738 - Reconcile style of all class initializer functions
739 - Reconcile style of all finalize functions
740 - Add emacs mode line to all source files
742 2007-02-06 Jim Evins <evins@snaught.com>
744 Assorted cleanup and removal of deprecated items.
749 Removed annoying splash screen.
750 * src/glabels-batch.c: (main):
751 * src/glabels.c: (main):
752 Converted from popt to GOption.
753 * src/object-editor-shadow-page.c:
754 (gl_object_editor_set_shadow_state):
755 Removed deprecated method on GtkToggleButton.
756 * src/ui-commands.c: (gl_ui_cmd_help_about):
757 Removed dependency on libgnomui/qnome-url.h.
758 * src/template-designer.c:
759 Removed dependency on libgnome/gnome-program.h.
762 2007-02-04 Jim Evins <evins@snaught.com>
767 * src/print.c: (draw_text_object):
768 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_construct):
769 Removed GnomeCanvas artifacts from color.[ch] and related modules.
771 2007-02-04 Jim Evins <evins@snaught.com>
773 * src/wdgt-mini-preview.c:
774 * src/wdgt-mini-preview.h:
775 Ported widget from GnomeCanvas to Cairo.
777 2007-02-03 Jim Evins <evins@snaught.com>
779 * data/glade/template-designer.glade:
780 * src/template-designer.c:
781 * src/template-designer.h:
782 Ported GnomeDruid to GtkAssistant. Since libglade does not
783 yet support the GtkAssistant and we derive directly from
784 the Assistant, the pages are layed out in a GtkNotebook in
785 the glade description -- we then append each page to the
788 2007-01-25 Jim Evins <evins@snaught.com>
790 * data/glade/object-editor.glade:
791 Added dummy page to notebook, to prevent shadow page from
792 becoming the default current page at creation.
793 * src/view-box.c: (construct_properties_editor):
794 * src/view-ellipse.c: (construct_properties_editor):
795 * src/view-line.c: (construct_properties_editor):
796 * src/view-text.c: (construct_properties_editor):
797 Reconciled order of params.
799 2007-01-19 Jim Evins <evins@snaught.com>
801 * src/label-barcode.h:
802 * src/label-object.c: (gl_label_object_set_font_weight),
803 (gl_label_object_set_text_alignment),
804 (gl_label_object_get_font_weight),
805 (gl_label_object_get_text_alignment):
806 * src/label-object.h:
807 * src/label-text.c: (gl_label_text_instance_init), (copy),
808 (get_size), (set_font_family), (set_font_weight),
809 (set_text_alignment), (get_font_weight), (get_text_alignment):
811 * src/object-editor-text-page.c:
812 (gl_object_editor_prepare_text_page),
813 (gl_object_editor_set_font_family),
814 (gl_object_editor_set_font_weight),
815 (gl_object_editor_get_font_weight),
816 (gl_object_editor_set_text_alignment),
817 (gl_object_editor_get_text_alignment),
818 (gl_object_editor_set_text_color):
819 * src/object-editor.h:
820 * src/prefs-dialog.c: (construct_object_page),
821 (update_object_page_from_prefs), (update_prefs_from_object_page):
822 * src/prefs-model.c: (gl_prefs_model_save_settings),
823 (gl_prefs_model_load_settings):
825 * src/print.c: (draw_text_object):
826 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
827 (reset_to_default_properties), (update_text_properties),
828 (font_bold_toggled_cb), (text_align_toggled_cb):
830 * src/util.c: (gl_util_align_to_string), (gl_util_string_to_align),
831 (gl_util_weight_to_string), (gl_util_string_to_weight),
832 (gl_util_get_font_family_list), (gl_util_font_family_list_free):
834 * src/view-text.c: (update_object_from_editor_cb),
835 (update_editor_from_object_cb), (draw_hacktext), (draw_cursor):
836 * src/view.c: (gl_view_set_selection_text_alignment),
837 (gl_view_set_default_text_alignment),
838 (gl_view_get_default_text_alignment):
840 * src/xml-label-04.c: (xml04_parse_text_props):
841 * src/xml-label-191.c: (xml191_parse_text_props):
842 * src/xml-label.c: (xml_parse_object_text),
843 (xml_parse_toplevel_span), (xml_create_object_text),
844 (xml_create_toplevel_span):
845 Converted all model internals to Pango. GnomeFont remains in
846 view until GnomeCanvas can be replaced with a cairo-based canvas.
848 2007-01-17 Jim Evins <evins@snaught.com>
854 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type),
855 (gl_wdgt_print_copies_construct):
856 * src/wdgt-print-copies.h:
857 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type),
858 (gl_wdgt_print_merge_construct):
859 * src/wdgt-print-merge.h:
860 Removed all remaining HIG wrapper widgets.
862 2007-01-16 Jim Evins <evins@snaught.com>
865 * src/print-dialog.c:
866 * src/print-dialog.h:
869 * src/template-designer.c: (print_test_cb):
870 * src/ui-commands.c: (gl_ui_cmd_file_print):
872 Renamed PrintDialog to PrintOp. Added constructor for batch
874 * src/glabels-batch.c: (main):
875 Converted to use new PrintOp object for printing.
877 2007-01-15 Jim Evins <evins@snaught.com>
879 * data/glade/Makefile.am:
880 * data/glade/print-custom-widget.glade:
881 * src/print-dialog.c:
882 * src/print-dialog.h:
885 * src/template-designer.c: (print_test_cb):
886 * src/ui-commands.c: (gl_ui_cmd_file_print):
887 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_copies):
888 * src/wdgt-print-merge.h:
889 * src/window.c: (gl_window_init):
891 Initial conversion to GtkPrintOperation.
893 - Remove font and other libgnomeprint[ui] from elsewhere
894 - Add batch initialization of print operation
896 2007-01-08 Jim Evins <evins@snaught.com>
898 Updated dependencies. Set version to 2.1.pre4cvs.
900 2007-01-03 Jim Evins <evins@snaught.com>
903 Removed EggRecent stuff.
912 Ported from EggRecent to GtkRecentManager.
915 2007-01-02 Jim Evins <evins@snaught.com>
918 * iec16022-0.2.1/BUGS:
919 * iec16022-0.2.1/CHANGELOG:
920 * iec16022-0.2.1/CREDITS:
921 * iec16022-0.2.1/INSTALL:
922 * iec16022-0.2.1/LICENSE:
923 * iec16022-0.2.1/Makefile.am:
924 * iec16022-0.2.1/Makefile.dist:
925 * iec16022-0.2.1/README:
926 * iec16022-0.2.1/README.glabels:
927 * iec16022-0.2.1/TODO:
928 * iec16022-0.2.1/iec16022.1:
929 * iec16022-0.2.1/iec16022.c:
930 * iec16022-0.2.1/iec16022ecc200.c:
931 * iec16022-0.2.1/iec16022ecc200.h:
932 * iec16022-0.2.1/image.c:
933 * iec16022-0.2.1/image.h:
934 * iec16022-0.2.1/reedsol.c:
935 * iec16022-0.2.1/reedsol.h:
936 * iec16022-0.2.1/test/testsuite-example.bin:
937 * iec16022-0.2.1/test/testsuite-example.eps:
938 * iec16022-0.2.1/test/testsuite-example.hex:
939 * iec16022-0.2.1/test/testsuite-example.png:
940 * iec16022-0.2.1/test/testsuite-example.text:
941 * iec16022-0.2.1/test/testsuite.sh:
942 Include modified copy of iec16022-0.2.1 to provide encoding
943 support for datamatrix 2D barcodes.
948 Added initial datamatrix 2D barcode backend to barcode code.
951 Automatic updates to later versions of these files.
953 2006-11-28 Jim Evins <evins@snaught.com>
955 * data/templates/avery-iso-templates.xml:
956 * data/templates/avery-us-templates.xml:
957 * data/templates/categories.xml:
958 * data/templates/misc-iso-templates.xml:
959 * data/templates/misc-us-templates.xml:
960 * data/templates/zweckform-iso-templates.xml:
963 2006-09-12 Jim Evins <evins@snaught.com>
965 * data/dtd/glabels-2.0.dtd:
966 * data/templates/Makefile.am:
967 * data/templates/avery-iso-templates.xml:
968 * data/templates/avery-other-templates.xml:
969 * data/templates/avery-us-templates.xml:
970 * data/templates/categories.xml:
971 * data/templates/misc-iso-templates.xml:
972 * data/templates/misc-other-templates.xml:
973 * data/templates/zweckform-iso-templates.xml:
974 * data/glade/Makefile.am:
975 * data/glade/new-label-dialog.glade:
976 * data/glade/wdgt-media-select.glade:
977 * data/glade/wdgt-rotate-label.glade:
978 * libglabels/Makefile.am:
979 * libglabels/category.c:
980 * libglabels/category.h:
981 * libglabels/libglabels.h:
982 * libglabels/paper.c:
983 * libglabels/template.c:
984 * libglabels/template.h:
985 * libglabels/xml-category.c:
986 * libglabels/xml-category.h:
987 * libglabels/xml-template.c:
988 Added support for category meta data.
991 * src/mini-preview-pixbuf.c:
992 * src/mini-preview-pixbuf.h:
993 * src/new-label-dialog.c:
994 * src/new-label-dialog.h:
995 * src/wdgt-media-select.c:
996 * src/wdgt-media-select.h:
997 * src/wdgt-rotate-label.c:
998 * src/wdgt-rotate-label.h:
999 New "new label" dialog.
1001 2006-05-27 Jim Evins <evins@snaught.com>
1006 Preparation for 2.1.3.
1012 2006-05-22 Jim Evins <evins@snaught.com>
1014 * src/print.c: (draw_barcode_object):
1015 Don't print "Invalid barcode data" if data field is empty. Patch provided
1016 by Darren Warner <warnerd@users.sourceforge.net>. Fixes Bug #1479839.
1018 Added acknowledgment for above patch.
1019 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
1020 * src/bc-postnet.c: (postnet_code):
1021 Removed "Invalid barcode data" warnings from stderr.
1022 * src/view-barcode.c: (draw_barcode):
1023 Draw box around barcode extent if data empty or invalid. Center a
1024 message whether the data is empty or invalid in box.
1026 2006-05-22 Jim Evins <evins@snaught.com>
1028 * src/print.c: (draw_text_object):
1029 Check shadow state when printing text.
1031 2006-05-20 Jim Evins <evins@snaught.com>
1033 * src/ui-commands.c: (gl_ui_cmd_view_grid_toggle),
1034 (gl_ui_cmd_view_markup_toggle):
1035 Fixed crash when grid or markup have been toggled off during
1036 a previous session. Bug #1434324.
1038 2006-04-05 Jim Evins <evins@snaught.com>
1040 * src/object-editor.c: (gl_object_editor_set_key_names):
1041 Fixed potential crash when freeing empty key list.
1043 2006-03-11 Jim Evins <evins@snaught.com>
1045 * src/print.c: (draw_text_object):
1046 * src/view-text.c: (gl_view_text_new),
1047 (construct_properties_editor), (update_object_from_editor_cb),
1048 (update_editor_from_object_cb), (update_editor_from_label_cb),
1050 Added shadow support to text object.
1052 2006-02-18 Jim Evins <evins@snaught.com>
1054 * src/print.c: (draw_line_object):
1055 * src/view-line.c: (gl_view_line_new),
1056 (construct_properties_editor), (update_canvas_item_from_object_cb),
1057 (update_object_from_editor_cb), (update_editor_from_object_cb),
1058 (update_editor_from_label_cb):
1059 Added shadow support to line object.
1061 2006-02-16 Jim Evins <evins@snaught.com>
1065 * src/print.c: (draw_ellipse_object):
1066 * src/view-ellipse.c: (gl_view_ellipse_new),
1067 (construct_properties_editor), (update_canvas_item_from_object_cb),
1068 (update_object_from_editor_cb), (update_editor_from_object_cb),
1069 (update_editor_from_label_cb):
1070 Added shadow support to ellipse object.
1072 2006-02-15 Jim Evins <evins@snaught.com>
1074 * src/label-object.c:
1075 Changed default shadow offsets.
1076 * src/view-box.c: (gl_view_box_new):
1077 Simplified gl_view_box_new() so that is does not duplicate code
1078 in update_canvas_item_from_object_cb().
1080 2006-02-07 Jim Evins <evins@snaught.com>
1082 * data/glade/object-editor.glade:
1083 Fixed color groups of color combos.
1085 Added default shadow color.
1086 * src/object-editor.c: (gl_object_editor_construct_color_combo):
1087 Added shadow color group.
1089 2006-02-06 Jim Evins <evins@snaught.com>
1091 * src/object-editor-shadow-page.c:
1092 Forgot to add this file.
1093 * src/view-box.c: (gl_view_box_new),
1094 (update_canvas_item_from_object_cb), (update_editor_from_label_cb):
1095 Update limits on shadow offset spinbuttons.
1097 2006-01-19 Jim Evins <evins@snaught.com>
1099 * src/merge-evolution.c: (gl_merge_evolution_get_key_list):
1100 Initialize key_list to NULL.
1101 * data/glade/object-editor.glade:
1105 * src/label-object.c:
1106 * src/label-object.h:
1107 * src/object-editor-fill-page.c:
1108 * src/object-editor-private.h:
1109 * src/object-editor.c:
1110 * src/object-editor.h:
1112 Created infrastructure for shadow support.
1115 Initial shadow support in box object only.
1117 2006-01-05 Jim Evins <evins@snaught.com>
1119 * src/merge-properties-dialog.c: (src_changed_cb):
1120 Be extra paranoid before calling strcmp().
1121 * src/merge.c: (gl_merge_set_src):
1122 Don't make (merge == NULL) a critical error.
1124 2005-12-22 Jim Evins <evins@snaught.com>
1126 * src/glabels-batch.c: (main):
1127 Compile warning free with gcc 4.0.
1129 2005-12-21 Jim Evins <evins@snaught.com>
1132 Updated example RPM spec file.
1134 2005-12-21 Jim Evins <evins@snaught.com>
1138 Preparation for 2.1.2.
1140 2005-12-20 Jim Evins <evins@snaught.com>
1143 Define unique G_LOG_DOMAIN for glabels.
1144 * src/critical-error-handler.c: (gl_critical_error_handler_init):
1145 * src/warning-handler.c: (gl_warning_handler_init),
1147 Register for G_LOG_DOMAIN instead of NULL.
1149 2005-12-10 Jim Evins <evins@snaught.com>
1151 * src/merge-evolution.c:
1152 * src/merge-vcard.c:
1155 2005-12-08 Jim Evins <evins@snaught.com>
1157 * libglabels/paper.c: (read_paper_files_from_dir):
1158 * libglabels/template.c: (gl_template_register),
1159 (read_template_files_from_dir):
1160 * libglabels/xml-paper.c: (gl_xml_paper_read_papers_from_file),
1161 (gl_xml_paper_parse_papers_doc):
1162 * libglabels/xml-template.c:
1163 (gl_xml_template_read_templates_from_file),
1164 (gl_xml_template_parse_templates_doc),
1165 (gl_xml_template_parse_template_node),
1166 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
1167 (xml_parse_label_cd_node), (xml_parse_layout_node),
1168 (xml_parse_markup_margin_node), (xml_parse_markup_line_node),
1169 (xml_parse_markup_circle_node),
1170 (gl_xml_template_write_templates_to_file), (xml_create_label_node):
1171 * libglabels/xml.c: (gl_xml_get_prop_length):
1172 Re-classified g_warnings to g_messages.
1174 * src/glabels.c: (main):
1175 * src/warning-handler.c: (gl_warning_handler_init),
1177 * src/warning-handler.h:
1178 Added warning message handler to make sure the user is
1179 presented with appropriate non-fatal errors.
1180 * src/critical-error-handler.c: (critical_error_handler):
1181 Changed exit to abort.
1182 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new), (render_pass1):
1183 * src/bc-postnet.c: (postnet_code):
1184 * src/bc.c: (id_to_index), (name_to_index):
1185 * src/merge.c: (gl_merge_register_backend), (gl_merge_new):
1186 * src/object-editor.c: (gl_object_notebook_construct_valist):
1187 * src/prefs-dialog.c: (update_locale_page_from_prefs):
1188 * src/prefs.c: (gl_prefs_get_units_per_point),
1189 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
1190 (gl_prefs_get_units_string):
1191 * src/print.c: (draw_outline), (clip_to_outline), (clip_punchouts):
1192 * src/splash.c: (gl_splash):
1193 * src/ui-commands.c: (gl_ui_cmd_help_contents):
1194 * src/view-highlight.c: (gl_view_highlight_new),
1195 (highlight_resizable_box_construct), (object_changed_cb),
1196 (view_scale_changed_cb):
1197 * src/view.c: (draw_label_layer), (draw_bg_fg_layers),
1198 (draw_markup_layer), (draw_markup_margin),
1199 (gl_view_object_create_mode), (canvas_event),
1200 (selection_received_cb):
1201 * src/wdgt-mini-preview.c: (mini_outline_list_new):
1202 * src/wdgt-rotate-label.c: (mini_preview_canvas_update):
1203 * src/xml-label-04.c: (gl_xml_label_04_parse),
1204 (xml04_parse_media_description), (xml04_parse_text_props),
1205 (xml04_parse_barcode_props):
1206 * src/xml-label-191.c: (gl_xml_label_191_parse),
1207 (xml191_parse_objects), (xml191_parse_object),
1208 (xml191_parse_text_props), (xml191_parse_image_props),
1209 (xml191_parse_barcode_props), (xml191_parse_data),
1210 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
1211 (xml191_parse_markup):
1212 * src/xml-label.c: (gl_xml_label_open), (gl_xml_label_open_buffer),
1213 (xml_doc_to_label), (xml_parse_label), (xml_parse_objects),
1214 (xml_parse_object_text), (xml_parse_object_image),
1215 (xml_parse_object_barcode), (xml_parse_data),
1216 (xml_parse_toplevel_span), (gl_xml_label_save),
1217 (xml_create_objects):
1218 Re-classified g_warnings to g_messages.
1219 * src/merge-evolution.c: (gl_merge_evolution_open),
1220 (gl_merge_evolution_close), (gl_merge_evolution_get_record):
1221 Use g_warning to output errors encountered while
1222 communicating with the evolution data server
1223 instead of embedding them in the data.
1225 2005-12-08 Jim Evins <evins@snaught.com>
1227 * libglabels/libglabels-private.h:
1229 * libglabels/paper.c: (read_papers):
1230 * libglabels/template.c: (read_templates):
1231 Made appropriate warnings critical.
1233 * src/critical-error-handler.h:
1234 * src/critical-error-handler.c: (gl_critical_error_handler_init),
1235 (critical_error_handler):
1236 Created critical error handler.
1237 * src/glabels.c: (main):
1238 Register critical error handler.
1239 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
1240 * src/object-editor.c: (gl_object_editor_init):
1241 * src/prefs-dialog.c: (gl_prefs_dialog_init):
1242 * src/template-designer.c: (gl_template_designer_init):
1243 * src/ui-property-bar.c: (gl_ui_property_bar_instance_init):
1244 Made appropriate warnings critical.
1246 2005-11-27 Jim Evins <evins@snaught.com>
1248 * src/merge-evolution.c: (gl_merge_evolution_get_key_list),
1249 (gl_merge_evolution_get_primary_key),
1250 (gl_merge_evolution_get_record):
1251 Don't create "record_key" pseudo-key. Don't populate
1252 fields with null data.
1254 2005-11-25 Jim Evins <evins@snaught.com>
1256 * src/merge-evolution.c: (gl_merge_evolution_finalize),
1257 (gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
1258 (gl_merge_evolution_get_record), (gl_merge_evolution_copy),
1260 Query EDS for all supported fields. Patch provided by
1261 Austin Henry <ahenry@users.sourceforge.net>.
1263 2005-10-29 Jim Evins <evins@snaught.com>
1265 * src/glabels.c: (main):
1266 * src/label-barcode.c: (gl_label_barcode_finalize):
1267 * src/label-text.c: (gl_label_text_finalize), (set_font_family):
1268 * src/label.c: (gl_label_instance_init), (gl_label_finalize):
1269 * src/object-editor.c: (gl_object_editor_finalize):
1270 Another pass at valgrinding -- plugged several memory leaks.
1271 * src/view-text.c: (gl_view_text_new),
1272 (update_canvas_item_from_object_cb), (draw_hacktext):
1273 Commented out artifacts of edit-in-place code.
1275 2005-10-28 Jim Evins <evins@snaught.com>
1277 * src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
1278 Fixed use of uninitialized variable. Caught by
1279 d binderman <dcb314@hotmail.com>.
1281 2005-10-27 Jim Evins <evins@snaught.com>
1283 * src/merge-evolution.c: (gl_merge_evolution_get_record):
1284 * src/merge-vcard.c: (gl_merge_vcard_get_record),
1286 Additional cleanup of EDS and vcard backends. Provided by
1287 Austin Henry <ahenry@users.sourceforge.net>.
1289 2005-10-24 Jim Evins <evins@snaught.com>
1293 * src/merge-evolution.c:
1294 * src/merge-evolution.h:
1295 * src/merge-init.c: (gl_merge_init):
1296 * src/merge-properties-dialog.c: (type_changed_cb):
1297 * src/merge-vcard.c:
1298 * src/merge-vcard.h:
1299 * src/ui-commands.c: (gl_ui_cmd_help_about):
1300 Added Evolution Data Server and VCard merge backends. Original patch
1301 provided by Austin Henry <ahenry@users.sourceforge.net>.
1303 Only support EDS and VCard backends if libebook is installed. Allow
1304 user to disable support, even if installed.
1306 2005-10-24 Jim Evins <evins@snaught.com>
1309 * data/templates/avery-iso-templates.xml:
1310 * data/templates/avery-us-templates.xml:
1311 * data/templates/misc-iso-templates.xml:
1312 * data/templates/zweckform-iso-templates.xml:
1313 Collected all template changes and submissions since last
1316 2005-10-23 Jim Evins <evins@snaught.com>
1319 * data/mime/Makefile.am:
1320 Added configure options to disable update-mime-database and
1321 update-desktop-database as part of the install. Patch
1322 provided by Leonardo Boshell (qhoracio@sourceforge.net).
1324 2005-10-23 Jim Evins <evins@snaught.com>
1327 * libglabels/xml.c: (gl_xml_get_prop_string),
1328 (gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
1329 (gl_xml_is_node), (gl_xml_get_node_content):
1330 Added new XML utility functions.
1331 * libglabels/xml-paper.c:
1332 * libglabels/xml-template.c:
1334 Cleanup by using new xml utilities created above.
1335 * libglabels/paper.c: (gl_paper_free):
1336 * src/file.c: (new_response):
1337 * src/object-editor-image-page.c: (add_image_filters_to_chooser):
1338 * src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
1339 (gl_pixbuf_cache_get_pixbuf):
1340 * src/ui-property-bar.c:
1341 (gl_ui_property_bar_construct_color_combo):
1342 * src/view-highlight.c: (gl_view_highlight_finalize):
1343 * src/view-image.c: (update_object_from_editor_cb):
1344 * src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
1345 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
1346 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
1347 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
1348 (draw_markup_margin_round), (draw_markup_margin_cd),
1349 (draw_markup_margin_cd_bc):
1350 * src/wdgt-mini-preview.c: (mini_outline_list_new):
1351 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
1352 Plugged various memory leaks located with valgrind.
1353 * src/view-image.c: (update_canvas_item_from_object_cb):
1354 Don't allow a width or height of zero when drawing pixbuf.
1356 2005-10-22 Jim Evins <evins@snaught.com>
1358 * libglabels/xml-paper.c:
1359 * libglabels/xml-template.c:
1362 * src/bc-gnubarcode.c:
1363 * src/canvas-hacktext.c:
1365 * src/object-editor-data-page.c:
1366 * src/print-dialog.c:
1369 * src/template-designer.c:
1371 * src/ui-property-bar.c:
1373 * src/view-barcode.c:
1375 * src/view-ellipse.c:
1380 * src/wdgt-media-select.c:
1381 * src/xml-label-04.c:
1382 * src/xml-label-191.c:
1384 Modified to compile warning free with gcc-4.0. Mostly
1385 casting to change signedness of characters. Did not
1386 attack gnu-barcode library yet.
1388 2005-10-22 Jim Evins <evins@snaught.com>
1390 * src/glabels.c: (main):
1391 * src/splash.c: (gl_splash):
1392 Removed some small memory leaks.
1396 2005-09-19 Jim Evins <evins@snaught.com>
1398 * data/glade/property-bar.glade:
1399 Remove items from font_family_combo. This prevents the
1400 double entry after adding text model and list of fonts.
1401 * src/ui-property-bar.c: (reset_to_default_properties):
1402 Free font_family_list.
1404 2005-07-01 Jim Evins <evins@snaught.com>
1407 Updated italian translation (Daniele Medri)
1409 2005-06-26 Jim Evins <evins@snaught.com>
1411 * docs/libglabels/libglabels-decl-list.txt:
1412 Somehow never got checked in before.
1413 * docs/libglabels/libglabels.types:
1414 Removed -- don't need it afterall.
1416 2005-06-20 Jim Evins <evins@snaught.com>
1419 Final prep for 2.1.1 release.
1421 2005-06-20 Jim Evins <evins@snaught.com>
1424 Final preps for 2.1.1 release.
1425 * docs/libglabels/libglabels.types:
1426 Somehow never got checked in before.
1428 Bring up-to-date with recent reorg of ui code.
1431 2005-06-19 Jim Evins <evins@snaught.com>
1433 * src/template-designer.c: (construct_layout_page):
1434 Removed attempt to match background color of mini preview widget to
1437 2005-06-17 Jim Evins <evins@snaught.com>
1439 * help/C/figures/merge-ex2-4.png:
1440 * help/C/glabels.xml:
1441 Fixed spelling error.
1443 2005-06-13 Jim Evins <evins@snaught.com>
1445 * help/C/figures/merge-ex1-1.png:
1446 * help/C/figures/merge-ex1-2.png:
1447 * help/C/figures/merge-ex1-3.png:
1448 * help/C/figures/merge-ex1-4.png:
1449 * help/C/figures/merge-ex2-1.png:
1450 * help/C/figures/merge-ex2-2.png:
1451 * help/C/figures/merge-ex2-3.png:
1452 * help/C/figures/merge-ex2-4.png:
1453 Added figures for document merge tutorial.
1454 * help/C/glabels.xml:
1455 Added document merge tutorial.
1457 2005-05-19 Jim Evins <evins@snaught.com>
1459 * data/glade/merge-properties-dialog.glade:
1460 Fixed irregular spacing.
1461 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
1462 (gl_merge_properties_dialog_construct):
1463 Set outer padding and remove separator.
1465 2005-05-18 Jim Evins <evins@snaught.com>
1469 Removed glHigDialog class.
1470 * src/file.c: (gl_file_new), (create_new_dialog_widgets),
1471 (gl_file_properties), (create_properties_dialog_widgets):
1472 * src/prefs-dialog.h:
1473 * src/prefs-dialog.c: (gl_prefs_dialog_get_type),
1474 (gl_prefs_dialog_init), (gl_prefs_dialog_construct):
1475 * src/print-dialog.h:
1476 * src/prefs-dialog.h:
1477 * src/print-dialog.c: (gl_print_dialog_get_type),
1478 (gl_print_dialog_init), (gl_print_dialog_construct):
1479 Replaced all instances of glHigDialog with GtkDialog.
1481 2005-05-17 Jim Evins <evins@snaught.com>
1485 Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
1486 * src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
1487 (save_as_response), (gl_file_close):
1488 Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.
1490 2005-05-15 Jim Evins <evins@snaught.com>
1492 * src/ui-commands.h:
1500 A little code reformatting -- no functional changes.
1502 2005-05-14 Jim Evins <evins@snaught.com>
1505 Removed obsolete macros.
1507 Added marshalling template to support new view signal: "context_menu_activate."
1509 * src/view.c: (gl_view_class_init), (gl_view_construct),
1510 (canvas_event_arrow_mode):
1511 - Removed hardcoded context menus and added new signal "context_menu_activate"
1512 to push this up to the uimanager.
1513 - Removed merge properties and print dialogs so that they can be managed with
1514 the window by the uimanager.
1515 * src/merge-properties-dialog.h:
1516 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
1517 (gl_merge_properties_dialog_construct):
1518 Changed calling convention of gl_merge_properties_dialog_new() to use
1519 glLabel and GtkWindow instead of view to make more consistent with other
1521 * src/print-dialog.h:
1522 * src/print-dialog.c: (gl_print_dialog_new),
1523 (gl_print_dialog_construct):
1524 Removed last artifact of libbonoboui.
1525 * src/ui-commands.c: (gl_ui_cmd_file_print),
1526 (gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
1527 Reconciled style for launching dialogs.
1528 * src/ui.c: (gl_ui_new):
1529 Added context menus to ui manager.
1530 * src/view-object.c: (item_event_arrow_mode):
1531 No longer try to select objects with right-click.
1533 * src/window.c: (gl_window_init), (gl_window_set_label),
1534 (context_menu_activate_cb):
1535 Context menus and all dialogs are now managed in a consistent way in window
1538 2005-05-11 Jim Evins <evins@snaught.com>
1541 * src/window.c: (gl_window_init), (gl_window_destroy):
1542 * src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
1543 * src/ui-commands.c: (gl_ui_cmd_file_open_recent):
1544 Moved management of recent_view back from window.c to ui.c -- it just feels
1547 2005-05-10 Jim Evins <evins@snaught.com>
1550 * src/window.c: (gl_window_init):
1552 * src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
1553 (menu_item_select_cb), (menu_item_deselect_cb):
1554 Added GtkStatusbar which displays menu tooltips.
1556 2005-05-09 Jim Evins <evins@snaught.com>
1558 Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
1563 Removed dependencies on libbonoboui.
1565 * data/ui/Makefile.am:
1566 * data/ui/glabels-ui.xml:
1567 Removed data/ui directory.
1568 * data/glade/Makefile.am:
1569 * data/property-bar.glade:
1570 Added glade description of property-bar for new libglade implementation
1577 * src/ui-commands.h:
1578 * src/ui-commands.c:
1579 Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
1580 since the distinction between "commands" and "tools" is no longer that clear.
1583 Modified to expect glWindow instead of GtkWindow. gl_file_open_recent()
1584 no longer has knowledge of eggRecent*.
1585 * src/glabels.c: (main):
1586 Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
1588 * src/object-editor.c: (gl_object_editor_init):
1589 Make sure notebook does not respond to a "show_all" on the parent.
1590 * src/recent-files/Makefile.am:
1591 * src/recent-files/*.[ch]
1592 Updated from latest version of libegg which now has a view based on
1593 GtkUIManager. Removed unused bonobo and gtk views.
1594 * src/ui-property-bar.h:
1595 * src/ui-property-bar.c:
1596 New implementation based on libglade.
1599 Sidebar is now simply a GtkWidget and does not expect to be a part of
1600 a libbonoboui interface.
1605 Converted for use with GtkUIManager.
1608 Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
1609 to create menus and toolbars.
1611 2005-04-25 Jim Evins <evins@snaught.com>
1613 * data/templates/misc-iso-templates.xml:
1614 Added Fellows 04715 template provided by Steve Saxon.
1616 Updated acknowledgement for above.
1618 2005-04-23 Jim Evins <evins@snaught.com>
1620 * src/util.c: (gl_util_combo_box_set_strings):
1621 Make sure to clear model before loading a new list of strings.
1622 * src/wdgt-media-select.h:
1623 * src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
1624 (gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
1625 (template_combo_changed_cb), (prefs_changed_cb),
1626 (gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
1627 (gl_wdgt_media_select_get_page_size),
1628 (gl_wdgt_media_select_set_page_size):
1629 Replaced the deprecated GtkCombo widget with the new
1632 2005-04-21 Jim Evins <evins@snaught.com>
1634 * data/glade/template-designer.glade:
1635 * src/template-designer.c: (construct_pg_size_page),
1636 (pg_size_page_changed_cb), (build_template):
1637 Replaced the deprecated GtkCombo widget with the new
1640 2005-04-20 Jim Evins <evins@snaught.com>
1642 * data/glade/prefs-dialog.glade:
1643 * src/prefs-dialog.c: (construct_object_page),
1644 (update_object_page_from_prefs), (update_prefs_from_object_page):
1645 Replaced the deprecated GtkCombo widget with the new
1648 2005-04-19 Jim Evins <evins@snaught.com>
1650 * data/glade/object-editor.glade:
1651 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
1652 (style_changed_cb), (gl_object_editor_set_bc_style),
1653 (gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
1654 (gl_object_editor_get_bc_color):
1655 * src/object-editor-data-page.c:
1656 (gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
1657 (gl_object_editor_get_data):
1658 * src/object-editor-edit-page.c:
1659 (gl_object_editor_prepare_edit_page), (insert_button_cb):
1660 * src/object-editor-fill-page.c:
1661 (gl_object_editor_prepare_fill_page),
1662 (gl_object_editor_set_fill_color),
1663 (gl_object_editor_get_fill_color):
1664 * src/object-editor-image-page.c:
1665 (gl_object_editor_prepare_image_page),
1666 (gl_object_editor_set_image), (gl_object_editor_get_image):
1667 * src/object-editor-line-page.c:
1668 (gl_object_editor_prepare_line_page),
1669 (gl_object_editor_set_line_color),
1670 (gl_object_editor_get_line_color):
1671 * src/object-editor-private.h:
1672 * src/object-editor-text-page.c:
1673 (gl_object_editor_prepare_text_page),
1674 (gl_object_editor_set_font_family),
1675 (gl_object_editor_get_font_family),
1676 (gl_object_editor_set_text_color),
1677 (gl_object_editor_get_text_color):
1678 * src/object-editor.c: (gl_object_editor_set_key_names):
1680 In the object editor: replaced all instances of the deprecated
1681 GtkCombo widget with the new GtkComboBox.
1683 2005-04-18 Jim Evins <evins@snaught.com>
1686 Neglected to save this one in previous checkin to support
1689 2005-04-17 Jim Evins <evins@snaught.com>
1691 * libglabels/libglabels-private.h:
1692 * libglabels/paper.c:
1693 * libglabels/paper.h:
1694 * libglabels/template.c:
1695 * libglabels/template.h:
1696 * libglabels/xml-paper.c:
1697 * libglabels/xml-paper.h:
1698 * libglabels/xml-template.c:
1703 * src/bc-gnubarcode.c:
1714 * src/label-barcode.c:
1716 * src/label-ellipse.c:
1717 * src/label-image.c:
1718 * src/label-image.h:
1720 * src/label-object.c:
1724 * src/merge-properties-dialog.c:
1725 * src/object-editor-bc-page.c:
1726 * src/object-editor-data-page.c:
1727 * src/object-editor-edit-page.c:
1728 * src/object-editor-fill-page.c:
1729 * src/object-editor-image-page.c:
1730 * src/object-editor-line-page.c:
1731 * src/object-editor-lsize-page.c:
1732 * src/object-editor-position-page.c:
1733 * src/object-editor-private.h:
1734 * src/object-editor-size-page.c:
1735 * src/object-editor-text-page.c:
1736 * src/object-editor.c:
1737 * src/object-editor.h:
1738 * src/pixbuf-cache.h:
1739 * src/prefs-dialog.c:
1740 * src/prefs-dialog.h:
1741 * src/prefs-model.c:
1742 * src/prefs-model.h:
1744 * src/print-dialog.c:
1745 * src/print-dialog.h:
1753 * src/template-designer.c:
1754 * src/template-designer.h:
1757 * src/ui-property-bar.c: (gl_ui_property_bar_construct):
1763 * src/view-barcode.c:
1765 * src/view-ellipse.c:
1766 * src/view-highlight.c:
1767 * src/view-highlight.h:
1770 * src/view-object.c:
1771 * src/view-object.h:
1775 * src/wdgt-chain-button.c:
1776 * src/wdgt-media-select.c:
1777 * src/wdgt-media-select.h:
1778 * src/wdgt-mini-preview.c:
1779 * src/wdgt-mini-preview.h:
1780 * src/wdgt-print-copies.c:
1781 * src/wdgt-print-copies.h:
1782 * src/wdgt-print-merge.c:
1783 * src/wdgt-print-merge.h:
1784 * src/wdgt-rotate-label.c:
1785 * src/wdgt-rotate-label.h:
1788 * src/xml-label-04.c:
1789 * src/xml-label-191.c:
1791 Cleanup of header files:
1792 - all header files are now stand-alone, verified by including
1793 first in corresponding "c" files
1794 - replaced blanket includes of gnome, gtk, and glib with
1797 2005-04-16 Jim Evins <evins@snaught.com>
1799 * data/glade/Makefile.am:
1800 * data/glade/merge-properties-dialog.glade:
1801 Added merge properties dialog glade description file.
1802 * src/merge-properties-dialog.h:
1803 * src/merge-properties-dialog.c:
1804 (gl_merge_properties_dialog_get_type),
1805 (gl_merge_properties_dialog_init),
1806 (gl_merge_properties_dialog_finalize),
1807 (gl_merge_properties_dialog_new),
1808 (gl_merge_properties_dialog_construct), (type_changed_cb),
1809 (src_changed_cb), (response_cb), (load_tree),
1810 (record_select_toggled_cb), (select_all_button_clicked_cb),
1811 (unselect_all_button_clicked_cb):
1812 Modified merge properties dialog to use libglade. Added
1813 "select all" and "unselect all" buttons.
1814 * src/merge-text.c: (parse_line):
1815 Handle empty lines better.
1816 * src/merge.c: (gl_merge_eval_key):
1817 Evaluate the key whether the record is selected or not.
1819 * src/util.c: (gl_util_combo_box_add_text_model):
1820 Since libglade does not use the gtk_combo_box_new_text()
1821 constructor for GtkComboBoxes, a utility function was created
1822 to add an appropriate text model to a GtkComboBox.
1823 * src/view.c: (gl_view_edit_merge_props):
1824 Removed unnecessary "show all's".
1826 2005-04-15 Jim Evins <evins@snaught.com>
1829 Updated russian translation (Vitaly Lipatov)
1830 * data/templates/misc-iso-templates.xml:
1831 Added templates for russian business cards provided by Vitaly Lipatov.
1833 Updated acknowledgements for above.
1835 2005-04-15 Jim Evins <evins@snaught.com>
1837 * data/templates/avery-us-templates.xml:
1838 Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
1839 * data/templates/misc-iso-templates.xml:
1840 Added Ryman standard CD/DVD template, provided by Dan Clark.
1842 Added acknowledgements for above.
1844 2005-04-10 Jim Evins <evins@snaught.com>
1846 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
1847 * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
1848 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
1849 (xml_parse_label_cd_node), (xml_parse_alias_node):
1850 * libglabels/xml.c: (gl_xml_get_prop_double),
1851 (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
1852 (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
1853 * src/xml-label-04.c: (xml04_parse_media_description),
1854 (xml04_parse_text_props), (xml04_parse_barcode_props),
1855 (xml04_parse_merge_properties):
1856 * src/xml-label-191.c: (xml191_parse_object),
1857 (xml191_parse_text_props), (xml191_parse_barcode_props),
1858 (xml191_parse_merge_fields), (xml191_parse_pixdata),
1859 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
1860 (xml191_parse_alias):
1861 * src/xml-label.c: (xml_parse_object_text),
1862 (xml_parse_object_barcode), (xml_parse_merge_fields),
1863 (xml_parse_pixdata), (xml_parse_toplevel_span):
1864 Make sure to use xmlFree for anything obtained from libxml
1865 in case libxml and glib use different memory management
1868 2005-04-08 Jim Evins <evins@snaught.com>
1871 * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
1872 (gl_util_combo_box_set_active_text):
1873 Added utility functions to simplify working with GtkComboBox
1875 * src/ui-property-bar.h:
1876 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
1877 (reset_to_default_properties), (update_text_properties),
1878 (font_family_changed_cb):
1879 Replaced deprecated GtkCombo with GtkComboBox.
1882 2005-04-03 Jim Evins <evins@snaught.com>
1885 * src/wdgt-image-select.h:
1886 * src/wdgt-image-select.c:
1887 Removed obsolete wdgt-image-select.[ch] files.
1888 * libglabels/paper.c: (gl_paper_dup):
1889 Fixed rename of parameter introduced during documentation
1891 * data/glade/object-editor.glade:
1892 * src/object-editor-image-page.c:
1893 (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
1894 (gl_object_editor_set_image), (gl_object_editor_get_image),
1895 (update_preview_cb), (add_image_filters_to_chooser):
1896 * src/object-editor-private.h:
1897 Replaced deprecated GnomePixmapEntry with
1898 GtkFileChooserButton.
1900 2005-04-02 Jim Evins <evins@snaught.com>
1902 * src/mygal/mygal-combo-box.c: (deactivate_arrow),
1903 (mygal_combo_box_popup_hide_unconditional),
1904 (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
1905 (mygal_combo_toggle_pressed), (mygal_combo_box_init),
1906 (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
1907 (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
1908 (cb_tearable_button_release), (mygal_combo_box_set_tearable):
1909 Renamed all internal gtk_combo functions to mygal_combo
1910 to prevent namespace confusion.
1912 2005-04-02 Jim Evins <evins@snaught.com>
1914 * src/mygal/color-palette.c: (color_palette_change_custom_color),
1915 (cust_color_set), (color_palette_setup):
1916 * src/mygal/color-palette.h:
1917 Replaced deprecated GnomeColorPicker with GtkColorButton.
1919 2005-04-02 Jim Evins <evins@snaught.com>
1921 * docs/libglabels/libglabels-sections.txt:
1922 * docs/libglabels/libglabels-undocumented.txt:
1923 * docs/libglabels/tmpl/enums.sgml:
1924 * docs/libglabels/tmpl/paper.sgml:
1925 * docs/libglabels/tmpl/xml-paper.sgml:
1926 * docs/libglabels/tmpl/xml-template.sgml:
1927 * libglabels/enums.h:
1928 * libglabels/paper.c: (gl_paper_dup):
1929 * libglabels/paper.h:
1930 * libglabels/xml-paper.c:
1931 * libglabels/xml-template.c:
1932 More documentation updates for libglabels.
1934 2005-03-23 Jim Evins <evins@snaught.com>
1937 Automatically updated.
1942 * docs/libglabels/Makefile.am:
1943 * docs/libglabels/libglabels-docs.sgml:
1944 * docs/libglabels/libglabels-sections.txt:
1945 * docs/libglabels/libglabels-undocumented.txt:
1946 * docs/libglabels/tmpl/enums.sgml:
1947 * docs/libglabels/tmpl/libglabels-unused.sgml:
1948 * docs/libglabels/tmpl/libglabels.sgml:
1949 * docs/libglabels/tmpl/paper.sgml:
1950 * docs/libglabels/tmpl/template.sgml:
1951 * docs/libglabels/tmpl/xml-paper.sgml:
1952 * docs/libglabels/tmpl/xml-template.sgml:
1953 * docs/libglabels/tmpl/xml.sgml:
1954 Added basic gtk-doc stuff to support documenting libglabels
1957 Updated function comments with gtk-doc markup.
1961 2005-03-22 Jim Evins <evins@snaught.com>
1963 Since the development version now requires gtk-2.6/gnome-2.10, I
1964 have made a first pass at removing deprecations.
1967 * libglabels/Makefile.am:
1969 Added configure option to turn on X_DISABLE_DEPRECATED flags.
1970 Also removed all remnants of HAVE_FILECHOOSER.
1971 * src/file.c: (gl_file_open_real):
1972 Removed code for old GtkFileSelection.
1973 * libglabels/libglabels-private.h:
1974 * libglabels/paper.c:
1975 * libglabels/template.c:
1976 * libglabels/xml-paper.c:
1977 * libglabels/xml-template.c:
1981 * src/glabels-batch.c:
1985 * src/merge-properties-dialog.c:
1987 * src/object-editor.c:
1988 * src/prefs-dialog.c:
1990 * src/print-dialog.c:
1993 * src/template-designer.c:
1994 * src/ui-property-bar.c:
1996 * src/view-barcode.c:
1998 * src/view-ellipse.c:
2003 * src/wdgt-image-select.c:
2004 * src/wdgt-media-select.c:
2005 * src/wdgt-print-copies.c:
2006 * src/wdgt-print-merge.c:
2007 * src/wdgt-rotate-label.c:
2009 * src/xml-label-04.c:
2010 * src/xml-label-191.c:
2012 Added '#include <glib/gi18n.h>" where needed.
2013 Removed any unused '#include <gnome.h>"s.
2015 2005-03-22 Jim Evins <evins@snaught.com>
2017 * src/commands.c: (activate_url), (gl_cmd_help_about):
2018 Replaced GnomeAbout with GtkAboutDialog. Therefore the
2019 development version of glabels now depends on GTK 2.6 and
2022 Updated library dependencies.
2024 2005-02-28 Jim Evins <evins@snaught.com>
2027 * data/templates/misc-iso-templates.xml:
2028 Added 'Ednet 45021' template provided by Ali Akcaagac
2031 2005-02-14 Jim Evins <evins@snaught.com>
2033 * data/templates/avery-us-templates.xml:
2034 Updated templates to use inches instead of points.
2035 * src/print-dialog.c: (printer_page_new):
2036 Changed packing style when adding printer selector widget. This fixes
2039 2005-02-13 Jim Evins <evins@snaught.com>
2043 Updated spanish translations. (sergio rivadero)
2045 2005-02-05 Jim Evins <evins@snaught.com>
2047 Some cleanup to libglabels.
2050 Updated version to 2.1.1cvs. Added generation of libglabels.pc.
2051 * libglabels/libglabels.pc.in
2053 * libglabels/enums.h
2054 Created. Currently only contains glUnitsType which provides enumerations
2055 for all possible units of distance.
2056 * libglabels/Makefile.am:
2057 Incorporated new files enums.h and libglabels.pc[.in].
2058 * libglabels/libglabels.h:
2060 * libglabels/template.h:
2061 * libglabels/template.c: (gl_template_layout_new):
2062 Changed parameters nx and ny to gint from gdouble.
2064 * libglabels/xml.c: (gl_xml_get_prop_length),
2065 (gl_xml_set_prop_length), (gl_xml_set_default_units):
2066 Added support for different output units.
2067 * src/prefs-dialog.c: (update_locale_page_from_prefs),
2068 (update_prefs_from_locale_page):
2069 * src/prefs-model.c: (string_to_units), (units_to_string):
2070 * src/prefs-model.h:
2071 * src/prefs.c: (gl_prefs_get_units_per_point),
2072 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
2073 (gl_prefs_get_units_string):
2075 * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
2076 Reconciled all length enumerations with the new enumerations provided
2077 in libglabels/enums.h.
2079 2005-02-03 Jim Evins <evins@snaught.com>
2082 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
2084 Updated Italian translations. (Daniele Medri)
2086 Updated credits to reflect above translations.
2089 2005-01-22 Jim Evins <evins@snaught.com>
2094 Added MESSAGE-OF-DOOM to EXTRA_DIST.
2096 Final prep for 2.1.0.
2098 Set version to 2.1.0. Output MESSAGE-OF-DOOM.
2100 Added '--remove-original' flag to desktop-file-install, so that there is
2101 only one menu entry.
2103 2005-01-20 Jim Evins <evins@snaught.com>
2105 * data/glade/object-editor.glade:
2106 - Font family entry should not be editable.
2107 - img_key_entry should have sensitivity=YES, so that it follows the
2108 sensitivity of img_key_combo.
2110 2005-01-19 Jim Evins <evins@snaught.com>
2113 Give credit to Frederic Ruaudel for the color merge patches.
2115 2005-01-18 Frederic Ruaudel <grumz@users.sf.net>
2117 Add support to merge color for all other color attribute (Feature
2118 Requests item #1008635. If the data is invalid, the color used is transparent
2119 (GL_COLOR_NONE). The format for color in merge data file are those accepted
2120 by gdk_color_parse() these include name for a color from rgb.txt, such as
2121 DarkSlateGray, or a hex specification such as #305050. File format has been
2122 changed but backward compatibility is preserved for all format. For
2123 box/ellipse/line, keep attribute "line_color" for static color or replace by
2124 "line_color_field" for merge data. For text/barcode objects, keep attribute
2125 "color" for static color or replace by "color_field" for merge data. In the
2126 edit canvas window, merged color are represented by half-transparent black
2129 * data/dtd/glabels-2.0.dtd:
2130 Added line_color_field to line_attrs. Added color_field to
2131 Object-barcode and Span.
2132 * data/glade/object-editor.glade:
2133 Modify the layout of the editor to add merge possibility to color options
2135 Fix a copy/paste error in a comment
2137 Add default color for merge color representation in the editor canvas.
2138 * src/label-barcode.c:
2139 * src/object-editor-bc-page.c:
2140 * src/view-barcode.c:
2141 Add merge color support for barcode color.
2144 Add merge color support for box border color.
2145 * src/label-ellipse.c:
2146 * src/view-ellipse.c:
2147 Add merge color support for ellipse border color.
2150 Add merge color support for line color.
2151 * src/label-object.c:
2152 * src/label-object.h:
2153 * src/object-editor.c:
2154 * src/object-editor.h:
2155 * src/ui-property-bar.c:
2158 * src/xml-label-04.c:
2159 * src/xml-label-191.c:
2160 Add support for merging to other color attribute.
2162 * src/object-editor-text-page.c:
2164 Add merge color support for text color.
2165 * src/object-editor-fill-page.c:
2166 Change a blocked handler that didn't match the good widget. Fix the type
2167 of some debug message.
2168 * src/object-editor-line-page.c:
2169 Add merging support to line color option.
2170 * src/object-editor-private.h:
2171 Add variables for new widget.
2173 Modify the draw functions to get merge data if needed.
2175 Change the default size of the window in order to see all widget in the
2176 "text style tab" of the editor.
2178 Modify the parser to record/retreive the field value for objects that need
2179 "color" attribute. For box/ellipse/line, keep attribute "line_color" for
2180 static color or replace by "line_color_field" for merge data. For
2181 text/barcode objects, keep attribute "color" for static color or replace
2182 by "color_field" for merge data.
2184 2005-01-17 Jim Evins <evins@snaught.com>
2186 * src/view.c: (screen_changed_cb):
2187 Don't do anything if we don't have a screen.
2189 2005-01-06 Jim Evins <evins@snaught.com>
2191 * src/view.c: (get_home_scale):
2192 Fixed bad call to gtk_widget_has_screen() -- huh?.
2194 2005-01-06 Jim Evins <evins@snaught.com>
2196 * data/dtd/glabels-2.0.dtd:
2197 Added fill_color_field to fill_attrs. Also added xmlns attribute to all
2200 2005-01-06 Jim Evins <evins@snaught.com>
2202 * data/glade/object-editor.glade:
2203 Set entries for fill and data field key dropdowns to NOT editable.
2204 * src/view-box.c: (construct_properties_editor):
2205 * src/view-ellipse.c: (construct_properties_editor):
2206 Update object editor when label's merge property has changed.
2207 * src/xml-label.c: (xml_parse_object_ellipse):
2208 Completed the merge color support for the ellipse item.
2210 2005-01-06 Frederic Ruaudel <grumz@users.sf.net>
2212 Add support to merge color for object that have a "Fill color" attribute (Feature
2213 Requests item #1008635. If the data is invalid, the color used is transparent
2214 (GL_COLOR_NONE). The format for color in merge data file are those accepted
2215 by gdk_color_parse() these include name for a color from rgb.txt, such as
2216 DarkSlateGray, or a hex specification such as #305050. File format has been
2217 changed but backward compatibility is preserved for all format. For box/ellipse,
2218 keep attribute "fill_color" for static color or replace by "fill_color_field"
2221 * data/glade/object-editor.glade:
2222 Modify "Fill" tab to add the merge key combo and convert the labels into
2226 Add "glColorNode" structure and associated functions to manage it. This
2227 structure is equivalent for color than the "glTextNode". It holds the color
2229 * src/label-object.h:
2230 * src/label-object.c:
2232 * src/label-ellipse.c:
2233 * src/ui-property-bar.c:
2237 * src/view-ellipse.c:
2238 * src/xml-label-04.c:
2239 * src/xml-label-191.c:
2240 Change functions of objects that have a "fill color" attribute to use the
2241 new "glColorNode" structure. Use barcode code as example.
2243 Add the color.[ch] file to glabels_batch binary that now need support for
2245 * src/object-editor.h:
2246 * src/object-editor.c:
2247 * src/object-editor-fill-page.c:
2248 Manage the new widget of the editor's "Fill" tab : key combo and radio button
2249 to choose between static color or merge key. Use barcode code as example.
2250 * src/object-editor-private.h:
2251 Add new widget in the "_glObjectEditorPrivate" structure.
2253 Modify the draw functions to get merge data if needed.
2255 Modify the parser to record/retreive the field value for objects that need
2256 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
2257 color or "fill_color_field" for merge data.
2259 2005-01-04 Jim Evins <evins@snaught.com>
2262 * data/templates/avery-iso-templates.xml:
2263 * data/templates/misc-iso-templates.xml:
2264 * data/templates/misc-us-templates.xml:
2265 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
2268 2004-11-26 Jim Evins <evins@snaught.com>
2272 Updated french translations provided by Florent Morel <florent@taket.org>.
2273 * src/view-barcode.c:
2275 * src/view-ellipse.c:
2279 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
2280 thus _() strings were not being translated.
2282 2004-11-14 Jim Evins <evins@snaught.com>
2285 * src/debug.c: (gl_debug_init), (gl_debug):
2286 Borrowed from gedit: use environmental variables to select debug
2289 Removed unused include of debug.h.
2290 * src/glabels.c: (main):
2291 Added call to gl_debug_init(), and removed debug clutter from command line
2293 * src/glabels-batch.c: (main):
2294 Added call to gl_debug_init().
2296 2004-11-13 Jim Evins <evins@snaught.com>
2298 Drawing and property toolbars were being initialized with the "icons and text"
2299 look in Fedora Core 3. Even though none of the buttons had any text attached to
2300 them, the buttons were being sized as if they were. This led to less real estate
2301 for the property editor, leading to Bug #1064630. The
2303 * data/ui/glabels-ui.xml:
2304 Added explicit "look" property to both drawing and property toolbars.
2305 * src/prefs-model.c: (gl_prefs_model_save_settings),
2306 (gl_prefs_model_load_settings):
2307 * src/prefs-model.h:
2308 Removed drawing_toolbar_button_style configuration parameter.
2309 * src/ui.c: (view_menu_item_toggled_cb),
2310 (set_app_drawing_toolbar_style):
2311 Do not attempt to adjust look property of the drawing toolbar.
2313 2004-10-28 Jim Evins <evins@snaught.com>
2315 * data/pixmaps/glabels-about-logo.png:
2318 2004-10-28 Jim Evins <evins@snaught.com>
2320 * data/man/glabels.1:
2321 * src/glabels-batch.c: (main):
2323 * src/print.c: (gl_print_batch):
2325 Added option to glabels-batch to select the first label to begin
2328 2004-09-26 Jim Evins <evins@snaught.com>
2330 * data/desktop/glabels.desktop.in:
2331 Point to app icon, "glabels.png"
2332 * data/mime/glabels.keys.in:
2333 Point at mime icon, "glabels-application-x-glabels.png"
2334 * data/pixmaps/Makefile.am:
2335 Added glabels_app_icondir. Renamed icons.
2336 * data/pixmaps/glabels.png:
2337 New cleaned up app icon. Deleted glabels-icon.png.
2338 * data/pixmaps/glabels-application-x-glabels.png:
2340 * data/pixmaps/glabels-splash.png:
2341 Renamed glabels-logo to glabels-splash to be more correct about role.
2343 * src/template-designer.c:
2344 Point at app icon, "glabels.png"
2346 Point at renamed splash image, "glabels-splash.png"
2348 2004-08-22 Jim Evins <evins@snaught.com>
2351 * src/glabels-batch.c: (main):
2352 Applied patch with minor mods to allow selecting merge source and
2353 crop-marks on glabels-batch's command line. Original patch provided by
2354 José Dapena Paz <jdapena@igalia.com>.
2356 2004-08-15 Jim Evins <evins@snaught.com>
2358 * data/desktop/glabels.desktop.in:
2359 - Added encoding line
2360 - Removed period from comment
2361 - Fixed Terminal line, changed "0" to "false"
2362 - Added semicolen to Categories line
2364 - Made sure desktop.in comment string above still translated properly
2366 2004-08-14 Jim Evins <evins@snaught.com>
2368 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
2369 * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
2370 * src/xml-label-191.c: (xml191_parse_sheet):
2371 Fixed improper freeing of gettext strings. Merged from 2.0.1.
2373 Reconciled libglabels versioning with 2.0.1.
2376 2004-08-14 Jim Evins <evins@snaught.com>
2379 Updated version to 2.1cvs.
2381 2004-08-14 Jim Evins <evins@snaught.com>
2384 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
2386 2004-08-14 Jim Evins <evins@snaught.com>
2388 Fixes for Bug #1008181.
2390 * src/bc.c: (gl_barcode_default_digits):
2391 Make a format of zero digits, harmless.
2392 * src/xml-label.c: (xml_parse_object_barcode):
2393 Set default value of the format property of barcode objects to 10, not
2394 zero. This will prevent crashes when reading pre 2.0.x files.
2396 2004-08-09 Jim Evins <evins@snaught.com>
2400 * help/C/glabels-C.omf:
2401 * help/C/glabels.xml:
2402 Brought documentation up-to-date for 2.0.0 release.
2404 2004-08-09 Jim Evins <evins@snaught.com>
2406 These are hopefully the final preparations for 2.0.0.
2408 * data/mime/Makefile.am:
2409 Include glabels.xml in EXTRA_DIST.
2411 - Updated comment style.
2412 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
2413 - Added package and version info to configuration printout
2414 - Update version to 2.0.0
2415 * libglabels/Makefile.am:
2416 Use the new LIBGLABELS_VERSION_INFO macro.
2418 2004-08-09 Jim Evins <evins@snaught.com>
2422 Cleanup of required library macros.
2424 2004-08-08 Jim Evins <evins@snaught.com>
2428 - More specific of what to install in /usr/bin and /usr/lib
2429 - Remove built mime registration files from staging directory
2431 2004-08-08 Jim Evins <evins@snaught.com>
2433 * data/mime/Makefile.am:
2434 Fixed typo: key_files should have been keys_files.
2436 2004-08-08 Jim Evins <evins@snaught.com>
2438 Reorganization of runtime data files. Also added registration of mimetype with
2439 new freedesktop.org mime database if available.
2442 Moved files to appropriate subdirectories, creating local Makefile.am
2443 in each subdirectory.
2444 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
2445 These are now installed at $datadir/glabels/templates.
2446 - Moved glabels.1 to man subdirectory.
2447 - Moved glabels-2.0.dtd to dtd subdirectory.
2448 - Moved glabels.desktop.in to desktop subdirectory.
2449 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
2451 Moved "./pixmaps" to "./data/pixmaps"
2453 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
2455 Moved libglade files from src to data/glade. Created Makefile.am.
2457 Removed pixmaps from SUBDIRS.
2459 - Removed pixmaps from makefiles.
2460 - Added makefiles for new subdirs of data.
2461 - Added tests for freedesktop.org mime database.
2463 - Added tests for freedesktop.org mime database for post install and
2464 post un-install actions.
2465 * libglabels/Makefile.am:
2466 Moved system template files to $(datadir)/glabels/templates.
2467 * libglabels/libglabels-private.h:
2468 Moved system template files to $(datadir)/glabels/templates.
2470 - Accounted for movement of ui and libglade files.
2471 - Added missing .in files.
2472 - Reorganized by directory.
2474 Accounted for movement of ui and libglade files.
2475 * data/mime/glabels.xml.in:
2476 New file for registering with freedesktop.org mime database.
2478 2004-08-07 Jim Evins <evins@snaught.com>
2480 * src/recent-files/*:
2481 Re-synced to latest libegg/recent-files.
2483 2004-08-07 Jim Evins <evins@snaught.com>
2488 Renamed "./doc" directory to "./help" which contains user documentation,
2489 to be more consistent with other GNOME applications.
2492 2004-07-26 Jim Evins <evins@snaught.com>
2494 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
2495 Corrected button order of merge properties dialog.
2497 2004-07-18 Jim Evins <evins@snaught.com>
2499 * data/glabels-2.0.dtd:
2500 * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
2501 (gl_barcode_get_prefered_n):
2503 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
2504 (gl_label_barcode_get_props), (get_size):
2505 * src/label-barcode.h:
2506 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
2507 (style_changed_cb), (gl_object_editor_set_bc_style),
2508 (gl_object_editor_get_bc_style):
2509 * src/object-editor-data-page.c: (data_radio_toggled_cb),
2510 (gl_object_editor_set_data), (gl_object_editor_get_data):
2511 * src/object-editor-private.h:
2512 * src/object-editor.c: (gl_object_editor_set_key_names):
2513 * src/object-editor.glade:
2514 * src/object-editor.h:
2515 * src/print.c: (draw_barcode_object):
2516 * src/view-barcode.c: (update_object_from_editor_cb),
2517 (update_editor_from_object_cb),
2518 (gl_view_barcode_create_event_handler), (draw_barcode):
2519 * src/xml-label-04.c: (xml04_parse_barcode_props):
2520 * src/xml-label-191.c: (xml191_parse_barcode_props):
2521 * src/xml-label.c: (xml_parse_object_barcode),
2522 (xml_create_object_barcode):
2523 Added "format" attribute to barcode objects. This attribute is used
2524 to properly format freeform barcodes barcodes prior to merge data is
2525 applied, so that barcodes can be accurately layed out. This addresses
2526 remaining issues of feature request #824787. Also added an example of
2527 the format in the object editor.
2529 2004-07-12 Jim Evins <evins@snaught.com>
2531 Various code cleanups.
2533 * src/label-barcode.c:
2534 Removed unneeded include of gnome-glyphlist.h.
2536 * src/label-text.c: (get_size):
2537 Fixed memory leak: unref glyphlists when done with them.
2539 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
2540 * src/object-editor-data-page.c:
2541 (gl_object_editor_prepare_data_page):
2542 * src/object-editor-image-page.c:
2543 (gl_object_editor_prepare_image_page):
2544 * src/object-editor-line-page.c:
2545 (gl_object_editor_prepare_line_page):
2546 * src/object-editor-lsize-page.c:
2547 (gl_object_editor_prepare_lsize_page):
2548 * src/object-editor-position-page.c:
2549 (gl_object_editor_prepare_position_page):
2550 * src/object-editor-size-page.c:
2551 (gl_object_editor_prepare_size_page):
2552 * src/object-editor-text-page.c:
2553 (gl_object_editor_prepare_text_page):
2554 Removed unneeded size groups, originally intended to keep widgets aligned.
2555 Now use tables to lay these out in object-editor.glade.
2557 * src/print.c: (draw_text_object):
2558 Fixed memory leak: unref glyphlists when done with them.
2560 * src/view-barcode.c: (draw_barcode):
2561 Fixed memory leak: unref glyphlists when done with them.
2563 * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
2564 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
2566 - Fixed memory leak: unref glyphlists when done with them.
2568 2004-07-11 Jim Evins <evins@snaught.com>
2570 * data/glabels-2.0.dtd:
2571 * src/label-text.c: (gl_label_text_instance_init), (copy),
2572 (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
2574 * src/object-editor-private.h:
2575 * src/object-editor-text-page.c:
2576 (gl_object_editor_prepare_text_page),
2577 (gl_object_editor_set_text_auto_shrink),
2578 (gl_object_editor_get_text_auto_shrink):
2579 * src/object-editor.c: (gl_object_editor_set_key_names):
2580 * src/object-editor.glade:
2581 * src/object-editor.h:
2582 * src/print.c: (draw_text_object):
2583 * src/view-text.c: (update_object_from_editor_cb),
2584 (update_editor_from_object_cb):
2585 * src/xml-label.c: (xml_parse_object_text),
2586 (xml_create_object_text):
2587 Added option to allow document merge to auto shrink text size to fit
2588 within the text box. The code in print.c that actually shrinks the
2589 text is loosely based on a patch submitted by Mark Harrison
2590 <mark.harrison@velocitynet.com.au>. This addresses feature request
2593 2004-07-11 Jim Evins <evins@snaught.com>
2595 * data/glabels-2.0.dtd:
2596 * libglabels/template.c: (gl_template_rect_label_type_new),
2597 (gl_template_round_label_type_new),
2598 (gl_template_cd_label_type_new), (gl_template_label_type_dup),
2599 (template_full_page):
2600 * libglabels/template.h:
2601 * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
2602 (xml_create_label_node):
2603 * pixmaps/ex-rect-size.png:
2604 * src/print.c: (clip_to_outline), (clip_punchouts):
2605 * src/template-designer.c: (construct_rect_size_page),
2606 (rect_size_page_prepare_cb), (layout_page_prepare_cb),
2608 * src/template-designer.glade:
2609 * src/xml-label-191.c: (xml191_parse_label):
2610 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
2611 properties for rectangular labels. Templates remain backwards compatible,
2612 but this breaks the libglabels API (I don't know of anyone outside of
2613 glabels using libglabels at this time -- what can I say, the program is
2614 is still "unstable"). This addresses the suggestion in Feature Request
2617 2004-07-05 Jim Evins <evins@snaught.com>
2618 * src/print.c: (print_crop_marks), (draw_outline):
2619 Changed crop marks and label outlines to black, instead of 25% gray.
2620 This addresses debian Bug #257460.
2622 2004-07-05 Jim Evins <evins@snaught.com>
2624 * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
2625 * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
2626 Preserve "is_default" of fill and line color_combos when creating from
2629 2004-07-02 Jim Evins <evins@snaught.com>
2632 Created man page. Based on page submitted by Matthew J. Lockner, however
2633 it has been severely edited.
2635 * data/avery-other-templates.xml
2636 * data/misc-other-templates.xml:
2637 Started new files for predefined templates with non-standard sheet sizes.
2638 These have been initially populated with the Avery 06141 and
2639 OfficeMax #86112, both provided by Matthew J. Lockner.
2642 Install above manpage and template files.
2645 Make sure we install man pages.
2647 * src/glabels-batch.c:
2648 Changed short form of help option to '-?' to be consistent with glabels.
2651 Added acknowledgement for above labels.
2653 2004-07-02 Jim Evins <evins@snaught.com>
2655 * src/glabels.c: (main), (save_session_cb):
2656 - Now include libbonoboui.h, recent.h, and file.h to provide missing
2658 - save_session_cb() now returns gboolean.
2659 - Minor formatting changes.
2663 - Now include file.h to provide missing prototype.
2664 - gl_window_get_type() now returns GType, not guint. I believe this may
2665 ultimately be cause of the segfault reported in Bug #982287, since
2666 GType is actually a gulong, which may not be compatible on other
2667 architectures (64bit) -- I cannot personally test this at this time.
2668 I was sloppy in several other xxx_get_type() functions which also
2669 returned guint -- see next group of files:
2671 * src/window.c: (gl_window_get_type):
2672 * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
2673 * src/canvas-hacktext.h:
2674 * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
2675 (gl_hig_category_get_type), (gl_hig_vbox_get_type),
2676 (gl_hig_hbox_get_type):
2678 * src/label-barcode.c: (gl_label_barcode_get_type):
2679 * src/label-barcode.h:
2680 * src/label-box.c: (gl_label_box_get_type):
2682 * src/label-ellipse.c: (gl_label_ellipse_get_type):
2683 * src/label-ellipse.h:
2684 * src/label-image.c: (gl_label_image_get_type):
2685 * src/label-image.h:
2686 * src/label-line.c: (gl_label_line_get_type):
2688 * src/label-object.c: (gl_label_object_get_type):
2689 * src/label-object.h:
2690 * src/label-text.c: (gl_label_text_get_type):
2692 * src/label.c: (gl_label_get_type):
2694 * src/merge-properties-dialog.c:
2695 (gl_merge_properties_dialog_get_type):
2696 * src/merge-properties-dialog.h:
2697 * src/merge-text.c: (gl_merge_text_get_type):
2699 * src/merge.c: (gl_merge_get_type):
2701 * src/object-editor.c: (gl_object_editor_get_type):
2702 * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
2703 * src/prefs-dialog.h:
2704 * src/prefs-model.c: (gl_prefs_model_get_type):
2705 * src/prefs-model.h:
2706 * src/print-dialog.c: (gl_print_dialog_get_type):
2707 * src/print-dialog.h:
2708 * src/template-designer.c: (gl_template_designer_get_type):
2709 * src/template-designer.h:
2710 * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
2711 * src/ui-property-bar.h:
2712 * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
2714 * src/view-barcode.c: (gl_view_barcode_get_type):
2715 * src/view-barcode.h:
2716 * src/view-box.c: (gl_view_box_get_type):
2718 * src/view-ellipse.c: (gl_view_ellipse_get_type):
2719 * src/view-ellipse.h:
2720 * src/view-highlight.c: (gl_view_highlight_get_type):
2721 * src/view-highlight.h:
2722 * src/view-image.c: (gl_view_image_get_type):
2724 * src/view-line.c: (gl_view_line_get_type):
2726 * src/view-object.c: (gl_view_object_get_type):
2727 * src/view-object.h:
2728 * src/view-text.c: (gl_view_text_get_type):
2730 * src/view.c: (gl_view_get_type):
2732 * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
2733 * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
2734 * src/wdgt-image-select.h:
2735 * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
2736 * src/wdgt-media-select.h:
2737 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
2738 * src/wdgt-mini-preview.h:
2739 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
2740 * src/wdgt-print-copies.h:
2741 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
2742 * src/wdgt-print-merge.h:
2743 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
2744 * src/wdgt-rotate-label.h:
2745 - Made sure all xxx_get_type functions returned GType, not guint. This
2746 was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
2747 ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
2748 wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
2749 wdt-print-merge.[ch], and wdgt-rotate-label.[ch]. See separate
2750 window.[ch] details above for more info.
2751 - Reconciled various coding style differences in all xxx_get_type()
2753 * All prototypes include G_GNUC_CONST.
2754 * All prototypes specify the return value as GType, not GtkType
2756 * Info structures are all declared as "static const."
2757 * Generalized the names of type and info variables.
2758 * Miscelaneous formatting.
2760 2004-06-08 Jim Evins <evins@snaught.com>
2766 Don't touch compression of original file -- still defaults to 9 for
2767 new files. Original patch provided by Javier Donaire Segarra
2768 (#912252 in patch tracker).
2770 2004-05-05 Jim Evins <evins@snaught.com>
2772 * data/glabels-2.0.dtd:
2773 Broke DTD previously when adding new barcode types that contain a
2774 plus sign (+). Simply changed the BC_STYLE_TYPE entity to "CDATA"
2775 to avoid the problem.
2776 * data/avery-iso-templates.xml:
2777 * data/zweckform-iso-templates.xml:
2779 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021. Templates
2780 provided by Frank Altpeter.
2781 * libglabels/xml-template.c: (xml_create_label_node):
2782 Reordered markup and layout sub-nodes so that resulting templates will
2783 validate against DTD.
2785 2004-03-13 Jim Evins <evins@snaught.com>
2787 * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
2788 Changed spin callback signals from "value-changed" back to "changed."
2789 This was accidentally introduced in a previous revision, and can cause
2790 size changes just by selecting the size tab.
2792 2004-03-06 Jim Evins <evins@snaught.com>
2794 * src/view.c: (draw_grid_layer):
2795 For round labels (round and cd) adjust grid so that it lines up with
2796 center of label. Also, no longer draw box around label in the grid layer,
2797 it is hidden by he fg layer anyway. Feature suggested by
2798 nemolivier@free.fr. Although the grid is aligned with the center of the
2799 label, the coordinate system is still relative to the upper left corner
2800 of the rectangle containing the label.
2802 2004-02-25 Jim Evins <evins@snaught.com>
2805 Changed version to 2.0pre1cvs
2807 * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
2808 Removed extra xmlFreeDoc() calls upon error. Also print the doc->URL
2809 instead of doc->name fields when errors encountered.
2811 2004-02-21 Jim Evins <evins@snaught.com>
2813 * data/avery-iso-templates.xml:
2814 Added aliases for Avery 8651. Patch provided by Wayne Schuller.
2817 Added libglabels library and include file to installed files.
2820 Final prep for 1.93.3.
2822 2004-02-20 Jim Evins <evins@snaught.com>
2824 * src/glabels-batch.c: (main):
2825 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
2826 as suggested by Javier Donaire Segarra. This addresses bug #901063.
2828 2004-02-16 Jim Evins <evins@snaught.com>
2831 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
2834 Added HAVE_FILE_CHOOSER to INCLUDES.
2836 * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
2837 (gl_file_save_as), (save_as_response):
2838 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
2840 2004-02-16 Jim Evins <evins@snaught.com>
2842 * src/xml-label-04.c: (xml04_parse_image_props):
2843 * src/xml-label-191.c: (xml191_parse_image_props):
2844 * src/xml-label.c: (xml_parse_object_image):
2845 Delay setting image size until after image has been applied to new
2848 2004-02-15 Jim Evins <evins@snaught.com>
2850 * src/label-barcode.c: (gl_label_barcode_set_data),
2851 (gl_label_barcode_set_props):
2852 Don't emit "changed" signal, if no change actually made for these
2853 methods. Reduces number of unnecessary redraws of barcodes.
2855 * src/label-object.h:
2856 * src/label-object.c: (gl_label_object_set_position),
2857 (gl_label_object_set_position_relative), (set_size),
2858 (gl_label_object_set_size),
2859 (gl_label_object_set_size_honor_aspect):
2860 Don't emit "changed" signal, if no change actually made for these
2863 2004-02-15 Jim Evins <evins@snaught.com>
2865 * data/glabels-2.0.dtd:
2866 Added specific subtypes for various barcode types.
2869 * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
2870 (gl_barcode_get_styles_list), (gl_barcode_default_digits),
2871 (gl_barcode_can_text), (gl_barcode_text_optional),
2872 (gl_barcode_can_csum), (gl_barcode_csum_optional),
2873 (gl_barcode_id_to_name), (gl_barcode_name_to_id):
2874 Changed API to use a string id, rather than a fixed enumeration. Id and
2875 name are separate strings. Added entries to backend table for specific
2876 subtypes for various barcode types.
2879 * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
2881 Modified to conform to above API. Now more stringent with data length
2882 for various subtypes.
2884 * src/bc-gnubarcode.h:
2885 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
2886 (is_length_valid), (is_length1_valid), (is_length2_valid):
2887 Modified to conform to above API. Now more stringent with data length
2888 for various subtypes.
2890 * src/label-barcode.h:
2891 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
2892 (gl_label_barcode_get_props), (get_size):
2893 Modified to use above API for storing barcode type.
2895 * src/object-editor.h:
2896 * src/object-editor-bc-page.c: (style_changed_cb),
2897 (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
2898 Modified to use above API for storing barcode type.
2900 * src/object-editor-size-page.c:
2901 (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
2902 (w_spin_cb), (h_spin_cb), (size_reset_cb):
2903 Added debug markers.
2905 * src/object-editor.glade:
2906 Made barcode style combo's text entry non-editable.
2908 * src/print.c: (draw_barcode_object):
2909 Modified to use above API for barcode type.
2911 * src/view-barcode.c: (update_object_from_editor_cb),
2912 (update_editor_from_object_cb),
2913 (gl_view_barcode_create_event_handler), (draw_barcode):
2914 Modified to use above API for barcode type.
2916 * src/xml-label-04.c: (xml04_parse_barcode_props):
2917 * src/xml-label-191.c: (xml191_parse_barcode_props):
2918 * src/xml-label.c: (xml_parse_object_barcode),
2919 (xml_create_object_barcode):
2920 Modified to use above API for barcode type.
2922 2004-02-07 Jim Evins <evins@snaught.com>
2924 * src/stock-pixmaps/Makefile.am:
2925 * src/stock-pixmaps/stock_hchain_24.png:
2926 * src/stock-pixmaps/stock_hchain_broken_24.png:
2927 * src/stock-pixmaps/stock_vchain_24.png:
2928 * src/stock-pixmaps/stock_vchain_broken_24.png:
2929 Added chain pixmaps borrowed from the gimp's default theme.
2932 * src/stock.c: (gl_stock_init), (add_button_icon):
2933 Added above pixmaps to stock icon sets. Created add_button_icon() to
2934 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
2936 * src/wdgt-chain-button.h
2937 * src/wdgt-chain-button.c
2940 Added this Modified version of gimpchainbutton widget, borrowed from
2944 Added acknowledgements of the above borrowing from the gimp.
2946 * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
2948 * src/object-editor.c: (gl_object_editor_construct_chain_button):
2949 * src/object-editor.glade:
2950 Replaced the keep aspect ratio check box with the above chain-button
2953 * src/text-node.c: (gl_text_node_equal):
2955 Added function gl_text_node_equal() to compare text_nodes.
2957 * src/label-image.c: (gl_label_image_set_filename):
2958 Replaced incomplete text_node comparison code with invocation of
2959 gl_text_node_equal. This fixed the problem of not being able to
2960 resize an image using the object_editor if the aspect ratio is not
2963 2004-02-04 Jim Evins <evins@snaught.com>
2965 * src/object-editor-image-page.c:
2966 (gl_object_editor_prepare_image_page):
2967 Track "changed" signal of pixmap entry's GtkEntry rather than its
2968 "activate" signal -- this catches all changes to the entry rather than
2969 just changes resulting from a browse, so one can easily pull previous
2970 entries from the history. (This change is marked below on 2004-02-03,
2971 but somehow never got checked in.)
2973 * src/view-highlight.c: (sl_resize_event_handler),
2974 (sr_resize_event_handler), (st_resize_event_handler),
2975 (sb_resize_event_handler):
2976 Side resize handles will now confirm the actual resize that the object
2977 accepted before adjusting position parameters. Previously some interesting
2978 things happened when resizing a barcode to its minimum size.
2980 2004-02-03 Jim Evins <evins@snaught.com>
2982 * src/object-editor-image-page.c:
2983 (gl_object_editor_prepare_image_page):
2984 Track "changed" signal of pixmap entry's GtkEntry rather than its
2985 "activate" signal -- this catches all changes to the entry rather than
2986 just changes resulting from a browse, so one can easily pull previous
2987 entries from the history.
2989 * src/view-highlight.c: (tl_resize_event_handler),
2990 (tr_resize_event_handler), (bl_resize_event_handler),
2991 (br_resize_event_handler):
2992 Allow control key to be dropped while dragging a corner resize handle
2993 without losing the aspect ratio lock.
2995 2004-02-02 Jim Evins <evins@snaught.com>
2997 * src/label-image.c: (gl_label_image_set_filename):
2998 When setting a new filename adjust size such that the aspect ratio of
2999 the image is preserved using the current size as a bounding box.
3001 * src/view-image.c: (update_object_from_editor_cb):
3002 When updating object from editor, feed back possible size changes to
3003 editor as a result of a possible change in image.
3005 * src/object-editor-size-page.c: (size_reset_cb):
3006 Fixed typo when blocking spin handlers. If the base size is larger than
3007 the max size, treat max size as a bounding box while keeping aspect
3011 2004-02-02 Jim Evins <evins@snaught.com>
3013 * src/label-object.h:
3014 * src/label-object.c: (gl_label_object_set_size),
3015 (gl_label_object_set_size_honor_aspect):
3016 Added gl_label_object_set_size_honor_aspect() which will maintain the
3017 current aspect ratio by modifying the supplied w or h apropriately.
3019 * src/view-highlight.c: (tl_resize_event_handler),
3020 (tr_resize_event_handler), (bl_resize_event_handler),
3021 (br_resize_event_handler):
3022 Corner handles will now maintain the current aspect ratio if the
3023 control key is pressed while resizing. This addresses feature
3027 2004-01-31 Jim Evins <evins@snaught.com>
3030 * data/avery-us-templates.xml:
3031 Added entries for "LSK-3," "LSK-5," and "LSK-8." Submitted by JBadger.
3033 * libglabels/template.c: (read_template_files_from_dir):
3034 Corrected problem with testing for extensions.
3036 * src/object-editor.glade:
3037 Corrected grouping of radio buttons in barcode data page.
3039 * src/print.c: (draw_barcode_object):
3040 * src/view-barcode.c: (draw_barcode):
3041 Corrected problem with calculation of y_offset for locating characters.
3043 2004-01-24 Jim Evins <evins@snaught.com>
3046 * data/avery-us-templates.xml:
3047 Added Avery 5824, submitted by Fred Bacon.
3049 2004-01-20 Jim Evins <evins@snaught.com>
3051 Catching up on a couple of backlogged user template submissions.
3053 * data/avery-iso-templates.xml:
3054 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
3055 Suggested by Linas Jakucionis.
3057 * data/zweckform-iso-templates.xml:
3058 Added Zweckform 4760, submitted by Thomas Vill.
3061 Updated to reflect above submissions.
3063 2004-01-06 Jim Evins <evins@snaught.com>
3065 Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
3066 xml.[ch] into a separate library called libglabels, to facilitate third
3067 party use of glabels template files. This was suggested by Wayne Schuller.
3068 Once split-out, some modifications to the structures and functions to
3069 make a cleaner more useful API, hopefully. Rather extensive changes have
3070 propogated to other modules.
3078 * src/xml-template.h:
3079 * src/xml-template.c:
3082 These files have been moved to libglabels/. API cleanup performed.
3084 * libglabels/libglabels.h:
3085 * libglabels/libglabels-private.h:
3086 * libglabels/Makefile.am:
3087 These files have been added to finish out libglabels.
3094 Modified to reflect new sets of files in src/ and libglabels/.
3096 * COPYING.LIBGLABELS:
3098 Added copy of the LGPL for libglabels, and a copy the GFDL for
3101 * src/glabels-batch.c:
3103 * src/label.c: (gl_label_finalize), (gl_label_set_template),
3104 (gl_label_get_size):
3106 * src/prefs-model.c: (gl_prefs_model_load_settings):
3107 * src/print-dialog.c:
3108 * src/print.c: (gl_print_simple), (gl_print_merge_collated),
3109 (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
3110 (print_crop_marks), (print_label), (draw_outline),
3111 (clip_to_outline), (clip_punchouts):
3112 * src/template-designer.c: (construct_pg_size_page),
3113 (pg_size_page_changed_cb), (layout_page_changed_cb),
3114 (print_test_cb), (build_template):
3115 * src/util.c: (gl_util_fraction):
3117 * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
3118 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
3119 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
3120 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
3121 (draw_markup_margin_round), (draw_markup_margin_cd),
3122 (draw_markup_margin_cd_bc), (draw_markup_line),
3123 (draw_markup_circle), (gl_view_copy):
3124 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
3125 (page_size_entry_changed_cb), (details_update), (get_layout_desc),
3126 (get_label_size_desc):
3127 * src/wdgt-mini-preview.c:
3128 (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
3130 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
3131 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
3132 * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
3133 (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
3134 * src/wdgt-rotate-label.h:
3135 * src/xml-label-04.c: (xml04_parse_media_description):
3136 * src/xml-label-191.c: (gl_xml_label_191_parse),
3137 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
3138 (xml191_parse_markup), (xml191_parse_alias):
3139 * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
3141 Various changes to accomodate new libglabels API.
3143 2004-01-03 Jim Evins <evins@snaught.com>
3148 2004-01-03 Jim Evins <evins@snaught.com>
3151 Added acknowledgement of contributions by Wayne Schuller.
3153 * src/commands.c: (gl_cmd_file_print):
3154 Create extra reference to print dialog, so that it can be properly re-used.
3156 * src/mygal/mygal-combo-box.h:
3157 * src/mygal/mygal-combo-box.c:
3158 (mygal_combo_box_popup_hide_unconditional),
3159 (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
3160 (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
3161 (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
3162 (mygal_combo_box_set_tearable):
3163 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
3164 complete the rename of this widget to prevent namespace collisions
3167 * src/prefs-dialog.glade:
3168 Fixed alignment of Fill/Color widgets.
3170 2004-01-03 Jim Evins <evins@snaught.com>
3172 * data/avery-iso-templates.xml:
3173 Added user submitted templates.
3174 Avery 8435A & 8435B, submitted by Ludger Solbach.
3176 * doc/C/glabels.xml:
3177 Added minimal documentation, noting the new template designer.
3179 2004-01-03 Jim Evins <evins@snaught.com>
3181 * pixmaps/ex-rect-size.png:
3182 * pixmaps/ex-round-size.png:
3183 * pixmaps/ex-cd-size.png:
3184 * pixmaps/Makefile.am:
3185 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
3186 files to be used as illustrations/examples in the template-designer.
3188 * src/template-designer.c: (construct_rect_size_page),
3189 (construct_round_size_page), (construct_cd_size_page),
3190 (construct_nlayouts_page), (rect_size_page_prepare_cb),
3191 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
3192 (layout_page_prepare_cb), (build_template):
3193 * src/template-designer.glade:
3194 Added illustrations for rectangle, round, and cd label size pages.
3195 Added margin spinboxes to these pages, and now add a margin markup
3196 to the constructed template. Added realistic default values for
3197 some of the size spinboxes. Cleaned up the code for setting spinbox
3198 ranges on the layouts page.
3200 2004-01-02 Jim Evins <evins@snaught.com>
3202 * src/object-editor-size-page.c: (h_spin_cb):
3203 Fixed cut-n-paste error in h_spin_cb that loaded h from
3204 the wrong spinbutton.
3206 * src/object-editor.h:
3207 * src/object-editor.c: (gl_object_editor_class_init),
3208 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
3209 * src/object-editor-private.h:
3210 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
3212 Added "size_changed" signal.
3214 * src/view-text.c: (construct_properties_editor),
3215 (update_object_from_editor_cb),
3216 (update_object_from_editor_size_cb):
3217 Track size changes from object editor separately from other
3218 properties. This is so the default size (0,0) of a text
3219 object is not modified unintentionally.
3221 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
3223 Added feature: line spacing - allows you to comfortably space a text box to
3224 fit a label perfectly.
3226 * data/glabels-2.0.dtd:
3227 * src/label-object.c: (gl_label_object_set_text_line_spacing),
3228 (gl_label_object_get_text_alignment),
3229 (gl_label_object_get_text_line_spacing):
3230 * src/label-object.h:
3231 * src/label-text.c: (gl_label_text_class_init),
3232 (gl_label_text_instance_init), (copy), (get_size),
3233 (set_text_line_spacing), (get_text_alignment),
3234 (get_text_line_spacing):
3235 * src/object-editor-private.h:
3236 * src/object-editor-text-page.c:
3237 (gl_object_editor_prepare_text_page),
3238 (gl_object_editor_set_text_line_spacing),
3239 (gl_object_editor_get_text_line_spacing):
3240 * src/object-editor.glade:
3241 * src/object-editor.h:
3242 * src/prefs-dialog.c: (construct_object_page),
3243 (update_object_page_from_prefs), (update_prefs_from_object_page):
3244 * src/prefs-dialog.glade:
3245 * src/prefs-model.c: (gl_prefs_model_save_settings),
3246 (gl_prefs_model_load_settings), (get_float):
3247 * src/prefs-model.h:
3248 * src/print.c: (draw_text_object):
3250 * src/view-text.c: (update_object_from_editor_cb),
3251 (update_editor_from_object_cb),
3252 (gl_view_text_create_event_handler), (draw_hacktext):
3253 * src/view.c: (gl_view_construct),
3254 (gl_view_set_selection_text_line_spacing),
3255 (gl_view_set_default_text_line_spacing),
3256 (gl_view_get_default_text_line_spacing):
3258 * src/xml-label.c: (xml_parse_toplevel_span),
3259 (xml_create_toplevel_span):
3261 2003-12-30 Jim Evins <evins@snaught.com>
3263 * src/template-designer.c:
3264 * src/template-designer.h:
3265 * src/template-designer.glade:
3266 New template designer assistant.
3270 Added entries for src/template-designer.* files.
3272 * pixmaps/ex-1layout.png
3273 * pixmaps/ex-2layouts.png
3274 * pixmaps/Makefile.am:
3275 Added the new image files ex-*.png used as illustrations in the
3276 template designer assistant.
3278 * src/print-dialog.h:
3279 * src/print-dialog.c: (gl_print_dialog_finalize),
3280 (gl_print_dialog_new), (gl_print_dialog_construct),
3281 (gl_print_dialog_force_outline_flag):
3282 Changed first argument of gl_print_dialog_new() from glView to glLabel,
3283 to support printing from the template designer assistant which does not
3284 have a full-fledged view. Nothing else from the view object was being
3285 used by the dialog anyway.
3287 Added the gl_print_dialog_force_outline_flag() method, for better
3288 integration with the template designer assistant.
3292 * src/commands.c: (gl_cmd_file_template_designer),
3293 (gl_cmd_file_print):
3294 Modified print command to provide label instead of view to dialog.
3295 Added the gl_cmd_file_template_designer() command to invoke the
3296 template designer assistant.
3299 * src/glabels-ui.xml:
3300 Added support for template designer assistant.
3302 * src/wdgt-mini-preview.h:
3303 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
3304 (gl_wdgt_mini_preview_set_bg_color):
3305 Preview is now centered in canvas. Added
3306 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
3307 assistant to match the background color with its own.
3309 * src/print.c: (clip_to_outline):
3310 Fixed really stupid bug when adding waste to clip region of rectangular
3311 labels/cards. Each side of the clip region needs to be extended by
3312 twice the waste margin, as well as negatively offset by the waste
3315 2003-12-28 Jim Evins <evins@snaught.com>
3317 * src/prefs-dialog.c: (update_object_page_from_prefs):
3318 Block intermediary function align_toggle_cb() instead of
3319 update_prefs_from_object_page() for the three alignment
3322 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
3324 * src/file.c: (gl_file_new), (gl_file_properties):
3325 Swap button order and set default for higificatory pleasure.
3327 2003-12-27 Jim Evins <evins@snaught.com>
3329 * barcode-0.98/Makefile.am:
3330 One last time: removed doc/Makefile and po/Makefile.in.in from
3333 2003-12-27 Jim Evins <evins@snaught.com>
3335 * barcode-0.98/Makefile.am:
3336 Removed config.stat entry from EXTRA_DIST files.
3338 * barcode-0.98/Makefile.in:
3341 2003-12-27 Jim Evins <evins@snaught.com>
3344 Updated to work with latest gnome-common package from CVS.
3345 Removed recursive configuration of barcode-0.98.
3352 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
3354 * barcode-0.98/Makefile.in:
3355 * barcode-0.98/configure.in:
3356 * barcode-0.98/Makefile.am:
3357 * barcode-0.98/README.glabels:
3358 Modified to ignore the barcode package's build system, and build
3359 as a part of glabels.
3360 Renamed Makefile.in to Makefile.in.dist.
3361 Renamed configure.in to configure.in.dist.
3362 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
3365 * src/mygal/Makefile.am:
3366 * src/recent-files/Makefile.am:
3367 In order to build against the GNOME 2.5 platform,
3368 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
3370 * src/mygal/Makefile.am:
3371 * src/mygal/mygal-combo-box.c:
3372 * src/mygal/mygal-combo-box.h:
3373 * src/mygal/widget-color-combo.c:
3374 * src/mygal/widget-color-combo.h:
3376 In order to build against the GNOME 2.5 platform,
3377 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
3378 collisions with the real gtk_combo_box widget, now a part of gtk.
3380 2003-12-26 Jim Evins <evins@snaught.com>
3386 Moved local versions of get_home_data_dir() in paper.c and
3387 template.c to util package. Cleaned up formatting in
3391 In gl_template_register() save a copy of the template in
3392 ~/.glabels if the template is not known. Still need to
3393 handle duplicate filename case and duplicate name but
3394 different template case.
3398 Moved local definition of NAME_SPACE macro from xml-label.c
3401 * src/xml-template.c:
3402 * src/xml-template.h:
3403 Added function gl_xml_template_write_template_to_file(), used
3404 in gl_template_register().