1 2007-08-21 Jim Evins <evins@snaught.com>
3 * src/print-op.c: (create_custom_widget_cb):
4 Fix problem with force_outline_flag -- don't override with default.
6 2007-08-21 Jim Evins <evins@snaught.com>
8 * data/dtd/glabels-2.0.dtd:
9 * libglabels/template.c:
10 * libglabels/template.h:
11 * libglabels/xml-template.c:
12 * src/cairo-markup-path.c:
13 Added "Markup-rect" element to template format.
15 2007-08-21 Jim Evins <evins@snaught.com>
18 Changed version to 2.1.pre5svn.
19 * src/view.c: (draw_markup_layer):
20 Do a stroke for each markup path, otherwise multiple markups
23 2007-08-17 Jim Evins <evins@snaught.com>
26 Bump libglabels revision numbers for 2.1.4 release.
28 2007-08-16 Jim Evins <evins@snaught.com>
31 Include subdir iec16022-0.2.1.
35 Preparation for 2.1.4.
38 2007-08-11 Jim Evins <evins@snaught.com>
44 Added Esperanto translation. Provided by Antonio C.
45 Codazzi "la Filozofo" <f_sophia@libero.it>.
47 Updated French translation. Provided by Claude Paroz
50 Updated to reflect above translations.
52 2007-08-11 Jim Evins <evins@snaught.com>
55 * data/templates/avery-iso-templates.xml:
56 * data/templates/avery-us-templates.xml:
57 * data/templates/misc-iso-templates.xml:
58 * data/templates/misc-other-templates.xml:
59 * data/templates/misc-us-templates.xml:
60 * data/templates/zweckform-iso-templates.xml:
61 Caught up with backlog of template submissions.
63 2007-08-10 Jim Evins <evins@snaught.com>
65 * src/bc-postnet.c: (gl_barcode_postnet_new):
67 Added support for Brazilian CEPNet barcodes. This is simply an
68 instance of the US POSTNET format with 8 digits. Patch supplied
69 by Mário Meyer in bug # 1768792.
71 Updated acknowledgments to reflect above patch and recent shuffling
72 of underlying technology.
74 2007-05-13 Jim Evins <evins@snaught.com>
76 * src/merge-text.c: (parse_line), (parse_field):
77 Remove leading and trailing spaces from CSV fields, unless quoted.
79 2007-05-09 Jim Evins <evins@snaught.com>
81 * src/object-editor-bc-page.c:
82 * src/object-editor-data-page.c:
83 * src/object-editor-fill-page.c:
84 * src/object-editor-image-page.c:
85 * src/object-editor-line-page.c:
86 * src/object-editor-lsize-page.c:
87 * src/object-editor-position-page.c:
88 * src/object-editor-private.h:
89 * src/object-editor-shadow-page.c:
90 * src/object-editor-size-page.c:
91 * src/object-editor-text-page.c:
92 * src/object-editor.c:
94 * src/template-designer.c:
95 * src/ui-property-bar.c:
96 * src/wdgt-media-select.c:
97 Replaced signal block/unblock pairs with simple flags. This reduces
98 some code clutter, hopefully making it easier to read.
100 2007-05-05 Jim Evins <evins@snaught.com>
102 * src/template-designer.c: (apply_cb):
103 Add new template to mini-preview pixbuf cache.
105 2007-05-03 Jim Evins <evins@snaught.com>
107 * src/label-image.c: (gl_label_image_init), (draw_object):
108 Scale default pixbuf up, to prevent bluring. Use cairo_fill to
111 2007-05-02 Jim Evins <evins@snaught.com>
113 * src/view.c: (draw_select_region_layer), (motion_notify_event_cb),
114 (button_release_event_cb):
115 Removed attempt at rendering optimization by clipping the updates
116 to areas affected -- this actually seemed to hurt update performance.
118 2007-04-30 Jim Evins <evins@snaught.com>
121 * src/color.c: (gl_color_shadow), (gl_color_node_new_default),
122 (gl_color_node_equal), (gl_color_node_expand):
123 * src/label-barcode.c: (draw_object):
124 * src/label-box.c: (draw_object), (draw_shadow):
125 * src/label-ellipse.c: (draw_object), (draw_shadow):
126 * src/label-line.c: (draw_object), (draw_shadow):
127 * src/label-text.c: (draw_object), (draw_shadow):
128 * src/wdgt-mini-preview.c: (draw_shadow), (draw_labels):
129 * src/wdgt-rotate-label.c: (drawingarea_update):
130 Some cleanup to color related code.
132 2007-04-30 Jim Evins <evins@snaught.com>
135 Added glLabelRegion structure type.
136 * src/label-object.c: (gl_label_object_get_extent):
137 * src/label-object.h:
138 Modified gl_label_object_get_extent() to fill in a glLabelRegion struct.
140 * src/view.c: (gl_view_update_region), (draw_select_region_layer),
141 (gl_view_select_region), (gl_view_align_selection_left),
142 (gl_view_align_selection_right), (gl_view_align_selection_hcenter),
143 (gl_view_align_selection_top), (gl_view_align_selection_bottom),
144 (gl_view_align_selection_vcenter),
145 (gl_view_center_selection_horiz), (gl_view_center_selection_vert),
146 (gl_view_move_selection), (gl_view_can_selection_text),
147 (motion_notify_event_cb), (button_press_event_cb),
148 (button_release_event_cb):
149 - Reconcile with new gl_label_object_get_extent() API.
150 - Use glLabelRegion for view->select_region.
151 - Added gl_view_update_region() to clip updates to region.
152 - Use gl_view_update_region() during manipulation of view->select_region.
154 2007-04-26 Jim Evins <evins@snaught.com>
156 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
157 (draw_label_outline):
158 * src/print.c: (print_crop_marks), (draw_outline):
159 * src/view-object.c: (gl_view_object_draw_handles):
160 * src/view.c: (draw_bg_layer), (draw_grid_layer),
161 (draw_markup_layer), (draw_fg_layer), (draw_select_region_layer):
162 * src/wdgt-mini-preview.c: (draw_paper), (draw_labels):
163 * src/wdgt-rotate-label.c: (drawingarea_update):
164 Added defines for various magic numbers.
166 2007-04-25 Jim Evins <evins@snaught.com>
168 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
169 Scale text down. Cairo seems to render text too large.
171 2007-04-25 Jim Evins <evins@snaught.com>
174 * src/view.c: (gl_view_update), (expose_cb),
175 (motion_notify_event_cb), (button_press_event_cb),
176 (button_release_event_cb):
177 - Try not to let updates get backed up.
178 - Grab pointer when doing any drag operations.
180 2007-04-11 Jim Evins <evins@snaught.com>
182 * src/cairo-label-path.c: (gl_cairo_label_path),
183 (gl_cairo_rect_label_path), (gl_cairo_round_label_path),
184 (gl_cairo_cd_label_path):
185 * src/cairo-label-path.h:
186 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
187 (draw_label_outline):
188 * src/print.c: (draw_outline), (clip_to_outline):
189 * src/view.c: (draw_bg_layer), (draw_fg_layer):
190 * src/wdgt-mini-preview.c: (draw_labels):
191 * src/wdgt-rotate-label.c: (drawingarea_update):
192 Modified to universally use gl_cairo_label_path() to create paths
193 for labels. Added shadow to mini preview in rotate widget.
195 2007-04-10 Jim Evins <evins@snaught.com>
197 * libglabels/template.h:
198 * libglabels/template.c: (gl_template_get_name_list_unique),
199 (gl_template_get_name_list_all), (gl_template_from_name):
200 Modified libglabels to allow you to get a list of all template names
201 including all aliases or just a list of primary names of each unique
204 * src/file.c: (gl_file_properties):
205 * src/glabels.c: (main):
206 * src/mini-preview-pixbuf-cache.h:
207 * src/mini-preview-pixbuf-cache.c:
208 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
209 (filter_changed_cb), (load_list):
210 Added mini-preview pixbuf cache, so that only one mini-preview is
211 needed for a unique template and gets reused for all aliases. These
212 pixbufs will also live for the life of the program so they are not
213 rebuilt everytime a new label dialog is invoked.
214 * src/mini-preview-pixbuf.c: (draw_paper),
215 (draw_rect_label_outline), (draw_round_label_outline),
216 (draw_cd_label_outline):
217 Removed some comment artifacts.
219 2007-04-04 Jim Evins <evins@snaught.com>
221 * src/mini-preview-pixbuf.c: (gl_mini_preview_pixbuf_new),
222 (draw_paper), (draw_label_outlines), (draw_rect_label_outline),
223 (draw_round_label_outline), (draw_cd_label_outline):
224 * src/wdgt-media-select.c: (load_list):
225 * src/wdgt-rotate-label.c: (draw_cd_label_outline):
226 Cosmetic enhancments to mini previews.
228 2007-04-04 Jim Evins <evins@snaught.com>
230 * src/ui-property-bar.c: (gl_ui_property_bar_finalize),
231 (gl_ui_property_bar_construct):
232 Save copy of GladeXML tree so that we don't lose tooltips.
234 2007-04-02 Jim Evins <evins@snaught.com>
236 * src/merge-properties-dialog.c:
237 * src/new-label-dialog.c:
238 * src/object-editor.c:
239 * src/prefs-dialog.c:
241 * src/template-designer.c:
242 * src/ui-property-bar.c:
243 * src/wdgt-media-select.c:
244 * src/wdgt-rotate-label.c:
245 Fixed several memory leaks.
247 2007-04-01 Jim Evins <evins@snaught.com>
249 * src/label-text.c: (gl_label_text_init), (copy),
250 (gl_label_text_set_lines), (buffer_changed_cb), (get_size),
251 (set_font_family), (set_font_size), (set_font_weight),
252 (set_font_italic_flag), (set_text_alignment),
253 (set_text_line_spacing):
254 Cache object size, so that expensive extent calculations are only done
257 2007-03-30 Jim Evins <evins@snaught.com>
259 * src/prefs-model.c: (gl_prefs_model_load_settings):
260 Default to an unlimited list of recent documents, since this parameter
261 seems to be pre-filter anyway.
263 2007-03-30 Jim Evins <evins@snaught.com>
265 * src/label-box.c: (draw_shadow):
266 * src/label-ellipse.c: (draw_shadow):
267 Added missing shadow fill.
269 2007-03-28 Jim Evins <evins@snaught.com>
271 * src/ui-commands.c: (gl_ui_cmd_file_print):
272 Unreferencing the print operation sometimes crashes. Just don't do it
275 2007-03-28 Jim Evins <evins@snaught.com>
277 * src/print-op.c: (gl_print_op_construct),
278 (gl_print_op_get_settings), (gl_print_op_set_settings),
279 (gl_print_op_free_settings), (create_custom_widget_cb):
281 * src/ui-commands.c: (gl_ui_cmd_file_print):
282 * src/window.c: (gl_window_init):
284 Save print settings and custom settings between print operations
287 2007-03-24 Jim Evins <evins@snaught.com>
289 * src/object-editor-image-page.c:
290 (gl_object_editor_prepare_image_page),
291 (gl_object_editor_set_image), (img_selection_changed_cb):
292 Workaround for GtkFileChooserButton bug # 327243. This the root
293 cause for gLabels bug # 1192884. I have actually observed 3 delayed
294 "selection-changed" signals -- the first 2 return NULL -- this is
295 what caused the image to reset to the default followed by setting
296 it back to the original image, trying to fit it into a new bounding
297 box. This sequence of events is much more evident with the new
300 2007-03-23 Jim Evins <evins@snaught.com>
302 Merged all changes from experimental cairo branch to trunk.
303 Trunk no longer depends on libgnomecanvas or libgnomeprint[ui].
305 2007-03-23 Jim Evins <evins@snaught.com>
307 * src/label-object.h:
308 * src/label-object.c: (gl_label_object_class_init),
309 (gl_label_object_get_raw_size), (gl_label_object_get_size):
310 Created "get_raw_size" method.
311 * src/label-barcode.c: (get_size):
312 * src/xml-label.c: (xml_create_object_text),
313 (xml_create_object_barcode):
314 Use new "get_raw_size" method on label-objects when apropos.
316 * src/label-text.c: (get_size), (draw_object), (draw_shadow),
317 (auto_shrink_font_size):
318 Added "auto shrink" functionality back.
320 2007-03-19 Jim Evins <evins@snaught.com>
322 * src/label-text.c: (draw_object), (draw_shadow):
323 Don't use negative scales in workaround from previous commit.
326 2007-03-18 Jim Evins <evins@snaught.com>
329 Forgot to remove include of xml-lable-191 in previous commit.
330 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
331 Workaround for pango Bug #341481. Render text at device scale,
332 and scale font size accordingly. Also, don't do any hinting.
334 2007-03-18 Jim Evins <evins@snaught.com>
336 * src/cairo-ellipse-path.c:
337 * src/cairo-ellipse-path.h:
338 Forgot to add these new files during last mass commit.
340 2007-03-18 Jim Evins <evins@snaught.com>
343 * src/xml-label-191.c:
344 * src/xml-label-191.h:
345 Removed -- Very buggy. Version 1.91 is a very old "unstable" version,
346 so there is no need to keep compatability.
349 * src/cairo-label-path.c:
350 * src/cairo-label-path.h:
351 * src/cairo-markup-path.c:
355 * src/glabels-batch.c:
357 * src/label-barcode.c:
359 * src/label-ellipse.c:
362 * src/label-object.c:
363 * src/label-object.h:
367 * src/merge-properties-dialog.c:
369 * src/new-label-dialog.c:
370 * src/object-editor-bc-page.c:
371 * src/object-editor-data-page.c:
372 * src/object-editor-edit-page.c:
373 * src/object-editor-fill-page.c:
374 * src/object-editor-image-page.c:
375 * src/object-editor-line-page.c:
376 * src/object-editor-private.h:
377 * src/object-editor-shadow-page.c:
378 * src/object-editor-text-page.c:
379 * src/object-editor.c:
380 * src/pixbuf-cache.c:
385 * src/template-designer.c:
387 * src/ui-property-bar.c:
389 * src/view-barcode.c:
391 * src/view-ellipse.c:
398 * src/wdgt-media-select.c:
399 * src/wdgt-print-copies.c:
400 * src/wdgt-print-merge.c:
402 * src/xml-label-04.c:
404 Many changes, including:
405 - Move draw methods from view-*() to label-*().
406 - Use same drawing code for on screen view and printing.
407 - Fix all issues exposed with '-Wall -Werror'.
409 2007-03-14 Jim Evins <evins@snaught.com>
412 * src/cairo-handle-path.c:
413 * src/cairo-handle-path.h:
414 * src/cairo-object-path.c:
415 * src/cairo-object-path.h:
416 Removed cairo-handle-path.[ch] and cairo-object-path.[ch].
417 * src/view-barcode.c: (gl_view_barcode_class_init), (draw_object),
419 * src/view-box.c: (gl_view_box_class_init), (draw_object),
420 (draw_shadow), (object_at):
421 * src/view-ellipse.c: (gl_view_ellipse_class_init),
422 (create_ellipse_path), (draw_object), (draw_shadow), (object_at):
423 * src/view-image.c: (gl_view_image_class_init), (draw_object),
425 * src/view-line.c: (gl_view_line_class_init), (draw_object),
426 (draw_shadow), (object_at):
427 * src/view-object.c: (gl_view_object_draw), (gl_view_object_at),
428 (create_handle_path), (gl_view_object_draw_handles),
429 (gl_view_object_handle_at):
431 * src/view-text.c: (gl_view_text_class_init), (draw_object),
432 (draw_shadow), (object_at):
433 * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
434 Some restructuring of new code.
436 2007-03-12 Jim Evins <evins@snaught.com>
439 * src/cairo-object-path.c:
440 * src/view-barcode.c:
441 * src/view-barcode.h:
443 Added barcode object support to view.
445 2007-03-12 Jim Evins <evins@snaught.com>
451 * src/cairo-object-path.c:
452 * src/cairo-object-path.h:
454 * src/view-ellipse.c:
459 Added text object support to view. Added object_at method to all
462 2007-03-11 Jim Evins <evins@snaught.com>
465 * src/cairo-object-path.c: (gl_cairo_object_path),
466 (gl_cairo_image_object_path):
467 * src/view-image.c: (gl_view_image_class_init),
468 (gl_view_image_finalize), (gl_view_image_new),
469 (update_editor_from_label_cb), (draw),
470 (gl_view_image_get_create_cursor),
471 (gl_view_image_create_button_press_event),
472 (gl_view_image_create_motion_event),
473 (gl_view_image_create_button_release_event):
475 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
476 (selection_received_cb), (motion_notify_event_cb),
477 (button_press_event_cb), (button_release_event_cb):
478 Added image object support to view.
480 2007-03-11 Jim Evins <evins@snaught.com>
483 * src/cairo-object-path.c: (gl_cairo_object_path),
484 (gl_cairo_line_object_path):
485 * src/view-line.c: (gl_view_line_class_init), (gl_view_line_new),
486 (update_object_from_editor_cb), (update_editor_from_object_cb),
487 (update_editor_from_label_cb), (draw),
488 (gl_view_line_get_create_cursor),
489 (gl_view_line_create_button_press_event),
490 (gl_view_line_create_motion_event),
491 (gl_view_line_create_button_release_event):
493 * src/view-object.c: (gl_view_object_resize_event):
494 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
495 (selection_received_cb), (motion_notify_event_cb),
496 (button_press_event_cb), (button_release_event_cb):
497 Added line object support to view.
498 * src/cairo-handle-path.c:
499 Made handles slightly larger.
502 2007-03-11 Jim Evins <evins@snaught.com>
505 * src/cairo-handle-path.c:
506 * src/cairo-label-path.c: (gl_cairo_rect_label_path),
507 (gl_cairo_round_label_path), (gl_cairo_cd_label_path):
508 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
509 (gl_cairo_markup_margin_round_path),
510 (gl_cairo_markup_margin_cd_path), (gl_cairo_markup_circle_path):
511 * src/cairo-object-path.c: (gl_cairo_object_path),
512 (gl_cairo_ellipse_object_path):
513 * src/label-object.c: (gl_label_object_rotate):
516 * src/view-ellipse.c: (gl_view_ellipse_class_init),
517 (gl_view_ellipse_new), (update_object_from_editor_cb),
518 (update_editor_from_object_cb), (update_editor_from_label_cb),
519 (draw), (gl_view_ellipse_get_create_cursor),
520 (gl_view_ellipse_create_button_press_event),
521 (gl_view_ellipse_create_motion_event),
522 (gl_view_ellipse_create_button_release_event):
523 * src/view-ellipse.h:
526 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
527 (select_object_real), (selection_received_cb),
528 (motion_notify_event_cb), (button_press_event_cb),
529 (button_release_event_cb):
531 Added ellipse object support to view. Plus other cleanup.
533 2007-03-11 Jim Evins <evins@snaught.com>
536 * src/view-box.c: (gl_view_box_get_create_cursor),
537 (gl_view_box_create_button_press_event),
538 (gl_view_box_create_motion_event),
539 (gl_view_box_create_button_release_event):
540 * src/view-object.c: (gl_view_object_set_view),
541 (gl_view_object_handle_at):
543 * src/view.c: (gl_view_arrow_mode), (gl_view_object_create_mode),
544 (motion_notify_event_cb), (button_press_event_cb),
545 (button_release_event_cb), (key_press_event_cb):
546 Added creation code for box object.
548 2007-03-09 Jim Evins <evins@snaught.com>
550 * src/view-object.c: (gl_view_object_resize_event):
552 * src/view.c: (motion_notify_event_cb):
553 Fix bugs with resizing transformed objects.
554 * src/cairo-handle-path.c: (gl_cairo_handle_path):
555 * src/cairo-object-path.c: (gl_cairo_object_path):
556 * src/cairo-object-path.h:
557 * src/label-object.c: (gl_label_object_init),
558 (gl_label_object_dup), (gl_label_object_get_extent),
559 (gl_label_object_flip_horiz), (gl_label_object_flip_vert),
560 (gl_label_object_rotate), (gl_label_object_set_matrix),
561 (gl_label_object_get_matrix):
562 * src/label-object.h:
563 * src/print.c: (draw_object):
565 * src/view-highlight.c:
566 * src/view-highlight.h:
567 * src/xml-label-191.c: (xml191_parse_object):
568 * src/xml-label.c: (xml_parse_affine_attrs),
569 (xml_create_affine_attrs):
570 Replace libart affine matrices with cairo matrices.
572 2007-03-08 Jim Evins <evins@snaught.com>
575 * src/view.c: (gl_view_update), (motion_notify_event_cb):
576 * src/view-object.c: (gl_view_object_handle_at),
577 (gl_view_object_resize_event):
578 Added resize code -- still a bit buggy.
580 2007-03-07 Jim Evins <evins@snaught.com>
583 * src/cairo-handle-path.c:
584 * src/cairo-handle-path.h:
585 * src/view-box.c: (gl_view_box_new):
586 * src/view-object.c: (gl_view_object_set_object),
587 (gl_view_object_draw_handles), (gl_view_object_handle_at):
589 * src/view.c: (draw_highlight_layer), (select_object_real),
590 (unselect_object_real), (view_handle_at), (motion_notify_event_cb),
591 (button_press_event_cb), (button_release_event_cb),
592 (key_press_event_cb):
594 Added beginnings of object resize handles.
596 2007-03-07 Jim Evins <evins@snaught.com>
599 * src/view.c: (gl_view_init), (gl_view_arrow_mode),
600 (gl_view_object_create_mode), (motion_notify_event_cb),
601 (button_press_event_cb), (button_release_event_cb),
602 (key_press_event_cb):
603 Added move selection support.
605 2007-03-05 Jim Evins <evins@snaught.com>
607 * src/cairo-object-path.c: (gl_cairo_object_path):
608 * src/view-object.c: (gl_view_object_draw),
609 (gl_view_object_draw_highlight):
610 * src/view.c: (view_object_at), (motion_notify_event_cb),
611 (button_press_event_cb), (button_release_event_cb):
612 Additional refinements to select logic.
614 2007-03-05 Jim Evins <evins@snaught.com>
617 * src/view.c: (gl_view_init), (gl_view_construct),
618 (label_changed_cb), (draw_layers), (draw_select_region_layer),
619 (gl_view_select_region), (object_at), (motion_notify_event_cb),
620 (button_press_event_cb), (button_release_event_cb):
621 Added initial select region support and context menu.
623 2007-03-04 Jim Evins <evins@snaught.com>
641 * src/wdgt-print-copies.c:
642 * src/wdgt-print-merge.c:
644 Initial port to a raw Cairo canvas. This removes all remaining
645 dependencies on libgnomecanvas and libgnomeprint[ui]. Basically
646 the view is becoming a canvas widget in its own right. Still needs
648 * src/cairo-label-path.c:
649 * src/cairo-label-path.h:
650 * src/cairo-markup-path.c:
651 * src/cairo-markup-path.h:
652 * src/cairo-object-path.c:
653 * src/cairo-object-path.h:
654 New files to support cairo canvas.
655 * src/canvas-hacktext.c:
656 * src/canvas-hacktext.h:
659 2007-02-18 Jim Evins <evins@snaught.com>
662 GNOME_FONT_BOOK changed to PANGO_WEIGHT_NORMAL.
664 2007-02-14 Jim Evins <evins@snaught.com>
668 * src/bc-gnubarcode.c:
669 * src/bc-gnubarcode.h:
674 * src/canvas-hacktext.c:
675 * src/canvas-hacktext.h:
682 * src/label-barcode.c:
683 * src/label-barcode.h:
686 * src/label-ellipse.c:
687 * src/label-ellipse.h:
692 * src/label-object.c:
693 * src/label-object.h:
698 * src/merge-evolution.c:
699 * src/merge-evolution.h:
702 * src/merge-properties-dialog.c:
703 * src/merge-properties-dialog.h:
710 * src/mini-preview-pixbuf.h:
711 * src/new-label-dialog.c:
712 * src/new-label-dialog.h:
713 * src/object-editor-bc-page.c:
714 * src/object-editor-data-page.c:
715 * src/object-editor-edit-page.c:
716 * src/object-editor-fill-page.c:
717 * src/object-editor-image-page.c:
718 * src/object-editor-line-page.c:
719 * src/object-editor-lsize-page.c:
720 * src/object-editor-position-page.c:
721 * src/object-editor-private.h:
722 * src/object-editor-size-page.c:
723 * src/object-editor-text-page.c:
724 * src/object-editor.c:
725 * src/object-editor.h:
726 * src/pixbuf-cache.c:
727 * src/pixbuf-cache.h:
728 * src/prefs-dialog.c:
729 * src/prefs-dialog.h:
737 * src/template-designer.c:
742 * src/ui-property-bar.c:
743 * src/ui-property-bar.h:
752 * src/view-barcode.c:
753 * src/view-barcode.h:
756 * src/view-ellipse.c:
757 * src/view-ellipse.h:
758 * src/view-highlight.c:
759 * src/view-highlight.h:
770 * src/wdgt-chain-button.c:
771 * src/wdgt-chain-button.h:
772 * src/wdgt-media-select.c:
773 * src/wdgt-mini-preview.c:
774 * src/wdgt-print-copies.c:
775 * src/wdgt-print-copies.h:
776 * src/wdgt-print-merge.c:
777 * src/wdgt-print-merge.h:
778 * src/wdgt-rotate-label.c:
780 * src/xml-label-04.c:
781 * src/xml-label-04.h:
782 * src/xml-label-191.c:
783 * src/xml-label-191.h:
787 Assorted superficial cleanup. Including:
788 - Use G_DEFINE_TYPE for all objects.
789 - Reconcile style of all class initializer functions
790 - Reconcile style of all finalize functions
791 - Add emacs mode line to all source files
793 2007-02-06 Jim Evins <evins@snaught.com>
795 Assorted cleanup and removal of deprecated items.
800 Removed annoying splash screen.
801 * src/glabels-batch.c: (main):
802 * src/glabels.c: (main):
803 Converted from popt to GOption.
804 * src/object-editor-shadow-page.c:
805 (gl_object_editor_set_shadow_state):
806 Removed deprecated method on GtkToggleButton.
807 * src/ui-commands.c: (gl_ui_cmd_help_about):
808 Removed dependency on libgnomui/qnome-url.h.
809 * src/template-designer.c:
810 Removed dependency on libgnome/gnome-program.h.
813 2007-02-04 Jim Evins <evins@snaught.com>
818 * src/print.c: (draw_text_object):
819 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_construct):
820 Removed GnomeCanvas artifacts from color.[ch] and related modules.
822 2007-02-04 Jim Evins <evins@snaught.com>
824 * src/wdgt-mini-preview.c:
825 * src/wdgt-mini-preview.h:
826 Ported widget from GnomeCanvas to Cairo.
828 2007-02-03 Jim Evins <evins@snaught.com>
830 * data/glade/template-designer.glade:
831 * src/template-designer.c:
832 * src/template-designer.h:
833 Ported GnomeDruid to GtkAssistant. Since libglade does not
834 yet support the GtkAssistant and we derive directly from
835 the Assistant, the pages are layed out in a GtkNotebook in
836 the glade description -- we then append each page to the
839 2007-01-25 Jim Evins <evins@snaught.com>
841 * data/glade/object-editor.glade:
842 Added dummy page to notebook, to prevent shadow page from
843 becoming the default current page at creation.
844 * src/view-box.c: (construct_properties_editor):
845 * src/view-ellipse.c: (construct_properties_editor):
846 * src/view-line.c: (construct_properties_editor):
847 * src/view-text.c: (construct_properties_editor):
848 Reconciled order of params.
850 2007-01-19 Jim Evins <evins@snaught.com>
852 * src/label-barcode.h:
853 * src/label-object.c: (gl_label_object_set_font_weight),
854 (gl_label_object_set_text_alignment),
855 (gl_label_object_get_font_weight),
856 (gl_label_object_get_text_alignment):
857 * src/label-object.h:
858 * src/label-text.c: (gl_label_text_instance_init), (copy),
859 (get_size), (set_font_family), (set_font_weight),
860 (set_text_alignment), (get_font_weight), (get_text_alignment):
862 * src/object-editor-text-page.c:
863 (gl_object_editor_prepare_text_page),
864 (gl_object_editor_set_font_family),
865 (gl_object_editor_set_font_weight),
866 (gl_object_editor_get_font_weight),
867 (gl_object_editor_set_text_alignment),
868 (gl_object_editor_get_text_alignment),
869 (gl_object_editor_set_text_color):
870 * src/object-editor.h:
871 * src/prefs-dialog.c: (construct_object_page),
872 (update_object_page_from_prefs), (update_prefs_from_object_page):
873 * src/prefs-model.c: (gl_prefs_model_save_settings),
874 (gl_prefs_model_load_settings):
876 * src/print.c: (draw_text_object):
877 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
878 (reset_to_default_properties), (update_text_properties),
879 (font_bold_toggled_cb), (text_align_toggled_cb):
881 * src/util.c: (gl_util_align_to_string), (gl_util_string_to_align),
882 (gl_util_weight_to_string), (gl_util_string_to_weight),
883 (gl_util_get_font_family_list), (gl_util_font_family_list_free):
885 * src/view-text.c: (update_object_from_editor_cb),
886 (update_editor_from_object_cb), (draw_hacktext), (draw_cursor):
887 * src/view.c: (gl_view_set_selection_text_alignment),
888 (gl_view_set_default_text_alignment),
889 (gl_view_get_default_text_alignment):
891 * src/xml-label-04.c: (xml04_parse_text_props):
892 * src/xml-label-191.c: (xml191_parse_text_props):
893 * src/xml-label.c: (xml_parse_object_text),
894 (xml_parse_toplevel_span), (xml_create_object_text),
895 (xml_create_toplevel_span):
896 Converted all model internals to Pango. GnomeFont remains in
897 view until GnomeCanvas can be replaced with a cairo-based canvas.
899 2007-01-17 Jim Evins <evins@snaught.com>
905 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type),
906 (gl_wdgt_print_copies_construct):
907 * src/wdgt-print-copies.h:
908 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type),
909 (gl_wdgt_print_merge_construct):
910 * src/wdgt-print-merge.h:
911 Removed all remaining HIG wrapper widgets.
913 2007-01-16 Jim Evins <evins@snaught.com>
916 * src/print-dialog.c:
917 * src/print-dialog.h:
920 * src/template-designer.c: (print_test_cb):
921 * src/ui-commands.c: (gl_ui_cmd_file_print):
923 Renamed PrintDialog to PrintOp. Added constructor for batch
925 * src/glabels-batch.c: (main):
926 Converted to use new PrintOp object for printing.
928 2007-01-15 Jim Evins <evins@snaught.com>
930 * data/glade/Makefile.am:
931 * data/glade/print-custom-widget.glade:
932 * src/print-dialog.c:
933 * src/print-dialog.h:
936 * src/template-designer.c: (print_test_cb):
937 * src/ui-commands.c: (gl_ui_cmd_file_print):
938 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_copies):
939 * src/wdgt-print-merge.h:
940 * src/window.c: (gl_window_init):
942 Initial conversion to GtkPrintOperation.
944 - Remove font and other libgnomeprint[ui] from elsewhere
945 - Add batch initialization of print operation
947 2007-01-08 Jim Evins <evins@snaught.com>
949 Updated dependencies. Set version to 2.1.pre4cvs.
951 2007-01-03 Jim Evins <evins@snaught.com>
954 Removed EggRecent stuff.
963 Ported from EggRecent to GtkRecentManager.
966 2007-01-02 Jim Evins <evins@snaught.com>
969 * iec16022-0.2.1/BUGS:
970 * iec16022-0.2.1/CHANGELOG:
971 * iec16022-0.2.1/CREDITS:
972 * iec16022-0.2.1/INSTALL:
973 * iec16022-0.2.1/LICENSE:
974 * iec16022-0.2.1/Makefile.am:
975 * iec16022-0.2.1/Makefile.dist:
976 * iec16022-0.2.1/README:
977 * iec16022-0.2.1/README.glabels:
978 * iec16022-0.2.1/TODO:
979 * iec16022-0.2.1/iec16022.1:
980 * iec16022-0.2.1/iec16022.c:
981 * iec16022-0.2.1/iec16022ecc200.c:
982 * iec16022-0.2.1/iec16022ecc200.h:
983 * iec16022-0.2.1/image.c:
984 * iec16022-0.2.1/image.h:
985 * iec16022-0.2.1/reedsol.c:
986 * iec16022-0.2.1/reedsol.h:
987 * iec16022-0.2.1/test/testsuite-example.bin:
988 * iec16022-0.2.1/test/testsuite-example.eps:
989 * iec16022-0.2.1/test/testsuite-example.hex:
990 * iec16022-0.2.1/test/testsuite-example.png:
991 * iec16022-0.2.1/test/testsuite-example.text:
992 * iec16022-0.2.1/test/testsuite.sh:
993 Include modified copy of iec16022-0.2.1 to provide encoding
994 support for datamatrix 2D barcodes.
999 Added initial datamatrix 2D barcode backend to barcode code.
1002 Automatic updates to later versions of these files.
1004 2006-11-28 Jim Evins <evins@snaught.com>
1006 * data/templates/avery-iso-templates.xml:
1007 * data/templates/avery-us-templates.xml:
1008 * data/templates/categories.xml:
1009 * data/templates/misc-iso-templates.xml:
1010 * data/templates/misc-us-templates.xml:
1011 * data/templates/zweckform-iso-templates.xml:
1012 More categorization.
1014 2006-09-12 Jim Evins <evins@snaught.com>
1016 * data/dtd/glabels-2.0.dtd:
1017 * data/templates/Makefile.am:
1018 * data/templates/avery-iso-templates.xml:
1019 * data/templates/avery-other-templates.xml:
1020 * data/templates/avery-us-templates.xml:
1021 * data/templates/categories.xml:
1022 * data/templates/misc-iso-templates.xml:
1023 * data/templates/misc-other-templates.xml:
1024 * data/templates/zweckform-iso-templates.xml:
1025 * data/glade/Makefile.am:
1026 * data/glade/new-label-dialog.glade:
1027 * data/glade/wdgt-media-select.glade:
1028 * data/glade/wdgt-rotate-label.glade:
1029 * libglabels/Makefile.am:
1030 * libglabels/category.c:
1031 * libglabels/category.h:
1032 * libglabels/libglabels.h:
1033 * libglabels/paper.c:
1034 * libglabels/template.c:
1035 * libglabels/template.h:
1036 * libglabels/xml-category.c:
1037 * libglabels/xml-category.h:
1038 * libglabels/xml-template.c:
1039 Added support for category meta data.
1042 * src/mini-preview-pixbuf.c:
1043 * src/mini-preview-pixbuf.h:
1044 * src/new-label-dialog.c:
1045 * src/new-label-dialog.h:
1046 * src/wdgt-media-select.c:
1047 * src/wdgt-media-select.h:
1048 * src/wdgt-rotate-label.c:
1049 * src/wdgt-rotate-label.h:
1050 New "new label" dialog.
1052 2006-05-27 Jim Evins <evins@snaught.com>
1057 Preparation for 2.1.3.
1063 2006-05-22 Jim Evins <evins@snaught.com>
1065 * src/print.c: (draw_barcode_object):
1066 Don't print "Invalid barcode data" if data field is empty. Patch provided
1067 by Darren Warner <warnerd@users.sourceforge.net>. Fixes Bug #1479839.
1069 Added acknowledgment for above patch.
1070 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
1071 * src/bc-postnet.c: (postnet_code):
1072 Removed "Invalid barcode data" warnings from stderr.
1073 * src/view-barcode.c: (draw_barcode):
1074 Draw box around barcode extent if data empty or invalid. Center a
1075 message whether the data is empty or invalid in box.
1077 2006-05-22 Jim Evins <evins@snaught.com>
1079 * src/print.c: (draw_text_object):
1080 Check shadow state when printing text.
1082 2006-05-20 Jim Evins <evins@snaught.com>
1084 * src/ui-commands.c: (gl_ui_cmd_view_grid_toggle),
1085 (gl_ui_cmd_view_markup_toggle):
1086 Fixed crash when grid or markup have been toggled off during
1087 a previous session. Bug #1434324.
1089 2006-04-05 Jim Evins <evins@snaught.com>
1091 * src/object-editor.c: (gl_object_editor_set_key_names):
1092 Fixed potential crash when freeing empty key list.
1094 2006-03-11 Jim Evins <evins@snaught.com>
1096 * src/print.c: (draw_text_object):
1097 * src/view-text.c: (gl_view_text_new),
1098 (construct_properties_editor), (update_object_from_editor_cb),
1099 (update_editor_from_object_cb), (update_editor_from_label_cb),
1101 Added shadow support to text object.
1103 2006-02-18 Jim Evins <evins@snaught.com>
1105 * src/print.c: (draw_line_object):
1106 * src/view-line.c: (gl_view_line_new),
1107 (construct_properties_editor), (update_canvas_item_from_object_cb),
1108 (update_object_from_editor_cb), (update_editor_from_object_cb),
1109 (update_editor_from_label_cb):
1110 Added shadow support to line object.
1112 2006-02-16 Jim Evins <evins@snaught.com>
1116 * src/print.c: (draw_ellipse_object):
1117 * src/view-ellipse.c: (gl_view_ellipse_new),
1118 (construct_properties_editor), (update_canvas_item_from_object_cb),
1119 (update_object_from_editor_cb), (update_editor_from_object_cb),
1120 (update_editor_from_label_cb):
1121 Added shadow support to ellipse object.
1123 2006-02-15 Jim Evins <evins@snaught.com>
1125 * src/label-object.c:
1126 Changed default shadow offsets.
1127 * src/view-box.c: (gl_view_box_new):
1128 Simplified gl_view_box_new() so that is does not duplicate code
1129 in update_canvas_item_from_object_cb().
1131 2006-02-07 Jim Evins <evins@snaught.com>
1133 * data/glade/object-editor.glade:
1134 Fixed color groups of color combos.
1136 Added default shadow color.
1137 * src/object-editor.c: (gl_object_editor_construct_color_combo):
1138 Added shadow color group.
1140 2006-02-06 Jim Evins <evins@snaught.com>
1142 * src/object-editor-shadow-page.c:
1143 Forgot to add this file.
1144 * src/view-box.c: (gl_view_box_new),
1145 (update_canvas_item_from_object_cb), (update_editor_from_label_cb):
1146 Update limits on shadow offset spinbuttons.
1148 2006-01-19 Jim Evins <evins@snaught.com>
1150 * src/merge-evolution.c: (gl_merge_evolution_get_key_list):
1151 Initialize key_list to NULL.
1152 * data/glade/object-editor.glade:
1156 * src/label-object.c:
1157 * src/label-object.h:
1158 * src/object-editor-fill-page.c:
1159 * src/object-editor-private.h:
1160 * src/object-editor.c:
1161 * src/object-editor.h:
1163 Created infrastructure for shadow support.
1166 Initial shadow support in box object only.
1168 2006-01-05 Jim Evins <evins@snaught.com>
1170 * src/merge-properties-dialog.c: (src_changed_cb):
1171 Be extra paranoid before calling strcmp().
1172 * src/merge.c: (gl_merge_set_src):
1173 Don't make (merge == NULL) a critical error.
1175 2005-12-22 Jim Evins <evins@snaught.com>
1177 * src/glabels-batch.c: (main):
1178 Compile warning free with gcc 4.0.
1180 2005-12-21 Jim Evins <evins@snaught.com>
1183 Updated example RPM spec file.
1185 2005-12-21 Jim Evins <evins@snaught.com>
1189 Preparation for 2.1.2.
1191 2005-12-20 Jim Evins <evins@snaught.com>
1194 Define unique G_LOG_DOMAIN for glabels.
1195 * src/critical-error-handler.c: (gl_critical_error_handler_init):
1196 * src/warning-handler.c: (gl_warning_handler_init),
1198 Register for G_LOG_DOMAIN instead of NULL.
1200 2005-12-10 Jim Evins <evins@snaught.com>
1202 * src/merge-evolution.c:
1203 * src/merge-vcard.c:
1206 2005-12-08 Jim Evins <evins@snaught.com>
1208 * libglabels/paper.c: (read_paper_files_from_dir):
1209 * libglabels/template.c: (gl_template_register),
1210 (read_template_files_from_dir):
1211 * libglabels/xml-paper.c: (gl_xml_paper_read_papers_from_file),
1212 (gl_xml_paper_parse_papers_doc):
1213 * libglabels/xml-template.c:
1214 (gl_xml_template_read_templates_from_file),
1215 (gl_xml_template_parse_templates_doc),
1216 (gl_xml_template_parse_template_node),
1217 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
1218 (xml_parse_label_cd_node), (xml_parse_layout_node),
1219 (xml_parse_markup_margin_node), (xml_parse_markup_line_node),
1220 (xml_parse_markup_circle_node),
1221 (gl_xml_template_write_templates_to_file), (xml_create_label_node):
1222 * libglabels/xml.c: (gl_xml_get_prop_length):
1223 Re-classified g_warnings to g_messages.
1225 * src/glabels.c: (main):
1226 * src/warning-handler.c: (gl_warning_handler_init),
1228 * src/warning-handler.h:
1229 Added warning message handler to make sure the user is
1230 presented with appropriate non-fatal errors.
1231 * src/critical-error-handler.c: (critical_error_handler):
1232 Changed exit to abort.
1233 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new), (render_pass1):
1234 * src/bc-postnet.c: (postnet_code):
1235 * src/bc.c: (id_to_index), (name_to_index):
1236 * src/merge.c: (gl_merge_register_backend), (gl_merge_new):
1237 * src/object-editor.c: (gl_object_notebook_construct_valist):
1238 * src/prefs-dialog.c: (update_locale_page_from_prefs):
1239 * src/prefs.c: (gl_prefs_get_units_per_point),
1240 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
1241 (gl_prefs_get_units_string):
1242 * src/print.c: (draw_outline), (clip_to_outline), (clip_punchouts):
1243 * src/splash.c: (gl_splash):
1244 * src/ui-commands.c: (gl_ui_cmd_help_contents):
1245 * src/view-highlight.c: (gl_view_highlight_new),
1246 (highlight_resizable_box_construct), (object_changed_cb),
1247 (view_scale_changed_cb):
1248 * src/view.c: (draw_label_layer), (draw_bg_fg_layers),
1249 (draw_markup_layer), (draw_markup_margin),
1250 (gl_view_object_create_mode), (canvas_event),
1251 (selection_received_cb):
1252 * src/wdgt-mini-preview.c: (mini_outline_list_new):
1253 * src/wdgt-rotate-label.c: (mini_preview_canvas_update):
1254 * src/xml-label-04.c: (gl_xml_label_04_parse),
1255 (xml04_parse_media_description), (xml04_parse_text_props),
1256 (xml04_parse_barcode_props):
1257 * src/xml-label-191.c: (gl_xml_label_191_parse),
1258 (xml191_parse_objects), (xml191_parse_object),
1259 (xml191_parse_text_props), (xml191_parse_image_props),
1260 (xml191_parse_barcode_props), (xml191_parse_data),
1261 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
1262 (xml191_parse_markup):
1263 * src/xml-label.c: (gl_xml_label_open), (gl_xml_label_open_buffer),
1264 (xml_doc_to_label), (xml_parse_label), (xml_parse_objects),
1265 (xml_parse_object_text), (xml_parse_object_image),
1266 (xml_parse_object_barcode), (xml_parse_data),
1267 (xml_parse_toplevel_span), (gl_xml_label_save),
1268 (xml_create_objects):
1269 Re-classified g_warnings to g_messages.
1270 * src/merge-evolution.c: (gl_merge_evolution_open),
1271 (gl_merge_evolution_close), (gl_merge_evolution_get_record):
1272 Use g_warning to output errors encountered while
1273 communicating with the evolution data server
1274 instead of embedding them in the data.
1276 2005-12-08 Jim Evins <evins@snaught.com>
1278 * libglabels/libglabels-private.h:
1280 * libglabels/paper.c: (read_papers):
1281 * libglabels/template.c: (read_templates):
1282 Made appropriate warnings critical.
1284 * src/critical-error-handler.h:
1285 * src/critical-error-handler.c: (gl_critical_error_handler_init),
1286 (critical_error_handler):
1287 Created critical error handler.
1288 * src/glabels.c: (main):
1289 Register critical error handler.
1290 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
1291 * src/object-editor.c: (gl_object_editor_init):
1292 * src/prefs-dialog.c: (gl_prefs_dialog_init):
1293 * src/template-designer.c: (gl_template_designer_init):
1294 * src/ui-property-bar.c: (gl_ui_property_bar_instance_init):
1295 Made appropriate warnings critical.
1297 2005-11-27 Jim Evins <evins@snaught.com>
1299 * src/merge-evolution.c: (gl_merge_evolution_get_key_list),
1300 (gl_merge_evolution_get_primary_key),
1301 (gl_merge_evolution_get_record):
1302 Don't create "record_key" pseudo-key. Don't populate
1303 fields with null data.
1305 2005-11-25 Jim Evins <evins@snaught.com>
1307 * src/merge-evolution.c: (gl_merge_evolution_finalize),
1308 (gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
1309 (gl_merge_evolution_get_record), (gl_merge_evolution_copy),
1311 Query EDS for all supported fields. Patch provided by
1312 Austin Henry <ahenry@users.sourceforge.net>.
1314 2005-10-29 Jim Evins <evins@snaught.com>
1316 * src/glabels.c: (main):
1317 * src/label-barcode.c: (gl_label_barcode_finalize):
1318 * src/label-text.c: (gl_label_text_finalize), (set_font_family):
1319 * src/label.c: (gl_label_instance_init), (gl_label_finalize):
1320 * src/object-editor.c: (gl_object_editor_finalize):
1321 Another pass at valgrinding -- plugged several memory leaks.
1322 * src/view-text.c: (gl_view_text_new),
1323 (update_canvas_item_from_object_cb), (draw_hacktext):
1324 Commented out artifacts of edit-in-place code.
1326 2005-10-28 Jim Evins <evins@snaught.com>
1328 * src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
1329 Fixed use of uninitialized variable. Caught by
1330 d binderman <dcb314@hotmail.com>.
1332 2005-10-27 Jim Evins <evins@snaught.com>
1334 * src/merge-evolution.c: (gl_merge_evolution_get_record):
1335 * src/merge-vcard.c: (gl_merge_vcard_get_record),
1337 Additional cleanup of EDS and vcard backends. Provided by
1338 Austin Henry <ahenry@users.sourceforge.net>.
1340 2005-10-24 Jim Evins <evins@snaught.com>
1344 * src/merge-evolution.c:
1345 * src/merge-evolution.h:
1346 * src/merge-init.c: (gl_merge_init):
1347 * src/merge-properties-dialog.c: (type_changed_cb):
1348 * src/merge-vcard.c:
1349 * src/merge-vcard.h:
1350 * src/ui-commands.c: (gl_ui_cmd_help_about):
1351 Added Evolution Data Server and VCard merge backends. Original patch
1352 provided by Austin Henry <ahenry@users.sourceforge.net>.
1354 Only support EDS and VCard backends if libebook is installed. Allow
1355 user to disable support, even if installed.
1357 2005-10-24 Jim Evins <evins@snaught.com>
1360 * data/templates/avery-iso-templates.xml:
1361 * data/templates/avery-us-templates.xml:
1362 * data/templates/misc-iso-templates.xml:
1363 * data/templates/zweckform-iso-templates.xml:
1364 Collected all template changes and submissions since last
1367 2005-10-23 Jim Evins <evins@snaught.com>
1370 * data/mime/Makefile.am:
1371 Added configure options to disable update-mime-database and
1372 update-desktop-database as part of the install. Patch
1373 provided by Leonardo Boshell (qhoracio@sourceforge.net).
1375 2005-10-23 Jim Evins <evins@snaught.com>
1378 * libglabels/xml.c: (gl_xml_get_prop_string),
1379 (gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
1380 (gl_xml_is_node), (gl_xml_get_node_content):
1381 Added new XML utility functions.
1382 * libglabels/xml-paper.c:
1383 * libglabels/xml-template.c:
1385 Cleanup by using new xml utilities created above.
1386 * libglabels/paper.c: (gl_paper_free):
1387 * src/file.c: (new_response):
1388 * src/object-editor-image-page.c: (add_image_filters_to_chooser):
1389 * src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
1390 (gl_pixbuf_cache_get_pixbuf):
1391 * src/ui-property-bar.c:
1392 (gl_ui_property_bar_construct_color_combo):
1393 * src/view-highlight.c: (gl_view_highlight_finalize):
1394 * src/view-image.c: (update_object_from_editor_cb):
1395 * src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
1396 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
1397 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
1398 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
1399 (draw_markup_margin_round), (draw_markup_margin_cd),
1400 (draw_markup_margin_cd_bc):
1401 * src/wdgt-mini-preview.c: (mini_outline_list_new):
1402 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
1403 Plugged various memory leaks located with valgrind.
1404 * src/view-image.c: (update_canvas_item_from_object_cb):
1405 Don't allow a width or height of zero when drawing pixbuf.
1407 2005-10-22 Jim Evins <evins@snaught.com>
1409 * libglabels/xml-paper.c:
1410 * libglabels/xml-template.c:
1413 * src/bc-gnubarcode.c:
1414 * src/canvas-hacktext.c:
1416 * src/object-editor-data-page.c:
1417 * src/print-dialog.c:
1420 * src/template-designer.c:
1422 * src/ui-property-bar.c:
1424 * src/view-barcode.c:
1426 * src/view-ellipse.c:
1431 * src/wdgt-media-select.c:
1432 * src/xml-label-04.c:
1433 * src/xml-label-191.c:
1435 Modified to compile warning free with gcc-4.0. Mostly
1436 casting to change signedness of characters. Did not
1437 attack gnu-barcode library yet.
1439 2005-10-22 Jim Evins <evins@snaught.com>
1441 * src/glabels.c: (main):
1442 * src/splash.c: (gl_splash):
1443 Removed some small memory leaks.
1447 2005-09-19 Jim Evins <evins@snaught.com>
1449 * data/glade/property-bar.glade:
1450 Remove items from font_family_combo. This prevents the
1451 double entry after adding text model and list of fonts.
1452 * src/ui-property-bar.c: (reset_to_default_properties):
1453 Free font_family_list.
1455 2005-07-01 Jim Evins <evins@snaught.com>
1458 Updated italian translation (Daniele Medri)
1460 2005-06-26 Jim Evins <evins@snaught.com>
1462 * docs/libglabels/libglabels-decl-list.txt:
1463 Somehow never got checked in before.
1464 * docs/libglabels/libglabels.types:
1465 Removed -- don't need it afterall.
1467 2005-06-20 Jim Evins <evins@snaught.com>
1470 Final prep for 2.1.1 release.
1472 2005-06-20 Jim Evins <evins@snaught.com>
1475 Final preps for 2.1.1 release.
1476 * docs/libglabels/libglabels.types:
1477 Somehow never got checked in before.
1479 Bring up-to-date with recent reorg of ui code.
1482 2005-06-19 Jim Evins <evins@snaught.com>
1484 * src/template-designer.c: (construct_layout_page):
1485 Removed attempt to match background color of mini preview widget to
1488 2005-06-17 Jim Evins <evins@snaught.com>
1490 * help/C/figures/merge-ex2-4.png:
1491 * help/C/glabels.xml:
1492 Fixed spelling error.
1494 2005-06-13 Jim Evins <evins@snaught.com>
1496 * help/C/figures/merge-ex1-1.png:
1497 * help/C/figures/merge-ex1-2.png:
1498 * help/C/figures/merge-ex1-3.png:
1499 * help/C/figures/merge-ex1-4.png:
1500 * help/C/figures/merge-ex2-1.png:
1501 * help/C/figures/merge-ex2-2.png:
1502 * help/C/figures/merge-ex2-3.png:
1503 * help/C/figures/merge-ex2-4.png:
1504 Added figures for document merge tutorial.
1505 * help/C/glabels.xml:
1506 Added document merge tutorial.
1508 2005-05-19 Jim Evins <evins@snaught.com>
1510 * data/glade/merge-properties-dialog.glade:
1511 Fixed irregular spacing.
1512 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
1513 (gl_merge_properties_dialog_construct):
1514 Set outer padding and remove separator.
1516 2005-05-18 Jim Evins <evins@snaught.com>
1520 Removed glHigDialog class.
1521 * src/file.c: (gl_file_new), (create_new_dialog_widgets),
1522 (gl_file_properties), (create_properties_dialog_widgets):
1523 * src/prefs-dialog.h:
1524 * src/prefs-dialog.c: (gl_prefs_dialog_get_type),
1525 (gl_prefs_dialog_init), (gl_prefs_dialog_construct):
1526 * src/print-dialog.h:
1527 * src/prefs-dialog.h:
1528 * src/print-dialog.c: (gl_print_dialog_get_type),
1529 (gl_print_dialog_init), (gl_print_dialog_construct):
1530 Replaced all instances of glHigDialog with GtkDialog.
1532 2005-05-17 Jim Evins <evins@snaught.com>
1536 Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
1537 * src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
1538 (save_as_response), (gl_file_close):
1539 Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.
1541 2005-05-15 Jim Evins <evins@snaught.com>
1543 * src/ui-commands.h:
1551 A little code reformatting -- no functional changes.
1553 2005-05-14 Jim Evins <evins@snaught.com>
1556 Removed obsolete macros.
1558 Added marshalling template to support new view signal: "context_menu_activate."
1560 * src/view.c: (gl_view_class_init), (gl_view_construct),
1561 (canvas_event_arrow_mode):
1562 - Removed hardcoded context menus and added new signal "context_menu_activate"
1563 to push this up to the uimanager.
1564 - Removed merge properties and print dialogs so that they can be managed with
1565 the window by the uimanager.
1566 * src/merge-properties-dialog.h:
1567 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
1568 (gl_merge_properties_dialog_construct):
1569 Changed calling convention of gl_merge_properties_dialog_new() to use
1570 glLabel and GtkWindow instead of view to make more consistent with other
1572 * src/print-dialog.h:
1573 * src/print-dialog.c: (gl_print_dialog_new),
1574 (gl_print_dialog_construct):
1575 Removed last artifact of libbonoboui.
1576 * src/ui-commands.c: (gl_ui_cmd_file_print),
1577 (gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
1578 Reconciled style for launching dialogs.
1579 * src/ui.c: (gl_ui_new):
1580 Added context menus to ui manager.
1581 * src/view-object.c: (item_event_arrow_mode):
1582 No longer try to select objects with right-click.
1584 * src/window.c: (gl_window_init), (gl_window_set_label),
1585 (context_menu_activate_cb):
1586 Context menus and all dialogs are now managed in a consistent way in window
1589 2005-05-11 Jim Evins <evins@snaught.com>
1592 * src/window.c: (gl_window_init), (gl_window_destroy):
1593 * src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
1594 * src/ui-commands.c: (gl_ui_cmd_file_open_recent):
1595 Moved management of recent_view back from window.c to ui.c -- it just feels
1598 2005-05-10 Jim Evins <evins@snaught.com>
1601 * src/window.c: (gl_window_init):
1603 * src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
1604 (menu_item_select_cb), (menu_item_deselect_cb):
1605 Added GtkStatusbar which displays menu tooltips.
1607 2005-05-09 Jim Evins <evins@snaught.com>
1609 Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
1614 Removed dependencies on libbonoboui.
1616 * data/ui/Makefile.am:
1617 * data/ui/glabels-ui.xml:
1618 Removed data/ui directory.
1619 * data/glade/Makefile.am:
1620 * data/property-bar.glade:
1621 Added glade description of property-bar for new libglade implementation
1628 * src/ui-commands.h:
1629 * src/ui-commands.c:
1630 Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
1631 since the distinction between "commands" and "tools" is no longer that clear.
1634 Modified to expect glWindow instead of GtkWindow. gl_file_open_recent()
1635 no longer has knowledge of eggRecent*.
1636 * src/glabels.c: (main):
1637 Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
1639 * src/object-editor.c: (gl_object_editor_init):
1640 Make sure notebook does not respond to a "show_all" on the parent.
1641 * src/recent-files/Makefile.am:
1642 * src/recent-files/*.[ch]
1643 Updated from latest version of libegg which now has a view based on
1644 GtkUIManager. Removed unused bonobo and gtk views.
1645 * src/ui-property-bar.h:
1646 * src/ui-property-bar.c:
1647 New implementation based on libglade.
1650 Sidebar is now simply a GtkWidget and does not expect to be a part of
1651 a libbonoboui interface.
1656 Converted for use with GtkUIManager.
1659 Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
1660 to create menus and toolbars.
1662 2005-04-25 Jim Evins <evins@snaught.com>
1664 * data/templates/misc-iso-templates.xml:
1665 Added Fellows 04715 template provided by Steve Saxon.
1667 Updated acknowledgement for above.
1669 2005-04-23 Jim Evins <evins@snaught.com>
1671 * src/util.c: (gl_util_combo_box_set_strings):
1672 Make sure to clear model before loading a new list of strings.
1673 * src/wdgt-media-select.h:
1674 * src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
1675 (gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
1676 (template_combo_changed_cb), (prefs_changed_cb),
1677 (gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
1678 (gl_wdgt_media_select_get_page_size),
1679 (gl_wdgt_media_select_set_page_size):
1680 Replaced the deprecated GtkCombo widget with the new
1683 2005-04-21 Jim Evins <evins@snaught.com>
1685 * data/glade/template-designer.glade:
1686 * src/template-designer.c: (construct_pg_size_page),
1687 (pg_size_page_changed_cb), (build_template):
1688 Replaced the deprecated GtkCombo widget with the new
1691 2005-04-20 Jim Evins <evins@snaught.com>
1693 * data/glade/prefs-dialog.glade:
1694 * src/prefs-dialog.c: (construct_object_page),
1695 (update_object_page_from_prefs), (update_prefs_from_object_page):
1696 Replaced the deprecated GtkCombo widget with the new
1699 2005-04-19 Jim Evins <evins@snaught.com>
1701 * data/glade/object-editor.glade:
1702 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
1703 (style_changed_cb), (gl_object_editor_set_bc_style),
1704 (gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
1705 (gl_object_editor_get_bc_color):
1706 * src/object-editor-data-page.c:
1707 (gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
1708 (gl_object_editor_get_data):
1709 * src/object-editor-edit-page.c:
1710 (gl_object_editor_prepare_edit_page), (insert_button_cb):
1711 * src/object-editor-fill-page.c:
1712 (gl_object_editor_prepare_fill_page),
1713 (gl_object_editor_set_fill_color),
1714 (gl_object_editor_get_fill_color):
1715 * src/object-editor-image-page.c:
1716 (gl_object_editor_prepare_image_page),
1717 (gl_object_editor_set_image), (gl_object_editor_get_image):
1718 * src/object-editor-line-page.c:
1719 (gl_object_editor_prepare_line_page),
1720 (gl_object_editor_set_line_color),
1721 (gl_object_editor_get_line_color):
1722 * src/object-editor-private.h:
1723 * src/object-editor-text-page.c:
1724 (gl_object_editor_prepare_text_page),
1725 (gl_object_editor_set_font_family),
1726 (gl_object_editor_get_font_family),
1727 (gl_object_editor_set_text_color),
1728 (gl_object_editor_get_text_color):
1729 * src/object-editor.c: (gl_object_editor_set_key_names):
1731 In the object editor: replaced all instances of the deprecated
1732 GtkCombo widget with the new GtkComboBox.
1734 2005-04-18 Jim Evins <evins@snaught.com>
1737 Neglected to save this one in previous checkin to support
1740 2005-04-17 Jim Evins <evins@snaught.com>
1742 * libglabels/libglabels-private.h:
1743 * libglabels/paper.c:
1744 * libglabels/paper.h:
1745 * libglabels/template.c:
1746 * libglabels/template.h:
1747 * libglabels/xml-paper.c:
1748 * libglabels/xml-paper.h:
1749 * libglabels/xml-template.c:
1754 * src/bc-gnubarcode.c:
1765 * src/label-barcode.c:
1767 * src/label-ellipse.c:
1768 * src/label-image.c:
1769 * src/label-image.h:
1771 * src/label-object.c:
1775 * src/merge-properties-dialog.c:
1776 * src/object-editor-bc-page.c:
1777 * src/object-editor-data-page.c:
1778 * src/object-editor-edit-page.c:
1779 * src/object-editor-fill-page.c:
1780 * src/object-editor-image-page.c:
1781 * src/object-editor-line-page.c:
1782 * src/object-editor-lsize-page.c:
1783 * src/object-editor-position-page.c:
1784 * src/object-editor-private.h:
1785 * src/object-editor-size-page.c:
1786 * src/object-editor-text-page.c:
1787 * src/object-editor.c:
1788 * src/object-editor.h:
1789 * src/pixbuf-cache.h:
1790 * src/prefs-dialog.c:
1791 * src/prefs-dialog.h:
1792 * src/prefs-model.c:
1793 * src/prefs-model.h:
1795 * src/print-dialog.c:
1796 * src/print-dialog.h:
1804 * src/template-designer.c:
1805 * src/template-designer.h:
1808 * src/ui-property-bar.c: (gl_ui_property_bar_construct):
1814 * src/view-barcode.c:
1816 * src/view-ellipse.c:
1817 * src/view-highlight.c:
1818 * src/view-highlight.h:
1821 * src/view-object.c:
1822 * src/view-object.h:
1826 * src/wdgt-chain-button.c:
1827 * src/wdgt-media-select.c:
1828 * src/wdgt-media-select.h:
1829 * src/wdgt-mini-preview.c:
1830 * src/wdgt-mini-preview.h:
1831 * src/wdgt-print-copies.c:
1832 * src/wdgt-print-copies.h:
1833 * src/wdgt-print-merge.c:
1834 * src/wdgt-print-merge.h:
1835 * src/wdgt-rotate-label.c:
1836 * src/wdgt-rotate-label.h:
1839 * src/xml-label-04.c:
1840 * src/xml-label-191.c:
1842 Cleanup of header files:
1843 - all header files are now stand-alone, verified by including
1844 first in corresponding "c" files
1845 - replaced blanket includes of gnome, gtk, and glib with
1848 2005-04-16 Jim Evins <evins@snaught.com>
1850 * data/glade/Makefile.am:
1851 * data/glade/merge-properties-dialog.glade:
1852 Added merge properties dialog glade description file.
1853 * src/merge-properties-dialog.h:
1854 * src/merge-properties-dialog.c:
1855 (gl_merge_properties_dialog_get_type),
1856 (gl_merge_properties_dialog_init),
1857 (gl_merge_properties_dialog_finalize),
1858 (gl_merge_properties_dialog_new),
1859 (gl_merge_properties_dialog_construct), (type_changed_cb),
1860 (src_changed_cb), (response_cb), (load_tree),
1861 (record_select_toggled_cb), (select_all_button_clicked_cb),
1862 (unselect_all_button_clicked_cb):
1863 Modified merge properties dialog to use libglade. Added
1864 "select all" and "unselect all" buttons.
1865 * src/merge-text.c: (parse_line):
1866 Handle empty lines better.
1867 * src/merge.c: (gl_merge_eval_key):
1868 Evaluate the key whether the record is selected or not.
1870 * src/util.c: (gl_util_combo_box_add_text_model):
1871 Since libglade does not use the gtk_combo_box_new_text()
1872 constructor for GtkComboBoxes, a utility function was created
1873 to add an appropriate text model to a GtkComboBox.
1874 * src/view.c: (gl_view_edit_merge_props):
1875 Removed unnecessary "show all's".
1877 2005-04-15 Jim Evins <evins@snaught.com>
1880 Updated russian translation (Vitaly Lipatov)
1881 * data/templates/misc-iso-templates.xml:
1882 Added templates for russian business cards provided by Vitaly Lipatov.
1884 Updated acknowledgements for above.
1886 2005-04-15 Jim Evins <evins@snaught.com>
1888 * data/templates/avery-us-templates.xml:
1889 Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
1890 * data/templates/misc-iso-templates.xml:
1891 Added Ryman standard CD/DVD template, provided by Dan Clark.
1893 Added acknowledgements for above.
1895 2005-04-10 Jim Evins <evins@snaught.com>
1897 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
1898 * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
1899 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
1900 (xml_parse_label_cd_node), (xml_parse_alias_node):
1901 * libglabels/xml.c: (gl_xml_get_prop_double),
1902 (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
1903 (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
1904 * src/xml-label-04.c: (xml04_parse_media_description),
1905 (xml04_parse_text_props), (xml04_parse_barcode_props),
1906 (xml04_parse_merge_properties):
1907 * src/xml-label-191.c: (xml191_parse_object),
1908 (xml191_parse_text_props), (xml191_parse_barcode_props),
1909 (xml191_parse_merge_fields), (xml191_parse_pixdata),
1910 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
1911 (xml191_parse_alias):
1912 * src/xml-label.c: (xml_parse_object_text),
1913 (xml_parse_object_barcode), (xml_parse_merge_fields),
1914 (xml_parse_pixdata), (xml_parse_toplevel_span):
1915 Make sure to use xmlFree for anything obtained from libxml
1916 in case libxml and glib use different memory management
1919 2005-04-08 Jim Evins <evins@snaught.com>
1922 * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
1923 (gl_util_combo_box_set_active_text):
1924 Added utility functions to simplify working with GtkComboBox
1926 * src/ui-property-bar.h:
1927 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
1928 (reset_to_default_properties), (update_text_properties),
1929 (font_family_changed_cb):
1930 Replaced deprecated GtkCombo with GtkComboBox.
1933 2005-04-03 Jim Evins <evins@snaught.com>
1936 * src/wdgt-image-select.h:
1937 * src/wdgt-image-select.c:
1938 Removed obsolete wdgt-image-select.[ch] files.
1939 * libglabels/paper.c: (gl_paper_dup):
1940 Fixed rename of parameter introduced during documentation
1942 * data/glade/object-editor.glade:
1943 * src/object-editor-image-page.c:
1944 (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
1945 (gl_object_editor_set_image), (gl_object_editor_get_image),
1946 (update_preview_cb), (add_image_filters_to_chooser):
1947 * src/object-editor-private.h:
1948 Replaced deprecated GnomePixmapEntry with
1949 GtkFileChooserButton.
1951 2005-04-02 Jim Evins <evins@snaught.com>
1953 * src/mygal/mygal-combo-box.c: (deactivate_arrow),
1954 (mygal_combo_box_popup_hide_unconditional),
1955 (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
1956 (mygal_combo_toggle_pressed), (mygal_combo_box_init),
1957 (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
1958 (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
1959 (cb_tearable_button_release), (mygal_combo_box_set_tearable):
1960 Renamed all internal gtk_combo functions to mygal_combo
1961 to prevent namespace confusion.
1963 2005-04-02 Jim Evins <evins@snaught.com>
1965 * src/mygal/color-palette.c: (color_palette_change_custom_color),
1966 (cust_color_set), (color_palette_setup):
1967 * src/mygal/color-palette.h:
1968 Replaced deprecated GnomeColorPicker with GtkColorButton.
1970 2005-04-02 Jim Evins <evins@snaught.com>
1972 * docs/libglabels/libglabels-sections.txt:
1973 * docs/libglabels/libglabels-undocumented.txt:
1974 * docs/libglabels/tmpl/enums.sgml:
1975 * docs/libglabels/tmpl/paper.sgml:
1976 * docs/libglabels/tmpl/xml-paper.sgml:
1977 * docs/libglabels/tmpl/xml-template.sgml:
1978 * libglabels/enums.h:
1979 * libglabels/paper.c: (gl_paper_dup):
1980 * libglabels/paper.h:
1981 * libglabels/xml-paper.c:
1982 * libglabels/xml-template.c:
1983 More documentation updates for libglabels.
1985 2005-03-23 Jim Evins <evins@snaught.com>
1988 Automatically updated.
1993 * docs/libglabels/Makefile.am:
1994 * docs/libglabels/libglabels-docs.sgml:
1995 * docs/libglabels/libglabels-sections.txt:
1996 * docs/libglabels/libglabels-undocumented.txt:
1997 * docs/libglabels/tmpl/enums.sgml:
1998 * docs/libglabels/tmpl/libglabels-unused.sgml:
1999 * docs/libglabels/tmpl/libglabels.sgml:
2000 * docs/libglabels/tmpl/paper.sgml:
2001 * docs/libglabels/tmpl/template.sgml:
2002 * docs/libglabels/tmpl/xml-paper.sgml:
2003 * docs/libglabels/tmpl/xml-template.sgml:
2004 * docs/libglabels/tmpl/xml.sgml:
2005 Added basic gtk-doc stuff to support documenting libglabels
2008 Updated function comments with gtk-doc markup.
2012 2005-03-22 Jim Evins <evins@snaught.com>
2014 Since the development version now requires gtk-2.6/gnome-2.10, I
2015 have made a first pass at removing deprecations.
2018 * libglabels/Makefile.am:
2020 Added configure option to turn on X_DISABLE_DEPRECATED flags.
2021 Also removed all remnants of HAVE_FILECHOOSER.
2022 * src/file.c: (gl_file_open_real):
2023 Removed code for old GtkFileSelection.
2024 * libglabels/libglabels-private.h:
2025 * libglabels/paper.c:
2026 * libglabels/template.c:
2027 * libglabels/xml-paper.c:
2028 * libglabels/xml-template.c:
2032 * src/glabels-batch.c:
2036 * src/merge-properties-dialog.c:
2038 * src/object-editor.c:
2039 * src/prefs-dialog.c:
2041 * src/print-dialog.c:
2044 * src/template-designer.c:
2045 * src/ui-property-bar.c:
2047 * src/view-barcode.c:
2049 * src/view-ellipse.c:
2054 * src/wdgt-image-select.c:
2055 * src/wdgt-media-select.c:
2056 * src/wdgt-print-copies.c:
2057 * src/wdgt-print-merge.c:
2058 * src/wdgt-rotate-label.c:
2060 * src/xml-label-04.c:
2061 * src/xml-label-191.c:
2063 Added '#include <glib/gi18n.h>" where needed.
2064 Removed any unused '#include <gnome.h>"s.
2066 2005-03-22 Jim Evins <evins@snaught.com>
2068 * src/commands.c: (activate_url), (gl_cmd_help_about):
2069 Replaced GnomeAbout with GtkAboutDialog. Therefore the
2070 development version of glabels now depends on GTK 2.6 and
2073 Updated library dependencies.
2075 2005-02-28 Jim Evins <evins@snaught.com>
2078 * data/templates/misc-iso-templates.xml:
2079 Added 'Ednet 45021' template provided by Ali Akcaagac
2082 2005-02-14 Jim Evins <evins@snaught.com>
2084 * data/templates/avery-us-templates.xml:
2085 Updated templates to use inches instead of points.
2086 * src/print-dialog.c: (printer_page_new):
2087 Changed packing style when adding printer selector widget. This fixes
2090 2005-02-13 Jim Evins <evins@snaught.com>
2094 Updated spanish translations. (sergio rivadero)
2096 2005-02-05 Jim Evins <evins@snaught.com>
2098 Some cleanup to libglabels.
2101 Updated version to 2.1.1cvs. Added generation of libglabels.pc.
2102 * libglabels/libglabels.pc.in
2104 * libglabels/enums.h
2105 Created. Currently only contains glUnitsType which provides enumerations
2106 for all possible units of distance.
2107 * libglabels/Makefile.am:
2108 Incorporated new files enums.h and libglabels.pc[.in].
2109 * libglabels/libglabels.h:
2111 * libglabels/template.h:
2112 * libglabels/template.c: (gl_template_layout_new):
2113 Changed parameters nx and ny to gint from gdouble.
2115 * libglabels/xml.c: (gl_xml_get_prop_length),
2116 (gl_xml_set_prop_length), (gl_xml_set_default_units):
2117 Added support for different output units.
2118 * src/prefs-dialog.c: (update_locale_page_from_prefs),
2119 (update_prefs_from_locale_page):
2120 * src/prefs-model.c: (string_to_units), (units_to_string):
2121 * src/prefs-model.h:
2122 * src/prefs.c: (gl_prefs_get_units_per_point),
2123 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
2124 (gl_prefs_get_units_string):
2126 * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
2127 Reconciled all length enumerations with the new enumerations provided
2128 in libglabels/enums.h.
2130 2005-02-03 Jim Evins <evins@snaught.com>
2133 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
2135 Updated Italian translations. (Daniele Medri)
2137 Updated credits to reflect above translations.
2140 2005-01-22 Jim Evins <evins@snaught.com>
2145 Added MESSAGE-OF-DOOM to EXTRA_DIST.
2147 Final prep for 2.1.0.
2149 Set version to 2.1.0. Output MESSAGE-OF-DOOM.
2151 Added '--remove-original' flag to desktop-file-install, so that there is
2152 only one menu entry.
2154 2005-01-20 Jim Evins <evins@snaught.com>
2156 * data/glade/object-editor.glade:
2157 - Font family entry should not be editable.
2158 - img_key_entry should have sensitivity=YES, so that it follows the
2159 sensitivity of img_key_combo.
2161 2005-01-19 Jim Evins <evins@snaught.com>
2164 Give credit to Frederic Ruaudel for the color merge patches.
2166 2005-01-18 Frederic Ruaudel <grumz@users.sf.net>
2168 Add support to merge color for all other color attribute (Feature
2169 Requests item #1008635. If the data is invalid, the color used is transparent
2170 (GL_COLOR_NONE). The format for color in merge data file are those accepted
2171 by gdk_color_parse() these include name for a color from rgb.txt, such as
2172 DarkSlateGray, or a hex specification such as #305050. File format has been
2173 changed but backward compatibility is preserved for all format. For
2174 box/ellipse/line, keep attribute "line_color" for static color or replace by
2175 "line_color_field" for merge data. For text/barcode objects, keep attribute
2176 "color" for static color or replace by "color_field" for merge data. In the
2177 edit canvas window, merged color are represented by half-transparent black
2180 * data/dtd/glabels-2.0.dtd:
2181 Added line_color_field to line_attrs. Added color_field to
2182 Object-barcode and Span.
2183 * data/glade/object-editor.glade:
2184 Modify the layout of the editor to add merge possibility to color options
2186 Fix a copy/paste error in a comment
2188 Add default color for merge color representation in the editor canvas.
2189 * src/label-barcode.c:
2190 * src/object-editor-bc-page.c:
2191 * src/view-barcode.c:
2192 Add merge color support for barcode color.
2195 Add merge color support for box border color.
2196 * src/label-ellipse.c:
2197 * src/view-ellipse.c:
2198 Add merge color support for ellipse border color.
2201 Add merge color support for line color.
2202 * src/label-object.c:
2203 * src/label-object.h:
2204 * src/object-editor.c:
2205 * src/object-editor.h:
2206 * src/ui-property-bar.c:
2209 * src/xml-label-04.c:
2210 * src/xml-label-191.c:
2211 Add support for merging to other color attribute.
2213 * src/object-editor-text-page.c:
2215 Add merge color support for text color.
2216 * src/object-editor-fill-page.c:
2217 Change a blocked handler that didn't match the good widget. Fix the type
2218 of some debug message.
2219 * src/object-editor-line-page.c:
2220 Add merging support to line color option.
2221 * src/object-editor-private.h:
2222 Add variables for new widget.
2224 Modify the draw functions to get merge data if needed.
2226 Change the default size of the window in order to see all widget in the
2227 "text style tab" of the editor.
2229 Modify the parser to record/retreive the field value for objects that need
2230 "color" attribute. For box/ellipse/line, keep attribute "line_color" for
2231 static color or replace by "line_color_field" for merge data. For
2232 text/barcode objects, keep attribute "color" for static color or replace
2233 by "color_field" for merge data.
2235 2005-01-17 Jim Evins <evins@snaught.com>
2237 * src/view.c: (screen_changed_cb):
2238 Don't do anything if we don't have a screen.
2240 2005-01-06 Jim Evins <evins@snaught.com>
2242 * src/view.c: (get_home_scale):
2243 Fixed bad call to gtk_widget_has_screen() -- huh?.
2245 2005-01-06 Jim Evins <evins@snaught.com>
2247 * data/dtd/glabels-2.0.dtd:
2248 Added fill_color_field to fill_attrs. Also added xmlns attribute to all
2251 2005-01-06 Jim Evins <evins@snaught.com>
2253 * data/glade/object-editor.glade:
2254 Set entries for fill and data field key dropdowns to NOT editable.
2255 * src/view-box.c: (construct_properties_editor):
2256 * src/view-ellipse.c: (construct_properties_editor):
2257 Update object editor when label's merge property has changed.
2258 * src/xml-label.c: (xml_parse_object_ellipse):
2259 Completed the merge color support for the ellipse item.
2261 2005-01-06 Frederic Ruaudel <grumz@users.sf.net>
2263 Add support to merge color for object that have a "Fill color" attribute (Feature
2264 Requests item #1008635. If the data is invalid, the color used is transparent
2265 (GL_COLOR_NONE). The format for color in merge data file are those accepted
2266 by gdk_color_parse() these include name for a color from rgb.txt, such as
2267 DarkSlateGray, or a hex specification such as #305050. File format has been
2268 changed but backward compatibility is preserved for all format. For box/ellipse,
2269 keep attribute "fill_color" for static color or replace by "fill_color_field"
2272 * data/glade/object-editor.glade:
2273 Modify "Fill" tab to add the merge key combo and convert the labels into
2277 Add "glColorNode" structure and associated functions to manage it. This
2278 structure is equivalent for color than the "glTextNode". It holds the color
2280 * src/label-object.h:
2281 * src/label-object.c:
2283 * src/label-ellipse.c:
2284 * src/ui-property-bar.c:
2288 * src/view-ellipse.c:
2289 * src/xml-label-04.c:
2290 * src/xml-label-191.c:
2291 Change functions of objects that have a "fill color" attribute to use the
2292 new "glColorNode" structure. Use barcode code as example.
2294 Add the color.[ch] file to glabels_batch binary that now need support for
2296 * src/object-editor.h:
2297 * src/object-editor.c:
2298 * src/object-editor-fill-page.c:
2299 Manage the new widget of the editor's "Fill" tab : key combo and radio button
2300 to choose between static color or merge key. Use barcode code as example.
2301 * src/object-editor-private.h:
2302 Add new widget in the "_glObjectEditorPrivate" structure.
2304 Modify the draw functions to get merge data if needed.
2306 Modify the parser to record/retreive the field value for objects that need
2307 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
2308 color or "fill_color_field" for merge data.
2310 2005-01-04 Jim Evins <evins@snaught.com>
2313 * data/templates/avery-iso-templates.xml:
2314 * data/templates/misc-iso-templates.xml:
2315 * data/templates/misc-us-templates.xml:
2316 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
2319 2004-11-26 Jim Evins <evins@snaught.com>
2323 Updated french translations provided by Florent Morel <florent@taket.org>.
2324 * src/view-barcode.c:
2326 * src/view-ellipse.c:
2330 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
2331 thus _() strings were not being translated.
2333 2004-11-14 Jim Evins <evins@snaught.com>
2336 * src/debug.c: (gl_debug_init), (gl_debug):
2337 Borrowed from gedit: use environmental variables to select debug
2340 Removed unused include of debug.h.
2341 * src/glabels.c: (main):
2342 Added call to gl_debug_init(), and removed debug clutter from command line
2344 * src/glabels-batch.c: (main):
2345 Added call to gl_debug_init().
2347 2004-11-13 Jim Evins <evins@snaught.com>
2349 Drawing and property toolbars were being initialized with the "icons and text"
2350 look in Fedora Core 3. Even though none of the buttons had any text attached to
2351 them, the buttons were being sized as if they were. This led to less real estate
2352 for the property editor, leading to Bug #1064630. The
2354 * data/ui/glabels-ui.xml:
2355 Added explicit "look" property to both drawing and property toolbars.
2356 * src/prefs-model.c: (gl_prefs_model_save_settings),
2357 (gl_prefs_model_load_settings):
2358 * src/prefs-model.h:
2359 Removed drawing_toolbar_button_style configuration parameter.
2360 * src/ui.c: (view_menu_item_toggled_cb),
2361 (set_app_drawing_toolbar_style):
2362 Do not attempt to adjust look property of the drawing toolbar.
2364 2004-10-28 Jim Evins <evins@snaught.com>
2366 * data/pixmaps/glabels-about-logo.png:
2369 2004-10-28 Jim Evins <evins@snaught.com>
2371 * data/man/glabels.1:
2372 * src/glabels-batch.c: (main):
2374 * src/print.c: (gl_print_batch):
2376 Added option to glabels-batch to select the first label to begin
2379 2004-09-26 Jim Evins <evins@snaught.com>
2381 * data/desktop/glabels.desktop.in:
2382 Point to app icon, "glabels.png"
2383 * data/mime/glabels.keys.in:
2384 Point at mime icon, "glabels-application-x-glabels.png"
2385 * data/pixmaps/Makefile.am:
2386 Added glabels_app_icondir. Renamed icons.
2387 * data/pixmaps/glabels.png:
2388 New cleaned up app icon. Deleted glabels-icon.png.
2389 * data/pixmaps/glabels-application-x-glabels.png:
2391 * data/pixmaps/glabels-splash.png:
2392 Renamed glabels-logo to glabels-splash to be more correct about role.
2394 * src/template-designer.c:
2395 Point at app icon, "glabels.png"
2397 Point at renamed splash image, "glabels-splash.png"
2399 2004-08-22 Jim Evins <evins@snaught.com>
2402 * src/glabels-batch.c: (main):
2403 Applied patch with minor mods to allow selecting merge source and
2404 crop-marks on glabels-batch's command line. Original patch provided by
2405 José Dapena Paz <jdapena@igalia.com>.
2407 2004-08-15 Jim Evins <evins@snaught.com>
2409 * data/desktop/glabels.desktop.in:
2410 - Added encoding line
2411 - Removed period from comment
2412 - Fixed Terminal line, changed "0" to "false"
2413 - Added semicolen to Categories line
2415 - Made sure desktop.in comment string above still translated properly
2417 2004-08-14 Jim Evins <evins@snaught.com>
2419 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
2420 * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
2421 * src/xml-label-191.c: (xml191_parse_sheet):
2422 Fixed improper freeing of gettext strings. Merged from 2.0.1.
2424 Reconciled libglabels versioning with 2.0.1.
2427 2004-08-14 Jim Evins <evins@snaught.com>
2430 Updated version to 2.1cvs.
2432 2004-08-14 Jim Evins <evins@snaught.com>
2435 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
2437 2004-08-14 Jim Evins <evins@snaught.com>
2439 Fixes for Bug #1008181.
2441 * src/bc.c: (gl_barcode_default_digits):
2442 Make a format of zero digits, harmless.
2443 * src/xml-label.c: (xml_parse_object_barcode):
2444 Set default value of the format property of barcode objects to 10, not
2445 zero. This will prevent crashes when reading pre 2.0.x files.
2447 2004-08-09 Jim Evins <evins@snaught.com>
2451 * help/C/glabels-C.omf:
2452 * help/C/glabels.xml:
2453 Brought documentation up-to-date for 2.0.0 release.
2455 2004-08-09 Jim Evins <evins@snaught.com>
2457 These are hopefully the final preparations for 2.0.0.
2459 * data/mime/Makefile.am:
2460 Include glabels.xml in EXTRA_DIST.
2462 - Updated comment style.
2463 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
2464 - Added package and version info to configuration printout
2465 - Update version to 2.0.0
2466 * libglabels/Makefile.am:
2467 Use the new LIBGLABELS_VERSION_INFO macro.
2469 2004-08-09 Jim Evins <evins@snaught.com>
2473 Cleanup of required library macros.
2475 2004-08-08 Jim Evins <evins@snaught.com>
2479 - More specific of what to install in /usr/bin and /usr/lib
2480 - Remove built mime registration files from staging directory
2482 2004-08-08 Jim Evins <evins@snaught.com>
2484 * data/mime/Makefile.am:
2485 Fixed typo: key_files should have been keys_files.
2487 2004-08-08 Jim Evins <evins@snaught.com>
2489 Reorganization of runtime data files. Also added registration of mimetype with
2490 new freedesktop.org mime database if available.
2493 Moved files to appropriate subdirectories, creating local Makefile.am
2494 in each subdirectory.
2495 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
2496 These are now installed at $datadir/glabels/templates.
2497 - Moved glabels.1 to man subdirectory.
2498 - Moved glabels-2.0.dtd to dtd subdirectory.
2499 - Moved glabels.desktop.in to desktop subdirectory.
2500 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
2502 Moved "./pixmaps" to "./data/pixmaps"
2504 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
2506 Moved libglade files from src to data/glade. Created Makefile.am.
2508 Removed pixmaps from SUBDIRS.
2510 - Removed pixmaps from makefiles.
2511 - Added makefiles for new subdirs of data.
2512 - Added tests for freedesktop.org mime database.
2514 - Added tests for freedesktop.org mime database for post install and
2515 post un-install actions.
2516 * libglabels/Makefile.am:
2517 Moved system template files to $(datadir)/glabels/templates.
2518 * libglabels/libglabels-private.h:
2519 Moved system template files to $(datadir)/glabels/templates.
2521 - Accounted for movement of ui and libglade files.
2522 - Added missing .in files.
2523 - Reorganized by directory.
2525 Accounted for movement of ui and libglade files.
2526 * data/mime/glabels.xml.in:
2527 New file for registering with freedesktop.org mime database.
2529 2004-08-07 Jim Evins <evins@snaught.com>
2531 * src/recent-files/*:
2532 Re-synced to latest libegg/recent-files.
2534 2004-08-07 Jim Evins <evins@snaught.com>
2539 Renamed "./doc" directory to "./help" which contains user documentation,
2540 to be more consistent with other GNOME applications.
2543 2004-07-26 Jim Evins <evins@snaught.com>
2545 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
2546 Corrected button order of merge properties dialog.
2548 2004-07-18 Jim Evins <evins@snaught.com>
2550 * data/glabels-2.0.dtd:
2551 * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
2552 (gl_barcode_get_prefered_n):
2554 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
2555 (gl_label_barcode_get_props), (get_size):
2556 * src/label-barcode.h:
2557 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
2558 (style_changed_cb), (gl_object_editor_set_bc_style),
2559 (gl_object_editor_get_bc_style):
2560 * src/object-editor-data-page.c: (data_radio_toggled_cb),
2561 (gl_object_editor_set_data), (gl_object_editor_get_data):
2562 * src/object-editor-private.h:
2563 * src/object-editor.c: (gl_object_editor_set_key_names):
2564 * src/object-editor.glade:
2565 * src/object-editor.h:
2566 * src/print.c: (draw_barcode_object):
2567 * src/view-barcode.c: (update_object_from_editor_cb),
2568 (update_editor_from_object_cb),
2569 (gl_view_barcode_create_event_handler), (draw_barcode):
2570 * src/xml-label-04.c: (xml04_parse_barcode_props):
2571 * src/xml-label-191.c: (xml191_parse_barcode_props):
2572 * src/xml-label.c: (xml_parse_object_barcode),
2573 (xml_create_object_barcode):
2574 Added "format" attribute to barcode objects. This attribute is used
2575 to properly format freeform barcodes barcodes prior to merge data is
2576 applied, so that barcodes can be accurately layed out. This addresses
2577 remaining issues of feature request #824787. Also added an example of
2578 the format in the object editor.
2580 2004-07-12 Jim Evins <evins@snaught.com>
2582 Various code cleanups.
2584 * src/label-barcode.c:
2585 Removed unneeded include of gnome-glyphlist.h.
2587 * src/label-text.c: (get_size):
2588 Fixed memory leak: unref glyphlists when done with them.
2590 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
2591 * src/object-editor-data-page.c:
2592 (gl_object_editor_prepare_data_page):
2593 * src/object-editor-image-page.c:
2594 (gl_object_editor_prepare_image_page):
2595 * src/object-editor-line-page.c:
2596 (gl_object_editor_prepare_line_page):
2597 * src/object-editor-lsize-page.c:
2598 (gl_object_editor_prepare_lsize_page):
2599 * src/object-editor-position-page.c:
2600 (gl_object_editor_prepare_position_page):
2601 * src/object-editor-size-page.c:
2602 (gl_object_editor_prepare_size_page):
2603 * src/object-editor-text-page.c:
2604 (gl_object_editor_prepare_text_page):
2605 Removed unneeded size groups, originally intended to keep widgets aligned.
2606 Now use tables to lay these out in object-editor.glade.
2608 * src/print.c: (draw_text_object):
2609 Fixed memory leak: unref glyphlists when done with them.
2611 * src/view-barcode.c: (draw_barcode):
2612 Fixed memory leak: unref glyphlists when done with them.
2614 * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
2615 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
2617 - Fixed memory leak: unref glyphlists when done with them.
2619 2004-07-11 Jim Evins <evins@snaught.com>
2621 * data/glabels-2.0.dtd:
2622 * src/label-text.c: (gl_label_text_instance_init), (copy),
2623 (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
2625 * src/object-editor-private.h:
2626 * src/object-editor-text-page.c:
2627 (gl_object_editor_prepare_text_page),
2628 (gl_object_editor_set_text_auto_shrink),
2629 (gl_object_editor_get_text_auto_shrink):
2630 * src/object-editor.c: (gl_object_editor_set_key_names):
2631 * src/object-editor.glade:
2632 * src/object-editor.h:
2633 * src/print.c: (draw_text_object):
2634 * src/view-text.c: (update_object_from_editor_cb),
2635 (update_editor_from_object_cb):
2636 * src/xml-label.c: (xml_parse_object_text),
2637 (xml_create_object_text):
2638 Added option to allow document merge to auto shrink text size to fit
2639 within the text box. The code in print.c that actually shrinks the
2640 text is loosely based on a patch submitted by Mark Harrison
2641 <mark.harrison@velocitynet.com.au>. This addresses feature request
2644 2004-07-11 Jim Evins <evins@snaught.com>
2646 * data/glabels-2.0.dtd:
2647 * libglabels/template.c: (gl_template_rect_label_type_new),
2648 (gl_template_round_label_type_new),
2649 (gl_template_cd_label_type_new), (gl_template_label_type_dup),
2650 (template_full_page):
2651 * libglabels/template.h:
2652 * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
2653 (xml_create_label_node):
2654 * pixmaps/ex-rect-size.png:
2655 * src/print.c: (clip_to_outline), (clip_punchouts):
2656 * src/template-designer.c: (construct_rect_size_page),
2657 (rect_size_page_prepare_cb), (layout_page_prepare_cb),
2659 * src/template-designer.glade:
2660 * src/xml-label-191.c: (xml191_parse_label):
2661 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
2662 properties for rectangular labels. Templates remain backwards compatible,
2663 but this breaks the libglabels API (I don't know of anyone outside of
2664 glabels using libglabels at this time -- what can I say, the program is
2665 is still "unstable"). This addresses the suggestion in Feature Request
2668 2004-07-05 Jim Evins <evins@snaught.com>
2669 * src/print.c: (print_crop_marks), (draw_outline):
2670 Changed crop marks and label outlines to black, instead of 25% gray.
2671 This addresses debian Bug #257460.
2673 2004-07-05 Jim Evins <evins@snaught.com>
2675 * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
2676 * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
2677 Preserve "is_default" of fill and line color_combos when creating from
2680 2004-07-02 Jim Evins <evins@snaught.com>
2683 Created man page. Based on page submitted by Matthew J. Lockner, however
2684 it has been severely edited.
2686 * data/avery-other-templates.xml
2687 * data/misc-other-templates.xml:
2688 Started new files for predefined templates with non-standard sheet sizes.
2689 These have been initially populated with the Avery 06141 and
2690 OfficeMax #86112, both provided by Matthew J. Lockner.
2693 Install above manpage and template files.
2696 Make sure we install man pages.
2698 * src/glabels-batch.c:
2699 Changed short form of help option to '-?' to be consistent with glabels.
2702 Added acknowledgement for above labels.
2704 2004-07-02 Jim Evins <evins@snaught.com>
2706 * src/glabels.c: (main), (save_session_cb):
2707 - Now include libbonoboui.h, recent.h, and file.h to provide missing
2709 - save_session_cb() now returns gboolean.
2710 - Minor formatting changes.
2714 - Now include file.h to provide missing prototype.
2715 - gl_window_get_type() now returns GType, not guint. I believe this may
2716 ultimately be cause of the segfault reported in Bug #982287, since
2717 GType is actually a gulong, which may not be compatible on other
2718 architectures (64bit) -- I cannot personally test this at this time.
2719 I was sloppy in several other xxx_get_type() functions which also
2720 returned guint -- see next group of files:
2722 * src/window.c: (gl_window_get_type):
2723 * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
2724 * src/canvas-hacktext.h:
2725 * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
2726 (gl_hig_category_get_type), (gl_hig_vbox_get_type),
2727 (gl_hig_hbox_get_type):
2729 * src/label-barcode.c: (gl_label_barcode_get_type):
2730 * src/label-barcode.h:
2731 * src/label-box.c: (gl_label_box_get_type):
2733 * src/label-ellipse.c: (gl_label_ellipse_get_type):
2734 * src/label-ellipse.h:
2735 * src/label-image.c: (gl_label_image_get_type):
2736 * src/label-image.h:
2737 * src/label-line.c: (gl_label_line_get_type):
2739 * src/label-object.c: (gl_label_object_get_type):
2740 * src/label-object.h:
2741 * src/label-text.c: (gl_label_text_get_type):
2743 * src/label.c: (gl_label_get_type):
2745 * src/merge-properties-dialog.c:
2746 (gl_merge_properties_dialog_get_type):
2747 * src/merge-properties-dialog.h:
2748 * src/merge-text.c: (gl_merge_text_get_type):
2750 * src/merge.c: (gl_merge_get_type):
2752 * src/object-editor.c: (gl_object_editor_get_type):
2753 * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
2754 * src/prefs-dialog.h:
2755 * src/prefs-model.c: (gl_prefs_model_get_type):
2756 * src/prefs-model.h:
2757 * src/print-dialog.c: (gl_print_dialog_get_type):
2758 * src/print-dialog.h:
2759 * src/template-designer.c: (gl_template_designer_get_type):
2760 * src/template-designer.h:
2761 * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
2762 * src/ui-property-bar.h:
2763 * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
2765 * src/view-barcode.c: (gl_view_barcode_get_type):
2766 * src/view-barcode.h:
2767 * src/view-box.c: (gl_view_box_get_type):
2769 * src/view-ellipse.c: (gl_view_ellipse_get_type):
2770 * src/view-ellipse.h:
2771 * src/view-highlight.c: (gl_view_highlight_get_type):
2772 * src/view-highlight.h:
2773 * src/view-image.c: (gl_view_image_get_type):
2775 * src/view-line.c: (gl_view_line_get_type):
2777 * src/view-object.c: (gl_view_object_get_type):
2778 * src/view-object.h:
2779 * src/view-text.c: (gl_view_text_get_type):
2781 * src/view.c: (gl_view_get_type):
2783 * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
2784 * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
2785 * src/wdgt-image-select.h:
2786 * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
2787 * src/wdgt-media-select.h:
2788 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
2789 * src/wdgt-mini-preview.h:
2790 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
2791 * src/wdgt-print-copies.h:
2792 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
2793 * src/wdgt-print-merge.h:
2794 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
2795 * src/wdgt-rotate-label.h:
2796 - Made sure all xxx_get_type functions returned GType, not guint. This
2797 was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
2798 ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
2799 wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
2800 wdt-print-merge.[ch], and wdgt-rotate-label.[ch]. See separate
2801 window.[ch] details above for more info.
2802 - Reconciled various coding style differences in all xxx_get_type()
2804 * All prototypes include G_GNUC_CONST.
2805 * All prototypes specify the return value as GType, not GtkType
2807 * Info structures are all declared as "static const."
2808 * Generalized the names of type and info variables.
2809 * Miscelaneous formatting.
2811 2004-06-08 Jim Evins <evins@snaught.com>
2817 Don't touch compression of original file -- still defaults to 9 for
2818 new files. Original patch provided by Javier Donaire Segarra
2819 (#912252 in patch tracker).
2821 2004-05-05 Jim Evins <evins@snaught.com>
2823 * data/glabels-2.0.dtd:
2824 Broke DTD previously when adding new barcode types that contain a
2825 plus sign (+). Simply changed the BC_STYLE_TYPE entity to "CDATA"
2826 to avoid the problem.
2827 * data/avery-iso-templates.xml:
2828 * data/zweckform-iso-templates.xml:
2830 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021. Templates
2831 provided by Frank Altpeter.
2832 * libglabels/xml-template.c: (xml_create_label_node):
2833 Reordered markup and layout sub-nodes so that resulting templates will
2834 validate against DTD.
2836 2004-03-13 Jim Evins <evins@snaught.com>
2838 * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
2839 Changed spin callback signals from "value-changed" back to "changed."
2840 This was accidentally introduced in a previous revision, and can cause
2841 size changes just by selecting the size tab.
2843 2004-03-06 Jim Evins <evins@snaught.com>
2845 * src/view.c: (draw_grid_layer):
2846 For round labels (round and cd) adjust grid so that it lines up with
2847 center of label. Also, no longer draw box around label in the grid layer,
2848 it is hidden by he fg layer anyway. Feature suggested by
2849 nemolivier@free.fr. Although the grid is aligned with the center of the
2850 label, the coordinate system is still relative to the upper left corner
2851 of the rectangle containing the label.
2853 2004-02-25 Jim Evins <evins@snaught.com>
2856 Changed version to 2.0pre1cvs
2858 * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
2859 Removed extra xmlFreeDoc() calls upon error. Also print the doc->URL
2860 instead of doc->name fields when errors encountered.
2862 2004-02-21 Jim Evins <evins@snaught.com>
2864 * data/avery-iso-templates.xml:
2865 Added aliases for Avery 8651. Patch provided by Wayne Schuller.
2868 Added libglabels library and include file to installed files.
2871 Final prep for 1.93.3.
2873 2004-02-20 Jim Evins <evins@snaught.com>
2875 * src/glabels-batch.c: (main):
2876 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
2877 as suggested by Javier Donaire Segarra. This addresses bug #901063.
2879 2004-02-16 Jim Evins <evins@snaught.com>
2882 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
2885 Added HAVE_FILE_CHOOSER to INCLUDES.
2887 * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
2888 (gl_file_save_as), (save_as_response):
2889 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
2891 2004-02-16 Jim Evins <evins@snaught.com>
2893 * src/xml-label-04.c: (xml04_parse_image_props):
2894 * src/xml-label-191.c: (xml191_parse_image_props):
2895 * src/xml-label.c: (xml_parse_object_image):
2896 Delay setting image size until after image has been applied to new
2899 2004-02-15 Jim Evins <evins@snaught.com>
2901 * src/label-barcode.c: (gl_label_barcode_set_data),
2902 (gl_label_barcode_set_props):
2903 Don't emit "changed" signal, if no change actually made for these
2904 methods. Reduces number of unnecessary redraws of barcodes.
2906 * src/label-object.h:
2907 * src/label-object.c: (gl_label_object_set_position),
2908 (gl_label_object_set_position_relative), (set_size),
2909 (gl_label_object_set_size),
2910 (gl_label_object_set_size_honor_aspect):
2911 Don't emit "changed" signal, if no change actually made for these
2914 2004-02-15 Jim Evins <evins@snaught.com>
2916 * data/glabels-2.0.dtd:
2917 Added specific subtypes for various barcode types.
2920 * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
2921 (gl_barcode_get_styles_list), (gl_barcode_default_digits),
2922 (gl_barcode_can_text), (gl_barcode_text_optional),
2923 (gl_barcode_can_csum), (gl_barcode_csum_optional),
2924 (gl_barcode_id_to_name), (gl_barcode_name_to_id):
2925 Changed API to use a string id, rather than a fixed enumeration. Id and
2926 name are separate strings. Added entries to backend table for specific
2927 subtypes for various barcode types.
2930 * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
2932 Modified to conform to above API. Now more stringent with data length
2933 for various subtypes.
2935 * src/bc-gnubarcode.h:
2936 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
2937 (is_length_valid), (is_length1_valid), (is_length2_valid):
2938 Modified to conform to above API. Now more stringent with data length
2939 for various subtypes.
2941 * src/label-barcode.h:
2942 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
2943 (gl_label_barcode_get_props), (get_size):
2944 Modified to use above API for storing barcode type.
2946 * src/object-editor.h:
2947 * src/object-editor-bc-page.c: (style_changed_cb),
2948 (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
2949 Modified to use above API for storing barcode type.
2951 * src/object-editor-size-page.c:
2952 (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
2953 (w_spin_cb), (h_spin_cb), (size_reset_cb):
2954 Added debug markers.
2956 * src/object-editor.glade:
2957 Made barcode style combo's text entry non-editable.
2959 * src/print.c: (draw_barcode_object):
2960 Modified to use above API for barcode type.
2962 * src/view-barcode.c: (update_object_from_editor_cb),
2963 (update_editor_from_object_cb),
2964 (gl_view_barcode_create_event_handler), (draw_barcode):
2965 Modified to use above API for barcode type.
2967 * src/xml-label-04.c: (xml04_parse_barcode_props):
2968 * src/xml-label-191.c: (xml191_parse_barcode_props):
2969 * src/xml-label.c: (xml_parse_object_barcode),
2970 (xml_create_object_barcode):
2971 Modified to use above API for barcode type.
2973 2004-02-07 Jim Evins <evins@snaught.com>
2975 * src/stock-pixmaps/Makefile.am:
2976 * src/stock-pixmaps/stock_hchain_24.png:
2977 * src/stock-pixmaps/stock_hchain_broken_24.png:
2978 * src/stock-pixmaps/stock_vchain_24.png:
2979 * src/stock-pixmaps/stock_vchain_broken_24.png:
2980 Added chain pixmaps borrowed from the gimp's default theme.
2983 * src/stock.c: (gl_stock_init), (add_button_icon):
2984 Added above pixmaps to stock icon sets. Created add_button_icon() to
2985 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
2987 * src/wdgt-chain-button.h
2988 * src/wdgt-chain-button.c
2991 Added this Modified version of gimpchainbutton widget, borrowed from
2995 Added acknowledgements of the above borrowing from the gimp.
2997 * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
2999 * src/object-editor.c: (gl_object_editor_construct_chain_button):
3000 * src/object-editor.glade:
3001 Replaced the keep aspect ratio check box with the above chain-button
3004 * src/text-node.c: (gl_text_node_equal):
3006 Added function gl_text_node_equal() to compare text_nodes.
3008 * src/label-image.c: (gl_label_image_set_filename):
3009 Replaced incomplete text_node comparison code with invocation of
3010 gl_text_node_equal. This fixed the problem of not being able to
3011 resize an image using the object_editor if the aspect ratio is not
3014 2004-02-04 Jim Evins <evins@snaught.com>
3016 * src/object-editor-image-page.c:
3017 (gl_object_editor_prepare_image_page):
3018 Track "changed" signal of pixmap entry's GtkEntry rather than its
3019 "activate" signal -- this catches all changes to the entry rather than
3020 just changes resulting from a browse, so one can easily pull previous
3021 entries from the history. (This change is marked below on 2004-02-03,
3022 but somehow never got checked in.)
3024 * src/view-highlight.c: (sl_resize_event_handler),
3025 (sr_resize_event_handler), (st_resize_event_handler),
3026 (sb_resize_event_handler):
3027 Side resize handles will now confirm the actual resize that the object
3028 accepted before adjusting position parameters. Previously some interesting
3029 things happened when resizing a barcode to its minimum size.
3031 2004-02-03 Jim Evins <evins@snaught.com>
3033 * src/object-editor-image-page.c:
3034 (gl_object_editor_prepare_image_page):
3035 Track "changed" signal of pixmap entry's GtkEntry rather than its
3036 "activate" signal -- this catches all changes to the entry rather than
3037 just changes resulting from a browse, so one can easily pull previous
3038 entries from the history.
3040 * src/view-highlight.c: (tl_resize_event_handler),
3041 (tr_resize_event_handler), (bl_resize_event_handler),
3042 (br_resize_event_handler):
3043 Allow control key to be dropped while dragging a corner resize handle
3044 without losing the aspect ratio lock.
3046 2004-02-02 Jim Evins <evins@snaught.com>
3048 * src/label-image.c: (gl_label_image_set_filename):
3049 When setting a new filename adjust size such that the aspect ratio of
3050 the image is preserved using the current size as a bounding box.
3052 * src/view-image.c: (update_object_from_editor_cb):
3053 When updating object from editor, feed back possible size changes to
3054 editor as a result of a possible change in image.
3056 * src/object-editor-size-page.c: (size_reset_cb):
3057 Fixed typo when blocking spin handlers. If the base size is larger than
3058 the max size, treat max size as a bounding box while keeping aspect
3062 2004-02-02 Jim Evins <evins@snaught.com>
3064 * src/label-object.h:
3065 * src/label-object.c: (gl_label_object_set_size),
3066 (gl_label_object_set_size_honor_aspect):
3067 Added gl_label_object_set_size_honor_aspect() which will maintain the
3068 current aspect ratio by modifying the supplied w or h apropriately.
3070 * src/view-highlight.c: (tl_resize_event_handler),
3071 (tr_resize_event_handler), (bl_resize_event_handler),
3072 (br_resize_event_handler):
3073 Corner handles will now maintain the current aspect ratio if the
3074 control key is pressed while resizing. This addresses feature
3078 2004-01-31 Jim Evins <evins@snaught.com>
3081 * data/avery-us-templates.xml:
3082 Added entries for "LSK-3," "LSK-5," and "LSK-8." Submitted by JBadger.
3084 * libglabels/template.c: (read_template_files_from_dir):
3085 Corrected problem with testing for extensions.
3087 * src/object-editor.glade:
3088 Corrected grouping of radio buttons in barcode data page.
3090 * src/print.c: (draw_barcode_object):
3091 * src/view-barcode.c: (draw_barcode):
3092 Corrected problem with calculation of y_offset for locating characters.
3094 2004-01-24 Jim Evins <evins@snaught.com>
3097 * data/avery-us-templates.xml:
3098 Added Avery 5824, submitted by Fred Bacon.
3100 2004-01-20 Jim Evins <evins@snaught.com>
3102 Catching up on a couple of backlogged user template submissions.
3104 * data/avery-iso-templates.xml:
3105 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
3106 Suggested by Linas Jakucionis.
3108 * data/zweckform-iso-templates.xml:
3109 Added Zweckform 4760, submitted by Thomas Vill.
3112 Updated to reflect above submissions.
3114 2004-01-06 Jim Evins <evins@snaught.com>
3116 Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
3117 xml.[ch] into a separate library called libglabels, to facilitate third
3118 party use of glabels template files. This was suggested by Wayne Schuller.
3119 Once split-out, some modifications to the structures and functions to
3120 make a cleaner more useful API, hopefully. Rather extensive changes have
3121 propogated to other modules.
3129 * src/xml-template.h:
3130 * src/xml-template.c:
3133 These files have been moved to libglabels/. API cleanup performed.
3135 * libglabels/libglabels.h:
3136 * libglabels/libglabels-private.h:
3137 * libglabels/Makefile.am:
3138 These files have been added to finish out libglabels.
3145 Modified to reflect new sets of files in src/ and libglabels/.
3147 * COPYING.LIBGLABELS:
3149 Added copy of the LGPL for libglabels, and a copy the GFDL for
3152 * src/glabels-batch.c:
3154 * src/label.c: (gl_label_finalize), (gl_label_set_template),
3155 (gl_label_get_size):
3157 * src/prefs-model.c: (gl_prefs_model_load_settings):
3158 * src/print-dialog.c:
3159 * src/print.c: (gl_print_simple), (gl_print_merge_collated),
3160 (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
3161 (print_crop_marks), (print_label), (draw_outline),
3162 (clip_to_outline), (clip_punchouts):
3163 * src/template-designer.c: (construct_pg_size_page),
3164 (pg_size_page_changed_cb), (layout_page_changed_cb),
3165 (print_test_cb), (build_template):
3166 * src/util.c: (gl_util_fraction):
3168 * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
3169 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
3170 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
3171 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
3172 (draw_markup_margin_round), (draw_markup_margin_cd),
3173 (draw_markup_margin_cd_bc), (draw_markup_line),
3174 (draw_markup_circle), (gl_view_copy):
3175 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
3176 (page_size_entry_changed_cb), (details_update), (get_layout_desc),
3177 (get_label_size_desc):
3178 * src/wdgt-mini-preview.c:
3179 (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
3181 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
3182 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
3183 * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
3184 (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
3185 * src/wdgt-rotate-label.h:
3186 * src/xml-label-04.c: (xml04_parse_media_description):
3187 * src/xml-label-191.c: (gl_xml_label_191_parse),
3188 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
3189 (xml191_parse_markup), (xml191_parse_alias):
3190 * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
3192 Various changes to accomodate new libglabels API.
3194 2004-01-03 Jim Evins <evins@snaught.com>
3199 2004-01-03 Jim Evins <evins@snaught.com>
3202 Added acknowledgement of contributions by Wayne Schuller.
3204 * src/commands.c: (gl_cmd_file_print):
3205 Create extra reference to print dialog, so that it can be properly re-used.
3207 * src/mygal/mygal-combo-box.h:
3208 * src/mygal/mygal-combo-box.c:
3209 (mygal_combo_box_popup_hide_unconditional),
3210 (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
3211 (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
3212 (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
3213 (mygal_combo_box_set_tearable):
3214 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
3215 complete the rename of this widget to prevent namespace collisions
3218 * src/prefs-dialog.glade:
3219 Fixed alignment of Fill/Color widgets.
3221 2004-01-03 Jim Evins <evins@snaught.com>
3223 * data/avery-iso-templates.xml:
3224 Added user submitted templates.
3225 Avery 8435A & 8435B, submitted by Ludger Solbach.
3227 * doc/C/glabels.xml:
3228 Added minimal documentation, noting the new template designer.
3230 2004-01-03 Jim Evins <evins@snaught.com>
3232 * pixmaps/ex-rect-size.png:
3233 * pixmaps/ex-round-size.png:
3234 * pixmaps/ex-cd-size.png:
3235 * pixmaps/Makefile.am:
3236 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
3237 files to be used as illustrations/examples in the template-designer.
3239 * src/template-designer.c: (construct_rect_size_page),
3240 (construct_round_size_page), (construct_cd_size_page),
3241 (construct_nlayouts_page), (rect_size_page_prepare_cb),
3242 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
3243 (layout_page_prepare_cb), (build_template):
3244 * src/template-designer.glade:
3245 Added illustrations for rectangle, round, and cd label size pages.
3246 Added margin spinboxes to these pages, and now add a margin markup
3247 to the constructed template. Added realistic default values for
3248 some of the size spinboxes. Cleaned up the code for setting spinbox
3249 ranges on the layouts page.
3251 2004-01-02 Jim Evins <evins@snaught.com>
3253 * src/object-editor-size-page.c: (h_spin_cb):
3254 Fixed cut-n-paste error in h_spin_cb that loaded h from
3255 the wrong spinbutton.
3257 * src/object-editor.h:
3258 * src/object-editor.c: (gl_object_editor_class_init),
3259 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
3260 * src/object-editor-private.h:
3261 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
3263 Added "size_changed" signal.
3265 * src/view-text.c: (construct_properties_editor),
3266 (update_object_from_editor_cb),
3267 (update_object_from_editor_size_cb):
3268 Track size changes from object editor separately from other
3269 properties. This is so the default size (0,0) of a text
3270 object is not modified unintentionally.
3272 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
3274 Added feature: line spacing - allows you to comfortably space a text box to
3275 fit a label perfectly.
3277 * data/glabels-2.0.dtd:
3278 * src/label-object.c: (gl_label_object_set_text_line_spacing),
3279 (gl_label_object_get_text_alignment),
3280 (gl_label_object_get_text_line_spacing):
3281 * src/label-object.h:
3282 * src/label-text.c: (gl_label_text_class_init),
3283 (gl_label_text_instance_init), (copy), (get_size),
3284 (set_text_line_spacing), (get_text_alignment),
3285 (get_text_line_spacing):
3286 * src/object-editor-private.h:
3287 * src/object-editor-text-page.c:
3288 (gl_object_editor_prepare_text_page),
3289 (gl_object_editor_set_text_line_spacing),
3290 (gl_object_editor_get_text_line_spacing):
3291 * src/object-editor.glade:
3292 * src/object-editor.h:
3293 * src/prefs-dialog.c: (construct_object_page),
3294 (update_object_page_from_prefs), (update_prefs_from_object_page):
3295 * src/prefs-dialog.glade:
3296 * src/prefs-model.c: (gl_prefs_model_save_settings),
3297 (gl_prefs_model_load_settings), (get_float):
3298 * src/prefs-model.h:
3299 * src/print.c: (draw_text_object):
3301 * src/view-text.c: (update_object_from_editor_cb),
3302 (update_editor_from_object_cb),
3303 (gl_view_text_create_event_handler), (draw_hacktext):
3304 * src/view.c: (gl_view_construct),
3305 (gl_view_set_selection_text_line_spacing),
3306 (gl_view_set_default_text_line_spacing),
3307 (gl_view_get_default_text_line_spacing):
3309 * src/xml-label.c: (xml_parse_toplevel_span),
3310 (xml_create_toplevel_span):
3312 2003-12-30 Jim Evins <evins@snaught.com>
3314 * src/template-designer.c:
3315 * src/template-designer.h:
3316 * src/template-designer.glade:
3317 New template designer assistant.
3321 Added entries for src/template-designer.* files.
3323 * pixmaps/ex-1layout.png
3324 * pixmaps/ex-2layouts.png
3325 * pixmaps/Makefile.am:
3326 Added the new image files ex-*.png used as illustrations in the
3327 template designer assistant.
3329 * src/print-dialog.h:
3330 * src/print-dialog.c: (gl_print_dialog_finalize),
3331 (gl_print_dialog_new), (gl_print_dialog_construct),
3332 (gl_print_dialog_force_outline_flag):
3333 Changed first argument of gl_print_dialog_new() from glView to glLabel,
3334 to support printing from the template designer assistant which does not
3335 have a full-fledged view. Nothing else from the view object was being
3336 used by the dialog anyway.
3338 Added the gl_print_dialog_force_outline_flag() method, for better
3339 integration with the template designer assistant.
3343 * src/commands.c: (gl_cmd_file_template_designer),
3344 (gl_cmd_file_print):
3345 Modified print command to provide label instead of view to dialog.
3346 Added the gl_cmd_file_template_designer() command to invoke the
3347 template designer assistant.
3350 * src/glabels-ui.xml:
3351 Added support for template designer assistant.
3353 * src/wdgt-mini-preview.h:
3354 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
3355 (gl_wdgt_mini_preview_set_bg_color):
3356 Preview is now centered in canvas. Added
3357 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
3358 assistant to match the background color with its own.
3360 * src/print.c: (clip_to_outline):
3361 Fixed really stupid bug when adding waste to clip region of rectangular
3362 labels/cards. Each side of the clip region needs to be extended by
3363 twice the waste margin, as well as negatively offset by the waste
3366 2003-12-28 Jim Evins <evins@snaught.com>
3368 * src/prefs-dialog.c: (update_object_page_from_prefs):
3369 Block intermediary function align_toggle_cb() instead of
3370 update_prefs_from_object_page() for the three alignment
3373 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
3375 * src/file.c: (gl_file_new), (gl_file_properties):
3376 Swap button order and set default for higificatory pleasure.
3378 2003-12-27 Jim Evins <evins@snaught.com>
3380 * barcode-0.98/Makefile.am:
3381 One last time: removed doc/Makefile and po/Makefile.in.in from
3384 2003-12-27 Jim Evins <evins@snaught.com>
3386 * barcode-0.98/Makefile.am:
3387 Removed config.stat entry from EXTRA_DIST files.
3389 * barcode-0.98/Makefile.in:
3392 2003-12-27 Jim Evins <evins@snaught.com>
3395 Updated to work with latest gnome-common package from CVS.
3396 Removed recursive configuration of barcode-0.98.
3403 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
3405 * barcode-0.98/Makefile.in:
3406 * barcode-0.98/configure.in:
3407 * barcode-0.98/Makefile.am:
3408 * barcode-0.98/README.glabels:
3409 Modified to ignore the barcode package's build system, and build
3410 as a part of glabels.
3411 Renamed Makefile.in to Makefile.in.dist.
3412 Renamed configure.in to configure.in.dist.
3413 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
3416 * src/mygal/Makefile.am:
3417 * src/recent-files/Makefile.am:
3418 In order to build against the GNOME 2.5 platform,
3419 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
3421 * src/mygal/Makefile.am:
3422 * src/mygal/mygal-combo-box.c:
3423 * src/mygal/mygal-combo-box.h:
3424 * src/mygal/widget-color-combo.c:
3425 * src/mygal/widget-color-combo.h:
3427 In order to build against the GNOME 2.5 platform,
3428 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
3429 collisions with the real gtk_combo_box widget, now a part of gtk.
3431 2003-12-26 Jim Evins <evins@snaught.com>
3437 Moved local versions of get_home_data_dir() in paper.c and
3438 template.c to util package. Cleaned up formatting in
3442 In gl_template_register() save a copy of the template in
3443 ~/.glabels if the template is not known. Still need to
3444 handle duplicate filename case and duplicate name but
3445 different template case.
3449 Moved local definition of NAME_SPACE macro from xml-label.c
3452 * src/xml-template.c:
3453 * src/xml-template.h:
3454 Added function gl_xml_template_write_template_to_file(), used
3455 in gl_template_register().