1 2007-10-12 Jim Evins <evins@snaught.com>
3 * docs/libglabels/libglabels-decl-list.txt:
4 * docs/libglabels/libglabels-sections.txt:
5 * docs/libglabels/libglabels-undocumented.txt:
6 * docs/libglabels/tmpl/category.sgml:
7 * docs/libglabels/tmpl/enums.sgml:
8 * docs/libglabels/tmpl/libglabels-unused.sgml:
9 * docs/libglabels/tmpl/paper.sgml:
10 * docs/libglabels/tmpl/template-struct.sgml:
12 * libglabels/template.c:
13 * libglabels/template.h:
14 Another pass at fleshing out the libglabels documentation.
15 * src/cairo-label-path.c:
16 * src/cairo-markup-path.c:
18 * src/mini-preview-pixbuf.c:
22 * src/wdgt-media-select.c:
23 * src/wdgt-mini-preview.c:
24 * src/wdgt-print-copies.c:
25 * src/wdgt-print-merge.c:
26 * src/wdgt-rotate-label.c:
27 Removed lgl_template_get_first_frame() from libglabels API and all references.
29 2007-10-11 Jim Evins <evins@snaught.com>
31 Extended checks for deprecated symbols.
32 * libglabels/template.c:
33 Removed g_strcasecmp references, which are deprecated.
35 2007-10-09 Jim Evins <evins@snaught.com>
37 * src/merge-evolution.c:
38 Create address book if it does not exist. Also, be more robust about handling
39 error conditions -- don't just assume GError has been set.
41 2007-10-08 Jim Evins <evins@snaught.com>
43 * libglabels/template.c:
44 * libglabels/xml-template.c:
45 * src/template-designer.c:
46 Missed some symbols with libglabels API work.
48 2007-10-01 Jim Evins <evins@snaught.com>
50 * docs/libglabels/libglabels-decl-list.txt:
51 * docs/libglabels/libglabels-docs.sgml:
52 * docs/libglabels/libglabels-sections.txt:
53 * docs/libglabels/libglabels-undocumented.txt:
54 * docs/libglabels/tmpl/category.sgml:
55 * docs/libglabels/tmpl/enums.sgml:
56 * docs/libglabels/tmpl/init.sgml:
57 * docs/libglabels/tmpl/libglabels-unused.sgml:
58 * docs/libglabels/tmpl/paper.sgml:
59 * docs/libglabels/tmpl/template-construction.sgml:
60 * docs/libglabels/tmpl/template-db.sgml:
61 * docs/libglabels/tmpl/template-misc.sgml:
62 * docs/libglabels/tmpl/template-struct.sgml:
63 * docs/libglabels/tmpl/template.sgml:
64 * docs/libglabels/tmpl/xml-category.sgml:
65 * docs/libglabels/tmpl/xml-template.sgml:
66 * libglabels/category.h:
68 * libglabels/libglabels-private.h:
70 * libglabels/template.c:
71 * libglabels/template.h:
72 * libglabels/xml-template.h:
73 Basic documentation framework for libglabels updated. This still needs some
76 2007-09-27 Jim Evins <evins@snaught.com>
78 * docs/libglabels/libglabels-decl-list.txt:
79 * docs/libglabels/libglabels-docs.sgml:
80 * docs/libglabels/libglabels-sections.txt:
81 * docs/libglabels/libglabels-undocumented.txt:
82 * docs/libglabels/tmpl/enums.sgml:
83 * docs/libglabels/tmpl/init.sgml:
84 * docs/libglabels/tmpl/libglabels-unused.sgml:
85 * docs/libglabels/tmpl/paper.sgml:
86 * docs/libglabels/tmpl/template.sgml:
87 * docs/libglabels/tmpl/xml-paper.sgml:
88 * docs/libglabels/tmpl/xml-template.sgml:
89 * docs/libglabels/tmpl/xml.sgml:
90 * libglabels/Makefile.am:
91 * libglabels/category.c:
92 * libglabels/category.h:
96 * libglabels/libglabels-private.h:
97 * libglabels/libglabels.h:
100 * libglabels/template.c:
101 * libglabels/template.h:
102 * libglabels/xml-category.c:
103 * libglabels/xml-category.h:
104 * libglabels/xml-paper.c:
105 * libglabels/xml-paper.h:
106 * libglabels/xml-template.c:
107 * libglabels/xml-template.h:
110 * src/cairo-label-path.c:
111 * src/cairo-label-path.h:
112 * src/cairo-markup-path.c:
113 * src/cairo-markup-path.h:
115 * src/glabels-batch.c:
117 * src/label-object.c:
120 * src/mini-preview-pixbuf-cache.c:
121 * src/mini-preview-pixbuf.c:
122 * src/mini-preview-pixbuf.h:
123 * src/prefs-dialog.c:
130 * src/template-designer.c:
131 * src/view-barcode.c:
133 * src/view-ellipse.c:
137 * src/wdgt-media-select.c:
138 * src/wdgt-mini-preview.c:
139 * src/wdgt-mini-preview.h:
140 * src/wdgt-print-copies.c:
141 * src/wdgt-print-merge.c:
142 * src/wdgt-rotate-label.c:
143 * src/xml-label-04.c:
145 Major cleanup of libglabels API -- this breaks API compatibility with older
146 development and stable versions -- as far as I know, there are currently
147 no external users of this library yet.
149 2007-09-14 Jim Evins <evins@snaught.com>
154 * src/label-object.c:
155 * src/label-object.h:
156 * src/label-barcode.c:
157 * src/label-ellipse.c:
160 * src/view-barcode.c:
162 * src/view-ellipse.c:
166 Better separation of model from view.
168 2007-08-21 Jim Evins <evins@snaught.com>
170 * src/print-op.c: (create_custom_widget_cb):
171 Fix problem with force_outline_flag -- don't override with default.
173 2007-08-21 Jim Evins <evins@snaught.com>
175 * data/dtd/glabels-2.0.dtd:
176 * libglabels/template.c:
177 * libglabels/template.h:
178 * libglabels/xml-template.c:
179 * src/cairo-markup-path.c:
180 Added "Markup-rect" element to template format.
182 2007-08-21 Jim Evins <evins@snaught.com>
185 Changed version to 2.1.pre5svn.
186 * src/view.c: (draw_markup_layer):
187 Do a stroke for each markup path, otherwise multiple markups
190 2007-08-17 Jim Evins <evins@snaught.com>
193 Bump libglabels revision numbers for 2.1.4 release.
195 2007-08-16 Jim Evins <evins@snaught.com>
198 Include subdir iec16022-0.2.1.
202 Preparation for 2.1.4.
205 2007-08-11 Jim Evins <evins@snaught.com>
211 Added Esperanto translation. Provided by Antonio C.
212 Codazzi "la Filozofo" <f_sophia@libero.it>.
214 Updated French translation. Provided by Claude Paroz
215 <claude@2xlibre.net>.
217 Updated to reflect above translations.
219 2007-08-11 Jim Evins <evins@snaught.com>
222 * data/templates/avery-iso-templates.xml:
223 * data/templates/avery-us-templates.xml:
224 * data/templates/misc-iso-templates.xml:
225 * data/templates/misc-other-templates.xml:
226 * data/templates/misc-us-templates.xml:
227 * data/templates/zweckform-iso-templates.xml:
228 Caught up with backlog of template submissions.
230 2007-08-10 Jim Evins <evins@snaught.com>
232 * src/bc-postnet.c: (gl_barcode_postnet_new):
234 Added support for Brazilian CEPNet barcodes. This is simply an
235 instance of the US POSTNET format with 8 digits. Patch supplied
236 by Mário Meyer in bug # 1768792.
238 Updated acknowledgments to reflect above patch and recent shuffling
239 of underlying technology.
241 2007-05-13 Jim Evins <evins@snaught.com>
243 * src/merge-text.c: (parse_line), (parse_field):
244 Remove leading and trailing spaces from CSV fields, unless quoted.
246 2007-05-09 Jim Evins <evins@snaught.com>
248 * src/object-editor-bc-page.c:
249 * src/object-editor-data-page.c:
250 * src/object-editor-fill-page.c:
251 * src/object-editor-image-page.c:
252 * src/object-editor-line-page.c:
253 * src/object-editor-lsize-page.c:
254 * src/object-editor-position-page.c:
255 * src/object-editor-private.h:
256 * src/object-editor-shadow-page.c:
257 * src/object-editor-size-page.c:
258 * src/object-editor-text-page.c:
259 * src/object-editor.c:
260 * src/prefs-dialog.c:
261 * src/template-designer.c:
262 * src/ui-property-bar.c:
263 * src/wdgt-media-select.c:
264 Replaced signal block/unblock pairs with simple flags. This reduces
265 some code clutter, hopefully making it easier to read.
267 2007-05-05 Jim Evins <evins@snaught.com>
269 * src/template-designer.c: (apply_cb):
270 Add new template to mini-preview pixbuf cache.
272 2007-05-03 Jim Evins <evins@snaught.com>
274 * src/label-image.c: (gl_label_image_init), (draw_object):
275 Scale default pixbuf up, to prevent bluring. Use cairo_fill to
278 2007-05-02 Jim Evins <evins@snaught.com>
280 * src/view.c: (draw_select_region_layer), (motion_notify_event_cb),
281 (button_release_event_cb):
282 Removed attempt at rendering optimization by clipping the updates
283 to areas affected -- this actually seemed to hurt update performance.
285 2007-04-30 Jim Evins <evins@snaught.com>
288 * src/color.c: (gl_color_shadow), (gl_color_node_new_default),
289 (gl_color_node_equal), (gl_color_node_expand):
290 * src/label-barcode.c: (draw_object):
291 * src/label-box.c: (draw_object), (draw_shadow):
292 * src/label-ellipse.c: (draw_object), (draw_shadow):
293 * src/label-line.c: (draw_object), (draw_shadow):
294 * src/label-text.c: (draw_object), (draw_shadow):
295 * src/wdgt-mini-preview.c: (draw_shadow), (draw_labels):
296 * src/wdgt-rotate-label.c: (drawingarea_update):
297 Some cleanup to color related code.
299 2007-04-30 Jim Evins <evins@snaught.com>
302 Added glLabelRegion structure type.
303 * src/label-object.c: (gl_label_object_get_extent):
304 * src/label-object.h:
305 Modified gl_label_object_get_extent() to fill in a glLabelRegion struct.
307 * src/view.c: (gl_view_update_region), (draw_select_region_layer),
308 (gl_view_select_region), (gl_view_align_selection_left),
309 (gl_view_align_selection_right), (gl_view_align_selection_hcenter),
310 (gl_view_align_selection_top), (gl_view_align_selection_bottom),
311 (gl_view_align_selection_vcenter),
312 (gl_view_center_selection_horiz), (gl_view_center_selection_vert),
313 (gl_view_move_selection), (gl_view_can_selection_text),
314 (motion_notify_event_cb), (button_press_event_cb),
315 (button_release_event_cb):
316 - Reconcile with new gl_label_object_get_extent() API.
317 - Use glLabelRegion for view->select_region.
318 - Added gl_view_update_region() to clip updates to region.
319 - Use gl_view_update_region() during manipulation of view->select_region.
321 2007-04-26 Jim Evins <evins@snaught.com>
323 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
324 (draw_label_outline):
325 * src/print.c: (print_crop_marks), (draw_outline):
326 * src/view-object.c: (gl_view_object_draw_handles):
327 * src/view.c: (draw_bg_layer), (draw_grid_layer),
328 (draw_markup_layer), (draw_fg_layer), (draw_select_region_layer):
329 * src/wdgt-mini-preview.c: (draw_paper), (draw_labels):
330 * src/wdgt-rotate-label.c: (drawingarea_update):
331 Added defines for various magic numbers.
333 2007-04-25 Jim Evins <evins@snaught.com>
335 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
336 Scale text down. Cairo seems to render text too large.
338 2007-04-25 Jim Evins <evins@snaught.com>
341 * src/view.c: (gl_view_update), (expose_cb),
342 (motion_notify_event_cb), (button_press_event_cb),
343 (button_release_event_cb):
344 - Try not to let updates get backed up.
345 - Grab pointer when doing any drag operations.
347 2007-04-11 Jim Evins <evins@snaught.com>
349 * src/cairo-label-path.c: (gl_cairo_label_path),
350 (gl_cairo_rect_label_path), (gl_cairo_round_label_path),
351 (gl_cairo_cd_label_path):
352 * src/cairo-label-path.h:
353 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
354 (draw_label_outline):
355 * src/print.c: (draw_outline), (clip_to_outline):
356 * src/view.c: (draw_bg_layer), (draw_fg_layer):
357 * src/wdgt-mini-preview.c: (draw_labels):
358 * src/wdgt-rotate-label.c: (drawingarea_update):
359 Modified to universally use gl_cairo_label_path() to create paths
360 for labels. Added shadow to mini preview in rotate widget.
362 2007-04-10 Jim Evins <evins@snaught.com>
364 * libglabels/template.h:
365 * libglabels/template.c: (gl_template_get_name_list_unique),
366 (gl_template_get_name_list_all), (gl_template_from_name):
367 Modified libglabels to allow you to get a list of all template names
368 including all aliases or just a list of primary names of each unique
371 * src/file.c: (gl_file_properties):
372 * src/glabels.c: (main):
373 * src/mini-preview-pixbuf-cache.h:
374 * src/mini-preview-pixbuf-cache.c:
375 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
376 (filter_changed_cb), (load_list):
377 Added mini-preview pixbuf cache, so that only one mini-preview is
378 needed for a unique template and gets reused for all aliases. These
379 pixbufs will also live for the life of the program so they are not
380 rebuilt everytime a new label dialog is invoked.
381 * src/mini-preview-pixbuf.c: (draw_paper),
382 (draw_rect_label_outline), (draw_round_label_outline),
383 (draw_cd_label_outline):
384 Removed some comment artifacts.
386 2007-04-04 Jim Evins <evins@snaught.com>
388 * src/mini-preview-pixbuf.c: (gl_mini_preview_pixbuf_new),
389 (draw_paper), (draw_label_outlines), (draw_rect_label_outline),
390 (draw_round_label_outline), (draw_cd_label_outline):
391 * src/wdgt-media-select.c: (load_list):
392 * src/wdgt-rotate-label.c: (draw_cd_label_outline):
393 Cosmetic enhancments to mini previews.
395 2007-04-04 Jim Evins <evins@snaught.com>
397 * src/ui-property-bar.c: (gl_ui_property_bar_finalize),
398 (gl_ui_property_bar_construct):
399 Save copy of GladeXML tree so that we don't lose tooltips.
401 2007-04-02 Jim Evins <evins@snaught.com>
403 * src/merge-properties-dialog.c:
404 * src/new-label-dialog.c:
405 * src/object-editor.c:
406 * src/prefs-dialog.c:
408 * src/template-designer.c:
409 * src/ui-property-bar.c:
410 * src/wdgt-media-select.c:
411 * src/wdgt-rotate-label.c:
412 Fixed several memory leaks.
414 2007-04-01 Jim Evins <evins@snaught.com>
416 * src/label-text.c: (gl_label_text_init), (copy),
417 (gl_label_text_set_lines), (buffer_changed_cb), (get_size),
418 (set_font_family), (set_font_size), (set_font_weight),
419 (set_font_italic_flag), (set_text_alignment),
420 (set_text_line_spacing):
421 Cache object size, so that expensive extent calculations are only done
424 2007-03-30 Jim Evins <evins@snaught.com>
426 * src/prefs-model.c: (gl_prefs_model_load_settings):
427 Default to an unlimited list of recent documents, since this parameter
428 seems to be pre-filter anyway.
430 2007-03-30 Jim Evins <evins@snaught.com>
432 * src/label-box.c: (draw_shadow):
433 * src/label-ellipse.c: (draw_shadow):
434 Added missing shadow fill.
436 2007-03-28 Jim Evins <evins@snaught.com>
438 * src/ui-commands.c: (gl_ui_cmd_file_print):
439 Unreferencing the print operation sometimes crashes. Just don't do it
442 2007-03-28 Jim Evins <evins@snaught.com>
444 * src/print-op.c: (gl_print_op_construct),
445 (gl_print_op_get_settings), (gl_print_op_set_settings),
446 (gl_print_op_free_settings), (create_custom_widget_cb):
448 * src/ui-commands.c: (gl_ui_cmd_file_print):
449 * src/window.c: (gl_window_init):
451 Save print settings and custom settings between print operations
454 2007-03-24 Jim Evins <evins@snaught.com>
456 * src/object-editor-image-page.c:
457 (gl_object_editor_prepare_image_page),
458 (gl_object_editor_set_image), (img_selection_changed_cb):
459 Workaround for GtkFileChooserButton bug # 327243. This the root
460 cause for gLabels bug # 1192884. I have actually observed 3 delayed
461 "selection-changed" signals -- the first 2 return NULL -- this is
462 what caused the image to reset to the default followed by setting
463 it back to the original image, trying to fit it into a new bounding
464 box. This sequence of events is much more evident with the new
467 2007-03-23 Jim Evins <evins@snaught.com>
469 Merged all changes from experimental cairo branch to trunk.
470 Trunk no longer depends on libgnomecanvas or libgnomeprint[ui].
472 2007-03-23 Jim Evins <evins@snaught.com>
474 * src/label-object.h:
475 * src/label-object.c: (gl_label_object_class_init),
476 (gl_label_object_get_raw_size), (gl_label_object_get_size):
477 Created "get_raw_size" method.
478 * src/label-barcode.c: (get_size):
479 * src/xml-label.c: (xml_create_object_text),
480 (xml_create_object_barcode):
481 Use new "get_raw_size" method on label-objects when apropos.
483 * src/label-text.c: (get_size), (draw_object), (draw_shadow),
484 (auto_shrink_font_size):
485 Added "auto shrink" functionality back.
487 2007-03-19 Jim Evins <evins@snaught.com>
489 * src/label-text.c: (draw_object), (draw_shadow):
490 Don't use negative scales in workaround from previous commit.
493 2007-03-18 Jim Evins <evins@snaught.com>
496 Forgot to remove include of xml-lable-191 in previous commit.
497 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
498 Workaround for pango Bug #341481. Render text at device scale,
499 and scale font size accordingly. Also, don't do any hinting.
501 2007-03-18 Jim Evins <evins@snaught.com>
503 * src/cairo-ellipse-path.c:
504 * src/cairo-ellipse-path.h:
505 Forgot to add these new files during last mass commit.
507 2007-03-18 Jim Evins <evins@snaught.com>
510 * src/xml-label-191.c:
511 * src/xml-label-191.h:
512 Removed -- Very buggy. Version 1.91 is a very old "unstable" version,
513 so there is no need to keep compatability.
516 * src/cairo-label-path.c:
517 * src/cairo-label-path.h:
518 * src/cairo-markup-path.c:
522 * src/glabels-batch.c:
524 * src/label-barcode.c:
526 * src/label-ellipse.c:
529 * src/label-object.c:
530 * src/label-object.h:
534 * src/merge-properties-dialog.c:
536 * src/new-label-dialog.c:
537 * src/object-editor-bc-page.c:
538 * src/object-editor-data-page.c:
539 * src/object-editor-edit-page.c:
540 * src/object-editor-fill-page.c:
541 * src/object-editor-image-page.c:
542 * src/object-editor-line-page.c:
543 * src/object-editor-private.h:
544 * src/object-editor-shadow-page.c:
545 * src/object-editor-text-page.c:
546 * src/object-editor.c:
547 * src/pixbuf-cache.c:
552 * src/template-designer.c:
554 * src/ui-property-bar.c:
556 * src/view-barcode.c:
558 * src/view-ellipse.c:
565 * src/wdgt-media-select.c:
566 * src/wdgt-print-copies.c:
567 * src/wdgt-print-merge.c:
569 * src/xml-label-04.c:
571 Many changes, including:
572 - Move draw methods from view-*() to label-*().
573 - Use same drawing code for on screen view and printing.
574 - Fix all issues exposed with '-Wall -Werror'.
576 2007-03-14 Jim Evins <evins@snaught.com>
579 * src/cairo-handle-path.c:
580 * src/cairo-handle-path.h:
581 * src/cairo-object-path.c:
582 * src/cairo-object-path.h:
583 Removed cairo-handle-path.[ch] and cairo-object-path.[ch].
584 * src/view-barcode.c: (gl_view_barcode_class_init), (draw_object),
586 * src/view-box.c: (gl_view_box_class_init), (draw_object),
587 (draw_shadow), (object_at):
588 * src/view-ellipse.c: (gl_view_ellipse_class_init),
589 (create_ellipse_path), (draw_object), (draw_shadow), (object_at):
590 * src/view-image.c: (gl_view_image_class_init), (draw_object),
592 * src/view-line.c: (gl_view_line_class_init), (draw_object),
593 (draw_shadow), (object_at):
594 * src/view-object.c: (gl_view_object_draw), (gl_view_object_at),
595 (create_handle_path), (gl_view_object_draw_handles),
596 (gl_view_object_handle_at):
598 * src/view-text.c: (gl_view_text_class_init), (draw_object),
599 (draw_shadow), (object_at):
600 * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
601 Some restructuring of new code.
603 2007-03-12 Jim Evins <evins@snaught.com>
606 * src/cairo-object-path.c:
607 * src/view-barcode.c:
608 * src/view-barcode.h:
610 Added barcode object support to view.
612 2007-03-12 Jim Evins <evins@snaught.com>
618 * src/cairo-object-path.c:
619 * src/cairo-object-path.h:
621 * src/view-ellipse.c:
626 Added text object support to view. Added object_at method to all
629 2007-03-11 Jim Evins <evins@snaught.com>
632 * src/cairo-object-path.c: (gl_cairo_object_path),
633 (gl_cairo_image_object_path):
634 * src/view-image.c: (gl_view_image_class_init),
635 (gl_view_image_finalize), (gl_view_image_new),
636 (update_editor_from_label_cb), (draw),
637 (gl_view_image_get_create_cursor),
638 (gl_view_image_create_button_press_event),
639 (gl_view_image_create_motion_event),
640 (gl_view_image_create_button_release_event):
642 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
643 (selection_received_cb), (motion_notify_event_cb),
644 (button_press_event_cb), (button_release_event_cb):
645 Added image object support to view.
647 2007-03-11 Jim Evins <evins@snaught.com>
650 * src/cairo-object-path.c: (gl_cairo_object_path),
651 (gl_cairo_line_object_path):
652 * src/view-line.c: (gl_view_line_class_init), (gl_view_line_new),
653 (update_object_from_editor_cb), (update_editor_from_object_cb),
654 (update_editor_from_label_cb), (draw),
655 (gl_view_line_get_create_cursor),
656 (gl_view_line_create_button_press_event),
657 (gl_view_line_create_motion_event),
658 (gl_view_line_create_button_release_event):
660 * src/view-object.c: (gl_view_object_resize_event):
661 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
662 (selection_received_cb), (motion_notify_event_cb),
663 (button_press_event_cb), (button_release_event_cb):
664 Added line object support to view.
665 * src/cairo-handle-path.c:
666 Made handles slightly larger.
669 2007-03-11 Jim Evins <evins@snaught.com>
672 * src/cairo-handle-path.c:
673 * src/cairo-label-path.c: (gl_cairo_rect_label_path),
674 (gl_cairo_round_label_path), (gl_cairo_cd_label_path):
675 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
676 (gl_cairo_markup_margin_round_path),
677 (gl_cairo_markup_margin_cd_path), (gl_cairo_markup_circle_path):
678 * src/cairo-object-path.c: (gl_cairo_object_path),
679 (gl_cairo_ellipse_object_path):
680 * src/label-object.c: (gl_label_object_rotate):
683 * src/view-ellipse.c: (gl_view_ellipse_class_init),
684 (gl_view_ellipse_new), (update_object_from_editor_cb),
685 (update_editor_from_object_cb), (update_editor_from_label_cb),
686 (draw), (gl_view_ellipse_get_create_cursor),
687 (gl_view_ellipse_create_button_press_event),
688 (gl_view_ellipse_create_motion_event),
689 (gl_view_ellipse_create_button_release_event):
690 * src/view-ellipse.h:
693 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
694 (select_object_real), (selection_received_cb),
695 (motion_notify_event_cb), (button_press_event_cb),
696 (button_release_event_cb):
698 Added ellipse object support to view. Plus other cleanup.
700 2007-03-11 Jim Evins <evins@snaught.com>
703 * src/view-box.c: (gl_view_box_get_create_cursor),
704 (gl_view_box_create_button_press_event),
705 (gl_view_box_create_motion_event),
706 (gl_view_box_create_button_release_event):
707 * src/view-object.c: (gl_view_object_set_view),
708 (gl_view_object_handle_at):
710 * src/view.c: (gl_view_arrow_mode), (gl_view_object_create_mode),
711 (motion_notify_event_cb), (button_press_event_cb),
712 (button_release_event_cb), (key_press_event_cb):
713 Added creation code for box object.
715 2007-03-09 Jim Evins <evins@snaught.com>
717 * src/view-object.c: (gl_view_object_resize_event):
719 * src/view.c: (motion_notify_event_cb):
720 Fix bugs with resizing transformed objects.
721 * src/cairo-handle-path.c: (gl_cairo_handle_path):
722 * src/cairo-object-path.c: (gl_cairo_object_path):
723 * src/cairo-object-path.h:
724 * src/label-object.c: (gl_label_object_init),
725 (gl_label_object_dup), (gl_label_object_get_extent),
726 (gl_label_object_flip_horiz), (gl_label_object_flip_vert),
727 (gl_label_object_rotate), (gl_label_object_set_matrix),
728 (gl_label_object_get_matrix):
729 * src/label-object.h:
730 * src/print.c: (draw_object):
732 * src/view-highlight.c:
733 * src/view-highlight.h:
734 * src/xml-label-191.c: (xml191_parse_object):
735 * src/xml-label.c: (xml_parse_affine_attrs),
736 (xml_create_affine_attrs):
737 Replace libart affine matrices with cairo matrices.
739 2007-03-08 Jim Evins <evins@snaught.com>
742 * src/view.c: (gl_view_update), (motion_notify_event_cb):
743 * src/view-object.c: (gl_view_object_handle_at),
744 (gl_view_object_resize_event):
745 Added resize code -- still a bit buggy.
747 2007-03-07 Jim Evins <evins@snaught.com>
750 * src/cairo-handle-path.c:
751 * src/cairo-handle-path.h:
752 * src/view-box.c: (gl_view_box_new):
753 * src/view-object.c: (gl_view_object_set_object),
754 (gl_view_object_draw_handles), (gl_view_object_handle_at):
756 * src/view.c: (draw_highlight_layer), (select_object_real),
757 (unselect_object_real), (view_handle_at), (motion_notify_event_cb),
758 (button_press_event_cb), (button_release_event_cb),
759 (key_press_event_cb):
761 Added beginnings of object resize handles.
763 2007-03-07 Jim Evins <evins@snaught.com>
766 * src/view.c: (gl_view_init), (gl_view_arrow_mode),
767 (gl_view_object_create_mode), (motion_notify_event_cb),
768 (button_press_event_cb), (button_release_event_cb),
769 (key_press_event_cb):
770 Added move selection support.
772 2007-03-05 Jim Evins <evins@snaught.com>
774 * src/cairo-object-path.c: (gl_cairo_object_path):
775 * src/view-object.c: (gl_view_object_draw),
776 (gl_view_object_draw_highlight):
777 * src/view.c: (view_object_at), (motion_notify_event_cb),
778 (button_press_event_cb), (button_release_event_cb):
779 Additional refinements to select logic.
781 2007-03-05 Jim Evins <evins@snaught.com>
784 * src/view.c: (gl_view_init), (gl_view_construct),
785 (label_changed_cb), (draw_layers), (draw_select_region_layer),
786 (gl_view_select_region), (object_at), (motion_notify_event_cb),
787 (button_press_event_cb), (button_release_event_cb):
788 Added initial select region support and context menu.
790 2007-03-04 Jim Evins <evins@snaught.com>
808 * src/wdgt-print-copies.c:
809 * src/wdgt-print-merge.c:
811 Initial port to a raw Cairo canvas. This removes all remaining
812 dependencies on libgnomecanvas and libgnomeprint[ui]. Basically
813 the view is becoming a canvas widget in its own right. Still needs
815 * src/cairo-label-path.c:
816 * src/cairo-label-path.h:
817 * src/cairo-markup-path.c:
818 * src/cairo-markup-path.h:
819 * src/cairo-object-path.c:
820 * src/cairo-object-path.h:
821 New files to support cairo canvas.
822 * src/canvas-hacktext.c:
823 * src/canvas-hacktext.h:
826 2007-02-18 Jim Evins <evins@snaught.com>
829 GNOME_FONT_BOOK changed to PANGO_WEIGHT_NORMAL.
831 2007-02-14 Jim Evins <evins@snaught.com>
835 * src/bc-gnubarcode.c:
836 * src/bc-gnubarcode.h:
841 * src/canvas-hacktext.c:
842 * src/canvas-hacktext.h:
849 * src/label-barcode.c:
850 * src/label-barcode.h:
853 * src/label-ellipse.c:
854 * src/label-ellipse.h:
859 * src/label-object.c:
860 * src/label-object.h:
865 * src/merge-evolution.c:
866 * src/merge-evolution.h:
869 * src/merge-properties-dialog.c:
870 * src/merge-properties-dialog.h:
877 * src/mini-preview-pixbuf.h:
878 * src/new-label-dialog.c:
879 * src/new-label-dialog.h:
880 * src/object-editor-bc-page.c:
881 * src/object-editor-data-page.c:
882 * src/object-editor-edit-page.c:
883 * src/object-editor-fill-page.c:
884 * src/object-editor-image-page.c:
885 * src/object-editor-line-page.c:
886 * src/object-editor-lsize-page.c:
887 * src/object-editor-position-page.c:
888 * src/object-editor-private.h:
889 * src/object-editor-size-page.c:
890 * src/object-editor-text-page.c:
891 * src/object-editor.c:
892 * src/object-editor.h:
893 * src/pixbuf-cache.c:
894 * src/pixbuf-cache.h:
895 * src/prefs-dialog.c:
896 * src/prefs-dialog.h:
904 * src/template-designer.c:
909 * src/ui-property-bar.c:
910 * src/ui-property-bar.h:
919 * src/view-barcode.c:
920 * src/view-barcode.h:
923 * src/view-ellipse.c:
924 * src/view-ellipse.h:
925 * src/view-highlight.c:
926 * src/view-highlight.h:
937 * src/wdgt-chain-button.c:
938 * src/wdgt-chain-button.h:
939 * src/wdgt-media-select.c:
940 * src/wdgt-mini-preview.c:
941 * src/wdgt-print-copies.c:
942 * src/wdgt-print-copies.h:
943 * src/wdgt-print-merge.c:
944 * src/wdgt-print-merge.h:
945 * src/wdgt-rotate-label.c:
947 * src/xml-label-04.c:
948 * src/xml-label-04.h:
949 * src/xml-label-191.c:
950 * src/xml-label-191.h:
954 Assorted superficial cleanup. Including:
955 - Use G_DEFINE_TYPE for all objects.
956 - Reconcile style of all class initializer functions
957 - Reconcile style of all finalize functions
958 - Add emacs mode line to all source files
960 2007-02-06 Jim Evins <evins@snaught.com>
962 Assorted cleanup and removal of deprecated items.
967 Removed annoying splash screen.
968 * src/glabels-batch.c: (main):
969 * src/glabels.c: (main):
970 Converted from popt to GOption.
971 * src/object-editor-shadow-page.c:
972 (gl_object_editor_set_shadow_state):
973 Removed deprecated method on GtkToggleButton.
974 * src/ui-commands.c: (gl_ui_cmd_help_about):
975 Removed dependency on libgnomui/qnome-url.h.
976 * src/template-designer.c:
977 Removed dependency on libgnome/gnome-program.h.
980 2007-02-04 Jim Evins <evins@snaught.com>
985 * src/print.c: (draw_text_object):
986 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_construct):
987 Removed GnomeCanvas artifacts from color.[ch] and related modules.
989 2007-02-04 Jim Evins <evins@snaught.com>
991 * src/wdgt-mini-preview.c:
992 * src/wdgt-mini-preview.h:
993 Ported widget from GnomeCanvas to Cairo.
995 2007-02-03 Jim Evins <evins@snaught.com>
997 * data/glade/template-designer.glade:
998 * src/template-designer.c:
999 * src/template-designer.h:
1000 Ported GnomeDruid to GtkAssistant. Since libglade does not
1001 yet support the GtkAssistant and we derive directly from
1002 the Assistant, the pages are layed out in a GtkNotebook in
1003 the glade description -- we then append each page to the
1006 2007-01-25 Jim Evins <evins@snaught.com>
1008 * data/glade/object-editor.glade:
1009 Added dummy page to notebook, to prevent shadow page from
1010 becoming the default current page at creation.
1011 * src/view-box.c: (construct_properties_editor):
1012 * src/view-ellipse.c: (construct_properties_editor):
1013 * src/view-line.c: (construct_properties_editor):
1014 * src/view-text.c: (construct_properties_editor):
1015 Reconciled order of params.
1017 2007-01-19 Jim Evins <evins@snaught.com>
1019 * src/label-barcode.h:
1020 * src/label-object.c: (gl_label_object_set_font_weight),
1021 (gl_label_object_set_text_alignment),
1022 (gl_label_object_get_font_weight),
1023 (gl_label_object_get_text_alignment):
1024 * src/label-object.h:
1025 * src/label-text.c: (gl_label_text_instance_init), (copy),
1026 (get_size), (set_font_family), (set_font_weight),
1027 (set_text_alignment), (get_font_weight), (get_text_alignment):
1029 * src/object-editor-text-page.c:
1030 (gl_object_editor_prepare_text_page),
1031 (gl_object_editor_set_font_family),
1032 (gl_object_editor_set_font_weight),
1033 (gl_object_editor_get_font_weight),
1034 (gl_object_editor_set_text_alignment),
1035 (gl_object_editor_get_text_alignment),
1036 (gl_object_editor_set_text_color):
1037 * src/object-editor.h:
1038 * src/prefs-dialog.c: (construct_object_page),
1039 (update_object_page_from_prefs), (update_prefs_from_object_page):
1040 * src/prefs-model.c: (gl_prefs_model_save_settings),
1041 (gl_prefs_model_load_settings):
1042 * src/prefs-model.h:
1043 * src/print.c: (draw_text_object):
1044 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
1045 (reset_to_default_properties), (update_text_properties),
1046 (font_bold_toggled_cb), (text_align_toggled_cb):
1048 * src/util.c: (gl_util_align_to_string), (gl_util_string_to_align),
1049 (gl_util_weight_to_string), (gl_util_string_to_weight),
1050 (gl_util_get_font_family_list), (gl_util_font_family_list_free):
1052 * src/view-text.c: (update_object_from_editor_cb),
1053 (update_editor_from_object_cb), (draw_hacktext), (draw_cursor):
1054 * src/view.c: (gl_view_set_selection_text_alignment),
1055 (gl_view_set_default_text_alignment),
1056 (gl_view_get_default_text_alignment):
1058 * src/xml-label-04.c: (xml04_parse_text_props):
1059 * src/xml-label-191.c: (xml191_parse_text_props):
1060 * src/xml-label.c: (xml_parse_object_text),
1061 (xml_parse_toplevel_span), (xml_create_object_text),
1062 (xml_create_toplevel_span):
1063 Converted all model internals to Pango. GnomeFont remains in
1064 view until GnomeCanvas can be replaced with a cairo-based canvas.
1066 2007-01-17 Jim Evins <evins@snaught.com>
1072 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type),
1073 (gl_wdgt_print_copies_construct):
1074 * src/wdgt-print-copies.h:
1075 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type),
1076 (gl_wdgt_print_merge_construct):
1077 * src/wdgt-print-merge.h:
1078 Removed all remaining HIG wrapper widgets.
1080 2007-01-16 Jim Evins <evins@snaught.com>
1083 * src/print-dialog.c:
1084 * src/print-dialog.h:
1087 * src/template-designer.c: (print_test_cb):
1088 * src/ui-commands.c: (gl_ui_cmd_file_print):
1090 Renamed PrintDialog to PrintOp. Added constructor for batch
1092 * src/glabels-batch.c: (main):
1093 Converted to use new PrintOp object for printing.
1095 2007-01-15 Jim Evins <evins@snaught.com>
1097 * data/glade/Makefile.am:
1098 * data/glade/print-custom-widget.glade:
1099 * src/print-dialog.c:
1100 * src/print-dialog.h:
1103 * src/template-designer.c: (print_test_cb):
1104 * src/ui-commands.c: (gl_ui_cmd_file_print):
1105 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_copies):
1106 * src/wdgt-print-merge.h:
1107 * src/window.c: (gl_window_init):
1109 Initial conversion to GtkPrintOperation.
1111 - Remove font and other libgnomeprint[ui] from elsewhere
1112 - Add batch initialization of print operation
1114 2007-01-08 Jim Evins <evins@snaught.com>
1116 Updated dependencies. Set version to 2.1.pre4cvs.
1118 2007-01-03 Jim Evins <evins@snaught.com>
1120 * src/recent-files/*
1121 Removed EggRecent stuff.
1127 * src/ui-commands.c:
1128 * src/ui-commands.h:
1130 Ported from EggRecent to GtkRecentManager.
1133 2007-01-02 Jim Evins <evins@snaught.com>
1136 * iec16022-0.2.1/BUGS:
1137 * iec16022-0.2.1/CHANGELOG:
1138 * iec16022-0.2.1/CREDITS:
1139 * iec16022-0.2.1/INSTALL:
1140 * iec16022-0.2.1/LICENSE:
1141 * iec16022-0.2.1/Makefile.am:
1142 * iec16022-0.2.1/Makefile.dist:
1143 * iec16022-0.2.1/README:
1144 * iec16022-0.2.1/README.glabels:
1145 * iec16022-0.2.1/TODO:
1146 * iec16022-0.2.1/iec16022.1:
1147 * iec16022-0.2.1/iec16022.c:
1148 * iec16022-0.2.1/iec16022ecc200.c:
1149 * iec16022-0.2.1/iec16022ecc200.h:
1150 * iec16022-0.2.1/image.c:
1151 * iec16022-0.2.1/image.h:
1152 * iec16022-0.2.1/reedsol.c:
1153 * iec16022-0.2.1/reedsol.h:
1154 * iec16022-0.2.1/test/testsuite-example.bin:
1155 * iec16022-0.2.1/test/testsuite-example.eps:
1156 * iec16022-0.2.1/test/testsuite-example.hex:
1157 * iec16022-0.2.1/test/testsuite-example.png:
1158 * iec16022-0.2.1/test/testsuite-example.text:
1159 * iec16022-0.2.1/test/testsuite.sh:
1160 Include modified copy of iec16022-0.2.1 to provide encoding
1161 support for datamatrix 2D barcodes.
1163 * src/bc-iec16022.c:
1164 * src/bc-iec16022.h:
1166 Added initial datamatrix 2D barcode backend to barcode code.
1169 Automatic updates to later versions of these files.
1171 2006-11-28 Jim Evins <evins@snaught.com>
1173 * data/templates/avery-iso-templates.xml:
1174 * data/templates/avery-us-templates.xml:
1175 * data/templates/categories.xml:
1176 * data/templates/misc-iso-templates.xml:
1177 * data/templates/misc-us-templates.xml:
1178 * data/templates/zweckform-iso-templates.xml:
1179 More categorization.
1181 2006-09-12 Jim Evins <evins@snaught.com>
1183 * data/dtd/glabels-2.0.dtd:
1184 * data/templates/Makefile.am:
1185 * data/templates/avery-iso-templates.xml:
1186 * data/templates/avery-other-templates.xml:
1187 * data/templates/avery-us-templates.xml:
1188 * data/templates/categories.xml:
1189 * data/templates/misc-iso-templates.xml:
1190 * data/templates/misc-other-templates.xml:
1191 * data/templates/zweckform-iso-templates.xml:
1192 * data/glade/Makefile.am:
1193 * data/glade/new-label-dialog.glade:
1194 * data/glade/wdgt-media-select.glade:
1195 * data/glade/wdgt-rotate-label.glade:
1196 * libglabels/Makefile.am:
1197 * libglabels/category.c:
1198 * libglabels/category.h:
1199 * libglabels/libglabels.h:
1200 * libglabels/paper.c:
1201 * libglabels/template.c:
1202 * libglabels/template.h:
1203 * libglabels/xml-category.c:
1204 * libglabels/xml-category.h:
1205 * libglabels/xml-template.c:
1206 Added support for category meta data.
1209 * src/mini-preview-pixbuf.c:
1210 * src/mini-preview-pixbuf.h:
1211 * src/new-label-dialog.c:
1212 * src/new-label-dialog.h:
1213 * src/wdgt-media-select.c:
1214 * src/wdgt-media-select.h:
1215 * src/wdgt-rotate-label.c:
1216 * src/wdgt-rotate-label.h:
1217 New "new label" dialog.
1219 2006-05-27 Jim Evins <evins@snaught.com>
1224 Preparation for 2.1.3.
1230 2006-05-22 Jim Evins <evins@snaught.com>
1232 * src/print.c: (draw_barcode_object):
1233 Don't print "Invalid barcode data" if data field is empty. Patch provided
1234 by Darren Warner <warnerd@users.sourceforge.net>. Fixes Bug #1479839.
1236 Added acknowledgment for above patch.
1237 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
1238 * src/bc-postnet.c: (postnet_code):
1239 Removed "Invalid barcode data" warnings from stderr.
1240 * src/view-barcode.c: (draw_barcode):
1241 Draw box around barcode extent if data empty or invalid. Center a
1242 message whether the data is empty or invalid in box.
1244 2006-05-22 Jim Evins <evins@snaught.com>
1246 * src/print.c: (draw_text_object):
1247 Check shadow state when printing text.
1249 2006-05-20 Jim Evins <evins@snaught.com>
1251 * src/ui-commands.c: (gl_ui_cmd_view_grid_toggle),
1252 (gl_ui_cmd_view_markup_toggle):
1253 Fixed crash when grid or markup have been toggled off during
1254 a previous session. Bug #1434324.
1256 2006-04-05 Jim Evins <evins@snaught.com>
1258 * src/object-editor.c: (gl_object_editor_set_key_names):
1259 Fixed potential crash when freeing empty key list.
1261 2006-03-11 Jim Evins <evins@snaught.com>
1263 * src/print.c: (draw_text_object):
1264 * src/view-text.c: (gl_view_text_new),
1265 (construct_properties_editor), (update_object_from_editor_cb),
1266 (update_editor_from_object_cb), (update_editor_from_label_cb),
1268 Added shadow support to text object.
1270 2006-02-18 Jim Evins <evins@snaught.com>
1272 * src/print.c: (draw_line_object):
1273 * src/view-line.c: (gl_view_line_new),
1274 (construct_properties_editor), (update_canvas_item_from_object_cb),
1275 (update_object_from_editor_cb), (update_editor_from_object_cb),
1276 (update_editor_from_label_cb):
1277 Added shadow support to line object.
1279 2006-02-16 Jim Evins <evins@snaught.com>
1283 * src/print.c: (draw_ellipse_object):
1284 * src/view-ellipse.c: (gl_view_ellipse_new),
1285 (construct_properties_editor), (update_canvas_item_from_object_cb),
1286 (update_object_from_editor_cb), (update_editor_from_object_cb),
1287 (update_editor_from_label_cb):
1288 Added shadow support to ellipse object.
1290 2006-02-15 Jim Evins <evins@snaught.com>
1292 * src/label-object.c:
1293 Changed default shadow offsets.
1294 * src/view-box.c: (gl_view_box_new):
1295 Simplified gl_view_box_new() so that is does not duplicate code
1296 in update_canvas_item_from_object_cb().
1298 2006-02-07 Jim Evins <evins@snaught.com>
1300 * data/glade/object-editor.glade:
1301 Fixed color groups of color combos.
1303 Added default shadow color.
1304 * src/object-editor.c: (gl_object_editor_construct_color_combo):
1305 Added shadow color group.
1307 2006-02-06 Jim Evins <evins@snaught.com>
1309 * src/object-editor-shadow-page.c:
1310 Forgot to add this file.
1311 * src/view-box.c: (gl_view_box_new),
1312 (update_canvas_item_from_object_cb), (update_editor_from_label_cb):
1313 Update limits on shadow offset spinbuttons.
1315 2006-01-19 Jim Evins <evins@snaught.com>
1317 * src/merge-evolution.c: (gl_merge_evolution_get_key_list):
1318 Initialize key_list to NULL.
1319 * data/glade/object-editor.glade:
1323 * src/label-object.c:
1324 * src/label-object.h:
1325 * src/object-editor-fill-page.c:
1326 * src/object-editor-private.h:
1327 * src/object-editor.c:
1328 * src/object-editor.h:
1330 Created infrastructure for shadow support.
1333 Initial shadow support in box object only.
1335 2006-01-05 Jim Evins <evins@snaught.com>
1337 * src/merge-properties-dialog.c: (src_changed_cb):
1338 Be extra paranoid before calling strcmp().
1339 * src/merge.c: (gl_merge_set_src):
1340 Don't make (merge == NULL) a critical error.
1342 2005-12-22 Jim Evins <evins@snaught.com>
1344 * src/glabels-batch.c: (main):
1345 Compile warning free with gcc 4.0.
1347 2005-12-21 Jim Evins <evins@snaught.com>
1350 Updated example RPM spec file.
1352 2005-12-21 Jim Evins <evins@snaught.com>
1356 Preparation for 2.1.2.
1358 2005-12-20 Jim Evins <evins@snaught.com>
1361 Define unique G_LOG_DOMAIN for glabels.
1362 * src/critical-error-handler.c: (gl_critical_error_handler_init):
1363 * src/warning-handler.c: (gl_warning_handler_init),
1365 Register for G_LOG_DOMAIN instead of NULL.
1367 2005-12-10 Jim Evins <evins@snaught.com>
1369 * src/merge-evolution.c:
1370 * src/merge-vcard.c:
1373 2005-12-08 Jim Evins <evins@snaught.com>
1375 * libglabels/paper.c: (read_paper_files_from_dir):
1376 * libglabels/template.c: (gl_template_register),
1377 (read_template_files_from_dir):
1378 * libglabels/xml-paper.c: (gl_xml_paper_read_papers_from_file),
1379 (gl_xml_paper_parse_papers_doc):
1380 * libglabels/xml-template.c:
1381 (gl_xml_template_read_templates_from_file),
1382 (gl_xml_template_parse_templates_doc),
1383 (gl_xml_template_parse_template_node),
1384 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
1385 (xml_parse_label_cd_node), (xml_parse_layout_node),
1386 (xml_parse_markup_margin_node), (xml_parse_markup_line_node),
1387 (xml_parse_markup_circle_node),
1388 (gl_xml_template_write_templates_to_file), (xml_create_label_node):
1389 * libglabels/xml.c: (gl_xml_get_prop_length):
1390 Re-classified g_warnings to g_messages.
1392 * src/glabels.c: (main):
1393 * src/warning-handler.c: (gl_warning_handler_init),
1395 * src/warning-handler.h:
1396 Added warning message handler to make sure the user is
1397 presented with appropriate non-fatal errors.
1398 * src/critical-error-handler.c: (critical_error_handler):
1399 Changed exit to abort.
1400 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new), (render_pass1):
1401 * src/bc-postnet.c: (postnet_code):
1402 * src/bc.c: (id_to_index), (name_to_index):
1403 * src/merge.c: (gl_merge_register_backend), (gl_merge_new):
1404 * src/object-editor.c: (gl_object_notebook_construct_valist):
1405 * src/prefs-dialog.c: (update_locale_page_from_prefs):
1406 * src/prefs.c: (gl_prefs_get_units_per_point),
1407 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
1408 (gl_prefs_get_units_string):
1409 * src/print.c: (draw_outline), (clip_to_outline), (clip_punchouts):
1410 * src/splash.c: (gl_splash):
1411 * src/ui-commands.c: (gl_ui_cmd_help_contents):
1412 * src/view-highlight.c: (gl_view_highlight_new),
1413 (highlight_resizable_box_construct), (object_changed_cb),
1414 (view_scale_changed_cb):
1415 * src/view.c: (draw_label_layer), (draw_bg_fg_layers),
1416 (draw_markup_layer), (draw_markup_margin),
1417 (gl_view_object_create_mode), (canvas_event),
1418 (selection_received_cb):
1419 * src/wdgt-mini-preview.c: (mini_outline_list_new):
1420 * src/wdgt-rotate-label.c: (mini_preview_canvas_update):
1421 * src/xml-label-04.c: (gl_xml_label_04_parse),
1422 (xml04_parse_media_description), (xml04_parse_text_props),
1423 (xml04_parse_barcode_props):
1424 * src/xml-label-191.c: (gl_xml_label_191_parse),
1425 (xml191_parse_objects), (xml191_parse_object),
1426 (xml191_parse_text_props), (xml191_parse_image_props),
1427 (xml191_parse_barcode_props), (xml191_parse_data),
1428 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
1429 (xml191_parse_markup):
1430 * src/xml-label.c: (gl_xml_label_open), (gl_xml_label_open_buffer),
1431 (xml_doc_to_label), (xml_parse_label), (xml_parse_objects),
1432 (xml_parse_object_text), (xml_parse_object_image),
1433 (xml_parse_object_barcode), (xml_parse_data),
1434 (xml_parse_toplevel_span), (gl_xml_label_save),
1435 (xml_create_objects):
1436 Re-classified g_warnings to g_messages.
1437 * src/merge-evolution.c: (gl_merge_evolution_open),
1438 (gl_merge_evolution_close), (gl_merge_evolution_get_record):
1439 Use g_warning to output errors encountered while
1440 communicating with the evolution data server
1441 instead of embedding them in the data.
1443 2005-12-08 Jim Evins <evins@snaught.com>
1445 * libglabels/libglabels-private.h:
1447 * libglabels/paper.c: (read_papers):
1448 * libglabels/template.c: (read_templates):
1449 Made appropriate warnings critical.
1451 * src/critical-error-handler.h:
1452 * src/critical-error-handler.c: (gl_critical_error_handler_init),
1453 (critical_error_handler):
1454 Created critical error handler.
1455 * src/glabels.c: (main):
1456 Register critical error handler.
1457 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
1458 * src/object-editor.c: (gl_object_editor_init):
1459 * src/prefs-dialog.c: (gl_prefs_dialog_init):
1460 * src/template-designer.c: (gl_template_designer_init):
1461 * src/ui-property-bar.c: (gl_ui_property_bar_instance_init):
1462 Made appropriate warnings critical.
1464 2005-11-27 Jim Evins <evins@snaught.com>
1466 * src/merge-evolution.c: (gl_merge_evolution_get_key_list),
1467 (gl_merge_evolution_get_primary_key),
1468 (gl_merge_evolution_get_record):
1469 Don't create "record_key" pseudo-key. Don't populate
1470 fields with null data.
1472 2005-11-25 Jim Evins <evins@snaught.com>
1474 * src/merge-evolution.c: (gl_merge_evolution_finalize),
1475 (gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
1476 (gl_merge_evolution_get_record), (gl_merge_evolution_copy),
1478 Query EDS for all supported fields. Patch provided by
1479 Austin Henry <ahenry@users.sourceforge.net>.
1481 2005-10-29 Jim Evins <evins@snaught.com>
1483 * src/glabels.c: (main):
1484 * src/label-barcode.c: (gl_label_barcode_finalize):
1485 * src/label-text.c: (gl_label_text_finalize), (set_font_family):
1486 * src/label.c: (gl_label_instance_init), (gl_label_finalize):
1487 * src/object-editor.c: (gl_object_editor_finalize):
1488 Another pass at valgrinding -- plugged several memory leaks.
1489 * src/view-text.c: (gl_view_text_new),
1490 (update_canvas_item_from_object_cb), (draw_hacktext):
1491 Commented out artifacts of edit-in-place code.
1493 2005-10-28 Jim Evins <evins@snaught.com>
1495 * src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
1496 Fixed use of uninitialized variable. Caught by
1497 d binderman <dcb314@hotmail.com>.
1499 2005-10-27 Jim Evins <evins@snaught.com>
1501 * src/merge-evolution.c: (gl_merge_evolution_get_record):
1502 * src/merge-vcard.c: (gl_merge_vcard_get_record),
1504 Additional cleanup of EDS and vcard backends. Provided by
1505 Austin Henry <ahenry@users.sourceforge.net>.
1507 2005-10-24 Jim Evins <evins@snaught.com>
1511 * src/merge-evolution.c:
1512 * src/merge-evolution.h:
1513 * src/merge-init.c: (gl_merge_init):
1514 * src/merge-properties-dialog.c: (type_changed_cb):
1515 * src/merge-vcard.c:
1516 * src/merge-vcard.h:
1517 * src/ui-commands.c: (gl_ui_cmd_help_about):
1518 Added Evolution Data Server and VCard merge backends. Original patch
1519 provided by Austin Henry <ahenry@users.sourceforge.net>.
1521 Only support EDS and VCard backends if libebook is installed. Allow
1522 user to disable support, even if installed.
1524 2005-10-24 Jim Evins <evins@snaught.com>
1527 * data/templates/avery-iso-templates.xml:
1528 * data/templates/avery-us-templates.xml:
1529 * data/templates/misc-iso-templates.xml:
1530 * data/templates/zweckform-iso-templates.xml:
1531 Collected all template changes and submissions since last
1534 2005-10-23 Jim Evins <evins@snaught.com>
1537 * data/mime/Makefile.am:
1538 Added configure options to disable update-mime-database and
1539 update-desktop-database as part of the install. Patch
1540 provided by Leonardo Boshell (qhoracio@sourceforge.net).
1542 2005-10-23 Jim Evins <evins@snaught.com>
1545 * libglabels/xml.c: (gl_xml_get_prop_string),
1546 (gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
1547 (gl_xml_is_node), (gl_xml_get_node_content):
1548 Added new XML utility functions.
1549 * libglabels/xml-paper.c:
1550 * libglabels/xml-template.c:
1552 Cleanup by using new xml utilities created above.
1553 * libglabels/paper.c: (gl_paper_free):
1554 * src/file.c: (new_response):
1555 * src/object-editor-image-page.c: (add_image_filters_to_chooser):
1556 * src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
1557 (gl_pixbuf_cache_get_pixbuf):
1558 * src/ui-property-bar.c:
1559 (gl_ui_property_bar_construct_color_combo):
1560 * src/view-highlight.c: (gl_view_highlight_finalize):
1561 * src/view-image.c: (update_object_from_editor_cb):
1562 * src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
1563 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
1564 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
1565 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
1566 (draw_markup_margin_round), (draw_markup_margin_cd),
1567 (draw_markup_margin_cd_bc):
1568 * src/wdgt-mini-preview.c: (mini_outline_list_new):
1569 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
1570 Plugged various memory leaks located with valgrind.
1571 * src/view-image.c: (update_canvas_item_from_object_cb):
1572 Don't allow a width or height of zero when drawing pixbuf.
1574 2005-10-22 Jim Evins <evins@snaught.com>
1576 * libglabels/xml-paper.c:
1577 * libglabels/xml-template.c:
1580 * src/bc-gnubarcode.c:
1581 * src/canvas-hacktext.c:
1583 * src/object-editor-data-page.c:
1584 * src/print-dialog.c:
1587 * src/template-designer.c:
1589 * src/ui-property-bar.c:
1591 * src/view-barcode.c:
1593 * src/view-ellipse.c:
1598 * src/wdgt-media-select.c:
1599 * src/xml-label-04.c:
1600 * src/xml-label-191.c:
1602 Modified to compile warning free with gcc-4.0. Mostly
1603 casting to change signedness of characters. Did not
1604 attack gnu-barcode library yet.
1606 2005-10-22 Jim Evins <evins@snaught.com>
1608 * src/glabels.c: (main):
1609 * src/splash.c: (gl_splash):
1610 Removed some small memory leaks.
1614 2005-09-19 Jim Evins <evins@snaught.com>
1616 * data/glade/property-bar.glade:
1617 Remove items from font_family_combo. This prevents the
1618 double entry after adding text model and list of fonts.
1619 * src/ui-property-bar.c: (reset_to_default_properties):
1620 Free font_family_list.
1622 2005-07-01 Jim Evins <evins@snaught.com>
1625 Updated italian translation (Daniele Medri)
1627 2005-06-26 Jim Evins <evins@snaught.com>
1629 * docs/libglabels/libglabels-decl-list.txt:
1630 Somehow never got checked in before.
1631 * docs/libglabels/libglabels.types:
1632 Removed -- don't need it afterall.
1634 2005-06-20 Jim Evins <evins@snaught.com>
1637 Final prep for 2.1.1 release.
1639 2005-06-20 Jim Evins <evins@snaught.com>
1642 Final preps for 2.1.1 release.
1643 * docs/libglabels/libglabels.types:
1644 Somehow never got checked in before.
1646 Bring up-to-date with recent reorg of ui code.
1649 2005-06-19 Jim Evins <evins@snaught.com>
1651 * src/template-designer.c: (construct_layout_page):
1652 Removed attempt to match background color of mini preview widget to
1655 2005-06-17 Jim Evins <evins@snaught.com>
1657 * help/C/figures/merge-ex2-4.png:
1658 * help/C/glabels.xml:
1659 Fixed spelling error.
1661 2005-06-13 Jim Evins <evins@snaught.com>
1663 * help/C/figures/merge-ex1-1.png:
1664 * help/C/figures/merge-ex1-2.png:
1665 * help/C/figures/merge-ex1-3.png:
1666 * help/C/figures/merge-ex1-4.png:
1667 * help/C/figures/merge-ex2-1.png:
1668 * help/C/figures/merge-ex2-2.png:
1669 * help/C/figures/merge-ex2-3.png:
1670 * help/C/figures/merge-ex2-4.png:
1671 Added figures for document merge tutorial.
1672 * help/C/glabels.xml:
1673 Added document merge tutorial.
1675 2005-05-19 Jim Evins <evins@snaught.com>
1677 * data/glade/merge-properties-dialog.glade:
1678 Fixed irregular spacing.
1679 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
1680 (gl_merge_properties_dialog_construct):
1681 Set outer padding and remove separator.
1683 2005-05-18 Jim Evins <evins@snaught.com>
1687 Removed glHigDialog class.
1688 * src/file.c: (gl_file_new), (create_new_dialog_widgets),
1689 (gl_file_properties), (create_properties_dialog_widgets):
1690 * src/prefs-dialog.h:
1691 * src/prefs-dialog.c: (gl_prefs_dialog_get_type),
1692 (gl_prefs_dialog_init), (gl_prefs_dialog_construct):
1693 * src/print-dialog.h:
1694 * src/prefs-dialog.h:
1695 * src/print-dialog.c: (gl_print_dialog_get_type),
1696 (gl_print_dialog_init), (gl_print_dialog_construct):
1697 Replaced all instances of glHigDialog with GtkDialog.
1699 2005-05-17 Jim Evins <evins@snaught.com>
1703 Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
1704 * src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
1705 (save_as_response), (gl_file_close):
1706 Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.
1708 2005-05-15 Jim Evins <evins@snaught.com>
1710 * src/ui-commands.h:
1718 A little code reformatting -- no functional changes.
1720 2005-05-14 Jim Evins <evins@snaught.com>
1723 Removed obsolete macros.
1725 Added marshalling template to support new view signal: "context_menu_activate."
1727 * src/view.c: (gl_view_class_init), (gl_view_construct),
1728 (canvas_event_arrow_mode):
1729 - Removed hardcoded context menus and added new signal "context_menu_activate"
1730 to push this up to the uimanager.
1731 - Removed merge properties and print dialogs so that they can be managed with
1732 the window by the uimanager.
1733 * src/merge-properties-dialog.h:
1734 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
1735 (gl_merge_properties_dialog_construct):
1736 Changed calling convention of gl_merge_properties_dialog_new() to use
1737 glLabel and GtkWindow instead of view to make more consistent with other
1739 * src/print-dialog.h:
1740 * src/print-dialog.c: (gl_print_dialog_new),
1741 (gl_print_dialog_construct):
1742 Removed last artifact of libbonoboui.
1743 * src/ui-commands.c: (gl_ui_cmd_file_print),
1744 (gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
1745 Reconciled style for launching dialogs.
1746 * src/ui.c: (gl_ui_new):
1747 Added context menus to ui manager.
1748 * src/view-object.c: (item_event_arrow_mode):
1749 No longer try to select objects with right-click.
1751 * src/window.c: (gl_window_init), (gl_window_set_label),
1752 (context_menu_activate_cb):
1753 Context menus and all dialogs are now managed in a consistent way in window
1756 2005-05-11 Jim Evins <evins@snaught.com>
1759 * src/window.c: (gl_window_init), (gl_window_destroy):
1760 * src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
1761 * src/ui-commands.c: (gl_ui_cmd_file_open_recent):
1762 Moved management of recent_view back from window.c to ui.c -- it just feels
1765 2005-05-10 Jim Evins <evins@snaught.com>
1768 * src/window.c: (gl_window_init):
1770 * src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
1771 (menu_item_select_cb), (menu_item_deselect_cb):
1772 Added GtkStatusbar which displays menu tooltips.
1774 2005-05-09 Jim Evins <evins@snaught.com>
1776 Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
1781 Removed dependencies on libbonoboui.
1783 * data/ui/Makefile.am:
1784 * data/ui/glabels-ui.xml:
1785 Removed data/ui directory.
1786 * data/glade/Makefile.am:
1787 * data/property-bar.glade:
1788 Added glade description of property-bar for new libglade implementation
1795 * src/ui-commands.h:
1796 * src/ui-commands.c:
1797 Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
1798 since the distinction between "commands" and "tools" is no longer that clear.
1801 Modified to expect glWindow instead of GtkWindow. gl_file_open_recent()
1802 no longer has knowledge of eggRecent*.
1803 * src/glabels.c: (main):
1804 Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
1806 * src/object-editor.c: (gl_object_editor_init):
1807 Make sure notebook does not respond to a "show_all" on the parent.
1808 * src/recent-files/Makefile.am:
1809 * src/recent-files/*.[ch]
1810 Updated from latest version of libegg which now has a view based on
1811 GtkUIManager. Removed unused bonobo and gtk views.
1812 * src/ui-property-bar.h:
1813 * src/ui-property-bar.c:
1814 New implementation based on libglade.
1817 Sidebar is now simply a GtkWidget and does not expect to be a part of
1818 a libbonoboui interface.
1823 Converted for use with GtkUIManager.
1826 Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
1827 to create menus and toolbars.
1829 2005-04-25 Jim Evins <evins@snaught.com>
1831 * data/templates/misc-iso-templates.xml:
1832 Added Fellows 04715 template provided by Steve Saxon.
1834 Updated acknowledgement for above.
1836 2005-04-23 Jim Evins <evins@snaught.com>
1838 * src/util.c: (gl_util_combo_box_set_strings):
1839 Make sure to clear model before loading a new list of strings.
1840 * src/wdgt-media-select.h:
1841 * src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
1842 (gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
1843 (template_combo_changed_cb), (prefs_changed_cb),
1844 (gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
1845 (gl_wdgt_media_select_get_page_size),
1846 (gl_wdgt_media_select_set_page_size):
1847 Replaced the deprecated GtkCombo widget with the new
1850 2005-04-21 Jim Evins <evins@snaught.com>
1852 * data/glade/template-designer.glade:
1853 * src/template-designer.c: (construct_pg_size_page),
1854 (pg_size_page_changed_cb), (build_template):
1855 Replaced the deprecated GtkCombo widget with the new
1858 2005-04-20 Jim Evins <evins@snaught.com>
1860 * data/glade/prefs-dialog.glade:
1861 * src/prefs-dialog.c: (construct_object_page),
1862 (update_object_page_from_prefs), (update_prefs_from_object_page):
1863 Replaced the deprecated GtkCombo widget with the new
1866 2005-04-19 Jim Evins <evins@snaught.com>
1868 * data/glade/object-editor.glade:
1869 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
1870 (style_changed_cb), (gl_object_editor_set_bc_style),
1871 (gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
1872 (gl_object_editor_get_bc_color):
1873 * src/object-editor-data-page.c:
1874 (gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
1875 (gl_object_editor_get_data):
1876 * src/object-editor-edit-page.c:
1877 (gl_object_editor_prepare_edit_page), (insert_button_cb):
1878 * src/object-editor-fill-page.c:
1879 (gl_object_editor_prepare_fill_page),
1880 (gl_object_editor_set_fill_color),
1881 (gl_object_editor_get_fill_color):
1882 * src/object-editor-image-page.c:
1883 (gl_object_editor_prepare_image_page),
1884 (gl_object_editor_set_image), (gl_object_editor_get_image):
1885 * src/object-editor-line-page.c:
1886 (gl_object_editor_prepare_line_page),
1887 (gl_object_editor_set_line_color),
1888 (gl_object_editor_get_line_color):
1889 * src/object-editor-private.h:
1890 * src/object-editor-text-page.c:
1891 (gl_object_editor_prepare_text_page),
1892 (gl_object_editor_set_font_family),
1893 (gl_object_editor_get_font_family),
1894 (gl_object_editor_set_text_color),
1895 (gl_object_editor_get_text_color):
1896 * src/object-editor.c: (gl_object_editor_set_key_names):
1898 In the object editor: replaced all instances of the deprecated
1899 GtkCombo widget with the new GtkComboBox.
1901 2005-04-18 Jim Evins <evins@snaught.com>
1904 Neglected to save this one in previous checkin to support
1907 2005-04-17 Jim Evins <evins@snaught.com>
1909 * libglabels/libglabels-private.h:
1910 * libglabels/paper.c:
1911 * libglabels/paper.h:
1912 * libglabels/template.c:
1913 * libglabels/template.h:
1914 * libglabels/xml-paper.c:
1915 * libglabels/xml-paper.h:
1916 * libglabels/xml-template.c:
1921 * src/bc-gnubarcode.c:
1932 * src/label-barcode.c:
1934 * src/label-ellipse.c:
1935 * src/label-image.c:
1936 * src/label-image.h:
1938 * src/label-object.c:
1942 * src/merge-properties-dialog.c:
1943 * src/object-editor-bc-page.c:
1944 * src/object-editor-data-page.c:
1945 * src/object-editor-edit-page.c:
1946 * src/object-editor-fill-page.c:
1947 * src/object-editor-image-page.c:
1948 * src/object-editor-line-page.c:
1949 * src/object-editor-lsize-page.c:
1950 * src/object-editor-position-page.c:
1951 * src/object-editor-private.h:
1952 * src/object-editor-size-page.c:
1953 * src/object-editor-text-page.c:
1954 * src/object-editor.c:
1955 * src/object-editor.h:
1956 * src/pixbuf-cache.h:
1957 * src/prefs-dialog.c:
1958 * src/prefs-dialog.h:
1959 * src/prefs-model.c:
1960 * src/prefs-model.h:
1962 * src/print-dialog.c:
1963 * src/print-dialog.h:
1971 * src/template-designer.c:
1972 * src/template-designer.h:
1975 * src/ui-property-bar.c: (gl_ui_property_bar_construct):
1981 * src/view-barcode.c:
1983 * src/view-ellipse.c:
1984 * src/view-highlight.c:
1985 * src/view-highlight.h:
1988 * src/view-object.c:
1989 * src/view-object.h:
1993 * src/wdgt-chain-button.c:
1994 * src/wdgt-media-select.c:
1995 * src/wdgt-media-select.h:
1996 * src/wdgt-mini-preview.c:
1997 * src/wdgt-mini-preview.h:
1998 * src/wdgt-print-copies.c:
1999 * src/wdgt-print-copies.h:
2000 * src/wdgt-print-merge.c:
2001 * src/wdgt-print-merge.h:
2002 * src/wdgt-rotate-label.c:
2003 * src/wdgt-rotate-label.h:
2006 * src/xml-label-04.c:
2007 * src/xml-label-191.c:
2009 Cleanup of header files:
2010 - all header files are now stand-alone, verified by including
2011 first in corresponding "c" files
2012 - replaced blanket includes of gnome, gtk, and glib with
2015 2005-04-16 Jim Evins <evins@snaught.com>
2017 * data/glade/Makefile.am:
2018 * data/glade/merge-properties-dialog.glade:
2019 Added merge properties dialog glade description file.
2020 * src/merge-properties-dialog.h:
2021 * src/merge-properties-dialog.c:
2022 (gl_merge_properties_dialog_get_type),
2023 (gl_merge_properties_dialog_init),
2024 (gl_merge_properties_dialog_finalize),
2025 (gl_merge_properties_dialog_new),
2026 (gl_merge_properties_dialog_construct), (type_changed_cb),
2027 (src_changed_cb), (response_cb), (load_tree),
2028 (record_select_toggled_cb), (select_all_button_clicked_cb),
2029 (unselect_all_button_clicked_cb):
2030 Modified merge properties dialog to use libglade. Added
2031 "select all" and "unselect all" buttons.
2032 * src/merge-text.c: (parse_line):
2033 Handle empty lines better.
2034 * src/merge.c: (gl_merge_eval_key):
2035 Evaluate the key whether the record is selected or not.
2037 * src/util.c: (gl_util_combo_box_add_text_model):
2038 Since libglade does not use the gtk_combo_box_new_text()
2039 constructor for GtkComboBoxes, a utility function was created
2040 to add an appropriate text model to a GtkComboBox.
2041 * src/view.c: (gl_view_edit_merge_props):
2042 Removed unnecessary "show all's".
2044 2005-04-15 Jim Evins <evins@snaught.com>
2047 Updated russian translation (Vitaly Lipatov)
2048 * data/templates/misc-iso-templates.xml:
2049 Added templates for russian business cards provided by Vitaly Lipatov.
2051 Updated acknowledgements for above.
2053 2005-04-15 Jim Evins <evins@snaught.com>
2055 * data/templates/avery-us-templates.xml:
2056 Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
2057 * data/templates/misc-iso-templates.xml:
2058 Added Ryman standard CD/DVD template, provided by Dan Clark.
2060 Added acknowledgements for above.
2062 2005-04-10 Jim Evins <evins@snaught.com>
2064 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
2065 * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
2066 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
2067 (xml_parse_label_cd_node), (xml_parse_alias_node):
2068 * libglabels/xml.c: (gl_xml_get_prop_double),
2069 (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
2070 (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
2071 * src/xml-label-04.c: (xml04_parse_media_description),
2072 (xml04_parse_text_props), (xml04_parse_barcode_props),
2073 (xml04_parse_merge_properties):
2074 * src/xml-label-191.c: (xml191_parse_object),
2075 (xml191_parse_text_props), (xml191_parse_barcode_props),
2076 (xml191_parse_merge_fields), (xml191_parse_pixdata),
2077 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
2078 (xml191_parse_alias):
2079 * src/xml-label.c: (xml_parse_object_text),
2080 (xml_parse_object_barcode), (xml_parse_merge_fields),
2081 (xml_parse_pixdata), (xml_parse_toplevel_span):
2082 Make sure to use xmlFree for anything obtained from libxml
2083 in case libxml and glib use different memory management
2086 2005-04-08 Jim Evins <evins@snaught.com>
2089 * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
2090 (gl_util_combo_box_set_active_text):
2091 Added utility functions to simplify working with GtkComboBox
2093 * src/ui-property-bar.h:
2094 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
2095 (reset_to_default_properties), (update_text_properties),
2096 (font_family_changed_cb):
2097 Replaced deprecated GtkCombo with GtkComboBox.
2100 2005-04-03 Jim Evins <evins@snaught.com>
2103 * src/wdgt-image-select.h:
2104 * src/wdgt-image-select.c:
2105 Removed obsolete wdgt-image-select.[ch] files.
2106 * libglabels/paper.c: (gl_paper_dup):
2107 Fixed rename of parameter introduced during documentation
2109 * data/glade/object-editor.glade:
2110 * src/object-editor-image-page.c:
2111 (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
2112 (gl_object_editor_set_image), (gl_object_editor_get_image),
2113 (update_preview_cb), (add_image_filters_to_chooser):
2114 * src/object-editor-private.h:
2115 Replaced deprecated GnomePixmapEntry with
2116 GtkFileChooserButton.
2118 2005-04-02 Jim Evins <evins@snaught.com>
2120 * src/mygal/mygal-combo-box.c: (deactivate_arrow),
2121 (mygal_combo_box_popup_hide_unconditional),
2122 (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
2123 (mygal_combo_toggle_pressed), (mygal_combo_box_init),
2124 (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
2125 (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
2126 (cb_tearable_button_release), (mygal_combo_box_set_tearable):
2127 Renamed all internal gtk_combo functions to mygal_combo
2128 to prevent namespace confusion.
2130 2005-04-02 Jim Evins <evins@snaught.com>
2132 * src/mygal/color-palette.c: (color_palette_change_custom_color),
2133 (cust_color_set), (color_palette_setup):
2134 * src/mygal/color-palette.h:
2135 Replaced deprecated GnomeColorPicker with GtkColorButton.
2137 2005-04-02 Jim Evins <evins@snaught.com>
2139 * docs/libglabels/libglabels-sections.txt:
2140 * docs/libglabels/libglabels-undocumented.txt:
2141 * docs/libglabels/tmpl/enums.sgml:
2142 * docs/libglabels/tmpl/paper.sgml:
2143 * docs/libglabels/tmpl/xml-paper.sgml:
2144 * docs/libglabels/tmpl/xml-template.sgml:
2145 * libglabels/enums.h:
2146 * libglabels/paper.c: (gl_paper_dup):
2147 * libglabels/paper.h:
2148 * libglabels/xml-paper.c:
2149 * libglabels/xml-template.c:
2150 More documentation updates for libglabels.
2152 2005-03-23 Jim Evins <evins@snaught.com>
2155 Automatically updated.
2160 * docs/libglabels/Makefile.am:
2161 * docs/libglabels/libglabels-docs.sgml:
2162 * docs/libglabels/libglabels-sections.txt:
2163 * docs/libglabels/libglabels-undocumented.txt:
2164 * docs/libglabels/tmpl/enums.sgml:
2165 * docs/libglabels/tmpl/libglabels-unused.sgml:
2166 * docs/libglabels/tmpl/libglabels.sgml:
2167 * docs/libglabels/tmpl/paper.sgml:
2168 * docs/libglabels/tmpl/template.sgml:
2169 * docs/libglabels/tmpl/xml-paper.sgml:
2170 * docs/libglabels/tmpl/xml-template.sgml:
2171 * docs/libglabels/tmpl/xml.sgml:
2172 Added basic gtk-doc stuff to support documenting libglabels
2175 Updated function comments with gtk-doc markup.
2179 2005-03-22 Jim Evins <evins@snaught.com>
2181 Since the development version now requires gtk-2.6/gnome-2.10, I
2182 have made a first pass at removing deprecations.
2185 * libglabels/Makefile.am:
2187 Added configure option to turn on X_DISABLE_DEPRECATED flags.
2188 Also removed all remnants of HAVE_FILECHOOSER.
2189 * src/file.c: (gl_file_open_real):
2190 Removed code for old GtkFileSelection.
2191 * libglabels/libglabels-private.h:
2192 * libglabels/paper.c:
2193 * libglabels/template.c:
2194 * libglabels/xml-paper.c:
2195 * libglabels/xml-template.c:
2199 * src/glabels-batch.c:
2203 * src/merge-properties-dialog.c:
2205 * src/object-editor.c:
2206 * src/prefs-dialog.c:
2208 * src/print-dialog.c:
2211 * src/template-designer.c:
2212 * src/ui-property-bar.c:
2214 * src/view-barcode.c:
2216 * src/view-ellipse.c:
2221 * src/wdgt-image-select.c:
2222 * src/wdgt-media-select.c:
2223 * src/wdgt-print-copies.c:
2224 * src/wdgt-print-merge.c:
2225 * src/wdgt-rotate-label.c:
2227 * src/xml-label-04.c:
2228 * src/xml-label-191.c:
2230 Added '#include <glib/gi18n.h>" where needed.
2231 Removed any unused '#include <gnome.h>"s.
2233 2005-03-22 Jim Evins <evins@snaught.com>
2235 * src/commands.c: (activate_url), (gl_cmd_help_about):
2236 Replaced GnomeAbout with GtkAboutDialog. Therefore the
2237 development version of glabels now depends on GTK 2.6 and
2240 Updated library dependencies.
2242 2005-02-28 Jim Evins <evins@snaught.com>
2245 * data/templates/misc-iso-templates.xml:
2246 Added 'Ednet 45021' template provided by Ali Akcaagac
2249 2005-02-14 Jim Evins <evins@snaught.com>
2251 * data/templates/avery-us-templates.xml:
2252 Updated templates to use inches instead of points.
2253 * src/print-dialog.c: (printer_page_new):
2254 Changed packing style when adding printer selector widget. This fixes
2257 2005-02-13 Jim Evins <evins@snaught.com>
2261 Updated spanish translations. (sergio rivadero)
2263 2005-02-05 Jim Evins <evins@snaught.com>
2265 Some cleanup to libglabels.
2268 Updated version to 2.1.1cvs. Added generation of libglabels.pc.
2269 * libglabels/libglabels.pc.in
2271 * libglabels/enums.h
2272 Created. Currently only contains glUnitsType which provides enumerations
2273 for all possible units of distance.
2274 * libglabels/Makefile.am:
2275 Incorporated new files enums.h and libglabels.pc[.in].
2276 * libglabels/libglabels.h:
2278 * libglabels/template.h:
2279 * libglabels/template.c: (gl_template_layout_new):
2280 Changed parameters nx and ny to gint from gdouble.
2282 * libglabels/xml.c: (gl_xml_get_prop_length),
2283 (gl_xml_set_prop_length), (gl_xml_set_default_units):
2284 Added support for different output units.
2285 * src/prefs-dialog.c: (update_locale_page_from_prefs),
2286 (update_prefs_from_locale_page):
2287 * src/prefs-model.c: (string_to_units), (units_to_string):
2288 * src/prefs-model.h:
2289 * src/prefs.c: (gl_prefs_get_units_per_point),
2290 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
2291 (gl_prefs_get_units_string):
2293 * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
2294 Reconciled all length enumerations with the new enumerations provided
2295 in libglabels/enums.h.
2297 2005-02-03 Jim Evins <evins@snaught.com>
2300 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
2302 Updated Italian translations. (Daniele Medri)
2304 Updated credits to reflect above translations.
2307 2005-01-22 Jim Evins <evins@snaught.com>
2312 Added MESSAGE-OF-DOOM to EXTRA_DIST.
2314 Final prep for 2.1.0.
2316 Set version to 2.1.0. Output MESSAGE-OF-DOOM.
2318 Added '--remove-original' flag to desktop-file-install, so that there is
2319 only one menu entry.
2321 2005-01-20 Jim Evins <evins@snaught.com>
2323 * data/glade/object-editor.glade:
2324 - Font family entry should not be editable.
2325 - img_key_entry should have sensitivity=YES, so that it follows the
2326 sensitivity of img_key_combo.
2328 2005-01-19 Jim Evins <evins@snaught.com>
2331 Give credit to Frederic Ruaudel for the color merge patches.
2333 2005-01-18 Frederic Ruaudel <grumz@users.sf.net>
2335 Add support to merge color for all other color attribute (Feature
2336 Requests item #1008635. If the data is invalid, the color used is transparent
2337 (GL_COLOR_NONE). The format for color in merge data file are those accepted
2338 by gdk_color_parse() these include name for a color from rgb.txt, such as
2339 DarkSlateGray, or a hex specification such as #305050. File format has been
2340 changed but backward compatibility is preserved for all format. For
2341 box/ellipse/line, keep attribute "line_color" for static color or replace by
2342 "line_color_field" for merge data. For text/barcode objects, keep attribute
2343 "color" for static color or replace by "color_field" for merge data. In the
2344 edit canvas window, merged color are represented by half-transparent black
2347 * data/dtd/glabels-2.0.dtd:
2348 Added line_color_field to line_attrs. Added color_field to
2349 Object-barcode and Span.
2350 * data/glade/object-editor.glade:
2351 Modify the layout of the editor to add merge possibility to color options
2353 Fix a copy/paste error in a comment
2355 Add default color for merge color representation in the editor canvas.
2356 * src/label-barcode.c:
2357 * src/object-editor-bc-page.c:
2358 * src/view-barcode.c:
2359 Add merge color support for barcode color.
2362 Add merge color support for box border color.
2363 * src/label-ellipse.c:
2364 * src/view-ellipse.c:
2365 Add merge color support for ellipse border color.
2368 Add merge color support for line color.
2369 * src/label-object.c:
2370 * src/label-object.h:
2371 * src/object-editor.c:
2372 * src/object-editor.h:
2373 * src/ui-property-bar.c:
2376 * src/xml-label-04.c:
2377 * src/xml-label-191.c:
2378 Add support for merging to other color attribute.
2380 * src/object-editor-text-page.c:
2382 Add merge color support for text color.
2383 * src/object-editor-fill-page.c:
2384 Change a blocked handler that didn't match the good widget. Fix the type
2385 of some debug message.
2386 * src/object-editor-line-page.c:
2387 Add merging support to line color option.
2388 * src/object-editor-private.h:
2389 Add variables for new widget.
2391 Modify the draw functions to get merge data if needed.
2393 Change the default size of the window in order to see all widget in the
2394 "text style tab" of the editor.
2396 Modify the parser to record/retreive the field value for objects that need
2397 "color" attribute. For box/ellipse/line, keep attribute "line_color" for
2398 static color or replace by "line_color_field" for merge data. For
2399 text/barcode objects, keep attribute "color" for static color or replace
2400 by "color_field" for merge data.
2402 2005-01-17 Jim Evins <evins@snaught.com>
2404 * src/view.c: (screen_changed_cb):
2405 Don't do anything if we don't have a screen.
2407 2005-01-06 Jim Evins <evins@snaught.com>
2409 * src/view.c: (get_home_scale):
2410 Fixed bad call to gtk_widget_has_screen() -- huh?.
2412 2005-01-06 Jim Evins <evins@snaught.com>
2414 * data/dtd/glabels-2.0.dtd:
2415 Added fill_color_field to fill_attrs. Also added xmlns attribute to all
2418 2005-01-06 Jim Evins <evins@snaught.com>
2420 * data/glade/object-editor.glade:
2421 Set entries for fill and data field key dropdowns to NOT editable.
2422 * src/view-box.c: (construct_properties_editor):
2423 * src/view-ellipse.c: (construct_properties_editor):
2424 Update object editor when label's merge property has changed.
2425 * src/xml-label.c: (xml_parse_object_ellipse):
2426 Completed the merge color support for the ellipse item.
2428 2005-01-06 Frederic Ruaudel <grumz@users.sf.net>
2430 Add support to merge color for object that have a "Fill color" attribute (Feature
2431 Requests item #1008635. If the data is invalid, the color used is transparent
2432 (GL_COLOR_NONE). The format for color in merge data file are those accepted
2433 by gdk_color_parse() these include name for a color from rgb.txt, such as
2434 DarkSlateGray, or a hex specification such as #305050. File format has been
2435 changed but backward compatibility is preserved for all format. For box/ellipse,
2436 keep attribute "fill_color" for static color or replace by "fill_color_field"
2439 * data/glade/object-editor.glade:
2440 Modify "Fill" tab to add the merge key combo and convert the labels into
2444 Add "glColorNode" structure and associated functions to manage it. This
2445 structure is equivalent for color than the "glTextNode". It holds the color
2447 * src/label-object.h:
2448 * src/label-object.c:
2450 * src/label-ellipse.c:
2451 * src/ui-property-bar.c:
2455 * src/view-ellipse.c:
2456 * src/xml-label-04.c:
2457 * src/xml-label-191.c:
2458 Change functions of objects that have a "fill color" attribute to use the
2459 new "glColorNode" structure. Use barcode code as example.
2461 Add the color.[ch] file to glabels_batch binary that now need support for
2463 * src/object-editor.h:
2464 * src/object-editor.c:
2465 * src/object-editor-fill-page.c:
2466 Manage the new widget of the editor's "Fill" tab : key combo and radio button
2467 to choose between static color or merge key. Use barcode code as example.
2468 * src/object-editor-private.h:
2469 Add new widget in the "_glObjectEditorPrivate" structure.
2471 Modify the draw functions to get merge data if needed.
2473 Modify the parser to record/retreive the field value for objects that need
2474 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
2475 color or "fill_color_field" for merge data.
2477 2005-01-04 Jim Evins <evins@snaught.com>
2480 * data/templates/avery-iso-templates.xml:
2481 * data/templates/misc-iso-templates.xml:
2482 * data/templates/misc-us-templates.xml:
2483 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
2486 2004-11-26 Jim Evins <evins@snaught.com>
2490 Updated french translations provided by Florent Morel <florent@taket.org>.
2491 * src/view-barcode.c:
2493 * src/view-ellipse.c:
2497 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
2498 thus _() strings were not being translated.
2500 2004-11-14 Jim Evins <evins@snaught.com>
2503 * src/debug.c: (gl_debug_init), (gl_debug):
2504 Borrowed from gedit: use environmental variables to select debug
2507 Removed unused include of debug.h.
2508 * src/glabels.c: (main):
2509 Added call to gl_debug_init(), and removed debug clutter from command line
2511 * src/glabels-batch.c: (main):
2512 Added call to gl_debug_init().
2514 2004-11-13 Jim Evins <evins@snaught.com>
2516 Drawing and property toolbars were being initialized with the "icons and text"
2517 look in Fedora Core 3. Even though none of the buttons had any text attached to
2518 them, the buttons were being sized as if they were. This led to less real estate
2519 for the property editor, leading to Bug #1064630. The
2521 * data/ui/glabels-ui.xml:
2522 Added explicit "look" property to both drawing and property toolbars.
2523 * src/prefs-model.c: (gl_prefs_model_save_settings),
2524 (gl_prefs_model_load_settings):
2525 * src/prefs-model.h:
2526 Removed drawing_toolbar_button_style configuration parameter.
2527 * src/ui.c: (view_menu_item_toggled_cb),
2528 (set_app_drawing_toolbar_style):
2529 Do not attempt to adjust look property of the drawing toolbar.
2531 2004-10-28 Jim Evins <evins@snaught.com>
2533 * data/pixmaps/glabels-about-logo.png:
2536 2004-10-28 Jim Evins <evins@snaught.com>
2538 * data/man/glabels.1:
2539 * src/glabels-batch.c: (main):
2541 * src/print.c: (gl_print_batch):
2543 Added option to glabels-batch to select the first label to begin
2546 2004-09-26 Jim Evins <evins@snaught.com>
2548 * data/desktop/glabels.desktop.in:
2549 Point to app icon, "glabels.png"
2550 * data/mime/glabels.keys.in:
2551 Point at mime icon, "glabels-application-x-glabels.png"
2552 * data/pixmaps/Makefile.am:
2553 Added glabels_app_icondir. Renamed icons.
2554 * data/pixmaps/glabels.png:
2555 New cleaned up app icon. Deleted glabels-icon.png.
2556 * data/pixmaps/glabels-application-x-glabels.png:
2558 * data/pixmaps/glabels-splash.png:
2559 Renamed glabels-logo to glabels-splash to be more correct about role.
2561 * src/template-designer.c:
2562 Point at app icon, "glabels.png"
2564 Point at renamed splash image, "glabels-splash.png"
2566 2004-08-22 Jim Evins <evins@snaught.com>
2569 * src/glabels-batch.c: (main):
2570 Applied patch with minor mods to allow selecting merge source and
2571 crop-marks on glabels-batch's command line. Original patch provided by
2572 José Dapena Paz <jdapena@igalia.com>.
2574 2004-08-15 Jim Evins <evins@snaught.com>
2576 * data/desktop/glabels.desktop.in:
2577 - Added encoding line
2578 - Removed period from comment
2579 - Fixed Terminal line, changed "0" to "false"
2580 - Added semicolen to Categories line
2582 - Made sure desktop.in comment string above still translated properly
2584 2004-08-14 Jim Evins <evins@snaught.com>
2586 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
2587 * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
2588 * src/xml-label-191.c: (xml191_parse_sheet):
2589 Fixed improper freeing of gettext strings. Merged from 2.0.1.
2591 Reconciled libglabels versioning with 2.0.1.
2594 2004-08-14 Jim Evins <evins@snaught.com>
2597 Updated version to 2.1cvs.
2599 2004-08-14 Jim Evins <evins@snaught.com>
2602 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
2604 2004-08-14 Jim Evins <evins@snaught.com>
2606 Fixes for Bug #1008181.
2608 * src/bc.c: (gl_barcode_default_digits):
2609 Make a format of zero digits, harmless.
2610 * src/xml-label.c: (xml_parse_object_barcode):
2611 Set default value of the format property of barcode objects to 10, not
2612 zero. This will prevent crashes when reading pre 2.0.x files.
2614 2004-08-09 Jim Evins <evins@snaught.com>
2618 * help/C/glabels-C.omf:
2619 * help/C/glabels.xml:
2620 Brought documentation up-to-date for 2.0.0 release.
2622 2004-08-09 Jim Evins <evins@snaught.com>
2624 These are hopefully the final preparations for 2.0.0.
2626 * data/mime/Makefile.am:
2627 Include glabels.xml in EXTRA_DIST.
2629 - Updated comment style.
2630 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
2631 - Added package and version info to configuration printout
2632 - Update version to 2.0.0
2633 * libglabels/Makefile.am:
2634 Use the new LIBGLABELS_VERSION_INFO macro.
2636 2004-08-09 Jim Evins <evins@snaught.com>
2640 Cleanup of required library macros.
2642 2004-08-08 Jim Evins <evins@snaught.com>
2646 - More specific of what to install in /usr/bin and /usr/lib
2647 - Remove built mime registration files from staging directory
2649 2004-08-08 Jim Evins <evins@snaught.com>
2651 * data/mime/Makefile.am:
2652 Fixed typo: key_files should have been keys_files.
2654 2004-08-08 Jim Evins <evins@snaught.com>
2656 Reorganization of runtime data files. Also added registration of mimetype with
2657 new freedesktop.org mime database if available.
2660 Moved files to appropriate subdirectories, creating local Makefile.am
2661 in each subdirectory.
2662 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
2663 These are now installed at $datadir/glabels/templates.
2664 - Moved glabels.1 to man subdirectory.
2665 - Moved glabels-2.0.dtd to dtd subdirectory.
2666 - Moved glabels.desktop.in to desktop subdirectory.
2667 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
2669 Moved "./pixmaps" to "./data/pixmaps"
2671 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
2673 Moved libglade files from src to data/glade. Created Makefile.am.
2675 Removed pixmaps from SUBDIRS.
2677 - Removed pixmaps from makefiles.
2678 - Added makefiles for new subdirs of data.
2679 - Added tests for freedesktop.org mime database.
2681 - Added tests for freedesktop.org mime database for post install and
2682 post un-install actions.
2683 * libglabels/Makefile.am:
2684 Moved system template files to $(datadir)/glabels/templates.
2685 * libglabels/libglabels-private.h:
2686 Moved system template files to $(datadir)/glabels/templates.
2688 - Accounted for movement of ui and libglade files.
2689 - Added missing .in files.
2690 - Reorganized by directory.
2692 Accounted for movement of ui and libglade files.
2693 * data/mime/glabels.xml.in:
2694 New file for registering with freedesktop.org mime database.
2696 2004-08-07 Jim Evins <evins@snaught.com>
2698 * src/recent-files/*:
2699 Re-synced to latest libegg/recent-files.
2701 2004-08-07 Jim Evins <evins@snaught.com>
2706 Renamed "./doc" directory to "./help" which contains user documentation,
2707 to be more consistent with other GNOME applications.
2710 2004-07-26 Jim Evins <evins@snaught.com>
2712 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
2713 Corrected button order of merge properties dialog.
2715 2004-07-18 Jim Evins <evins@snaught.com>
2717 * data/glabels-2.0.dtd:
2718 * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
2719 (gl_barcode_get_prefered_n):
2721 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
2722 (gl_label_barcode_get_props), (get_size):
2723 * src/label-barcode.h:
2724 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
2725 (style_changed_cb), (gl_object_editor_set_bc_style),
2726 (gl_object_editor_get_bc_style):
2727 * src/object-editor-data-page.c: (data_radio_toggled_cb),
2728 (gl_object_editor_set_data), (gl_object_editor_get_data):
2729 * src/object-editor-private.h:
2730 * src/object-editor.c: (gl_object_editor_set_key_names):
2731 * src/object-editor.glade:
2732 * src/object-editor.h:
2733 * src/print.c: (draw_barcode_object):
2734 * src/view-barcode.c: (update_object_from_editor_cb),
2735 (update_editor_from_object_cb),
2736 (gl_view_barcode_create_event_handler), (draw_barcode):
2737 * src/xml-label-04.c: (xml04_parse_barcode_props):
2738 * src/xml-label-191.c: (xml191_parse_barcode_props):
2739 * src/xml-label.c: (xml_parse_object_barcode),
2740 (xml_create_object_barcode):
2741 Added "format" attribute to barcode objects. This attribute is used
2742 to properly format freeform barcodes barcodes prior to merge data is
2743 applied, so that barcodes can be accurately layed out. This addresses
2744 remaining issues of feature request #824787. Also added an example of
2745 the format in the object editor.
2747 2004-07-12 Jim Evins <evins@snaught.com>
2749 Various code cleanups.
2751 * src/label-barcode.c:
2752 Removed unneeded include of gnome-glyphlist.h.
2754 * src/label-text.c: (get_size):
2755 Fixed memory leak: unref glyphlists when done with them.
2757 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
2758 * src/object-editor-data-page.c:
2759 (gl_object_editor_prepare_data_page):
2760 * src/object-editor-image-page.c:
2761 (gl_object_editor_prepare_image_page):
2762 * src/object-editor-line-page.c:
2763 (gl_object_editor_prepare_line_page):
2764 * src/object-editor-lsize-page.c:
2765 (gl_object_editor_prepare_lsize_page):
2766 * src/object-editor-position-page.c:
2767 (gl_object_editor_prepare_position_page):
2768 * src/object-editor-size-page.c:
2769 (gl_object_editor_prepare_size_page):
2770 * src/object-editor-text-page.c:
2771 (gl_object_editor_prepare_text_page):
2772 Removed unneeded size groups, originally intended to keep widgets aligned.
2773 Now use tables to lay these out in object-editor.glade.
2775 * src/print.c: (draw_text_object):
2776 Fixed memory leak: unref glyphlists when done with them.
2778 * src/view-barcode.c: (draw_barcode):
2779 Fixed memory leak: unref glyphlists when done with them.
2781 * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
2782 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
2784 - Fixed memory leak: unref glyphlists when done with them.
2786 2004-07-11 Jim Evins <evins@snaught.com>
2788 * data/glabels-2.0.dtd:
2789 * src/label-text.c: (gl_label_text_instance_init), (copy),
2790 (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
2792 * src/object-editor-private.h:
2793 * src/object-editor-text-page.c:
2794 (gl_object_editor_prepare_text_page),
2795 (gl_object_editor_set_text_auto_shrink),
2796 (gl_object_editor_get_text_auto_shrink):
2797 * src/object-editor.c: (gl_object_editor_set_key_names):
2798 * src/object-editor.glade:
2799 * src/object-editor.h:
2800 * src/print.c: (draw_text_object):
2801 * src/view-text.c: (update_object_from_editor_cb),
2802 (update_editor_from_object_cb):
2803 * src/xml-label.c: (xml_parse_object_text),
2804 (xml_create_object_text):
2805 Added option to allow document merge to auto shrink text size to fit
2806 within the text box. The code in print.c that actually shrinks the
2807 text is loosely based on a patch submitted by Mark Harrison
2808 <mark.harrison@velocitynet.com.au>. This addresses feature request
2811 2004-07-11 Jim Evins <evins@snaught.com>
2813 * data/glabels-2.0.dtd:
2814 * libglabels/template.c: (gl_template_rect_label_type_new),
2815 (gl_template_round_label_type_new),
2816 (gl_template_cd_label_type_new), (gl_template_label_type_dup),
2817 (template_full_page):
2818 * libglabels/template.h:
2819 * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
2820 (xml_create_label_node):
2821 * pixmaps/ex-rect-size.png:
2822 * src/print.c: (clip_to_outline), (clip_punchouts):
2823 * src/template-designer.c: (construct_rect_size_page),
2824 (rect_size_page_prepare_cb), (layout_page_prepare_cb),
2826 * src/template-designer.glade:
2827 * src/xml-label-191.c: (xml191_parse_label):
2828 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
2829 properties for rectangular labels. Templates remain backwards compatible,
2830 but this breaks the libglabels API (I don't know of anyone outside of
2831 glabels using libglabels at this time -- what can I say, the program is
2832 is still "unstable"). This addresses the suggestion in Feature Request
2835 2004-07-05 Jim Evins <evins@snaught.com>
2836 * src/print.c: (print_crop_marks), (draw_outline):
2837 Changed crop marks and label outlines to black, instead of 25% gray.
2838 This addresses debian Bug #257460.
2840 2004-07-05 Jim Evins <evins@snaught.com>
2842 * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
2843 * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
2844 Preserve "is_default" of fill and line color_combos when creating from
2847 2004-07-02 Jim Evins <evins@snaught.com>
2850 Created man page. Based on page submitted by Matthew J. Lockner, however
2851 it has been severely edited.
2853 * data/avery-other-templates.xml
2854 * data/misc-other-templates.xml:
2855 Started new files for predefined templates with non-standard sheet sizes.
2856 These have been initially populated with the Avery 06141 and
2857 OfficeMax #86112, both provided by Matthew J. Lockner.
2860 Install above manpage and template files.
2863 Make sure we install man pages.
2865 * src/glabels-batch.c:
2866 Changed short form of help option to '-?' to be consistent with glabels.
2869 Added acknowledgement for above labels.
2871 2004-07-02 Jim Evins <evins@snaught.com>
2873 * src/glabels.c: (main), (save_session_cb):
2874 - Now include libbonoboui.h, recent.h, and file.h to provide missing
2876 - save_session_cb() now returns gboolean.
2877 - Minor formatting changes.
2881 - Now include file.h to provide missing prototype.
2882 - gl_window_get_type() now returns GType, not guint. I believe this may
2883 ultimately be cause of the segfault reported in Bug #982287, since
2884 GType is actually a gulong, which may not be compatible on other
2885 architectures (64bit) -- I cannot personally test this at this time.
2886 I was sloppy in several other xxx_get_type() functions which also
2887 returned guint -- see next group of files:
2889 * src/window.c: (gl_window_get_type):
2890 * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
2891 * src/canvas-hacktext.h:
2892 * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
2893 (gl_hig_category_get_type), (gl_hig_vbox_get_type),
2894 (gl_hig_hbox_get_type):
2896 * src/label-barcode.c: (gl_label_barcode_get_type):
2897 * src/label-barcode.h:
2898 * src/label-box.c: (gl_label_box_get_type):
2900 * src/label-ellipse.c: (gl_label_ellipse_get_type):
2901 * src/label-ellipse.h:
2902 * src/label-image.c: (gl_label_image_get_type):
2903 * src/label-image.h:
2904 * src/label-line.c: (gl_label_line_get_type):
2906 * src/label-object.c: (gl_label_object_get_type):
2907 * src/label-object.h:
2908 * src/label-text.c: (gl_label_text_get_type):
2910 * src/label.c: (gl_label_get_type):
2912 * src/merge-properties-dialog.c:
2913 (gl_merge_properties_dialog_get_type):
2914 * src/merge-properties-dialog.h:
2915 * src/merge-text.c: (gl_merge_text_get_type):
2917 * src/merge.c: (gl_merge_get_type):
2919 * src/object-editor.c: (gl_object_editor_get_type):
2920 * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
2921 * src/prefs-dialog.h:
2922 * src/prefs-model.c: (gl_prefs_model_get_type):
2923 * src/prefs-model.h:
2924 * src/print-dialog.c: (gl_print_dialog_get_type):
2925 * src/print-dialog.h:
2926 * src/template-designer.c: (gl_template_designer_get_type):
2927 * src/template-designer.h:
2928 * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
2929 * src/ui-property-bar.h:
2930 * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
2932 * src/view-barcode.c: (gl_view_barcode_get_type):
2933 * src/view-barcode.h:
2934 * src/view-box.c: (gl_view_box_get_type):
2936 * src/view-ellipse.c: (gl_view_ellipse_get_type):
2937 * src/view-ellipse.h:
2938 * src/view-highlight.c: (gl_view_highlight_get_type):
2939 * src/view-highlight.h:
2940 * src/view-image.c: (gl_view_image_get_type):
2942 * src/view-line.c: (gl_view_line_get_type):
2944 * src/view-object.c: (gl_view_object_get_type):
2945 * src/view-object.h:
2946 * src/view-text.c: (gl_view_text_get_type):
2948 * src/view.c: (gl_view_get_type):
2950 * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
2951 * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
2952 * src/wdgt-image-select.h:
2953 * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
2954 * src/wdgt-media-select.h:
2955 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
2956 * src/wdgt-mini-preview.h:
2957 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
2958 * src/wdgt-print-copies.h:
2959 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
2960 * src/wdgt-print-merge.h:
2961 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
2962 * src/wdgt-rotate-label.h:
2963 - Made sure all xxx_get_type functions returned GType, not guint. This
2964 was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
2965 ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
2966 wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
2967 wdt-print-merge.[ch], and wdgt-rotate-label.[ch]. See separate
2968 window.[ch] details above for more info.
2969 - Reconciled various coding style differences in all xxx_get_type()
2971 * All prototypes include G_GNUC_CONST.
2972 * All prototypes specify the return value as GType, not GtkType
2974 * Info structures are all declared as "static const."
2975 * Generalized the names of type and info variables.
2976 * Miscelaneous formatting.
2978 2004-06-08 Jim Evins <evins@snaught.com>
2984 Don't touch compression of original file -- still defaults to 9 for
2985 new files. Original patch provided by Javier Donaire Segarra
2986 (#912252 in patch tracker).
2988 2004-05-05 Jim Evins <evins@snaught.com>
2990 * data/glabels-2.0.dtd:
2991 Broke DTD previously when adding new barcode types that contain a
2992 plus sign (+). Simply changed the BC_STYLE_TYPE entity to "CDATA"
2993 to avoid the problem.
2994 * data/avery-iso-templates.xml:
2995 * data/zweckform-iso-templates.xml:
2997 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021. Templates
2998 provided by Frank Altpeter.
2999 * libglabels/xml-template.c: (xml_create_label_node):
3000 Reordered markup and layout sub-nodes so that resulting templates will
3001 validate against DTD.
3003 2004-03-13 Jim Evins <evins@snaught.com>
3005 * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
3006 Changed spin callback signals from "value-changed" back to "changed."
3007 This was accidentally introduced in a previous revision, and can cause
3008 size changes just by selecting the size tab.
3010 2004-03-06 Jim Evins <evins@snaught.com>
3012 * src/view.c: (draw_grid_layer):
3013 For round labels (round and cd) adjust grid so that it lines up with
3014 center of label. Also, no longer draw box around label in the grid layer,
3015 it is hidden by he fg layer anyway. Feature suggested by
3016 nemolivier@free.fr. Although the grid is aligned with the center of the
3017 label, the coordinate system is still relative to the upper left corner
3018 of the rectangle containing the label.
3020 2004-02-25 Jim Evins <evins@snaught.com>
3023 Changed version to 2.0pre1cvs
3025 * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
3026 Removed extra xmlFreeDoc() calls upon error. Also print the doc->URL
3027 instead of doc->name fields when errors encountered.
3029 2004-02-21 Jim Evins <evins@snaught.com>
3031 * data/avery-iso-templates.xml:
3032 Added aliases for Avery 8651. Patch provided by Wayne Schuller.
3035 Added libglabels library and include file to installed files.
3038 Final prep for 1.93.3.
3040 2004-02-20 Jim Evins <evins@snaught.com>
3042 * src/glabels-batch.c: (main):
3043 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
3044 as suggested by Javier Donaire Segarra. This addresses bug #901063.
3046 2004-02-16 Jim Evins <evins@snaught.com>
3049 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
3052 Added HAVE_FILE_CHOOSER to INCLUDES.
3054 * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
3055 (gl_file_save_as), (save_as_response):
3056 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
3058 2004-02-16 Jim Evins <evins@snaught.com>
3060 * src/xml-label-04.c: (xml04_parse_image_props):
3061 * src/xml-label-191.c: (xml191_parse_image_props):
3062 * src/xml-label.c: (xml_parse_object_image):
3063 Delay setting image size until after image has been applied to new
3066 2004-02-15 Jim Evins <evins@snaught.com>
3068 * src/label-barcode.c: (gl_label_barcode_set_data),
3069 (gl_label_barcode_set_props):
3070 Don't emit "changed" signal, if no change actually made for these
3071 methods. Reduces number of unnecessary redraws of barcodes.
3073 * src/label-object.h:
3074 * src/label-object.c: (gl_label_object_set_position),
3075 (gl_label_object_set_position_relative), (set_size),
3076 (gl_label_object_set_size),
3077 (gl_label_object_set_size_honor_aspect):
3078 Don't emit "changed" signal, if no change actually made for these
3081 2004-02-15 Jim Evins <evins@snaught.com>
3083 * data/glabels-2.0.dtd:
3084 Added specific subtypes for various barcode types.
3087 * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
3088 (gl_barcode_get_styles_list), (gl_barcode_default_digits),
3089 (gl_barcode_can_text), (gl_barcode_text_optional),
3090 (gl_barcode_can_csum), (gl_barcode_csum_optional),
3091 (gl_barcode_id_to_name), (gl_barcode_name_to_id):
3092 Changed API to use a string id, rather than a fixed enumeration. Id and
3093 name are separate strings. Added entries to backend table for specific
3094 subtypes for various barcode types.
3097 * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
3099 Modified to conform to above API. Now more stringent with data length
3100 for various subtypes.
3102 * src/bc-gnubarcode.h:
3103 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
3104 (is_length_valid), (is_length1_valid), (is_length2_valid):
3105 Modified to conform to above API. Now more stringent with data length
3106 for various subtypes.
3108 * src/label-barcode.h:
3109 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
3110 (gl_label_barcode_get_props), (get_size):
3111 Modified to use above API for storing barcode type.
3113 * src/object-editor.h:
3114 * src/object-editor-bc-page.c: (style_changed_cb),
3115 (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
3116 Modified to use above API for storing barcode type.
3118 * src/object-editor-size-page.c:
3119 (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
3120 (w_spin_cb), (h_spin_cb), (size_reset_cb):
3121 Added debug markers.
3123 * src/object-editor.glade:
3124 Made barcode style combo's text entry non-editable.
3126 * src/print.c: (draw_barcode_object):
3127 Modified to use above API for barcode type.
3129 * src/view-barcode.c: (update_object_from_editor_cb),
3130 (update_editor_from_object_cb),
3131 (gl_view_barcode_create_event_handler), (draw_barcode):
3132 Modified to use above API for barcode type.
3134 * src/xml-label-04.c: (xml04_parse_barcode_props):
3135 * src/xml-label-191.c: (xml191_parse_barcode_props):
3136 * src/xml-label.c: (xml_parse_object_barcode),
3137 (xml_create_object_barcode):
3138 Modified to use above API for barcode type.
3140 2004-02-07 Jim Evins <evins@snaught.com>
3142 * src/stock-pixmaps/Makefile.am:
3143 * src/stock-pixmaps/stock_hchain_24.png:
3144 * src/stock-pixmaps/stock_hchain_broken_24.png:
3145 * src/stock-pixmaps/stock_vchain_24.png:
3146 * src/stock-pixmaps/stock_vchain_broken_24.png:
3147 Added chain pixmaps borrowed from the gimp's default theme.
3150 * src/stock.c: (gl_stock_init), (add_button_icon):
3151 Added above pixmaps to stock icon sets. Created add_button_icon() to
3152 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
3154 * src/wdgt-chain-button.h
3155 * src/wdgt-chain-button.c
3158 Added this Modified version of gimpchainbutton widget, borrowed from
3162 Added acknowledgements of the above borrowing from the gimp.
3164 * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
3166 * src/object-editor.c: (gl_object_editor_construct_chain_button):
3167 * src/object-editor.glade:
3168 Replaced the keep aspect ratio check box with the above chain-button
3171 * src/text-node.c: (gl_text_node_equal):
3173 Added function gl_text_node_equal() to compare text_nodes.
3175 * src/label-image.c: (gl_label_image_set_filename):
3176 Replaced incomplete text_node comparison code with invocation of
3177 gl_text_node_equal. This fixed the problem of not being able to
3178 resize an image using the object_editor if the aspect ratio is not
3181 2004-02-04 Jim Evins <evins@snaught.com>
3183 * src/object-editor-image-page.c:
3184 (gl_object_editor_prepare_image_page):
3185 Track "changed" signal of pixmap entry's GtkEntry rather than its
3186 "activate" signal -- this catches all changes to the entry rather than
3187 just changes resulting from a browse, so one can easily pull previous
3188 entries from the history. (This change is marked below on 2004-02-03,
3189 but somehow never got checked in.)
3191 * src/view-highlight.c: (sl_resize_event_handler),
3192 (sr_resize_event_handler), (st_resize_event_handler),
3193 (sb_resize_event_handler):
3194 Side resize handles will now confirm the actual resize that the object
3195 accepted before adjusting position parameters. Previously some interesting
3196 things happened when resizing a barcode to its minimum size.
3198 2004-02-03 Jim Evins <evins@snaught.com>
3200 * src/object-editor-image-page.c:
3201 (gl_object_editor_prepare_image_page):
3202 Track "changed" signal of pixmap entry's GtkEntry rather than its
3203 "activate" signal -- this catches all changes to the entry rather than
3204 just changes resulting from a browse, so one can easily pull previous
3205 entries from the history.
3207 * src/view-highlight.c: (tl_resize_event_handler),
3208 (tr_resize_event_handler), (bl_resize_event_handler),
3209 (br_resize_event_handler):
3210 Allow control key to be dropped while dragging a corner resize handle
3211 without losing the aspect ratio lock.
3213 2004-02-02 Jim Evins <evins@snaught.com>
3215 * src/label-image.c: (gl_label_image_set_filename):
3216 When setting a new filename adjust size such that the aspect ratio of
3217 the image is preserved using the current size as a bounding box.
3219 * src/view-image.c: (update_object_from_editor_cb):
3220 When updating object from editor, feed back possible size changes to
3221 editor as a result of a possible change in image.
3223 * src/object-editor-size-page.c: (size_reset_cb):
3224 Fixed typo when blocking spin handlers. If the base size is larger than
3225 the max size, treat max size as a bounding box while keeping aspect
3229 2004-02-02 Jim Evins <evins@snaught.com>
3231 * src/label-object.h:
3232 * src/label-object.c: (gl_label_object_set_size),
3233 (gl_label_object_set_size_honor_aspect):
3234 Added gl_label_object_set_size_honor_aspect() which will maintain the
3235 current aspect ratio by modifying the supplied w or h apropriately.
3237 * src/view-highlight.c: (tl_resize_event_handler),
3238 (tr_resize_event_handler), (bl_resize_event_handler),
3239 (br_resize_event_handler):
3240 Corner handles will now maintain the current aspect ratio if the
3241 control key is pressed while resizing. This addresses feature
3245 2004-01-31 Jim Evins <evins@snaught.com>
3248 * data/avery-us-templates.xml:
3249 Added entries for "LSK-3," "LSK-5," and "LSK-8." Submitted by JBadger.
3251 * libglabels/template.c: (read_template_files_from_dir):
3252 Corrected problem with testing for extensions.
3254 * src/object-editor.glade:
3255 Corrected grouping of radio buttons in barcode data page.
3257 * src/print.c: (draw_barcode_object):
3258 * src/view-barcode.c: (draw_barcode):
3259 Corrected problem with calculation of y_offset for locating characters.
3261 2004-01-24 Jim Evins <evins@snaught.com>
3264 * data/avery-us-templates.xml:
3265 Added Avery 5824, submitted by Fred Bacon.
3267 2004-01-20 Jim Evins <evins@snaught.com>
3269 Catching up on a couple of backlogged user template submissions.
3271 * data/avery-iso-templates.xml:
3272 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
3273 Suggested by Linas Jakucionis.
3275 * data/zweckform-iso-templates.xml:
3276 Added Zweckform 4760, submitted by Thomas Vill.
3279 Updated to reflect above submissions.
3281 2004-01-06 Jim Evins <evins@snaught.com>
3283 Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
3284 xml.[ch] into a separate library called libglabels, to facilitate third
3285 party use of glabels template files. This was suggested by Wayne Schuller.
3286 Once split-out, some modifications to the structures and functions to
3287 make a cleaner more useful API, hopefully. Rather extensive changes have
3288 propogated to other modules.
3296 * src/xml-template.h:
3297 * src/xml-template.c:
3300 These files have been moved to libglabels/. API cleanup performed.
3302 * libglabels/libglabels.h:
3303 * libglabels/libglabels-private.h:
3304 * libglabels/Makefile.am:
3305 These files have been added to finish out libglabels.
3312 Modified to reflect new sets of files in src/ and libglabels/.
3314 * COPYING.LIBGLABELS:
3316 Added copy of the LGPL for libglabels, and a copy the GFDL for
3319 * src/glabels-batch.c:
3321 * src/label.c: (gl_label_finalize), (gl_label_set_template),
3322 (gl_label_get_size):
3324 * src/prefs-model.c: (gl_prefs_model_load_settings):
3325 * src/print-dialog.c:
3326 * src/print.c: (gl_print_simple), (gl_print_merge_collated),
3327 (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
3328 (print_crop_marks), (print_label), (draw_outline),
3329 (clip_to_outline), (clip_punchouts):
3330 * src/template-designer.c: (construct_pg_size_page),
3331 (pg_size_page_changed_cb), (layout_page_changed_cb),
3332 (print_test_cb), (build_template):
3333 * src/util.c: (gl_util_fraction):
3335 * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
3336 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
3337 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
3338 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
3339 (draw_markup_margin_round), (draw_markup_margin_cd),
3340 (draw_markup_margin_cd_bc), (draw_markup_line),
3341 (draw_markup_circle), (gl_view_copy):
3342 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
3343 (page_size_entry_changed_cb), (details_update), (get_layout_desc),
3344 (get_label_size_desc):
3345 * src/wdgt-mini-preview.c:
3346 (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
3348 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
3349 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
3350 * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
3351 (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
3352 * src/wdgt-rotate-label.h:
3353 * src/xml-label-04.c: (xml04_parse_media_description):
3354 * src/xml-label-191.c: (gl_xml_label_191_parse),
3355 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
3356 (xml191_parse_markup), (xml191_parse_alias):
3357 * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
3359 Various changes to accomodate new libglabels API.
3361 2004-01-03 Jim Evins <evins@snaught.com>
3366 2004-01-03 Jim Evins <evins@snaught.com>
3369 Added acknowledgement of contributions by Wayne Schuller.
3371 * src/commands.c: (gl_cmd_file_print):
3372 Create extra reference to print dialog, so that it can be properly re-used.
3374 * src/mygal/mygal-combo-box.h:
3375 * src/mygal/mygal-combo-box.c:
3376 (mygal_combo_box_popup_hide_unconditional),
3377 (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
3378 (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
3379 (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
3380 (mygal_combo_box_set_tearable):
3381 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
3382 complete the rename of this widget to prevent namespace collisions
3385 * src/prefs-dialog.glade:
3386 Fixed alignment of Fill/Color widgets.
3388 2004-01-03 Jim Evins <evins@snaught.com>
3390 * data/avery-iso-templates.xml:
3391 Added user submitted templates.
3392 Avery 8435A & 8435B, submitted by Ludger Solbach.
3394 * doc/C/glabels.xml:
3395 Added minimal documentation, noting the new template designer.
3397 2004-01-03 Jim Evins <evins@snaught.com>
3399 * pixmaps/ex-rect-size.png:
3400 * pixmaps/ex-round-size.png:
3401 * pixmaps/ex-cd-size.png:
3402 * pixmaps/Makefile.am:
3403 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
3404 files to be used as illustrations/examples in the template-designer.
3406 * src/template-designer.c: (construct_rect_size_page),
3407 (construct_round_size_page), (construct_cd_size_page),
3408 (construct_nlayouts_page), (rect_size_page_prepare_cb),
3409 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
3410 (layout_page_prepare_cb), (build_template):
3411 * src/template-designer.glade:
3412 Added illustrations for rectangle, round, and cd label size pages.
3413 Added margin spinboxes to these pages, and now add a margin markup
3414 to the constructed template. Added realistic default values for
3415 some of the size spinboxes. Cleaned up the code for setting spinbox
3416 ranges on the layouts page.
3418 2004-01-02 Jim Evins <evins@snaught.com>
3420 * src/object-editor-size-page.c: (h_spin_cb):
3421 Fixed cut-n-paste error in h_spin_cb that loaded h from
3422 the wrong spinbutton.
3424 * src/object-editor.h:
3425 * src/object-editor.c: (gl_object_editor_class_init),
3426 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
3427 * src/object-editor-private.h:
3428 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
3430 Added "size_changed" signal.
3432 * src/view-text.c: (construct_properties_editor),
3433 (update_object_from_editor_cb),
3434 (update_object_from_editor_size_cb):
3435 Track size changes from object editor separately from other
3436 properties. This is so the default size (0,0) of a text
3437 object is not modified unintentionally.
3439 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
3441 Added feature: line spacing - allows you to comfortably space a text box to
3442 fit a label perfectly.
3444 * data/glabels-2.0.dtd:
3445 * src/label-object.c: (gl_label_object_set_text_line_spacing),
3446 (gl_label_object_get_text_alignment),
3447 (gl_label_object_get_text_line_spacing):
3448 * src/label-object.h:
3449 * src/label-text.c: (gl_label_text_class_init),
3450 (gl_label_text_instance_init), (copy), (get_size),
3451 (set_text_line_spacing), (get_text_alignment),
3452 (get_text_line_spacing):
3453 * src/object-editor-private.h:
3454 * src/object-editor-text-page.c:
3455 (gl_object_editor_prepare_text_page),
3456 (gl_object_editor_set_text_line_spacing),
3457 (gl_object_editor_get_text_line_spacing):
3458 * src/object-editor.glade:
3459 * src/object-editor.h:
3460 * src/prefs-dialog.c: (construct_object_page),
3461 (update_object_page_from_prefs), (update_prefs_from_object_page):
3462 * src/prefs-dialog.glade:
3463 * src/prefs-model.c: (gl_prefs_model_save_settings),
3464 (gl_prefs_model_load_settings), (get_float):
3465 * src/prefs-model.h:
3466 * src/print.c: (draw_text_object):
3468 * src/view-text.c: (update_object_from_editor_cb),
3469 (update_editor_from_object_cb),
3470 (gl_view_text_create_event_handler), (draw_hacktext):
3471 * src/view.c: (gl_view_construct),
3472 (gl_view_set_selection_text_line_spacing),
3473 (gl_view_set_default_text_line_spacing),
3474 (gl_view_get_default_text_line_spacing):
3476 * src/xml-label.c: (xml_parse_toplevel_span),
3477 (xml_create_toplevel_span):
3479 2003-12-30 Jim Evins <evins@snaught.com>
3481 * src/template-designer.c:
3482 * src/template-designer.h:
3483 * src/template-designer.glade:
3484 New template designer assistant.
3488 Added entries for src/template-designer.* files.
3490 * pixmaps/ex-1layout.png
3491 * pixmaps/ex-2layouts.png
3492 * pixmaps/Makefile.am:
3493 Added the new image files ex-*.png used as illustrations in the
3494 template designer assistant.
3496 * src/print-dialog.h:
3497 * src/print-dialog.c: (gl_print_dialog_finalize),
3498 (gl_print_dialog_new), (gl_print_dialog_construct),
3499 (gl_print_dialog_force_outline_flag):
3500 Changed first argument of gl_print_dialog_new() from glView to glLabel,
3501 to support printing from the template designer assistant which does not
3502 have a full-fledged view. Nothing else from the view object was being
3503 used by the dialog anyway.
3505 Added the gl_print_dialog_force_outline_flag() method, for better
3506 integration with the template designer assistant.
3510 * src/commands.c: (gl_cmd_file_template_designer),
3511 (gl_cmd_file_print):
3512 Modified print command to provide label instead of view to dialog.
3513 Added the gl_cmd_file_template_designer() command to invoke the
3514 template designer assistant.
3517 * src/glabels-ui.xml:
3518 Added support for template designer assistant.
3520 * src/wdgt-mini-preview.h:
3521 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
3522 (gl_wdgt_mini_preview_set_bg_color):
3523 Preview is now centered in canvas. Added
3524 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
3525 assistant to match the background color with its own.
3527 * src/print.c: (clip_to_outline):
3528 Fixed really stupid bug when adding waste to clip region of rectangular
3529 labels/cards. Each side of the clip region needs to be extended by
3530 twice the waste margin, as well as negatively offset by the waste
3533 2003-12-28 Jim Evins <evins@snaught.com>
3535 * src/prefs-dialog.c: (update_object_page_from_prefs):
3536 Block intermediary function align_toggle_cb() instead of
3537 update_prefs_from_object_page() for the three alignment
3540 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
3542 * src/file.c: (gl_file_new), (gl_file_properties):
3543 Swap button order and set default for higificatory pleasure.
3545 2003-12-27 Jim Evins <evins@snaught.com>
3547 * barcode-0.98/Makefile.am:
3548 One last time: removed doc/Makefile and po/Makefile.in.in from
3551 2003-12-27 Jim Evins <evins@snaught.com>
3553 * barcode-0.98/Makefile.am:
3554 Removed config.stat entry from EXTRA_DIST files.
3556 * barcode-0.98/Makefile.in:
3559 2003-12-27 Jim Evins <evins@snaught.com>
3562 Updated to work with latest gnome-common package from CVS.
3563 Removed recursive configuration of barcode-0.98.
3570 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
3572 * barcode-0.98/Makefile.in:
3573 * barcode-0.98/configure.in:
3574 * barcode-0.98/Makefile.am:
3575 * barcode-0.98/README.glabels:
3576 Modified to ignore the barcode package's build system, and build
3577 as a part of glabels.
3578 Renamed Makefile.in to Makefile.in.dist.
3579 Renamed configure.in to configure.in.dist.
3580 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
3583 * src/mygal/Makefile.am:
3584 * src/recent-files/Makefile.am:
3585 In order to build against the GNOME 2.5 platform,
3586 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
3588 * src/mygal/Makefile.am:
3589 * src/mygal/mygal-combo-box.c:
3590 * src/mygal/mygal-combo-box.h:
3591 * src/mygal/widget-color-combo.c:
3592 * src/mygal/widget-color-combo.h:
3594 In order to build against the GNOME 2.5 platform,
3595 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
3596 collisions with the real gtk_combo_box widget, now a part of gtk.
3598 2003-12-26 Jim Evins <evins@snaught.com>
3604 Moved local versions of get_home_data_dir() in paper.c and
3605 template.c to util package. Cleaned up formatting in
3609 In gl_template_register() save a copy of the template in
3610 ~/.glabels if the template is not known. Still need to
3611 handle duplicate filename case and duplicate name but
3612 different template case.
3616 Moved local definition of NAME_SPACE macro from xml-label.c
3619 * src/xml-template.c:
3620 * src/xml-template.h:
3621 Added function gl_xml_template_write_template_to_file(), used
3622 in gl_template_register().