1 2007-10-01 Jim Evins <evins@snaught.com>
3 * docs/libglabels/libglabels-decl-list.txt:
4 * docs/libglabels/libglabels-docs.sgml:
5 * docs/libglabels/libglabels-sections.txt:
6 * docs/libglabels/libglabels-undocumented.txt:
7 * docs/libglabels/tmpl/category.sgml:
8 * docs/libglabels/tmpl/enums.sgml:
9 * docs/libglabels/tmpl/init.sgml:
10 * docs/libglabels/tmpl/libglabels-unused.sgml:
11 * docs/libglabels/tmpl/paper.sgml:
12 * docs/libglabels/tmpl/template-construction.sgml:
13 * docs/libglabels/tmpl/template-db.sgml:
14 * docs/libglabels/tmpl/template-misc.sgml:
15 * docs/libglabels/tmpl/template-struct.sgml:
16 * docs/libglabels/tmpl/template.sgml:
17 * docs/libglabels/tmpl/xml-category.sgml:
18 * docs/libglabels/tmpl/xml-template.sgml:
19 * libglabels/category.h:
21 * libglabels/libglabels-private.h:
23 * libglabels/template.c:
24 * libglabels/template.h:
25 * libglabels/xml-template.h:
26 Basic documentation framework for libglabels updated. This still needs some
29 2007-09-27 Jim Evins <evins@snaught.com>
31 * docs/libglabels/libglabels-decl-list.txt:
32 * docs/libglabels/libglabels-docs.sgml:
33 * docs/libglabels/libglabels-sections.txt:
34 * docs/libglabels/libglabels-undocumented.txt:
35 * docs/libglabels/tmpl/enums.sgml:
36 * docs/libglabels/tmpl/init.sgml:
37 * docs/libglabels/tmpl/libglabels-unused.sgml:
38 * docs/libglabels/tmpl/paper.sgml:
39 * docs/libglabels/tmpl/template.sgml:
40 * docs/libglabels/tmpl/xml-paper.sgml:
41 * docs/libglabels/tmpl/xml-template.sgml:
42 * docs/libglabels/tmpl/xml.sgml:
43 * libglabels/Makefile.am:
44 * libglabels/category.c:
45 * libglabels/category.h:
49 * libglabels/libglabels-private.h:
50 * libglabels/libglabels.h:
53 * libglabels/template.c:
54 * libglabels/template.h:
55 * libglabels/xml-category.c:
56 * libglabels/xml-category.h:
57 * libglabels/xml-paper.c:
58 * libglabels/xml-paper.h:
59 * libglabels/xml-template.c:
60 * libglabels/xml-template.h:
63 * src/cairo-label-path.c:
64 * src/cairo-label-path.h:
65 * src/cairo-markup-path.c:
66 * src/cairo-markup-path.h:
68 * src/glabels-batch.c:
73 * src/mini-preview-pixbuf-cache.c:
74 * src/mini-preview-pixbuf.c:
75 * src/mini-preview-pixbuf.h:
83 * src/template-designer.c:
90 * src/wdgt-media-select.c:
91 * src/wdgt-mini-preview.c:
92 * src/wdgt-mini-preview.h:
93 * src/wdgt-print-copies.c:
94 * src/wdgt-print-merge.c:
95 * src/wdgt-rotate-label.c:
98 Major cleanup of libglabels API -- this breaks API compatibility with older
99 development and stable versions -- as far as I know, there are currently
100 no external users of this library yet.
102 2007-09-14 Jim Evins <evins@snaught.com>
107 * src/label-object.c:
108 * src/label-object.h:
109 * src/label-barcode.c:
110 * src/label-ellipse.c:
113 * src/view-barcode.c:
115 * src/view-ellipse.c:
119 Better separation of model from view.
121 2007-08-21 Jim Evins <evins@snaught.com>
123 * src/print-op.c: (create_custom_widget_cb):
124 Fix problem with force_outline_flag -- don't override with default.
126 2007-08-21 Jim Evins <evins@snaught.com>
128 * data/dtd/glabels-2.0.dtd:
129 * libglabels/template.c:
130 * libglabels/template.h:
131 * libglabels/xml-template.c:
132 * src/cairo-markup-path.c:
133 Added "Markup-rect" element to template format.
135 2007-08-21 Jim Evins <evins@snaught.com>
138 Changed version to 2.1.pre5svn.
139 * src/view.c: (draw_markup_layer):
140 Do a stroke for each markup path, otherwise multiple markups
143 2007-08-17 Jim Evins <evins@snaught.com>
146 Bump libglabels revision numbers for 2.1.4 release.
148 2007-08-16 Jim Evins <evins@snaught.com>
151 Include subdir iec16022-0.2.1.
155 Preparation for 2.1.4.
158 2007-08-11 Jim Evins <evins@snaught.com>
164 Added Esperanto translation. Provided by Antonio C.
165 Codazzi "la Filozofo" <f_sophia@libero.it>.
167 Updated French translation. Provided by Claude Paroz
168 <claude@2xlibre.net>.
170 Updated to reflect above translations.
172 2007-08-11 Jim Evins <evins@snaught.com>
175 * data/templates/avery-iso-templates.xml:
176 * data/templates/avery-us-templates.xml:
177 * data/templates/misc-iso-templates.xml:
178 * data/templates/misc-other-templates.xml:
179 * data/templates/misc-us-templates.xml:
180 * data/templates/zweckform-iso-templates.xml:
181 Caught up with backlog of template submissions.
183 2007-08-10 Jim Evins <evins@snaught.com>
185 * src/bc-postnet.c: (gl_barcode_postnet_new):
187 Added support for Brazilian CEPNet barcodes. This is simply an
188 instance of the US POSTNET format with 8 digits. Patch supplied
189 by Mário Meyer in bug # 1768792.
191 Updated acknowledgments to reflect above patch and recent shuffling
192 of underlying technology.
194 2007-05-13 Jim Evins <evins@snaught.com>
196 * src/merge-text.c: (parse_line), (parse_field):
197 Remove leading and trailing spaces from CSV fields, unless quoted.
199 2007-05-09 Jim Evins <evins@snaught.com>
201 * src/object-editor-bc-page.c:
202 * src/object-editor-data-page.c:
203 * src/object-editor-fill-page.c:
204 * src/object-editor-image-page.c:
205 * src/object-editor-line-page.c:
206 * src/object-editor-lsize-page.c:
207 * src/object-editor-position-page.c:
208 * src/object-editor-private.h:
209 * src/object-editor-shadow-page.c:
210 * src/object-editor-size-page.c:
211 * src/object-editor-text-page.c:
212 * src/object-editor.c:
213 * src/prefs-dialog.c:
214 * src/template-designer.c:
215 * src/ui-property-bar.c:
216 * src/wdgt-media-select.c:
217 Replaced signal block/unblock pairs with simple flags. This reduces
218 some code clutter, hopefully making it easier to read.
220 2007-05-05 Jim Evins <evins@snaught.com>
222 * src/template-designer.c: (apply_cb):
223 Add new template to mini-preview pixbuf cache.
225 2007-05-03 Jim Evins <evins@snaught.com>
227 * src/label-image.c: (gl_label_image_init), (draw_object):
228 Scale default pixbuf up, to prevent bluring. Use cairo_fill to
231 2007-05-02 Jim Evins <evins@snaught.com>
233 * src/view.c: (draw_select_region_layer), (motion_notify_event_cb),
234 (button_release_event_cb):
235 Removed attempt at rendering optimization by clipping the updates
236 to areas affected -- this actually seemed to hurt update performance.
238 2007-04-30 Jim Evins <evins@snaught.com>
241 * src/color.c: (gl_color_shadow), (gl_color_node_new_default),
242 (gl_color_node_equal), (gl_color_node_expand):
243 * src/label-barcode.c: (draw_object):
244 * src/label-box.c: (draw_object), (draw_shadow):
245 * src/label-ellipse.c: (draw_object), (draw_shadow):
246 * src/label-line.c: (draw_object), (draw_shadow):
247 * src/label-text.c: (draw_object), (draw_shadow):
248 * src/wdgt-mini-preview.c: (draw_shadow), (draw_labels):
249 * src/wdgt-rotate-label.c: (drawingarea_update):
250 Some cleanup to color related code.
252 2007-04-30 Jim Evins <evins@snaught.com>
255 Added glLabelRegion structure type.
256 * src/label-object.c: (gl_label_object_get_extent):
257 * src/label-object.h:
258 Modified gl_label_object_get_extent() to fill in a glLabelRegion struct.
260 * src/view.c: (gl_view_update_region), (draw_select_region_layer),
261 (gl_view_select_region), (gl_view_align_selection_left),
262 (gl_view_align_selection_right), (gl_view_align_selection_hcenter),
263 (gl_view_align_selection_top), (gl_view_align_selection_bottom),
264 (gl_view_align_selection_vcenter),
265 (gl_view_center_selection_horiz), (gl_view_center_selection_vert),
266 (gl_view_move_selection), (gl_view_can_selection_text),
267 (motion_notify_event_cb), (button_press_event_cb),
268 (button_release_event_cb):
269 - Reconcile with new gl_label_object_get_extent() API.
270 - Use glLabelRegion for view->select_region.
271 - Added gl_view_update_region() to clip updates to region.
272 - Use gl_view_update_region() during manipulation of view->select_region.
274 2007-04-26 Jim Evins <evins@snaught.com>
276 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
277 (draw_label_outline):
278 * src/print.c: (print_crop_marks), (draw_outline):
279 * src/view-object.c: (gl_view_object_draw_handles):
280 * src/view.c: (draw_bg_layer), (draw_grid_layer),
281 (draw_markup_layer), (draw_fg_layer), (draw_select_region_layer):
282 * src/wdgt-mini-preview.c: (draw_paper), (draw_labels):
283 * src/wdgt-rotate-label.c: (drawingarea_update):
284 Added defines for various magic numbers.
286 2007-04-25 Jim Evins <evins@snaught.com>
288 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
289 Scale text down. Cairo seems to render text too large.
291 2007-04-25 Jim Evins <evins@snaught.com>
294 * src/view.c: (gl_view_update), (expose_cb),
295 (motion_notify_event_cb), (button_press_event_cb),
296 (button_release_event_cb):
297 - Try not to let updates get backed up.
298 - Grab pointer when doing any drag operations.
300 2007-04-11 Jim Evins <evins@snaught.com>
302 * src/cairo-label-path.c: (gl_cairo_label_path),
303 (gl_cairo_rect_label_path), (gl_cairo_round_label_path),
304 (gl_cairo_cd_label_path):
305 * src/cairo-label-path.h:
306 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
307 (draw_label_outline):
308 * src/print.c: (draw_outline), (clip_to_outline):
309 * src/view.c: (draw_bg_layer), (draw_fg_layer):
310 * src/wdgt-mini-preview.c: (draw_labels):
311 * src/wdgt-rotate-label.c: (drawingarea_update):
312 Modified to universally use gl_cairo_label_path() to create paths
313 for labels. Added shadow to mini preview in rotate widget.
315 2007-04-10 Jim Evins <evins@snaught.com>
317 * libglabels/template.h:
318 * libglabels/template.c: (gl_template_get_name_list_unique),
319 (gl_template_get_name_list_all), (gl_template_from_name):
320 Modified libglabels to allow you to get a list of all template names
321 including all aliases or just a list of primary names of each unique
324 * src/file.c: (gl_file_properties):
325 * src/glabels.c: (main):
326 * src/mini-preview-pixbuf-cache.h:
327 * src/mini-preview-pixbuf-cache.c:
328 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
329 (filter_changed_cb), (load_list):
330 Added mini-preview pixbuf cache, so that only one mini-preview is
331 needed for a unique template and gets reused for all aliases. These
332 pixbufs will also live for the life of the program so they are not
333 rebuilt everytime a new label dialog is invoked.
334 * src/mini-preview-pixbuf.c: (draw_paper),
335 (draw_rect_label_outline), (draw_round_label_outline),
336 (draw_cd_label_outline):
337 Removed some comment artifacts.
339 2007-04-04 Jim Evins <evins@snaught.com>
341 * src/mini-preview-pixbuf.c: (gl_mini_preview_pixbuf_new),
342 (draw_paper), (draw_label_outlines), (draw_rect_label_outline),
343 (draw_round_label_outline), (draw_cd_label_outline):
344 * src/wdgt-media-select.c: (load_list):
345 * src/wdgt-rotate-label.c: (draw_cd_label_outline):
346 Cosmetic enhancments to mini previews.
348 2007-04-04 Jim Evins <evins@snaught.com>
350 * src/ui-property-bar.c: (gl_ui_property_bar_finalize),
351 (gl_ui_property_bar_construct):
352 Save copy of GladeXML tree so that we don't lose tooltips.
354 2007-04-02 Jim Evins <evins@snaught.com>
356 * src/merge-properties-dialog.c:
357 * src/new-label-dialog.c:
358 * src/object-editor.c:
359 * src/prefs-dialog.c:
361 * src/template-designer.c:
362 * src/ui-property-bar.c:
363 * src/wdgt-media-select.c:
364 * src/wdgt-rotate-label.c:
365 Fixed several memory leaks.
367 2007-04-01 Jim Evins <evins@snaught.com>
369 * src/label-text.c: (gl_label_text_init), (copy),
370 (gl_label_text_set_lines), (buffer_changed_cb), (get_size),
371 (set_font_family), (set_font_size), (set_font_weight),
372 (set_font_italic_flag), (set_text_alignment),
373 (set_text_line_spacing):
374 Cache object size, so that expensive extent calculations are only done
377 2007-03-30 Jim Evins <evins@snaught.com>
379 * src/prefs-model.c: (gl_prefs_model_load_settings):
380 Default to an unlimited list of recent documents, since this parameter
381 seems to be pre-filter anyway.
383 2007-03-30 Jim Evins <evins@snaught.com>
385 * src/label-box.c: (draw_shadow):
386 * src/label-ellipse.c: (draw_shadow):
387 Added missing shadow fill.
389 2007-03-28 Jim Evins <evins@snaught.com>
391 * src/ui-commands.c: (gl_ui_cmd_file_print):
392 Unreferencing the print operation sometimes crashes. Just don't do it
395 2007-03-28 Jim Evins <evins@snaught.com>
397 * src/print-op.c: (gl_print_op_construct),
398 (gl_print_op_get_settings), (gl_print_op_set_settings),
399 (gl_print_op_free_settings), (create_custom_widget_cb):
401 * src/ui-commands.c: (gl_ui_cmd_file_print):
402 * src/window.c: (gl_window_init):
404 Save print settings and custom settings between print operations
407 2007-03-24 Jim Evins <evins@snaught.com>
409 * src/object-editor-image-page.c:
410 (gl_object_editor_prepare_image_page),
411 (gl_object_editor_set_image), (img_selection_changed_cb):
412 Workaround for GtkFileChooserButton bug # 327243. This the root
413 cause for gLabels bug # 1192884. I have actually observed 3 delayed
414 "selection-changed" signals -- the first 2 return NULL -- this is
415 what caused the image to reset to the default followed by setting
416 it back to the original image, trying to fit it into a new bounding
417 box. This sequence of events is much more evident with the new
420 2007-03-23 Jim Evins <evins@snaught.com>
422 Merged all changes from experimental cairo branch to trunk.
423 Trunk no longer depends on libgnomecanvas or libgnomeprint[ui].
425 2007-03-23 Jim Evins <evins@snaught.com>
427 * src/label-object.h:
428 * src/label-object.c: (gl_label_object_class_init),
429 (gl_label_object_get_raw_size), (gl_label_object_get_size):
430 Created "get_raw_size" method.
431 * src/label-barcode.c: (get_size):
432 * src/xml-label.c: (xml_create_object_text),
433 (xml_create_object_barcode):
434 Use new "get_raw_size" method on label-objects when apropos.
436 * src/label-text.c: (get_size), (draw_object), (draw_shadow),
437 (auto_shrink_font_size):
438 Added "auto shrink" functionality back.
440 2007-03-19 Jim Evins <evins@snaught.com>
442 * src/label-text.c: (draw_object), (draw_shadow):
443 Don't use negative scales in workaround from previous commit.
446 2007-03-18 Jim Evins <evins@snaught.com>
449 Forgot to remove include of xml-lable-191 in previous commit.
450 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
451 Workaround for pango Bug #341481. Render text at device scale,
452 and scale font size accordingly. Also, don't do any hinting.
454 2007-03-18 Jim Evins <evins@snaught.com>
456 * src/cairo-ellipse-path.c:
457 * src/cairo-ellipse-path.h:
458 Forgot to add these new files during last mass commit.
460 2007-03-18 Jim Evins <evins@snaught.com>
463 * src/xml-label-191.c:
464 * src/xml-label-191.h:
465 Removed -- Very buggy. Version 1.91 is a very old "unstable" version,
466 so there is no need to keep compatability.
469 * src/cairo-label-path.c:
470 * src/cairo-label-path.h:
471 * src/cairo-markup-path.c:
475 * src/glabels-batch.c:
477 * src/label-barcode.c:
479 * src/label-ellipse.c:
482 * src/label-object.c:
483 * src/label-object.h:
487 * src/merge-properties-dialog.c:
489 * src/new-label-dialog.c:
490 * src/object-editor-bc-page.c:
491 * src/object-editor-data-page.c:
492 * src/object-editor-edit-page.c:
493 * src/object-editor-fill-page.c:
494 * src/object-editor-image-page.c:
495 * src/object-editor-line-page.c:
496 * src/object-editor-private.h:
497 * src/object-editor-shadow-page.c:
498 * src/object-editor-text-page.c:
499 * src/object-editor.c:
500 * src/pixbuf-cache.c:
505 * src/template-designer.c:
507 * src/ui-property-bar.c:
509 * src/view-barcode.c:
511 * src/view-ellipse.c:
518 * src/wdgt-media-select.c:
519 * src/wdgt-print-copies.c:
520 * src/wdgt-print-merge.c:
522 * src/xml-label-04.c:
524 Many changes, including:
525 - Move draw methods from view-*() to label-*().
526 - Use same drawing code for on screen view and printing.
527 - Fix all issues exposed with '-Wall -Werror'.
529 2007-03-14 Jim Evins <evins@snaught.com>
532 * src/cairo-handle-path.c:
533 * src/cairo-handle-path.h:
534 * src/cairo-object-path.c:
535 * src/cairo-object-path.h:
536 Removed cairo-handle-path.[ch] and cairo-object-path.[ch].
537 * src/view-barcode.c: (gl_view_barcode_class_init), (draw_object),
539 * src/view-box.c: (gl_view_box_class_init), (draw_object),
540 (draw_shadow), (object_at):
541 * src/view-ellipse.c: (gl_view_ellipse_class_init),
542 (create_ellipse_path), (draw_object), (draw_shadow), (object_at):
543 * src/view-image.c: (gl_view_image_class_init), (draw_object),
545 * src/view-line.c: (gl_view_line_class_init), (draw_object),
546 (draw_shadow), (object_at):
547 * src/view-object.c: (gl_view_object_draw), (gl_view_object_at),
548 (create_handle_path), (gl_view_object_draw_handles),
549 (gl_view_object_handle_at):
551 * src/view-text.c: (gl_view_text_class_init), (draw_object),
552 (draw_shadow), (object_at):
553 * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
554 Some restructuring of new code.
556 2007-03-12 Jim Evins <evins@snaught.com>
559 * src/cairo-object-path.c:
560 * src/view-barcode.c:
561 * src/view-barcode.h:
563 Added barcode object support to view.
565 2007-03-12 Jim Evins <evins@snaught.com>
571 * src/cairo-object-path.c:
572 * src/cairo-object-path.h:
574 * src/view-ellipse.c:
579 Added text object support to view. Added object_at method to all
582 2007-03-11 Jim Evins <evins@snaught.com>
585 * src/cairo-object-path.c: (gl_cairo_object_path),
586 (gl_cairo_image_object_path):
587 * src/view-image.c: (gl_view_image_class_init),
588 (gl_view_image_finalize), (gl_view_image_new),
589 (update_editor_from_label_cb), (draw),
590 (gl_view_image_get_create_cursor),
591 (gl_view_image_create_button_press_event),
592 (gl_view_image_create_motion_event),
593 (gl_view_image_create_button_release_event):
595 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
596 (selection_received_cb), (motion_notify_event_cb),
597 (button_press_event_cb), (button_release_event_cb):
598 Added image object support to view.
600 2007-03-11 Jim Evins <evins@snaught.com>
603 * src/cairo-object-path.c: (gl_cairo_object_path),
604 (gl_cairo_line_object_path):
605 * src/view-line.c: (gl_view_line_class_init), (gl_view_line_new),
606 (update_object_from_editor_cb), (update_editor_from_object_cb),
607 (update_editor_from_label_cb), (draw),
608 (gl_view_line_get_create_cursor),
609 (gl_view_line_create_button_press_event),
610 (gl_view_line_create_motion_event),
611 (gl_view_line_create_button_release_event):
613 * src/view-object.c: (gl_view_object_resize_event):
614 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
615 (selection_received_cb), (motion_notify_event_cb),
616 (button_press_event_cb), (button_release_event_cb):
617 Added line object support to view.
618 * src/cairo-handle-path.c:
619 Made handles slightly larger.
622 2007-03-11 Jim Evins <evins@snaught.com>
625 * src/cairo-handle-path.c:
626 * src/cairo-label-path.c: (gl_cairo_rect_label_path),
627 (gl_cairo_round_label_path), (gl_cairo_cd_label_path):
628 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
629 (gl_cairo_markup_margin_round_path),
630 (gl_cairo_markup_margin_cd_path), (gl_cairo_markup_circle_path):
631 * src/cairo-object-path.c: (gl_cairo_object_path),
632 (gl_cairo_ellipse_object_path):
633 * src/label-object.c: (gl_label_object_rotate):
636 * src/view-ellipse.c: (gl_view_ellipse_class_init),
637 (gl_view_ellipse_new), (update_object_from_editor_cb),
638 (update_editor_from_object_cb), (update_editor_from_label_cb),
639 (draw), (gl_view_ellipse_get_create_cursor),
640 (gl_view_ellipse_create_button_press_event),
641 (gl_view_ellipse_create_motion_event),
642 (gl_view_ellipse_create_button_release_event):
643 * src/view-ellipse.h:
646 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
647 (select_object_real), (selection_received_cb),
648 (motion_notify_event_cb), (button_press_event_cb),
649 (button_release_event_cb):
651 Added ellipse object support to view. Plus other cleanup.
653 2007-03-11 Jim Evins <evins@snaught.com>
656 * src/view-box.c: (gl_view_box_get_create_cursor),
657 (gl_view_box_create_button_press_event),
658 (gl_view_box_create_motion_event),
659 (gl_view_box_create_button_release_event):
660 * src/view-object.c: (gl_view_object_set_view),
661 (gl_view_object_handle_at):
663 * src/view.c: (gl_view_arrow_mode), (gl_view_object_create_mode),
664 (motion_notify_event_cb), (button_press_event_cb),
665 (button_release_event_cb), (key_press_event_cb):
666 Added creation code for box object.
668 2007-03-09 Jim Evins <evins@snaught.com>
670 * src/view-object.c: (gl_view_object_resize_event):
672 * src/view.c: (motion_notify_event_cb):
673 Fix bugs with resizing transformed objects.
674 * src/cairo-handle-path.c: (gl_cairo_handle_path):
675 * src/cairo-object-path.c: (gl_cairo_object_path):
676 * src/cairo-object-path.h:
677 * src/label-object.c: (gl_label_object_init),
678 (gl_label_object_dup), (gl_label_object_get_extent),
679 (gl_label_object_flip_horiz), (gl_label_object_flip_vert),
680 (gl_label_object_rotate), (gl_label_object_set_matrix),
681 (gl_label_object_get_matrix):
682 * src/label-object.h:
683 * src/print.c: (draw_object):
685 * src/view-highlight.c:
686 * src/view-highlight.h:
687 * src/xml-label-191.c: (xml191_parse_object):
688 * src/xml-label.c: (xml_parse_affine_attrs),
689 (xml_create_affine_attrs):
690 Replace libart affine matrices with cairo matrices.
692 2007-03-08 Jim Evins <evins@snaught.com>
695 * src/view.c: (gl_view_update), (motion_notify_event_cb):
696 * src/view-object.c: (gl_view_object_handle_at),
697 (gl_view_object_resize_event):
698 Added resize code -- still a bit buggy.
700 2007-03-07 Jim Evins <evins@snaught.com>
703 * src/cairo-handle-path.c:
704 * src/cairo-handle-path.h:
705 * src/view-box.c: (gl_view_box_new):
706 * src/view-object.c: (gl_view_object_set_object),
707 (gl_view_object_draw_handles), (gl_view_object_handle_at):
709 * src/view.c: (draw_highlight_layer), (select_object_real),
710 (unselect_object_real), (view_handle_at), (motion_notify_event_cb),
711 (button_press_event_cb), (button_release_event_cb),
712 (key_press_event_cb):
714 Added beginnings of object resize handles.
716 2007-03-07 Jim Evins <evins@snaught.com>
719 * src/view.c: (gl_view_init), (gl_view_arrow_mode),
720 (gl_view_object_create_mode), (motion_notify_event_cb),
721 (button_press_event_cb), (button_release_event_cb),
722 (key_press_event_cb):
723 Added move selection support.
725 2007-03-05 Jim Evins <evins@snaught.com>
727 * src/cairo-object-path.c: (gl_cairo_object_path):
728 * src/view-object.c: (gl_view_object_draw),
729 (gl_view_object_draw_highlight):
730 * src/view.c: (view_object_at), (motion_notify_event_cb),
731 (button_press_event_cb), (button_release_event_cb):
732 Additional refinements to select logic.
734 2007-03-05 Jim Evins <evins@snaught.com>
737 * src/view.c: (gl_view_init), (gl_view_construct),
738 (label_changed_cb), (draw_layers), (draw_select_region_layer),
739 (gl_view_select_region), (object_at), (motion_notify_event_cb),
740 (button_press_event_cb), (button_release_event_cb):
741 Added initial select region support and context menu.
743 2007-03-04 Jim Evins <evins@snaught.com>
761 * src/wdgt-print-copies.c:
762 * src/wdgt-print-merge.c:
764 Initial port to a raw Cairo canvas. This removes all remaining
765 dependencies on libgnomecanvas and libgnomeprint[ui]. Basically
766 the view is becoming a canvas widget in its own right. Still needs
768 * src/cairo-label-path.c:
769 * src/cairo-label-path.h:
770 * src/cairo-markup-path.c:
771 * src/cairo-markup-path.h:
772 * src/cairo-object-path.c:
773 * src/cairo-object-path.h:
774 New files to support cairo canvas.
775 * src/canvas-hacktext.c:
776 * src/canvas-hacktext.h:
779 2007-02-18 Jim Evins <evins@snaught.com>
782 GNOME_FONT_BOOK changed to PANGO_WEIGHT_NORMAL.
784 2007-02-14 Jim Evins <evins@snaught.com>
788 * src/bc-gnubarcode.c:
789 * src/bc-gnubarcode.h:
794 * src/canvas-hacktext.c:
795 * src/canvas-hacktext.h:
802 * src/label-barcode.c:
803 * src/label-barcode.h:
806 * src/label-ellipse.c:
807 * src/label-ellipse.h:
812 * src/label-object.c:
813 * src/label-object.h:
818 * src/merge-evolution.c:
819 * src/merge-evolution.h:
822 * src/merge-properties-dialog.c:
823 * src/merge-properties-dialog.h:
830 * src/mini-preview-pixbuf.h:
831 * src/new-label-dialog.c:
832 * src/new-label-dialog.h:
833 * src/object-editor-bc-page.c:
834 * src/object-editor-data-page.c:
835 * src/object-editor-edit-page.c:
836 * src/object-editor-fill-page.c:
837 * src/object-editor-image-page.c:
838 * src/object-editor-line-page.c:
839 * src/object-editor-lsize-page.c:
840 * src/object-editor-position-page.c:
841 * src/object-editor-private.h:
842 * src/object-editor-size-page.c:
843 * src/object-editor-text-page.c:
844 * src/object-editor.c:
845 * src/object-editor.h:
846 * src/pixbuf-cache.c:
847 * src/pixbuf-cache.h:
848 * src/prefs-dialog.c:
849 * src/prefs-dialog.h:
857 * src/template-designer.c:
862 * src/ui-property-bar.c:
863 * src/ui-property-bar.h:
872 * src/view-barcode.c:
873 * src/view-barcode.h:
876 * src/view-ellipse.c:
877 * src/view-ellipse.h:
878 * src/view-highlight.c:
879 * src/view-highlight.h:
890 * src/wdgt-chain-button.c:
891 * src/wdgt-chain-button.h:
892 * src/wdgt-media-select.c:
893 * src/wdgt-mini-preview.c:
894 * src/wdgt-print-copies.c:
895 * src/wdgt-print-copies.h:
896 * src/wdgt-print-merge.c:
897 * src/wdgt-print-merge.h:
898 * src/wdgt-rotate-label.c:
900 * src/xml-label-04.c:
901 * src/xml-label-04.h:
902 * src/xml-label-191.c:
903 * src/xml-label-191.h:
907 Assorted superficial cleanup. Including:
908 - Use G_DEFINE_TYPE for all objects.
909 - Reconcile style of all class initializer functions
910 - Reconcile style of all finalize functions
911 - Add emacs mode line to all source files
913 2007-02-06 Jim Evins <evins@snaught.com>
915 Assorted cleanup and removal of deprecated items.
920 Removed annoying splash screen.
921 * src/glabels-batch.c: (main):
922 * src/glabels.c: (main):
923 Converted from popt to GOption.
924 * src/object-editor-shadow-page.c:
925 (gl_object_editor_set_shadow_state):
926 Removed deprecated method on GtkToggleButton.
927 * src/ui-commands.c: (gl_ui_cmd_help_about):
928 Removed dependency on libgnomui/qnome-url.h.
929 * src/template-designer.c:
930 Removed dependency on libgnome/gnome-program.h.
933 2007-02-04 Jim Evins <evins@snaught.com>
938 * src/print.c: (draw_text_object):
939 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_construct):
940 Removed GnomeCanvas artifacts from color.[ch] and related modules.
942 2007-02-04 Jim Evins <evins@snaught.com>
944 * src/wdgt-mini-preview.c:
945 * src/wdgt-mini-preview.h:
946 Ported widget from GnomeCanvas to Cairo.
948 2007-02-03 Jim Evins <evins@snaught.com>
950 * data/glade/template-designer.glade:
951 * src/template-designer.c:
952 * src/template-designer.h:
953 Ported GnomeDruid to GtkAssistant. Since libglade does not
954 yet support the GtkAssistant and we derive directly from
955 the Assistant, the pages are layed out in a GtkNotebook in
956 the glade description -- we then append each page to the
959 2007-01-25 Jim Evins <evins@snaught.com>
961 * data/glade/object-editor.glade:
962 Added dummy page to notebook, to prevent shadow page from
963 becoming the default current page at creation.
964 * src/view-box.c: (construct_properties_editor):
965 * src/view-ellipse.c: (construct_properties_editor):
966 * src/view-line.c: (construct_properties_editor):
967 * src/view-text.c: (construct_properties_editor):
968 Reconciled order of params.
970 2007-01-19 Jim Evins <evins@snaught.com>
972 * src/label-barcode.h:
973 * src/label-object.c: (gl_label_object_set_font_weight),
974 (gl_label_object_set_text_alignment),
975 (gl_label_object_get_font_weight),
976 (gl_label_object_get_text_alignment):
977 * src/label-object.h:
978 * src/label-text.c: (gl_label_text_instance_init), (copy),
979 (get_size), (set_font_family), (set_font_weight),
980 (set_text_alignment), (get_font_weight), (get_text_alignment):
982 * src/object-editor-text-page.c:
983 (gl_object_editor_prepare_text_page),
984 (gl_object_editor_set_font_family),
985 (gl_object_editor_set_font_weight),
986 (gl_object_editor_get_font_weight),
987 (gl_object_editor_set_text_alignment),
988 (gl_object_editor_get_text_alignment),
989 (gl_object_editor_set_text_color):
990 * src/object-editor.h:
991 * src/prefs-dialog.c: (construct_object_page),
992 (update_object_page_from_prefs), (update_prefs_from_object_page):
993 * src/prefs-model.c: (gl_prefs_model_save_settings),
994 (gl_prefs_model_load_settings):
996 * src/print.c: (draw_text_object):
997 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
998 (reset_to_default_properties), (update_text_properties),
999 (font_bold_toggled_cb), (text_align_toggled_cb):
1001 * src/util.c: (gl_util_align_to_string), (gl_util_string_to_align),
1002 (gl_util_weight_to_string), (gl_util_string_to_weight),
1003 (gl_util_get_font_family_list), (gl_util_font_family_list_free):
1005 * src/view-text.c: (update_object_from_editor_cb),
1006 (update_editor_from_object_cb), (draw_hacktext), (draw_cursor):
1007 * src/view.c: (gl_view_set_selection_text_alignment),
1008 (gl_view_set_default_text_alignment),
1009 (gl_view_get_default_text_alignment):
1011 * src/xml-label-04.c: (xml04_parse_text_props):
1012 * src/xml-label-191.c: (xml191_parse_text_props):
1013 * src/xml-label.c: (xml_parse_object_text),
1014 (xml_parse_toplevel_span), (xml_create_object_text),
1015 (xml_create_toplevel_span):
1016 Converted all model internals to Pango. GnomeFont remains in
1017 view until GnomeCanvas can be replaced with a cairo-based canvas.
1019 2007-01-17 Jim Evins <evins@snaught.com>
1025 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type),
1026 (gl_wdgt_print_copies_construct):
1027 * src/wdgt-print-copies.h:
1028 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type),
1029 (gl_wdgt_print_merge_construct):
1030 * src/wdgt-print-merge.h:
1031 Removed all remaining HIG wrapper widgets.
1033 2007-01-16 Jim Evins <evins@snaught.com>
1036 * src/print-dialog.c:
1037 * src/print-dialog.h:
1040 * src/template-designer.c: (print_test_cb):
1041 * src/ui-commands.c: (gl_ui_cmd_file_print):
1043 Renamed PrintDialog to PrintOp. Added constructor for batch
1045 * src/glabels-batch.c: (main):
1046 Converted to use new PrintOp object for printing.
1048 2007-01-15 Jim Evins <evins@snaught.com>
1050 * data/glade/Makefile.am:
1051 * data/glade/print-custom-widget.glade:
1052 * src/print-dialog.c:
1053 * src/print-dialog.h:
1056 * src/template-designer.c: (print_test_cb):
1057 * src/ui-commands.c: (gl_ui_cmd_file_print):
1058 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_copies):
1059 * src/wdgt-print-merge.h:
1060 * src/window.c: (gl_window_init):
1062 Initial conversion to GtkPrintOperation.
1064 - Remove font and other libgnomeprint[ui] from elsewhere
1065 - Add batch initialization of print operation
1067 2007-01-08 Jim Evins <evins@snaught.com>
1069 Updated dependencies. Set version to 2.1.pre4cvs.
1071 2007-01-03 Jim Evins <evins@snaught.com>
1073 * src/recent-files/*
1074 Removed EggRecent stuff.
1080 * src/ui-commands.c:
1081 * src/ui-commands.h:
1083 Ported from EggRecent to GtkRecentManager.
1086 2007-01-02 Jim Evins <evins@snaught.com>
1089 * iec16022-0.2.1/BUGS:
1090 * iec16022-0.2.1/CHANGELOG:
1091 * iec16022-0.2.1/CREDITS:
1092 * iec16022-0.2.1/INSTALL:
1093 * iec16022-0.2.1/LICENSE:
1094 * iec16022-0.2.1/Makefile.am:
1095 * iec16022-0.2.1/Makefile.dist:
1096 * iec16022-0.2.1/README:
1097 * iec16022-0.2.1/README.glabels:
1098 * iec16022-0.2.1/TODO:
1099 * iec16022-0.2.1/iec16022.1:
1100 * iec16022-0.2.1/iec16022.c:
1101 * iec16022-0.2.1/iec16022ecc200.c:
1102 * iec16022-0.2.1/iec16022ecc200.h:
1103 * iec16022-0.2.1/image.c:
1104 * iec16022-0.2.1/image.h:
1105 * iec16022-0.2.1/reedsol.c:
1106 * iec16022-0.2.1/reedsol.h:
1107 * iec16022-0.2.1/test/testsuite-example.bin:
1108 * iec16022-0.2.1/test/testsuite-example.eps:
1109 * iec16022-0.2.1/test/testsuite-example.hex:
1110 * iec16022-0.2.1/test/testsuite-example.png:
1111 * iec16022-0.2.1/test/testsuite-example.text:
1112 * iec16022-0.2.1/test/testsuite.sh:
1113 Include modified copy of iec16022-0.2.1 to provide encoding
1114 support for datamatrix 2D barcodes.
1116 * src/bc-iec16022.c:
1117 * src/bc-iec16022.h:
1119 Added initial datamatrix 2D barcode backend to barcode code.
1122 Automatic updates to later versions of these files.
1124 2006-11-28 Jim Evins <evins@snaught.com>
1126 * data/templates/avery-iso-templates.xml:
1127 * data/templates/avery-us-templates.xml:
1128 * data/templates/categories.xml:
1129 * data/templates/misc-iso-templates.xml:
1130 * data/templates/misc-us-templates.xml:
1131 * data/templates/zweckform-iso-templates.xml:
1132 More categorization.
1134 2006-09-12 Jim Evins <evins@snaught.com>
1136 * data/dtd/glabels-2.0.dtd:
1137 * data/templates/Makefile.am:
1138 * data/templates/avery-iso-templates.xml:
1139 * data/templates/avery-other-templates.xml:
1140 * data/templates/avery-us-templates.xml:
1141 * data/templates/categories.xml:
1142 * data/templates/misc-iso-templates.xml:
1143 * data/templates/misc-other-templates.xml:
1144 * data/templates/zweckform-iso-templates.xml:
1145 * data/glade/Makefile.am:
1146 * data/glade/new-label-dialog.glade:
1147 * data/glade/wdgt-media-select.glade:
1148 * data/glade/wdgt-rotate-label.glade:
1149 * libglabels/Makefile.am:
1150 * libglabels/category.c:
1151 * libglabels/category.h:
1152 * libglabels/libglabels.h:
1153 * libglabels/paper.c:
1154 * libglabels/template.c:
1155 * libglabels/template.h:
1156 * libglabels/xml-category.c:
1157 * libglabels/xml-category.h:
1158 * libglabels/xml-template.c:
1159 Added support for category meta data.
1162 * src/mini-preview-pixbuf.c:
1163 * src/mini-preview-pixbuf.h:
1164 * src/new-label-dialog.c:
1165 * src/new-label-dialog.h:
1166 * src/wdgt-media-select.c:
1167 * src/wdgt-media-select.h:
1168 * src/wdgt-rotate-label.c:
1169 * src/wdgt-rotate-label.h:
1170 New "new label" dialog.
1172 2006-05-27 Jim Evins <evins@snaught.com>
1177 Preparation for 2.1.3.
1183 2006-05-22 Jim Evins <evins@snaught.com>
1185 * src/print.c: (draw_barcode_object):
1186 Don't print "Invalid barcode data" if data field is empty. Patch provided
1187 by Darren Warner <warnerd@users.sourceforge.net>. Fixes Bug #1479839.
1189 Added acknowledgment for above patch.
1190 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
1191 * src/bc-postnet.c: (postnet_code):
1192 Removed "Invalid barcode data" warnings from stderr.
1193 * src/view-barcode.c: (draw_barcode):
1194 Draw box around barcode extent if data empty or invalid. Center a
1195 message whether the data is empty or invalid in box.
1197 2006-05-22 Jim Evins <evins@snaught.com>
1199 * src/print.c: (draw_text_object):
1200 Check shadow state when printing text.
1202 2006-05-20 Jim Evins <evins@snaught.com>
1204 * src/ui-commands.c: (gl_ui_cmd_view_grid_toggle),
1205 (gl_ui_cmd_view_markup_toggle):
1206 Fixed crash when grid or markup have been toggled off during
1207 a previous session. Bug #1434324.
1209 2006-04-05 Jim Evins <evins@snaught.com>
1211 * src/object-editor.c: (gl_object_editor_set_key_names):
1212 Fixed potential crash when freeing empty key list.
1214 2006-03-11 Jim Evins <evins@snaught.com>
1216 * src/print.c: (draw_text_object):
1217 * src/view-text.c: (gl_view_text_new),
1218 (construct_properties_editor), (update_object_from_editor_cb),
1219 (update_editor_from_object_cb), (update_editor_from_label_cb),
1221 Added shadow support to text object.
1223 2006-02-18 Jim Evins <evins@snaught.com>
1225 * src/print.c: (draw_line_object):
1226 * src/view-line.c: (gl_view_line_new),
1227 (construct_properties_editor), (update_canvas_item_from_object_cb),
1228 (update_object_from_editor_cb), (update_editor_from_object_cb),
1229 (update_editor_from_label_cb):
1230 Added shadow support to line object.
1232 2006-02-16 Jim Evins <evins@snaught.com>
1236 * src/print.c: (draw_ellipse_object):
1237 * src/view-ellipse.c: (gl_view_ellipse_new),
1238 (construct_properties_editor), (update_canvas_item_from_object_cb),
1239 (update_object_from_editor_cb), (update_editor_from_object_cb),
1240 (update_editor_from_label_cb):
1241 Added shadow support to ellipse object.
1243 2006-02-15 Jim Evins <evins@snaught.com>
1245 * src/label-object.c:
1246 Changed default shadow offsets.
1247 * src/view-box.c: (gl_view_box_new):
1248 Simplified gl_view_box_new() so that is does not duplicate code
1249 in update_canvas_item_from_object_cb().
1251 2006-02-07 Jim Evins <evins@snaught.com>
1253 * data/glade/object-editor.glade:
1254 Fixed color groups of color combos.
1256 Added default shadow color.
1257 * src/object-editor.c: (gl_object_editor_construct_color_combo):
1258 Added shadow color group.
1260 2006-02-06 Jim Evins <evins@snaught.com>
1262 * src/object-editor-shadow-page.c:
1263 Forgot to add this file.
1264 * src/view-box.c: (gl_view_box_new),
1265 (update_canvas_item_from_object_cb), (update_editor_from_label_cb):
1266 Update limits on shadow offset spinbuttons.
1268 2006-01-19 Jim Evins <evins@snaught.com>
1270 * src/merge-evolution.c: (gl_merge_evolution_get_key_list):
1271 Initialize key_list to NULL.
1272 * data/glade/object-editor.glade:
1276 * src/label-object.c:
1277 * src/label-object.h:
1278 * src/object-editor-fill-page.c:
1279 * src/object-editor-private.h:
1280 * src/object-editor.c:
1281 * src/object-editor.h:
1283 Created infrastructure for shadow support.
1286 Initial shadow support in box object only.
1288 2006-01-05 Jim Evins <evins@snaught.com>
1290 * src/merge-properties-dialog.c: (src_changed_cb):
1291 Be extra paranoid before calling strcmp().
1292 * src/merge.c: (gl_merge_set_src):
1293 Don't make (merge == NULL) a critical error.
1295 2005-12-22 Jim Evins <evins@snaught.com>
1297 * src/glabels-batch.c: (main):
1298 Compile warning free with gcc 4.0.
1300 2005-12-21 Jim Evins <evins@snaught.com>
1303 Updated example RPM spec file.
1305 2005-12-21 Jim Evins <evins@snaught.com>
1309 Preparation for 2.1.2.
1311 2005-12-20 Jim Evins <evins@snaught.com>
1314 Define unique G_LOG_DOMAIN for glabels.
1315 * src/critical-error-handler.c: (gl_critical_error_handler_init):
1316 * src/warning-handler.c: (gl_warning_handler_init),
1318 Register for G_LOG_DOMAIN instead of NULL.
1320 2005-12-10 Jim Evins <evins@snaught.com>
1322 * src/merge-evolution.c:
1323 * src/merge-vcard.c:
1326 2005-12-08 Jim Evins <evins@snaught.com>
1328 * libglabels/paper.c: (read_paper_files_from_dir):
1329 * libglabels/template.c: (gl_template_register),
1330 (read_template_files_from_dir):
1331 * libglabels/xml-paper.c: (gl_xml_paper_read_papers_from_file),
1332 (gl_xml_paper_parse_papers_doc):
1333 * libglabels/xml-template.c:
1334 (gl_xml_template_read_templates_from_file),
1335 (gl_xml_template_parse_templates_doc),
1336 (gl_xml_template_parse_template_node),
1337 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
1338 (xml_parse_label_cd_node), (xml_parse_layout_node),
1339 (xml_parse_markup_margin_node), (xml_parse_markup_line_node),
1340 (xml_parse_markup_circle_node),
1341 (gl_xml_template_write_templates_to_file), (xml_create_label_node):
1342 * libglabels/xml.c: (gl_xml_get_prop_length):
1343 Re-classified g_warnings to g_messages.
1345 * src/glabels.c: (main):
1346 * src/warning-handler.c: (gl_warning_handler_init),
1348 * src/warning-handler.h:
1349 Added warning message handler to make sure the user is
1350 presented with appropriate non-fatal errors.
1351 * src/critical-error-handler.c: (critical_error_handler):
1352 Changed exit to abort.
1353 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new), (render_pass1):
1354 * src/bc-postnet.c: (postnet_code):
1355 * src/bc.c: (id_to_index), (name_to_index):
1356 * src/merge.c: (gl_merge_register_backend), (gl_merge_new):
1357 * src/object-editor.c: (gl_object_notebook_construct_valist):
1358 * src/prefs-dialog.c: (update_locale_page_from_prefs):
1359 * src/prefs.c: (gl_prefs_get_units_per_point),
1360 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
1361 (gl_prefs_get_units_string):
1362 * src/print.c: (draw_outline), (clip_to_outline), (clip_punchouts):
1363 * src/splash.c: (gl_splash):
1364 * src/ui-commands.c: (gl_ui_cmd_help_contents):
1365 * src/view-highlight.c: (gl_view_highlight_new),
1366 (highlight_resizable_box_construct), (object_changed_cb),
1367 (view_scale_changed_cb):
1368 * src/view.c: (draw_label_layer), (draw_bg_fg_layers),
1369 (draw_markup_layer), (draw_markup_margin),
1370 (gl_view_object_create_mode), (canvas_event),
1371 (selection_received_cb):
1372 * src/wdgt-mini-preview.c: (mini_outline_list_new):
1373 * src/wdgt-rotate-label.c: (mini_preview_canvas_update):
1374 * src/xml-label-04.c: (gl_xml_label_04_parse),
1375 (xml04_parse_media_description), (xml04_parse_text_props),
1376 (xml04_parse_barcode_props):
1377 * src/xml-label-191.c: (gl_xml_label_191_parse),
1378 (xml191_parse_objects), (xml191_parse_object),
1379 (xml191_parse_text_props), (xml191_parse_image_props),
1380 (xml191_parse_barcode_props), (xml191_parse_data),
1381 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
1382 (xml191_parse_markup):
1383 * src/xml-label.c: (gl_xml_label_open), (gl_xml_label_open_buffer),
1384 (xml_doc_to_label), (xml_parse_label), (xml_parse_objects),
1385 (xml_parse_object_text), (xml_parse_object_image),
1386 (xml_parse_object_barcode), (xml_parse_data),
1387 (xml_parse_toplevel_span), (gl_xml_label_save),
1388 (xml_create_objects):
1389 Re-classified g_warnings to g_messages.
1390 * src/merge-evolution.c: (gl_merge_evolution_open),
1391 (gl_merge_evolution_close), (gl_merge_evolution_get_record):
1392 Use g_warning to output errors encountered while
1393 communicating with the evolution data server
1394 instead of embedding them in the data.
1396 2005-12-08 Jim Evins <evins@snaught.com>
1398 * libglabels/libglabels-private.h:
1400 * libglabels/paper.c: (read_papers):
1401 * libglabels/template.c: (read_templates):
1402 Made appropriate warnings critical.
1404 * src/critical-error-handler.h:
1405 * src/critical-error-handler.c: (gl_critical_error_handler_init),
1406 (critical_error_handler):
1407 Created critical error handler.
1408 * src/glabels.c: (main):
1409 Register critical error handler.
1410 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
1411 * src/object-editor.c: (gl_object_editor_init):
1412 * src/prefs-dialog.c: (gl_prefs_dialog_init):
1413 * src/template-designer.c: (gl_template_designer_init):
1414 * src/ui-property-bar.c: (gl_ui_property_bar_instance_init):
1415 Made appropriate warnings critical.
1417 2005-11-27 Jim Evins <evins@snaught.com>
1419 * src/merge-evolution.c: (gl_merge_evolution_get_key_list),
1420 (gl_merge_evolution_get_primary_key),
1421 (gl_merge_evolution_get_record):
1422 Don't create "record_key" pseudo-key. Don't populate
1423 fields with null data.
1425 2005-11-25 Jim Evins <evins@snaught.com>
1427 * src/merge-evolution.c: (gl_merge_evolution_finalize),
1428 (gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
1429 (gl_merge_evolution_get_record), (gl_merge_evolution_copy),
1431 Query EDS for all supported fields. Patch provided by
1432 Austin Henry <ahenry@users.sourceforge.net>.
1434 2005-10-29 Jim Evins <evins@snaught.com>
1436 * src/glabels.c: (main):
1437 * src/label-barcode.c: (gl_label_barcode_finalize):
1438 * src/label-text.c: (gl_label_text_finalize), (set_font_family):
1439 * src/label.c: (gl_label_instance_init), (gl_label_finalize):
1440 * src/object-editor.c: (gl_object_editor_finalize):
1441 Another pass at valgrinding -- plugged several memory leaks.
1442 * src/view-text.c: (gl_view_text_new),
1443 (update_canvas_item_from_object_cb), (draw_hacktext):
1444 Commented out artifacts of edit-in-place code.
1446 2005-10-28 Jim Evins <evins@snaught.com>
1448 * src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
1449 Fixed use of uninitialized variable. Caught by
1450 d binderman <dcb314@hotmail.com>.
1452 2005-10-27 Jim Evins <evins@snaught.com>
1454 * src/merge-evolution.c: (gl_merge_evolution_get_record):
1455 * src/merge-vcard.c: (gl_merge_vcard_get_record),
1457 Additional cleanup of EDS and vcard backends. Provided by
1458 Austin Henry <ahenry@users.sourceforge.net>.
1460 2005-10-24 Jim Evins <evins@snaught.com>
1464 * src/merge-evolution.c:
1465 * src/merge-evolution.h:
1466 * src/merge-init.c: (gl_merge_init):
1467 * src/merge-properties-dialog.c: (type_changed_cb):
1468 * src/merge-vcard.c:
1469 * src/merge-vcard.h:
1470 * src/ui-commands.c: (gl_ui_cmd_help_about):
1471 Added Evolution Data Server and VCard merge backends. Original patch
1472 provided by Austin Henry <ahenry@users.sourceforge.net>.
1474 Only support EDS and VCard backends if libebook is installed. Allow
1475 user to disable support, even if installed.
1477 2005-10-24 Jim Evins <evins@snaught.com>
1480 * data/templates/avery-iso-templates.xml:
1481 * data/templates/avery-us-templates.xml:
1482 * data/templates/misc-iso-templates.xml:
1483 * data/templates/zweckform-iso-templates.xml:
1484 Collected all template changes and submissions since last
1487 2005-10-23 Jim Evins <evins@snaught.com>
1490 * data/mime/Makefile.am:
1491 Added configure options to disable update-mime-database and
1492 update-desktop-database as part of the install. Patch
1493 provided by Leonardo Boshell (qhoracio@sourceforge.net).
1495 2005-10-23 Jim Evins <evins@snaught.com>
1498 * libglabels/xml.c: (gl_xml_get_prop_string),
1499 (gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
1500 (gl_xml_is_node), (gl_xml_get_node_content):
1501 Added new XML utility functions.
1502 * libglabels/xml-paper.c:
1503 * libglabels/xml-template.c:
1505 Cleanup by using new xml utilities created above.
1506 * libglabels/paper.c: (gl_paper_free):
1507 * src/file.c: (new_response):
1508 * src/object-editor-image-page.c: (add_image_filters_to_chooser):
1509 * src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
1510 (gl_pixbuf_cache_get_pixbuf):
1511 * src/ui-property-bar.c:
1512 (gl_ui_property_bar_construct_color_combo):
1513 * src/view-highlight.c: (gl_view_highlight_finalize):
1514 * src/view-image.c: (update_object_from_editor_cb):
1515 * src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
1516 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
1517 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
1518 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
1519 (draw_markup_margin_round), (draw_markup_margin_cd),
1520 (draw_markup_margin_cd_bc):
1521 * src/wdgt-mini-preview.c: (mini_outline_list_new):
1522 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
1523 Plugged various memory leaks located with valgrind.
1524 * src/view-image.c: (update_canvas_item_from_object_cb):
1525 Don't allow a width or height of zero when drawing pixbuf.
1527 2005-10-22 Jim Evins <evins@snaught.com>
1529 * libglabels/xml-paper.c:
1530 * libglabels/xml-template.c:
1533 * src/bc-gnubarcode.c:
1534 * src/canvas-hacktext.c:
1536 * src/object-editor-data-page.c:
1537 * src/print-dialog.c:
1540 * src/template-designer.c:
1542 * src/ui-property-bar.c:
1544 * src/view-barcode.c:
1546 * src/view-ellipse.c:
1551 * src/wdgt-media-select.c:
1552 * src/xml-label-04.c:
1553 * src/xml-label-191.c:
1555 Modified to compile warning free with gcc-4.0. Mostly
1556 casting to change signedness of characters. Did not
1557 attack gnu-barcode library yet.
1559 2005-10-22 Jim Evins <evins@snaught.com>
1561 * src/glabels.c: (main):
1562 * src/splash.c: (gl_splash):
1563 Removed some small memory leaks.
1567 2005-09-19 Jim Evins <evins@snaught.com>
1569 * data/glade/property-bar.glade:
1570 Remove items from font_family_combo. This prevents the
1571 double entry after adding text model and list of fonts.
1572 * src/ui-property-bar.c: (reset_to_default_properties):
1573 Free font_family_list.
1575 2005-07-01 Jim Evins <evins@snaught.com>
1578 Updated italian translation (Daniele Medri)
1580 2005-06-26 Jim Evins <evins@snaught.com>
1582 * docs/libglabels/libglabels-decl-list.txt:
1583 Somehow never got checked in before.
1584 * docs/libglabels/libglabels.types:
1585 Removed -- don't need it afterall.
1587 2005-06-20 Jim Evins <evins@snaught.com>
1590 Final prep for 2.1.1 release.
1592 2005-06-20 Jim Evins <evins@snaught.com>
1595 Final preps for 2.1.1 release.
1596 * docs/libglabels/libglabels.types:
1597 Somehow never got checked in before.
1599 Bring up-to-date with recent reorg of ui code.
1602 2005-06-19 Jim Evins <evins@snaught.com>
1604 * src/template-designer.c: (construct_layout_page):
1605 Removed attempt to match background color of mini preview widget to
1608 2005-06-17 Jim Evins <evins@snaught.com>
1610 * help/C/figures/merge-ex2-4.png:
1611 * help/C/glabels.xml:
1612 Fixed spelling error.
1614 2005-06-13 Jim Evins <evins@snaught.com>
1616 * help/C/figures/merge-ex1-1.png:
1617 * help/C/figures/merge-ex1-2.png:
1618 * help/C/figures/merge-ex1-3.png:
1619 * help/C/figures/merge-ex1-4.png:
1620 * help/C/figures/merge-ex2-1.png:
1621 * help/C/figures/merge-ex2-2.png:
1622 * help/C/figures/merge-ex2-3.png:
1623 * help/C/figures/merge-ex2-4.png:
1624 Added figures for document merge tutorial.
1625 * help/C/glabels.xml:
1626 Added document merge tutorial.
1628 2005-05-19 Jim Evins <evins@snaught.com>
1630 * data/glade/merge-properties-dialog.glade:
1631 Fixed irregular spacing.
1632 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
1633 (gl_merge_properties_dialog_construct):
1634 Set outer padding and remove separator.
1636 2005-05-18 Jim Evins <evins@snaught.com>
1640 Removed glHigDialog class.
1641 * src/file.c: (gl_file_new), (create_new_dialog_widgets),
1642 (gl_file_properties), (create_properties_dialog_widgets):
1643 * src/prefs-dialog.h:
1644 * src/prefs-dialog.c: (gl_prefs_dialog_get_type),
1645 (gl_prefs_dialog_init), (gl_prefs_dialog_construct):
1646 * src/print-dialog.h:
1647 * src/prefs-dialog.h:
1648 * src/print-dialog.c: (gl_print_dialog_get_type),
1649 (gl_print_dialog_init), (gl_print_dialog_construct):
1650 Replaced all instances of glHigDialog with GtkDialog.
1652 2005-05-17 Jim Evins <evins@snaught.com>
1656 Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
1657 * src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
1658 (save_as_response), (gl_file_close):
1659 Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.
1661 2005-05-15 Jim Evins <evins@snaught.com>
1663 * src/ui-commands.h:
1671 A little code reformatting -- no functional changes.
1673 2005-05-14 Jim Evins <evins@snaught.com>
1676 Removed obsolete macros.
1678 Added marshalling template to support new view signal: "context_menu_activate."
1680 * src/view.c: (gl_view_class_init), (gl_view_construct),
1681 (canvas_event_arrow_mode):
1682 - Removed hardcoded context menus and added new signal "context_menu_activate"
1683 to push this up to the uimanager.
1684 - Removed merge properties and print dialogs so that they can be managed with
1685 the window by the uimanager.
1686 * src/merge-properties-dialog.h:
1687 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
1688 (gl_merge_properties_dialog_construct):
1689 Changed calling convention of gl_merge_properties_dialog_new() to use
1690 glLabel and GtkWindow instead of view to make more consistent with other
1692 * src/print-dialog.h:
1693 * src/print-dialog.c: (gl_print_dialog_new),
1694 (gl_print_dialog_construct):
1695 Removed last artifact of libbonoboui.
1696 * src/ui-commands.c: (gl_ui_cmd_file_print),
1697 (gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
1698 Reconciled style for launching dialogs.
1699 * src/ui.c: (gl_ui_new):
1700 Added context menus to ui manager.
1701 * src/view-object.c: (item_event_arrow_mode):
1702 No longer try to select objects with right-click.
1704 * src/window.c: (gl_window_init), (gl_window_set_label),
1705 (context_menu_activate_cb):
1706 Context menus and all dialogs are now managed in a consistent way in window
1709 2005-05-11 Jim Evins <evins@snaught.com>
1712 * src/window.c: (gl_window_init), (gl_window_destroy):
1713 * src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
1714 * src/ui-commands.c: (gl_ui_cmd_file_open_recent):
1715 Moved management of recent_view back from window.c to ui.c -- it just feels
1718 2005-05-10 Jim Evins <evins@snaught.com>
1721 * src/window.c: (gl_window_init):
1723 * src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
1724 (menu_item_select_cb), (menu_item_deselect_cb):
1725 Added GtkStatusbar which displays menu tooltips.
1727 2005-05-09 Jim Evins <evins@snaught.com>
1729 Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
1734 Removed dependencies on libbonoboui.
1736 * data/ui/Makefile.am:
1737 * data/ui/glabels-ui.xml:
1738 Removed data/ui directory.
1739 * data/glade/Makefile.am:
1740 * data/property-bar.glade:
1741 Added glade description of property-bar for new libglade implementation
1748 * src/ui-commands.h:
1749 * src/ui-commands.c:
1750 Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
1751 since the distinction between "commands" and "tools" is no longer that clear.
1754 Modified to expect glWindow instead of GtkWindow. gl_file_open_recent()
1755 no longer has knowledge of eggRecent*.
1756 * src/glabels.c: (main):
1757 Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
1759 * src/object-editor.c: (gl_object_editor_init):
1760 Make sure notebook does not respond to a "show_all" on the parent.
1761 * src/recent-files/Makefile.am:
1762 * src/recent-files/*.[ch]
1763 Updated from latest version of libegg which now has a view based on
1764 GtkUIManager. Removed unused bonobo and gtk views.
1765 * src/ui-property-bar.h:
1766 * src/ui-property-bar.c:
1767 New implementation based on libglade.
1770 Sidebar is now simply a GtkWidget and does not expect to be a part of
1771 a libbonoboui interface.
1776 Converted for use with GtkUIManager.
1779 Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
1780 to create menus and toolbars.
1782 2005-04-25 Jim Evins <evins@snaught.com>
1784 * data/templates/misc-iso-templates.xml:
1785 Added Fellows 04715 template provided by Steve Saxon.
1787 Updated acknowledgement for above.
1789 2005-04-23 Jim Evins <evins@snaught.com>
1791 * src/util.c: (gl_util_combo_box_set_strings):
1792 Make sure to clear model before loading a new list of strings.
1793 * src/wdgt-media-select.h:
1794 * src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
1795 (gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
1796 (template_combo_changed_cb), (prefs_changed_cb),
1797 (gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
1798 (gl_wdgt_media_select_get_page_size),
1799 (gl_wdgt_media_select_set_page_size):
1800 Replaced the deprecated GtkCombo widget with the new
1803 2005-04-21 Jim Evins <evins@snaught.com>
1805 * data/glade/template-designer.glade:
1806 * src/template-designer.c: (construct_pg_size_page),
1807 (pg_size_page_changed_cb), (build_template):
1808 Replaced the deprecated GtkCombo widget with the new
1811 2005-04-20 Jim Evins <evins@snaught.com>
1813 * data/glade/prefs-dialog.glade:
1814 * src/prefs-dialog.c: (construct_object_page),
1815 (update_object_page_from_prefs), (update_prefs_from_object_page):
1816 Replaced the deprecated GtkCombo widget with the new
1819 2005-04-19 Jim Evins <evins@snaught.com>
1821 * data/glade/object-editor.glade:
1822 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
1823 (style_changed_cb), (gl_object_editor_set_bc_style),
1824 (gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
1825 (gl_object_editor_get_bc_color):
1826 * src/object-editor-data-page.c:
1827 (gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
1828 (gl_object_editor_get_data):
1829 * src/object-editor-edit-page.c:
1830 (gl_object_editor_prepare_edit_page), (insert_button_cb):
1831 * src/object-editor-fill-page.c:
1832 (gl_object_editor_prepare_fill_page),
1833 (gl_object_editor_set_fill_color),
1834 (gl_object_editor_get_fill_color):
1835 * src/object-editor-image-page.c:
1836 (gl_object_editor_prepare_image_page),
1837 (gl_object_editor_set_image), (gl_object_editor_get_image):
1838 * src/object-editor-line-page.c:
1839 (gl_object_editor_prepare_line_page),
1840 (gl_object_editor_set_line_color),
1841 (gl_object_editor_get_line_color):
1842 * src/object-editor-private.h:
1843 * src/object-editor-text-page.c:
1844 (gl_object_editor_prepare_text_page),
1845 (gl_object_editor_set_font_family),
1846 (gl_object_editor_get_font_family),
1847 (gl_object_editor_set_text_color),
1848 (gl_object_editor_get_text_color):
1849 * src/object-editor.c: (gl_object_editor_set_key_names):
1851 In the object editor: replaced all instances of the deprecated
1852 GtkCombo widget with the new GtkComboBox.
1854 2005-04-18 Jim Evins <evins@snaught.com>
1857 Neglected to save this one in previous checkin to support
1860 2005-04-17 Jim Evins <evins@snaught.com>
1862 * libglabels/libglabels-private.h:
1863 * libglabels/paper.c:
1864 * libglabels/paper.h:
1865 * libglabels/template.c:
1866 * libglabels/template.h:
1867 * libglabels/xml-paper.c:
1868 * libglabels/xml-paper.h:
1869 * libglabels/xml-template.c:
1874 * src/bc-gnubarcode.c:
1885 * src/label-barcode.c:
1887 * src/label-ellipse.c:
1888 * src/label-image.c:
1889 * src/label-image.h:
1891 * src/label-object.c:
1895 * src/merge-properties-dialog.c:
1896 * src/object-editor-bc-page.c:
1897 * src/object-editor-data-page.c:
1898 * src/object-editor-edit-page.c:
1899 * src/object-editor-fill-page.c:
1900 * src/object-editor-image-page.c:
1901 * src/object-editor-line-page.c:
1902 * src/object-editor-lsize-page.c:
1903 * src/object-editor-position-page.c:
1904 * src/object-editor-private.h:
1905 * src/object-editor-size-page.c:
1906 * src/object-editor-text-page.c:
1907 * src/object-editor.c:
1908 * src/object-editor.h:
1909 * src/pixbuf-cache.h:
1910 * src/prefs-dialog.c:
1911 * src/prefs-dialog.h:
1912 * src/prefs-model.c:
1913 * src/prefs-model.h:
1915 * src/print-dialog.c:
1916 * src/print-dialog.h:
1924 * src/template-designer.c:
1925 * src/template-designer.h:
1928 * src/ui-property-bar.c: (gl_ui_property_bar_construct):
1934 * src/view-barcode.c:
1936 * src/view-ellipse.c:
1937 * src/view-highlight.c:
1938 * src/view-highlight.h:
1941 * src/view-object.c:
1942 * src/view-object.h:
1946 * src/wdgt-chain-button.c:
1947 * src/wdgt-media-select.c:
1948 * src/wdgt-media-select.h:
1949 * src/wdgt-mini-preview.c:
1950 * src/wdgt-mini-preview.h:
1951 * src/wdgt-print-copies.c:
1952 * src/wdgt-print-copies.h:
1953 * src/wdgt-print-merge.c:
1954 * src/wdgt-print-merge.h:
1955 * src/wdgt-rotate-label.c:
1956 * src/wdgt-rotate-label.h:
1959 * src/xml-label-04.c:
1960 * src/xml-label-191.c:
1962 Cleanup of header files:
1963 - all header files are now stand-alone, verified by including
1964 first in corresponding "c" files
1965 - replaced blanket includes of gnome, gtk, and glib with
1968 2005-04-16 Jim Evins <evins@snaught.com>
1970 * data/glade/Makefile.am:
1971 * data/glade/merge-properties-dialog.glade:
1972 Added merge properties dialog glade description file.
1973 * src/merge-properties-dialog.h:
1974 * src/merge-properties-dialog.c:
1975 (gl_merge_properties_dialog_get_type),
1976 (gl_merge_properties_dialog_init),
1977 (gl_merge_properties_dialog_finalize),
1978 (gl_merge_properties_dialog_new),
1979 (gl_merge_properties_dialog_construct), (type_changed_cb),
1980 (src_changed_cb), (response_cb), (load_tree),
1981 (record_select_toggled_cb), (select_all_button_clicked_cb),
1982 (unselect_all_button_clicked_cb):
1983 Modified merge properties dialog to use libglade. Added
1984 "select all" and "unselect all" buttons.
1985 * src/merge-text.c: (parse_line):
1986 Handle empty lines better.
1987 * src/merge.c: (gl_merge_eval_key):
1988 Evaluate the key whether the record is selected or not.
1990 * src/util.c: (gl_util_combo_box_add_text_model):
1991 Since libglade does not use the gtk_combo_box_new_text()
1992 constructor for GtkComboBoxes, a utility function was created
1993 to add an appropriate text model to a GtkComboBox.
1994 * src/view.c: (gl_view_edit_merge_props):
1995 Removed unnecessary "show all's".
1997 2005-04-15 Jim Evins <evins@snaught.com>
2000 Updated russian translation (Vitaly Lipatov)
2001 * data/templates/misc-iso-templates.xml:
2002 Added templates for russian business cards provided by Vitaly Lipatov.
2004 Updated acknowledgements for above.
2006 2005-04-15 Jim Evins <evins@snaught.com>
2008 * data/templates/avery-us-templates.xml:
2009 Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
2010 * data/templates/misc-iso-templates.xml:
2011 Added Ryman standard CD/DVD template, provided by Dan Clark.
2013 Added acknowledgements for above.
2015 2005-04-10 Jim Evins <evins@snaught.com>
2017 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
2018 * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
2019 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
2020 (xml_parse_label_cd_node), (xml_parse_alias_node):
2021 * libglabels/xml.c: (gl_xml_get_prop_double),
2022 (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
2023 (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
2024 * src/xml-label-04.c: (xml04_parse_media_description),
2025 (xml04_parse_text_props), (xml04_parse_barcode_props),
2026 (xml04_parse_merge_properties):
2027 * src/xml-label-191.c: (xml191_parse_object),
2028 (xml191_parse_text_props), (xml191_parse_barcode_props),
2029 (xml191_parse_merge_fields), (xml191_parse_pixdata),
2030 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
2031 (xml191_parse_alias):
2032 * src/xml-label.c: (xml_parse_object_text),
2033 (xml_parse_object_barcode), (xml_parse_merge_fields),
2034 (xml_parse_pixdata), (xml_parse_toplevel_span):
2035 Make sure to use xmlFree for anything obtained from libxml
2036 in case libxml and glib use different memory management
2039 2005-04-08 Jim Evins <evins@snaught.com>
2042 * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
2043 (gl_util_combo_box_set_active_text):
2044 Added utility functions to simplify working with GtkComboBox
2046 * src/ui-property-bar.h:
2047 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
2048 (reset_to_default_properties), (update_text_properties),
2049 (font_family_changed_cb):
2050 Replaced deprecated GtkCombo with GtkComboBox.
2053 2005-04-03 Jim Evins <evins@snaught.com>
2056 * src/wdgt-image-select.h:
2057 * src/wdgt-image-select.c:
2058 Removed obsolete wdgt-image-select.[ch] files.
2059 * libglabels/paper.c: (gl_paper_dup):
2060 Fixed rename of parameter introduced during documentation
2062 * data/glade/object-editor.glade:
2063 * src/object-editor-image-page.c:
2064 (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
2065 (gl_object_editor_set_image), (gl_object_editor_get_image),
2066 (update_preview_cb), (add_image_filters_to_chooser):
2067 * src/object-editor-private.h:
2068 Replaced deprecated GnomePixmapEntry with
2069 GtkFileChooserButton.
2071 2005-04-02 Jim Evins <evins@snaught.com>
2073 * src/mygal/mygal-combo-box.c: (deactivate_arrow),
2074 (mygal_combo_box_popup_hide_unconditional),
2075 (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
2076 (mygal_combo_toggle_pressed), (mygal_combo_box_init),
2077 (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
2078 (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
2079 (cb_tearable_button_release), (mygal_combo_box_set_tearable):
2080 Renamed all internal gtk_combo functions to mygal_combo
2081 to prevent namespace confusion.
2083 2005-04-02 Jim Evins <evins@snaught.com>
2085 * src/mygal/color-palette.c: (color_palette_change_custom_color),
2086 (cust_color_set), (color_palette_setup):
2087 * src/mygal/color-palette.h:
2088 Replaced deprecated GnomeColorPicker with GtkColorButton.
2090 2005-04-02 Jim Evins <evins@snaught.com>
2092 * docs/libglabels/libglabels-sections.txt:
2093 * docs/libglabels/libglabels-undocumented.txt:
2094 * docs/libglabels/tmpl/enums.sgml:
2095 * docs/libglabels/tmpl/paper.sgml:
2096 * docs/libglabels/tmpl/xml-paper.sgml:
2097 * docs/libglabels/tmpl/xml-template.sgml:
2098 * libglabels/enums.h:
2099 * libglabels/paper.c: (gl_paper_dup):
2100 * libglabels/paper.h:
2101 * libglabels/xml-paper.c:
2102 * libglabels/xml-template.c:
2103 More documentation updates for libglabels.
2105 2005-03-23 Jim Evins <evins@snaught.com>
2108 Automatically updated.
2113 * docs/libglabels/Makefile.am:
2114 * docs/libglabels/libglabels-docs.sgml:
2115 * docs/libglabels/libglabels-sections.txt:
2116 * docs/libglabels/libglabels-undocumented.txt:
2117 * docs/libglabels/tmpl/enums.sgml:
2118 * docs/libglabels/tmpl/libglabels-unused.sgml:
2119 * docs/libglabels/tmpl/libglabels.sgml:
2120 * docs/libglabels/tmpl/paper.sgml:
2121 * docs/libglabels/tmpl/template.sgml:
2122 * docs/libglabels/tmpl/xml-paper.sgml:
2123 * docs/libglabels/tmpl/xml-template.sgml:
2124 * docs/libglabels/tmpl/xml.sgml:
2125 Added basic gtk-doc stuff to support documenting libglabels
2128 Updated function comments with gtk-doc markup.
2132 2005-03-22 Jim Evins <evins@snaught.com>
2134 Since the development version now requires gtk-2.6/gnome-2.10, I
2135 have made a first pass at removing deprecations.
2138 * libglabels/Makefile.am:
2140 Added configure option to turn on X_DISABLE_DEPRECATED flags.
2141 Also removed all remnants of HAVE_FILECHOOSER.
2142 * src/file.c: (gl_file_open_real):
2143 Removed code for old GtkFileSelection.
2144 * libglabels/libglabels-private.h:
2145 * libglabels/paper.c:
2146 * libglabels/template.c:
2147 * libglabels/xml-paper.c:
2148 * libglabels/xml-template.c:
2152 * src/glabels-batch.c:
2156 * src/merge-properties-dialog.c:
2158 * src/object-editor.c:
2159 * src/prefs-dialog.c:
2161 * src/print-dialog.c:
2164 * src/template-designer.c:
2165 * src/ui-property-bar.c:
2167 * src/view-barcode.c:
2169 * src/view-ellipse.c:
2174 * src/wdgt-image-select.c:
2175 * src/wdgt-media-select.c:
2176 * src/wdgt-print-copies.c:
2177 * src/wdgt-print-merge.c:
2178 * src/wdgt-rotate-label.c:
2180 * src/xml-label-04.c:
2181 * src/xml-label-191.c:
2183 Added '#include <glib/gi18n.h>" where needed.
2184 Removed any unused '#include <gnome.h>"s.
2186 2005-03-22 Jim Evins <evins@snaught.com>
2188 * src/commands.c: (activate_url), (gl_cmd_help_about):
2189 Replaced GnomeAbout with GtkAboutDialog. Therefore the
2190 development version of glabels now depends on GTK 2.6 and
2193 Updated library dependencies.
2195 2005-02-28 Jim Evins <evins@snaught.com>
2198 * data/templates/misc-iso-templates.xml:
2199 Added 'Ednet 45021' template provided by Ali Akcaagac
2202 2005-02-14 Jim Evins <evins@snaught.com>
2204 * data/templates/avery-us-templates.xml:
2205 Updated templates to use inches instead of points.
2206 * src/print-dialog.c: (printer_page_new):
2207 Changed packing style when adding printer selector widget. This fixes
2210 2005-02-13 Jim Evins <evins@snaught.com>
2214 Updated spanish translations. (sergio rivadero)
2216 2005-02-05 Jim Evins <evins@snaught.com>
2218 Some cleanup to libglabels.
2221 Updated version to 2.1.1cvs. Added generation of libglabels.pc.
2222 * libglabels/libglabels.pc.in
2224 * libglabels/enums.h
2225 Created. Currently only contains glUnitsType which provides enumerations
2226 for all possible units of distance.
2227 * libglabels/Makefile.am:
2228 Incorporated new files enums.h and libglabels.pc[.in].
2229 * libglabels/libglabels.h:
2231 * libglabels/template.h:
2232 * libglabels/template.c: (gl_template_layout_new):
2233 Changed parameters nx and ny to gint from gdouble.
2235 * libglabels/xml.c: (gl_xml_get_prop_length),
2236 (gl_xml_set_prop_length), (gl_xml_set_default_units):
2237 Added support for different output units.
2238 * src/prefs-dialog.c: (update_locale_page_from_prefs),
2239 (update_prefs_from_locale_page):
2240 * src/prefs-model.c: (string_to_units), (units_to_string):
2241 * src/prefs-model.h:
2242 * src/prefs.c: (gl_prefs_get_units_per_point),
2243 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
2244 (gl_prefs_get_units_string):
2246 * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
2247 Reconciled all length enumerations with the new enumerations provided
2248 in libglabels/enums.h.
2250 2005-02-03 Jim Evins <evins@snaught.com>
2253 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
2255 Updated Italian translations. (Daniele Medri)
2257 Updated credits to reflect above translations.
2260 2005-01-22 Jim Evins <evins@snaught.com>
2265 Added MESSAGE-OF-DOOM to EXTRA_DIST.
2267 Final prep for 2.1.0.
2269 Set version to 2.1.0. Output MESSAGE-OF-DOOM.
2271 Added '--remove-original' flag to desktop-file-install, so that there is
2272 only one menu entry.
2274 2005-01-20 Jim Evins <evins@snaught.com>
2276 * data/glade/object-editor.glade:
2277 - Font family entry should not be editable.
2278 - img_key_entry should have sensitivity=YES, so that it follows the
2279 sensitivity of img_key_combo.
2281 2005-01-19 Jim Evins <evins@snaught.com>
2284 Give credit to Frederic Ruaudel for the color merge patches.
2286 2005-01-18 Frederic Ruaudel <grumz@users.sf.net>
2288 Add support to merge color for all other color attribute (Feature
2289 Requests item #1008635. If the data is invalid, the color used is transparent
2290 (GL_COLOR_NONE). The format for color in merge data file are those accepted
2291 by gdk_color_parse() these include name for a color from rgb.txt, such as
2292 DarkSlateGray, or a hex specification such as #305050. File format has been
2293 changed but backward compatibility is preserved for all format. For
2294 box/ellipse/line, keep attribute "line_color" for static color or replace by
2295 "line_color_field" for merge data. For text/barcode objects, keep attribute
2296 "color" for static color or replace by "color_field" for merge data. In the
2297 edit canvas window, merged color are represented by half-transparent black
2300 * data/dtd/glabels-2.0.dtd:
2301 Added line_color_field to line_attrs. Added color_field to
2302 Object-barcode and Span.
2303 * data/glade/object-editor.glade:
2304 Modify the layout of the editor to add merge possibility to color options
2306 Fix a copy/paste error in a comment
2308 Add default color for merge color representation in the editor canvas.
2309 * src/label-barcode.c:
2310 * src/object-editor-bc-page.c:
2311 * src/view-barcode.c:
2312 Add merge color support for barcode color.
2315 Add merge color support for box border color.
2316 * src/label-ellipse.c:
2317 * src/view-ellipse.c:
2318 Add merge color support for ellipse border color.
2321 Add merge color support for line color.
2322 * src/label-object.c:
2323 * src/label-object.h:
2324 * src/object-editor.c:
2325 * src/object-editor.h:
2326 * src/ui-property-bar.c:
2329 * src/xml-label-04.c:
2330 * src/xml-label-191.c:
2331 Add support for merging to other color attribute.
2333 * src/object-editor-text-page.c:
2335 Add merge color support for text color.
2336 * src/object-editor-fill-page.c:
2337 Change a blocked handler that didn't match the good widget. Fix the type
2338 of some debug message.
2339 * src/object-editor-line-page.c:
2340 Add merging support to line color option.
2341 * src/object-editor-private.h:
2342 Add variables for new widget.
2344 Modify the draw functions to get merge data if needed.
2346 Change the default size of the window in order to see all widget in the
2347 "text style tab" of the editor.
2349 Modify the parser to record/retreive the field value for objects that need
2350 "color" attribute. For box/ellipse/line, keep attribute "line_color" for
2351 static color or replace by "line_color_field" for merge data. For
2352 text/barcode objects, keep attribute "color" for static color or replace
2353 by "color_field" for merge data.
2355 2005-01-17 Jim Evins <evins@snaught.com>
2357 * src/view.c: (screen_changed_cb):
2358 Don't do anything if we don't have a screen.
2360 2005-01-06 Jim Evins <evins@snaught.com>
2362 * src/view.c: (get_home_scale):
2363 Fixed bad call to gtk_widget_has_screen() -- huh?.
2365 2005-01-06 Jim Evins <evins@snaught.com>
2367 * data/dtd/glabels-2.0.dtd:
2368 Added fill_color_field to fill_attrs. Also added xmlns attribute to all
2371 2005-01-06 Jim Evins <evins@snaught.com>
2373 * data/glade/object-editor.glade:
2374 Set entries for fill and data field key dropdowns to NOT editable.
2375 * src/view-box.c: (construct_properties_editor):
2376 * src/view-ellipse.c: (construct_properties_editor):
2377 Update object editor when label's merge property has changed.
2378 * src/xml-label.c: (xml_parse_object_ellipse):
2379 Completed the merge color support for the ellipse item.
2381 2005-01-06 Frederic Ruaudel <grumz@users.sf.net>
2383 Add support to merge color for object that have a "Fill color" attribute (Feature
2384 Requests item #1008635. If the data is invalid, the color used is transparent
2385 (GL_COLOR_NONE). The format for color in merge data file are those accepted
2386 by gdk_color_parse() these include name for a color from rgb.txt, such as
2387 DarkSlateGray, or a hex specification such as #305050. File format has been
2388 changed but backward compatibility is preserved for all format. For box/ellipse,
2389 keep attribute "fill_color" for static color or replace by "fill_color_field"
2392 * data/glade/object-editor.glade:
2393 Modify "Fill" tab to add the merge key combo and convert the labels into
2397 Add "glColorNode" structure and associated functions to manage it. This
2398 structure is equivalent for color than the "glTextNode". It holds the color
2400 * src/label-object.h:
2401 * src/label-object.c:
2403 * src/label-ellipse.c:
2404 * src/ui-property-bar.c:
2408 * src/view-ellipse.c:
2409 * src/xml-label-04.c:
2410 * src/xml-label-191.c:
2411 Change functions of objects that have a "fill color" attribute to use the
2412 new "glColorNode" structure. Use barcode code as example.
2414 Add the color.[ch] file to glabels_batch binary that now need support for
2416 * src/object-editor.h:
2417 * src/object-editor.c:
2418 * src/object-editor-fill-page.c:
2419 Manage the new widget of the editor's "Fill" tab : key combo and radio button
2420 to choose between static color or merge key. Use barcode code as example.
2421 * src/object-editor-private.h:
2422 Add new widget in the "_glObjectEditorPrivate" structure.
2424 Modify the draw functions to get merge data if needed.
2426 Modify the parser to record/retreive the field value for objects that need
2427 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
2428 color or "fill_color_field" for merge data.
2430 2005-01-04 Jim Evins <evins@snaught.com>
2433 * data/templates/avery-iso-templates.xml:
2434 * data/templates/misc-iso-templates.xml:
2435 * data/templates/misc-us-templates.xml:
2436 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
2439 2004-11-26 Jim Evins <evins@snaught.com>
2443 Updated french translations provided by Florent Morel <florent@taket.org>.
2444 * src/view-barcode.c:
2446 * src/view-ellipse.c:
2450 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
2451 thus _() strings were not being translated.
2453 2004-11-14 Jim Evins <evins@snaught.com>
2456 * src/debug.c: (gl_debug_init), (gl_debug):
2457 Borrowed from gedit: use environmental variables to select debug
2460 Removed unused include of debug.h.
2461 * src/glabels.c: (main):
2462 Added call to gl_debug_init(), and removed debug clutter from command line
2464 * src/glabels-batch.c: (main):
2465 Added call to gl_debug_init().
2467 2004-11-13 Jim Evins <evins@snaught.com>
2469 Drawing and property toolbars were being initialized with the "icons and text"
2470 look in Fedora Core 3. Even though none of the buttons had any text attached to
2471 them, the buttons were being sized as if they were. This led to less real estate
2472 for the property editor, leading to Bug #1064630. The
2474 * data/ui/glabels-ui.xml:
2475 Added explicit "look" property to both drawing and property toolbars.
2476 * src/prefs-model.c: (gl_prefs_model_save_settings),
2477 (gl_prefs_model_load_settings):
2478 * src/prefs-model.h:
2479 Removed drawing_toolbar_button_style configuration parameter.
2480 * src/ui.c: (view_menu_item_toggled_cb),
2481 (set_app_drawing_toolbar_style):
2482 Do not attempt to adjust look property of the drawing toolbar.
2484 2004-10-28 Jim Evins <evins@snaught.com>
2486 * data/pixmaps/glabels-about-logo.png:
2489 2004-10-28 Jim Evins <evins@snaught.com>
2491 * data/man/glabels.1:
2492 * src/glabels-batch.c: (main):
2494 * src/print.c: (gl_print_batch):
2496 Added option to glabels-batch to select the first label to begin
2499 2004-09-26 Jim Evins <evins@snaught.com>
2501 * data/desktop/glabels.desktop.in:
2502 Point to app icon, "glabels.png"
2503 * data/mime/glabels.keys.in:
2504 Point at mime icon, "glabels-application-x-glabels.png"
2505 * data/pixmaps/Makefile.am:
2506 Added glabels_app_icondir. Renamed icons.
2507 * data/pixmaps/glabels.png:
2508 New cleaned up app icon. Deleted glabels-icon.png.
2509 * data/pixmaps/glabels-application-x-glabels.png:
2511 * data/pixmaps/glabels-splash.png:
2512 Renamed glabels-logo to glabels-splash to be more correct about role.
2514 * src/template-designer.c:
2515 Point at app icon, "glabels.png"
2517 Point at renamed splash image, "glabels-splash.png"
2519 2004-08-22 Jim Evins <evins@snaught.com>
2522 * src/glabels-batch.c: (main):
2523 Applied patch with minor mods to allow selecting merge source and
2524 crop-marks on glabels-batch's command line. Original patch provided by
2525 José Dapena Paz <jdapena@igalia.com>.
2527 2004-08-15 Jim Evins <evins@snaught.com>
2529 * data/desktop/glabels.desktop.in:
2530 - Added encoding line
2531 - Removed period from comment
2532 - Fixed Terminal line, changed "0" to "false"
2533 - Added semicolen to Categories line
2535 - Made sure desktop.in comment string above still translated properly
2537 2004-08-14 Jim Evins <evins@snaught.com>
2539 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
2540 * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
2541 * src/xml-label-191.c: (xml191_parse_sheet):
2542 Fixed improper freeing of gettext strings. Merged from 2.0.1.
2544 Reconciled libglabels versioning with 2.0.1.
2547 2004-08-14 Jim Evins <evins@snaught.com>
2550 Updated version to 2.1cvs.
2552 2004-08-14 Jim Evins <evins@snaught.com>
2555 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
2557 2004-08-14 Jim Evins <evins@snaught.com>
2559 Fixes for Bug #1008181.
2561 * src/bc.c: (gl_barcode_default_digits):
2562 Make a format of zero digits, harmless.
2563 * src/xml-label.c: (xml_parse_object_barcode):
2564 Set default value of the format property of barcode objects to 10, not
2565 zero. This will prevent crashes when reading pre 2.0.x files.
2567 2004-08-09 Jim Evins <evins@snaught.com>
2571 * help/C/glabels-C.omf:
2572 * help/C/glabels.xml:
2573 Brought documentation up-to-date for 2.0.0 release.
2575 2004-08-09 Jim Evins <evins@snaught.com>
2577 These are hopefully the final preparations for 2.0.0.
2579 * data/mime/Makefile.am:
2580 Include glabels.xml in EXTRA_DIST.
2582 - Updated comment style.
2583 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
2584 - Added package and version info to configuration printout
2585 - Update version to 2.0.0
2586 * libglabels/Makefile.am:
2587 Use the new LIBGLABELS_VERSION_INFO macro.
2589 2004-08-09 Jim Evins <evins@snaught.com>
2593 Cleanup of required library macros.
2595 2004-08-08 Jim Evins <evins@snaught.com>
2599 - More specific of what to install in /usr/bin and /usr/lib
2600 - Remove built mime registration files from staging directory
2602 2004-08-08 Jim Evins <evins@snaught.com>
2604 * data/mime/Makefile.am:
2605 Fixed typo: key_files should have been keys_files.
2607 2004-08-08 Jim Evins <evins@snaught.com>
2609 Reorganization of runtime data files. Also added registration of mimetype with
2610 new freedesktop.org mime database if available.
2613 Moved files to appropriate subdirectories, creating local Makefile.am
2614 in each subdirectory.
2615 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
2616 These are now installed at $datadir/glabels/templates.
2617 - Moved glabels.1 to man subdirectory.
2618 - Moved glabels-2.0.dtd to dtd subdirectory.
2619 - Moved glabels.desktop.in to desktop subdirectory.
2620 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
2622 Moved "./pixmaps" to "./data/pixmaps"
2624 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
2626 Moved libglade files from src to data/glade. Created Makefile.am.
2628 Removed pixmaps from SUBDIRS.
2630 - Removed pixmaps from makefiles.
2631 - Added makefiles for new subdirs of data.
2632 - Added tests for freedesktop.org mime database.
2634 - Added tests for freedesktop.org mime database for post install and
2635 post un-install actions.
2636 * libglabels/Makefile.am:
2637 Moved system template files to $(datadir)/glabels/templates.
2638 * libglabels/libglabels-private.h:
2639 Moved system template files to $(datadir)/glabels/templates.
2641 - Accounted for movement of ui and libglade files.
2642 - Added missing .in files.
2643 - Reorganized by directory.
2645 Accounted for movement of ui and libglade files.
2646 * data/mime/glabels.xml.in:
2647 New file for registering with freedesktop.org mime database.
2649 2004-08-07 Jim Evins <evins@snaught.com>
2651 * src/recent-files/*:
2652 Re-synced to latest libegg/recent-files.
2654 2004-08-07 Jim Evins <evins@snaught.com>
2659 Renamed "./doc" directory to "./help" which contains user documentation,
2660 to be more consistent with other GNOME applications.
2663 2004-07-26 Jim Evins <evins@snaught.com>
2665 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
2666 Corrected button order of merge properties dialog.
2668 2004-07-18 Jim Evins <evins@snaught.com>
2670 * data/glabels-2.0.dtd:
2671 * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
2672 (gl_barcode_get_prefered_n):
2674 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
2675 (gl_label_barcode_get_props), (get_size):
2676 * src/label-barcode.h:
2677 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
2678 (style_changed_cb), (gl_object_editor_set_bc_style),
2679 (gl_object_editor_get_bc_style):
2680 * src/object-editor-data-page.c: (data_radio_toggled_cb),
2681 (gl_object_editor_set_data), (gl_object_editor_get_data):
2682 * src/object-editor-private.h:
2683 * src/object-editor.c: (gl_object_editor_set_key_names):
2684 * src/object-editor.glade:
2685 * src/object-editor.h:
2686 * src/print.c: (draw_barcode_object):
2687 * src/view-barcode.c: (update_object_from_editor_cb),
2688 (update_editor_from_object_cb),
2689 (gl_view_barcode_create_event_handler), (draw_barcode):
2690 * src/xml-label-04.c: (xml04_parse_barcode_props):
2691 * src/xml-label-191.c: (xml191_parse_barcode_props):
2692 * src/xml-label.c: (xml_parse_object_barcode),
2693 (xml_create_object_barcode):
2694 Added "format" attribute to barcode objects. This attribute is used
2695 to properly format freeform barcodes barcodes prior to merge data is
2696 applied, so that barcodes can be accurately layed out. This addresses
2697 remaining issues of feature request #824787. Also added an example of
2698 the format in the object editor.
2700 2004-07-12 Jim Evins <evins@snaught.com>
2702 Various code cleanups.
2704 * src/label-barcode.c:
2705 Removed unneeded include of gnome-glyphlist.h.
2707 * src/label-text.c: (get_size):
2708 Fixed memory leak: unref glyphlists when done with them.
2710 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
2711 * src/object-editor-data-page.c:
2712 (gl_object_editor_prepare_data_page):
2713 * src/object-editor-image-page.c:
2714 (gl_object_editor_prepare_image_page):
2715 * src/object-editor-line-page.c:
2716 (gl_object_editor_prepare_line_page):
2717 * src/object-editor-lsize-page.c:
2718 (gl_object_editor_prepare_lsize_page):
2719 * src/object-editor-position-page.c:
2720 (gl_object_editor_prepare_position_page):
2721 * src/object-editor-size-page.c:
2722 (gl_object_editor_prepare_size_page):
2723 * src/object-editor-text-page.c:
2724 (gl_object_editor_prepare_text_page):
2725 Removed unneeded size groups, originally intended to keep widgets aligned.
2726 Now use tables to lay these out in object-editor.glade.
2728 * src/print.c: (draw_text_object):
2729 Fixed memory leak: unref glyphlists when done with them.
2731 * src/view-barcode.c: (draw_barcode):
2732 Fixed memory leak: unref glyphlists when done with them.
2734 * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
2735 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
2737 - Fixed memory leak: unref glyphlists when done with them.
2739 2004-07-11 Jim Evins <evins@snaught.com>
2741 * data/glabels-2.0.dtd:
2742 * src/label-text.c: (gl_label_text_instance_init), (copy),
2743 (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
2745 * src/object-editor-private.h:
2746 * src/object-editor-text-page.c:
2747 (gl_object_editor_prepare_text_page),
2748 (gl_object_editor_set_text_auto_shrink),
2749 (gl_object_editor_get_text_auto_shrink):
2750 * src/object-editor.c: (gl_object_editor_set_key_names):
2751 * src/object-editor.glade:
2752 * src/object-editor.h:
2753 * src/print.c: (draw_text_object):
2754 * src/view-text.c: (update_object_from_editor_cb),
2755 (update_editor_from_object_cb):
2756 * src/xml-label.c: (xml_parse_object_text),
2757 (xml_create_object_text):
2758 Added option to allow document merge to auto shrink text size to fit
2759 within the text box. The code in print.c that actually shrinks the
2760 text is loosely based on a patch submitted by Mark Harrison
2761 <mark.harrison@velocitynet.com.au>. This addresses feature request
2764 2004-07-11 Jim Evins <evins@snaught.com>
2766 * data/glabels-2.0.dtd:
2767 * libglabels/template.c: (gl_template_rect_label_type_new),
2768 (gl_template_round_label_type_new),
2769 (gl_template_cd_label_type_new), (gl_template_label_type_dup),
2770 (template_full_page):
2771 * libglabels/template.h:
2772 * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
2773 (xml_create_label_node):
2774 * pixmaps/ex-rect-size.png:
2775 * src/print.c: (clip_to_outline), (clip_punchouts):
2776 * src/template-designer.c: (construct_rect_size_page),
2777 (rect_size_page_prepare_cb), (layout_page_prepare_cb),
2779 * src/template-designer.glade:
2780 * src/xml-label-191.c: (xml191_parse_label):
2781 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
2782 properties for rectangular labels. Templates remain backwards compatible,
2783 but this breaks the libglabels API (I don't know of anyone outside of
2784 glabels using libglabels at this time -- what can I say, the program is
2785 is still "unstable"). This addresses the suggestion in Feature Request
2788 2004-07-05 Jim Evins <evins@snaught.com>
2789 * src/print.c: (print_crop_marks), (draw_outline):
2790 Changed crop marks and label outlines to black, instead of 25% gray.
2791 This addresses debian Bug #257460.
2793 2004-07-05 Jim Evins <evins@snaught.com>
2795 * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
2796 * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
2797 Preserve "is_default" of fill and line color_combos when creating from
2800 2004-07-02 Jim Evins <evins@snaught.com>
2803 Created man page. Based on page submitted by Matthew J. Lockner, however
2804 it has been severely edited.
2806 * data/avery-other-templates.xml
2807 * data/misc-other-templates.xml:
2808 Started new files for predefined templates with non-standard sheet sizes.
2809 These have been initially populated with the Avery 06141 and
2810 OfficeMax #86112, both provided by Matthew J. Lockner.
2813 Install above manpage and template files.
2816 Make sure we install man pages.
2818 * src/glabels-batch.c:
2819 Changed short form of help option to '-?' to be consistent with glabels.
2822 Added acknowledgement for above labels.
2824 2004-07-02 Jim Evins <evins@snaught.com>
2826 * src/glabels.c: (main), (save_session_cb):
2827 - Now include libbonoboui.h, recent.h, and file.h to provide missing
2829 - save_session_cb() now returns gboolean.
2830 - Minor formatting changes.
2834 - Now include file.h to provide missing prototype.
2835 - gl_window_get_type() now returns GType, not guint. I believe this may
2836 ultimately be cause of the segfault reported in Bug #982287, since
2837 GType is actually a gulong, which may not be compatible on other
2838 architectures (64bit) -- I cannot personally test this at this time.
2839 I was sloppy in several other xxx_get_type() functions which also
2840 returned guint -- see next group of files:
2842 * src/window.c: (gl_window_get_type):
2843 * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
2844 * src/canvas-hacktext.h:
2845 * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
2846 (gl_hig_category_get_type), (gl_hig_vbox_get_type),
2847 (gl_hig_hbox_get_type):
2849 * src/label-barcode.c: (gl_label_barcode_get_type):
2850 * src/label-barcode.h:
2851 * src/label-box.c: (gl_label_box_get_type):
2853 * src/label-ellipse.c: (gl_label_ellipse_get_type):
2854 * src/label-ellipse.h:
2855 * src/label-image.c: (gl_label_image_get_type):
2856 * src/label-image.h:
2857 * src/label-line.c: (gl_label_line_get_type):
2859 * src/label-object.c: (gl_label_object_get_type):
2860 * src/label-object.h:
2861 * src/label-text.c: (gl_label_text_get_type):
2863 * src/label.c: (gl_label_get_type):
2865 * src/merge-properties-dialog.c:
2866 (gl_merge_properties_dialog_get_type):
2867 * src/merge-properties-dialog.h:
2868 * src/merge-text.c: (gl_merge_text_get_type):
2870 * src/merge.c: (gl_merge_get_type):
2872 * src/object-editor.c: (gl_object_editor_get_type):
2873 * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
2874 * src/prefs-dialog.h:
2875 * src/prefs-model.c: (gl_prefs_model_get_type):
2876 * src/prefs-model.h:
2877 * src/print-dialog.c: (gl_print_dialog_get_type):
2878 * src/print-dialog.h:
2879 * src/template-designer.c: (gl_template_designer_get_type):
2880 * src/template-designer.h:
2881 * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
2882 * src/ui-property-bar.h:
2883 * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
2885 * src/view-barcode.c: (gl_view_barcode_get_type):
2886 * src/view-barcode.h:
2887 * src/view-box.c: (gl_view_box_get_type):
2889 * src/view-ellipse.c: (gl_view_ellipse_get_type):
2890 * src/view-ellipse.h:
2891 * src/view-highlight.c: (gl_view_highlight_get_type):
2892 * src/view-highlight.h:
2893 * src/view-image.c: (gl_view_image_get_type):
2895 * src/view-line.c: (gl_view_line_get_type):
2897 * src/view-object.c: (gl_view_object_get_type):
2898 * src/view-object.h:
2899 * src/view-text.c: (gl_view_text_get_type):
2901 * src/view.c: (gl_view_get_type):
2903 * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
2904 * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
2905 * src/wdgt-image-select.h:
2906 * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
2907 * src/wdgt-media-select.h:
2908 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
2909 * src/wdgt-mini-preview.h:
2910 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
2911 * src/wdgt-print-copies.h:
2912 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
2913 * src/wdgt-print-merge.h:
2914 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
2915 * src/wdgt-rotate-label.h:
2916 - Made sure all xxx_get_type functions returned GType, not guint. This
2917 was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
2918 ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
2919 wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
2920 wdt-print-merge.[ch], and wdgt-rotate-label.[ch]. See separate
2921 window.[ch] details above for more info.
2922 - Reconciled various coding style differences in all xxx_get_type()
2924 * All prototypes include G_GNUC_CONST.
2925 * All prototypes specify the return value as GType, not GtkType
2927 * Info structures are all declared as "static const."
2928 * Generalized the names of type and info variables.
2929 * Miscelaneous formatting.
2931 2004-06-08 Jim Evins <evins@snaught.com>
2937 Don't touch compression of original file -- still defaults to 9 for
2938 new files. Original patch provided by Javier Donaire Segarra
2939 (#912252 in patch tracker).
2941 2004-05-05 Jim Evins <evins@snaught.com>
2943 * data/glabels-2.0.dtd:
2944 Broke DTD previously when adding new barcode types that contain a
2945 plus sign (+). Simply changed the BC_STYLE_TYPE entity to "CDATA"
2946 to avoid the problem.
2947 * data/avery-iso-templates.xml:
2948 * data/zweckform-iso-templates.xml:
2950 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021. Templates
2951 provided by Frank Altpeter.
2952 * libglabels/xml-template.c: (xml_create_label_node):
2953 Reordered markup and layout sub-nodes so that resulting templates will
2954 validate against DTD.
2956 2004-03-13 Jim Evins <evins@snaught.com>
2958 * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
2959 Changed spin callback signals from "value-changed" back to "changed."
2960 This was accidentally introduced in a previous revision, and can cause
2961 size changes just by selecting the size tab.
2963 2004-03-06 Jim Evins <evins@snaught.com>
2965 * src/view.c: (draw_grid_layer):
2966 For round labels (round and cd) adjust grid so that it lines up with
2967 center of label. Also, no longer draw box around label in the grid layer,
2968 it is hidden by he fg layer anyway. Feature suggested by
2969 nemolivier@free.fr. Although the grid is aligned with the center of the
2970 label, the coordinate system is still relative to the upper left corner
2971 of the rectangle containing the label.
2973 2004-02-25 Jim Evins <evins@snaught.com>
2976 Changed version to 2.0pre1cvs
2978 * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
2979 Removed extra xmlFreeDoc() calls upon error. Also print the doc->URL
2980 instead of doc->name fields when errors encountered.
2982 2004-02-21 Jim Evins <evins@snaught.com>
2984 * data/avery-iso-templates.xml:
2985 Added aliases for Avery 8651. Patch provided by Wayne Schuller.
2988 Added libglabels library and include file to installed files.
2991 Final prep for 1.93.3.
2993 2004-02-20 Jim Evins <evins@snaught.com>
2995 * src/glabels-batch.c: (main):
2996 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
2997 as suggested by Javier Donaire Segarra. This addresses bug #901063.
2999 2004-02-16 Jim Evins <evins@snaught.com>
3002 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
3005 Added HAVE_FILE_CHOOSER to INCLUDES.
3007 * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
3008 (gl_file_save_as), (save_as_response):
3009 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
3011 2004-02-16 Jim Evins <evins@snaught.com>
3013 * src/xml-label-04.c: (xml04_parse_image_props):
3014 * src/xml-label-191.c: (xml191_parse_image_props):
3015 * src/xml-label.c: (xml_parse_object_image):
3016 Delay setting image size until after image has been applied to new
3019 2004-02-15 Jim Evins <evins@snaught.com>
3021 * src/label-barcode.c: (gl_label_barcode_set_data),
3022 (gl_label_barcode_set_props):
3023 Don't emit "changed" signal, if no change actually made for these
3024 methods. Reduces number of unnecessary redraws of barcodes.
3026 * src/label-object.h:
3027 * src/label-object.c: (gl_label_object_set_position),
3028 (gl_label_object_set_position_relative), (set_size),
3029 (gl_label_object_set_size),
3030 (gl_label_object_set_size_honor_aspect):
3031 Don't emit "changed" signal, if no change actually made for these
3034 2004-02-15 Jim Evins <evins@snaught.com>
3036 * data/glabels-2.0.dtd:
3037 Added specific subtypes for various barcode types.
3040 * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
3041 (gl_barcode_get_styles_list), (gl_barcode_default_digits),
3042 (gl_barcode_can_text), (gl_barcode_text_optional),
3043 (gl_barcode_can_csum), (gl_barcode_csum_optional),
3044 (gl_barcode_id_to_name), (gl_barcode_name_to_id):
3045 Changed API to use a string id, rather than a fixed enumeration. Id and
3046 name are separate strings. Added entries to backend table for specific
3047 subtypes for various barcode types.
3050 * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
3052 Modified to conform to above API. Now more stringent with data length
3053 for various subtypes.
3055 * src/bc-gnubarcode.h:
3056 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
3057 (is_length_valid), (is_length1_valid), (is_length2_valid):
3058 Modified to conform to above API. Now more stringent with data length
3059 for various subtypes.
3061 * src/label-barcode.h:
3062 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
3063 (gl_label_barcode_get_props), (get_size):
3064 Modified to use above API for storing barcode type.
3066 * src/object-editor.h:
3067 * src/object-editor-bc-page.c: (style_changed_cb),
3068 (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
3069 Modified to use above API for storing barcode type.
3071 * src/object-editor-size-page.c:
3072 (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
3073 (w_spin_cb), (h_spin_cb), (size_reset_cb):
3074 Added debug markers.
3076 * src/object-editor.glade:
3077 Made barcode style combo's text entry non-editable.
3079 * src/print.c: (draw_barcode_object):
3080 Modified to use above API for barcode type.
3082 * src/view-barcode.c: (update_object_from_editor_cb),
3083 (update_editor_from_object_cb),
3084 (gl_view_barcode_create_event_handler), (draw_barcode):
3085 Modified to use above API for barcode type.
3087 * src/xml-label-04.c: (xml04_parse_barcode_props):
3088 * src/xml-label-191.c: (xml191_parse_barcode_props):
3089 * src/xml-label.c: (xml_parse_object_barcode),
3090 (xml_create_object_barcode):
3091 Modified to use above API for barcode type.
3093 2004-02-07 Jim Evins <evins@snaught.com>
3095 * src/stock-pixmaps/Makefile.am:
3096 * src/stock-pixmaps/stock_hchain_24.png:
3097 * src/stock-pixmaps/stock_hchain_broken_24.png:
3098 * src/stock-pixmaps/stock_vchain_24.png:
3099 * src/stock-pixmaps/stock_vchain_broken_24.png:
3100 Added chain pixmaps borrowed from the gimp's default theme.
3103 * src/stock.c: (gl_stock_init), (add_button_icon):
3104 Added above pixmaps to stock icon sets. Created add_button_icon() to
3105 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
3107 * src/wdgt-chain-button.h
3108 * src/wdgt-chain-button.c
3111 Added this Modified version of gimpchainbutton widget, borrowed from
3115 Added acknowledgements of the above borrowing from the gimp.
3117 * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
3119 * src/object-editor.c: (gl_object_editor_construct_chain_button):
3120 * src/object-editor.glade:
3121 Replaced the keep aspect ratio check box with the above chain-button
3124 * src/text-node.c: (gl_text_node_equal):
3126 Added function gl_text_node_equal() to compare text_nodes.
3128 * src/label-image.c: (gl_label_image_set_filename):
3129 Replaced incomplete text_node comparison code with invocation of
3130 gl_text_node_equal. This fixed the problem of not being able to
3131 resize an image using the object_editor if the aspect ratio is not
3134 2004-02-04 Jim Evins <evins@snaught.com>
3136 * src/object-editor-image-page.c:
3137 (gl_object_editor_prepare_image_page):
3138 Track "changed" signal of pixmap entry's GtkEntry rather than its
3139 "activate" signal -- this catches all changes to the entry rather than
3140 just changes resulting from a browse, so one can easily pull previous
3141 entries from the history. (This change is marked below on 2004-02-03,
3142 but somehow never got checked in.)
3144 * src/view-highlight.c: (sl_resize_event_handler),
3145 (sr_resize_event_handler), (st_resize_event_handler),
3146 (sb_resize_event_handler):
3147 Side resize handles will now confirm the actual resize that the object
3148 accepted before adjusting position parameters. Previously some interesting
3149 things happened when resizing a barcode to its minimum size.
3151 2004-02-03 Jim Evins <evins@snaught.com>
3153 * src/object-editor-image-page.c:
3154 (gl_object_editor_prepare_image_page):
3155 Track "changed" signal of pixmap entry's GtkEntry rather than its
3156 "activate" signal -- this catches all changes to the entry rather than
3157 just changes resulting from a browse, so one can easily pull previous
3158 entries from the history.
3160 * src/view-highlight.c: (tl_resize_event_handler),
3161 (tr_resize_event_handler), (bl_resize_event_handler),
3162 (br_resize_event_handler):
3163 Allow control key to be dropped while dragging a corner resize handle
3164 without losing the aspect ratio lock.
3166 2004-02-02 Jim Evins <evins@snaught.com>
3168 * src/label-image.c: (gl_label_image_set_filename):
3169 When setting a new filename adjust size such that the aspect ratio of
3170 the image is preserved using the current size as a bounding box.
3172 * src/view-image.c: (update_object_from_editor_cb):
3173 When updating object from editor, feed back possible size changes to
3174 editor as a result of a possible change in image.
3176 * src/object-editor-size-page.c: (size_reset_cb):
3177 Fixed typo when blocking spin handlers. If the base size is larger than
3178 the max size, treat max size as a bounding box while keeping aspect
3182 2004-02-02 Jim Evins <evins@snaught.com>
3184 * src/label-object.h:
3185 * src/label-object.c: (gl_label_object_set_size),
3186 (gl_label_object_set_size_honor_aspect):
3187 Added gl_label_object_set_size_honor_aspect() which will maintain the
3188 current aspect ratio by modifying the supplied w or h apropriately.
3190 * src/view-highlight.c: (tl_resize_event_handler),
3191 (tr_resize_event_handler), (bl_resize_event_handler),
3192 (br_resize_event_handler):
3193 Corner handles will now maintain the current aspect ratio if the
3194 control key is pressed while resizing. This addresses feature
3198 2004-01-31 Jim Evins <evins@snaught.com>
3201 * data/avery-us-templates.xml:
3202 Added entries for "LSK-3," "LSK-5," and "LSK-8." Submitted by JBadger.
3204 * libglabels/template.c: (read_template_files_from_dir):
3205 Corrected problem with testing for extensions.
3207 * src/object-editor.glade:
3208 Corrected grouping of radio buttons in barcode data page.
3210 * src/print.c: (draw_barcode_object):
3211 * src/view-barcode.c: (draw_barcode):
3212 Corrected problem with calculation of y_offset for locating characters.
3214 2004-01-24 Jim Evins <evins@snaught.com>
3217 * data/avery-us-templates.xml:
3218 Added Avery 5824, submitted by Fred Bacon.
3220 2004-01-20 Jim Evins <evins@snaught.com>
3222 Catching up on a couple of backlogged user template submissions.
3224 * data/avery-iso-templates.xml:
3225 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
3226 Suggested by Linas Jakucionis.
3228 * data/zweckform-iso-templates.xml:
3229 Added Zweckform 4760, submitted by Thomas Vill.
3232 Updated to reflect above submissions.
3234 2004-01-06 Jim Evins <evins@snaught.com>
3236 Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
3237 xml.[ch] into a separate library called libglabels, to facilitate third
3238 party use of glabels template files. This was suggested by Wayne Schuller.
3239 Once split-out, some modifications to the structures and functions to
3240 make a cleaner more useful API, hopefully. Rather extensive changes have
3241 propogated to other modules.
3249 * src/xml-template.h:
3250 * src/xml-template.c:
3253 These files have been moved to libglabels/. API cleanup performed.
3255 * libglabels/libglabels.h:
3256 * libglabels/libglabels-private.h:
3257 * libglabels/Makefile.am:
3258 These files have been added to finish out libglabels.
3265 Modified to reflect new sets of files in src/ and libglabels/.
3267 * COPYING.LIBGLABELS:
3269 Added copy of the LGPL for libglabels, and a copy the GFDL for
3272 * src/glabels-batch.c:
3274 * src/label.c: (gl_label_finalize), (gl_label_set_template),
3275 (gl_label_get_size):
3277 * src/prefs-model.c: (gl_prefs_model_load_settings):
3278 * src/print-dialog.c:
3279 * src/print.c: (gl_print_simple), (gl_print_merge_collated),
3280 (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
3281 (print_crop_marks), (print_label), (draw_outline),
3282 (clip_to_outline), (clip_punchouts):
3283 * src/template-designer.c: (construct_pg_size_page),
3284 (pg_size_page_changed_cb), (layout_page_changed_cb),
3285 (print_test_cb), (build_template):
3286 * src/util.c: (gl_util_fraction):
3288 * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
3289 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
3290 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
3291 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
3292 (draw_markup_margin_round), (draw_markup_margin_cd),
3293 (draw_markup_margin_cd_bc), (draw_markup_line),
3294 (draw_markup_circle), (gl_view_copy):
3295 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
3296 (page_size_entry_changed_cb), (details_update), (get_layout_desc),
3297 (get_label_size_desc):
3298 * src/wdgt-mini-preview.c:
3299 (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
3301 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
3302 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
3303 * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
3304 (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
3305 * src/wdgt-rotate-label.h:
3306 * src/xml-label-04.c: (xml04_parse_media_description):
3307 * src/xml-label-191.c: (gl_xml_label_191_parse),
3308 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
3309 (xml191_parse_markup), (xml191_parse_alias):
3310 * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
3312 Various changes to accomodate new libglabels API.
3314 2004-01-03 Jim Evins <evins@snaught.com>
3319 2004-01-03 Jim Evins <evins@snaught.com>
3322 Added acknowledgement of contributions by Wayne Schuller.
3324 * src/commands.c: (gl_cmd_file_print):
3325 Create extra reference to print dialog, so that it can be properly re-used.
3327 * src/mygal/mygal-combo-box.h:
3328 * src/mygal/mygal-combo-box.c:
3329 (mygal_combo_box_popup_hide_unconditional),
3330 (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
3331 (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
3332 (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
3333 (mygal_combo_box_set_tearable):
3334 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
3335 complete the rename of this widget to prevent namespace collisions
3338 * src/prefs-dialog.glade:
3339 Fixed alignment of Fill/Color widgets.
3341 2004-01-03 Jim Evins <evins@snaught.com>
3343 * data/avery-iso-templates.xml:
3344 Added user submitted templates.
3345 Avery 8435A & 8435B, submitted by Ludger Solbach.
3347 * doc/C/glabels.xml:
3348 Added minimal documentation, noting the new template designer.
3350 2004-01-03 Jim Evins <evins@snaught.com>
3352 * pixmaps/ex-rect-size.png:
3353 * pixmaps/ex-round-size.png:
3354 * pixmaps/ex-cd-size.png:
3355 * pixmaps/Makefile.am:
3356 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
3357 files to be used as illustrations/examples in the template-designer.
3359 * src/template-designer.c: (construct_rect_size_page),
3360 (construct_round_size_page), (construct_cd_size_page),
3361 (construct_nlayouts_page), (rect_size_page_prepare_cb),
3362 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
3363 (layout_page_prepare_cb), (build_template):
3364 * src/template-designer.glade:
3365 Added illustrations for rectangle, round, and cd label size pages.
3366 Added margin spinboxes to these pages, and now add a margin markup
3367 to the constructed template. Added realistic default values for
3368 some of the size spinboxes. Cleaned up the code for setting spinbox
3369 ranges on the layouts page.
3371 2004-01-02 Jim Evins <evins@snaught.com>
3373 * src/object-editor-size-page.c: (h_spin_cb):
3374 Fixed cut-n-paste error in h_spin_cb that loaded h from
3375 the wrong spinbutton.
3377 * src/object-editor.h:
3378 * src/object-editor.c: (gl_object_editor_class_init),
3379 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
3380 * src/object-editor-private.h:
3381 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
3383 Added "size_changed" signal.
3385 * src/view-text.c: (construct_properties_editor),
3386 (update_object_from_editor_cb),
3387 (update_object_from_editor_size_cb):
3388 Track size changes from object editor separately from other
3389 properties. This is so the default size (0,0) of a text
3390 object is not modified unintentionally.
3392 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
3394 Added feature: line spacing - allows you to comfortably space a text box to
3395 fit a label perfectly.
3397 * data/glabels-2.0.dtd:
3398 * src/label-object.c: (gl_label_object_set_text_line_spacing),
3399 (gl_label_object_get_text_alignment),
3400 (gl_label_object_get_text_line_spacing):
3401 * src/label-object.h:
3402 * src/label-text.c: (gl_label_text_class_init),
3403 (gl_label_text_instance_init), (copy), (get_size),
3404 (set_text_line_spacing), (get_text_alignment),
3405 (get_text_line_spacing):
3406 * src/object-editor-private.h:
3407 * src/object-editor-text-page.c:
3408 (gl_object_editor_prepare_text_page),
3409 (gl_object_editor_set_text_line_spacing),
3410 (gl_object_editor_get_text_line_spacing):
3411 * src/object-editor.glade:
3412 * src/object-editor.h:
3413 * src/prefs-dialog.c: (construct_object_page),
3414 (update_object_page_from_prefs), (update_prefs_from_object_page):
3415 * src/prefs-dialog.glade:
3416 * src/prefs-model.c: (gl_prefs_model_save_settings),
3417 (gl_prefs_model_load_settings), (get_float):
3418 * src/prefs-model.h:
3419 * src/print.c: (draw_text_object):
3421 * src/view-text.c: (update_object_from_editor_cb),
3422 (update_editor_from_object_cb),
3423 (gl_view_text_create_event_handler), (draw_hacktext):
3424 * src/view.c: (gl_view_construct),
3425 (gl_view_set_selection_text_line_spacing),
3426 (gl_view_set_default_text_line_spacing),
3427 (gl_view_get_default_text_line_spacing):
3429 * src/xml-label.c: (xml_parse_toplevel_span),
3430 (xml_create_toplevel_span):
3432 2003-12-30 Jim Evins <evins@snaught.com>
3434 * src/template-designer.c:
3435 * src/template-designer.h:
3436 * src/template-designer.glade:
3437 New template designer assistant.
3441 Added entries for src/template-designer.* files.
3443 * pixmaps/ex-1layout.png
3444 * pixmaps/ex-2layouts.png
3445 * pixmaps/Makefile.am:
3446 Added the new image files ex-*.png used as illustrations in the
3447 template designer assistant.
3449 * src/print-dialog.h:
3450 * src/print-dialog.c: (gl_print_dialog_finalize),
3451 (gl_print_dialog_new), (gl_print_dialog_construct),
3452 (gl_print_dialog_force_outline_flag):
3453 Changed first argument of gl_print_dialog_new() from glView to glLabel,
3454 to support printing from the template designer assistant which does not
3455 have a full-fledged view. Nothing else from the view object was being
3456 used by the dialog anyway.
3458 Added the gl_print_dialog_force_outline_flag() method, for better
3459 integration with the template designer assistant.
3463 * src/commands.c: (gl_cmd_file_template_designer),
3464 (gl_cmd_file_print):
3465 Modified print command to provide label instead of view to dialog.
3466 Added the gl_cmd_file_template_designer() command to invoke the
3467 template designer assistant.
3470 * src/glabels-ui.xml:
3471 Added support for template designer assistant.
3473 * src/wdgt-mini-preview.h:
3474 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
3475 (gl_wdgt_mini_preview_set_bg_color):
3476 Preview is now centered in canvas. Added
3477 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
3478 assistant to match the background color with its own.
3480 * src/print.c: (clip_to_outline):
3481 Fixed really stupid bug when adding waste to clip region of rectangular
3482 labels/cards. Each side of the clip region needs to be extended by
3483 twice the waste margin, as well as negatively offset by the waste
3486 2003-12-28 Jim Evins <evins@snaught.com>
3488 * src/prefs-dialog.c: (update_object_page_from_prefs):
3489 Block intermediary function align_toggle_cb() instead of
3490 update_prefs_from_object_page() for the three alignment
3493 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
3495 * src/file.c: (gl_file_new), (gl_file_properties):
3496 Swap button order and set default for higificatory pleasure.
3498 2003-12-27 Jim Evins <evins@snaught.com>
3500 * barcode-0.98/Makefile.am:
3501 One last time: removed doc/Makefile and po/Makefile.in.in from
3504 2003-12-27 Jim Evins <evins@snaught.com>
3506 * barcode-0.98/Makefile.am:
3507 Removed config.stat entry from EXTRA_DIST files.
3509 * barcode-0.98/Makefile.in:
3512 2003-12-27 Jim Evins <evins@snaught.com>
3515 Updated to work with latest gnome-common package from CVS.
3516 Removed recursive configuration of barcode-0.98.
3523 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
3525 * barcode-0.98/Makefile.in:
3526 * barcode-0.98/configure.in:
3527 * barcode-0.98/Makefile.am:
3528 * barcode-0.98/README.glabels:
3529 Modified to ignore the barcode package's build system, and build
3530 as a part of glabels.
3531 Renamed Makefile.in to Makefile.in.dist.
3532 Renamed configure.in to configure.in.dist.
3533 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
3536 * src/mygal/Makefile.am:
3537 * src/recent-files/Makefile.am:
3538 In order to build against the GNOME 2.5 platform,
3539 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
3541 * src/mygal/Makefile.am:
3542 * src/mygal/mygal-combo-box.c:
3543 * src/mygal/mygal-combo-box.h:
3544 * src/mygal/widget-color-combo.c:
3545 * src/mygal/widget-color-combo.h:
3547 In order to build against the GNOME 2.5 platform,
3548 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
3549 collisions with the real gtk_combo_box widget, now a part of gtk.
3551 2003-12-26 Jim Evins <evins@snaught.com>
3557 Moved local versions of get_home_data_dir() in paper.c and
3558 template.c to util package. Cleaned up formatting in
3562 In gl_template_register() save a copy of the template in
3563 ~/.glabels if the template is not known. Still need to
3564 handle duplicate filename case and duplicate name but
3565 different template case.
3569 Moved local definition of NAME_SPACE macro from xml-label.c
3572 * src/xml-template.c:
3573 * src/xml-template.h:
3574 Added function gl_xml_template_write_template_to_file(), used
3575 in gl_template_register().