1 2009-09-22 Jim Evins <evins@snaught.com>
13 Split "catch all" util module into separate modules for different
15 * src/file.c: (gl_file_open_real), (save_as_response):
16 * src/glabels-batch.c: (main):
17 * src/label.c: (gl_label_get_short_name):
18 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
19 (gl_merge_properties_dialog_construct):
20 * src/new-label-dialog.c:
21 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
22 (gl_object_editor_set_bc_style), (gl_object_editor_set_bc_color):
23 * src/object-editor-data-page.c:
24 (gl_object_editor_prepare_data_page), (gl_object_editor_set_data):
25 * src/object-editor-edit-page.c:
26 (gl_object_editor_prepare_edit_page):
27 * src/object-editor-fill-page.c:
28 (gl_object_editor_prepare_fill_page),
29 (gl_object_editor_set_fill_color):
30 * src/object-editor-image-page.c:
31 (gl_object_editor_prepare_image_page),
32 (gl_object_editor_set_image):
33 * src/object-editor-line-page.c:
34 (gl_object_editor_prepare_line_page),
35 (gl_object_editor_set_line_color):
36 * src/object-editor-lsize-page.c:
37 (gl_object_editor_prepare_lsize_page):
38 * src/object-editor-position-page.c:
39 (gl_object_editor_prepare_position_page):
40 * src/object-editor-shadow-page.c:
41 (gl_object_editor_prepare_shadow_page),
42 (gl_object_editor_set_shadow_color):
43 * src/object-editor-size-page.c:
44 (gl_object_editor_prepare_size_page):
45 * src/object-editor-text-page.c:
46 (gl_object_editor_prepare_text_page),
47 (gl_object_editor_set_text_color):
48 * src/object-editor.c: (gl_object_editor_init),
49 (gl_object_editor_set_key_names):
50 * src/prefs-dialog.c: (gl_prefs_dialog_construct),
51 (construct_locale_page), (construct_object_page):
52 * src/prefs-model.c: (gl_prefs_model_save_settings),
53 (gl_prefs_model_load_settings):
54 * src/print-op-dialog.c: (create_custom_widget_cb):
55 * src/template-designer.c: (construct_start_page),
56 (construct_name_page), (construct_pg_size_page),
57 (construct_shape_page), (construct_rect_size_page),
58 (construct_round_size_page), (construct_cd_size_page),
59 (construct_nlayouts_page), (construct_layout_page),
60 (construct_finish_page):
61 * src/ui-property-bar.c: (gl_ui_property_bar_construct):
62 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
63 (gl_wdgt_media_select_set_filter_parameters),
64 (get_label_size_desc):
65 * src/window.c: (gl_window_new_from_file):
66 * src/xml-label-04.c: (xml04_parse_text_props):
67 * src/xml-label.c: (xml_parse_object_text),
68 (xml_parse_toplevel_span), (xml_create_object_text),
69 (xml_create_toplevel_span):
70 Reconciled all references to old utils module with new domain
71 specific utilities modules.
73 2009-09-22 Jim Evins <evins@snaught.com>
76 Include all (src/*.[ch]) source files.
77 * data/builder/merge-properties-dialog.builder:
78 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
79 (gl_merge_properties_dialog_construct), (type_changed_cb):
80 - OK button now has default focus.
81 - Some formatting cleanup.
83 2009-09-21 Jim Evins <evins@snaught.com>
86 * data/builder/Makefile.am:
87 * data/builder/new-label-dialog.builder:
88 Removed trivial builder file for new label dialog.
89 * data/builder/wdgt-media-select.builder:
90 Changed focus behavior of widgets.
91 * src/new-label-dialog.c: (gl_new_label_dialog_init),
92 (gl_new_label_dialog_construct):
93 - Removed use of trivial builder file -- populate explicitely.
94 - Moved population code to init.
95 - OK button now has default focus.
96 - Some formatting cleanup.
98 2009-09-19 Jim Evins <evins@snaught.com>
101 Updated to GPL3 text.
102 * COPYING-LIBGLABELS:
103 Updated to LGPL3 text.
105 New MIT/X license file for templates subdirectory.
106 * COPYING.README_FIRST:
107 Updated licensing information.
108 * templates/Makefile.am:
109 * templates/avery-iso-templates.xml:
110 * templates/avery-other-templates.xml:
111 * templates/avery-us-templates.xml:
112 * templates/brother-other-templates.xml:
113 * templates/categories.xml:
114 * templates/dymo-other-templates.xml:
115 * templates/glabels-2.2.dtd:
116 * templates/misc-iso-templates.xml:
117 * templates/misc-other-templates.xml:
118 * templates/misc-us-templates.xml:
119 * templates/paper-sizes.xml:
120 * templates/zweckform-iso-templates.xml:
121 - Added MIT/X license notice to database files.
122 - Moved from data subdirectory.
127 Updated to reflect above move.
129 2009-09-19 Jim Evins <evins@snaught.com>
131 * libglabels/category.c:
132 * libglabels/category.h:
135 * libglabels/enums.h:
136 * libglabels/libglabels-private.h:
137 * libglabels/libglabels.h:
138 * libglabels/paper.c:
139 * libglabels/paper.h:
142 * libglabels/template.c:
143 * libglabels/template.h:
144 * libglabels/xml-category.c:
145 * libglabels/xml-category.h:
146 * libglabels/xml-paper.c:
147 * libglabels/xml-paper.h:
148 * libglabels/xml-template.c:
149 * libglabels/xml-template.h:
152 - Cleaned up GTK/GLIB includes.
153 - Updated license notification to LGPL3+.
155 2009-09-18 Jim Evins <evins@snaught.com>
159 * src/mini-preview.h:
160 * src/mini-preview.c: (gl_mini_preview_class_init),
161 (gl_mini_preview_finalize), (gl_mini_preview_set_by_name),
162 (gl_mini_preview_highlight_range), (gl_mini_preview_set_label),
163 (gl_mini_preview_set_page), (gl_mini_preview_set_n_sheets),
164 (gl_mini_preview_set_n_copies), (gl_mini_preview_set_first),
165 (gl_mini_preview_set_last), (gl_mini_preview_set_collate_flag),
166 (gl_mini_preview_set_outline_flag),
167 (gl_mini_preview_set_reverse_flag),
168 (gl_mini_preview_set_crop_marks_flag), (button_release_event_cb),
169 (expose_event_cb), (redraw), (draw), (draw_labels),
171 Added rich preview capability to mini preview.
172 * src/print-op-dialog.c: (create_custom_widget_cb),
173 (simple_sheets_radio_cb), (simple_first_spin_cb),
174 (simple_last_spin_cb), (preview_pressed_cb), (preview_released_cb),
175 (merge_spin_cb), (merge_collate_check_cb), (preview_clicked_cb),
177 Use new rich preview capability of mini preview in print dialog.
179 2009-09-17 Jim Evins <evins@snaught.com>
181 * src/stock.c: (add_icons), (add_button_icon):
182 Use proper free function for GtkIconSource (gtk_icon_source_free() not g_free()).
183 Patch provided by Christian Persch <chpe@gnome.org>.
185 2009-09-17 Jim Evins <evins@snaught.com>
187 * libglabels/category.h:
189 * libglabels/paper.h:
190 * libglabels/template.h:
191 * libglabels/xml-category.h:
192 * libglabels/xml-paper.h:
194 Cleaned up GTK/GLIB includes.
195 * src/bc-gnubarcode.c:
196 * src/bc-gnubarcode.h:
205 * src/cairo-ellipse-path.c:
206 * src/cairo-ellipse-path.h:
207 * src/cairo-label-path.c:
208 * src/cairo-label-path.h:
209 * src/cairo-markup-path.c:
210 * src/cairo-markup-path.h:
211 * src/color-combo-button.c:
212 * src/color-combo-button.h:
213 * src/color-combo-color-menu-item.c:
214 * src/color-combo-color-menu-item.h:
215 * src/color-combo-history.c:
216 * src/color-combo-menu.c:
217 * src/color-combo-menu.h:
220 * src/color-swatch.c:
221 * src/color-swatch.h:
224 * src/critical-error-handler.c:
225 * src/critical-error-handler.h:
230 * src/font-combo-menu-item.c:
231 * src/font-combo-menu-item.h:
232 * src/font-combo-menu.c:
233 * src/font-combo-menu.h:
239 * src/glabels-batch.c:
242 * src/label-barcode.c:
243 * src/label-barcode.h:
246 * src/label-ellipse.c:
247 * src/label-ellipse.h:
252 * src/label-object.c:
253 * src/label-object.h:
258 * src/merge-evolution.c:
259 * src/merge-evolution.h:
262 * src/merge-properties-dialog.c:
263 * src/merge-properties-dialog.h:
270 * src/mini-label-preview.c:
271 * src/mini-label-preview.h:
272 * src/mini-preview-pixbuf-cache.c:
273 * src/mini-preview-pixbuf-cache.h:
274 * src/mini-preview-pixbuf.c:
275 * src/mini-preview-pixbuf.h:
276 * src/mini-preview.c:
277 * src/new-label-dialog.c:
278 * src/new-label-dialog.h:
279 * src/object-editor-bc-page.c:
280 * src/object-editor-data-page.c:
281 * src/object-editor-fill-page.c:
282 * src/object-editor-image-page.c:
283 * src/object-editor-line-page.c:
284 * src/object-editor-lsize-page.c:
285 * src/object-editor-position-page.c:
286 * src/object-editor-private.h:
287 * src/object-editor-shadow-page.c:
288 * src/object-editor-size-page.c:
289 * src/object-editor-text-page.c:
290 * src/object-editor.c:
291 * src/object-editor.h:
292 * src/pixbuf-cache.c:
293 * src/pixbuf-cache.h:
294 * src/prefs-dialog.c:
295 * src/prefs-dialog.h:
300 * src/print-op-dialog.c:
307 * src/rotate-label-button.c:
308 * src/rotate-label-button.h:
311 * src/template-designer.c:
312 * src/template-designer.h:
317 * src/ui-property-bar.c:
318 * src/ui-property-bar.h:
327 * src/view-barcode.c:
328 * src/view-barcode.h:
331 * src/view-ellipse.c:
332 * src/view-ellipse.h:
343 * src/warning-handler.c:
344 * src/warning-handler.h:
345 * src/wdgt-chain-button.c:
346 * src/wdgt-chain-button.h:
347 * src/wdgt-media-select.c:
348 * src/wdgt-media-select.h:
349 * src/wdgt-merge-menu.c:
350 * src/wdgt-merge-menu.h:
353 * src/xml-label-04.c:
354 * src/xml-label-04.h:
357 Cleaned up GTK/GLIB includes.
358 Updated remainder of notices to GPL3+.
359 Simple formatting cleanup.
361 2009-09-13 Jim Evins <evins@snaught.com>
363 Refactored print operation subsystem.
367 Basic GtkPrintOperation based class. Does not instantiate
368 custom widgets, so it can be used by glabels-batch without
369 the additional overhead.
370 * src/print-op-dialog.c:
371 * src/print-op-dialog.h:
372 New object derived from glPrintOp. This one is intended
373 to be used as a dialog and installs custom widgets.
374 glWdgtPrintCopies and glWdgtPrintMerge have been merged
376 * src/wdgt-print-copies.c:
377 * src/wdgt-print-copies.h:
378 * src/wdgt-print-merge.c:
379 * src/wdgt-print-merge.h:
382 Modified to reflect above additions and deletions.
383 * src/mini-preview.c: (gl_mini_preview_construct),
384 (gl_mini_preview_set_template), (set_transform_and_get_scale),
385 (button_press_event_cb), (motion_notify_event_cb), (draw):
386 Now scales with allocation.
387 * src/glabels-batch.c: (main):
388 * src/template-designer.c: (print_test_cb):
389 * src/ui-commands.c: (gl_ui_cmd_file_print):
390 Use above modifications.
391 * data/builder/print-op-dialog-custom-widget.builder:
392 New builder file for glPrintOpDialog custom widgets.
393 * data/builder/print-custom-widget.builder:
395 * data/builder/Makefile.am:
396 Modified to reflect above addition and deletion.
398 2009-09-10 Jim Evins <evins@snaught.com>
401 * src/mini-label-preview.c:
402 * src/mini-label-preview.h:
403 Created new glMiniLabelPreview widget to support glRotateLabelButton.
404 * src/rotate-label-button.c:
405 * src/rotate-label-button.h:
406 Renamed glWdgtRotateLabel to glRotateLabelButton.
407 * src/new-label-dialog.c: (gl_new_label_dialog_construct),
408 (template_changed_cb), (gl_new_label_dialog_get_rotate_state),
409 (gl_new_label_dialog_set_rotate_state):
410 Propogated above renaming.
411 * src/mini-preview.c: (gl_mini_preview_set_template), (draw),
412 (draw_shadow), (draw_paper), (draw_labels):
413 Use GtkStyle for colors instead of hardcoded ones.
415 2009-09-09 Jim Evins <evins@snaught.com>
420 * src/stock-pixmaps/Makefile.am:
421 * qrencode-3.1.0/Makefile.am
422 * data/desktop/glabels.desktop.in:
423 * docs/libglabels/libglabels-decl-list.txt:
424 Various build system fixes and cleanup.
426 2009-09-08 Jim Evins <evins@snaught.com>
428 * src/font-util.c: (gl_font_util_validate_family):
430 Added gl_font_util_validate_family().
431 * src/font-combo.c: (gl_font_combo_class_init),
432 (gl_font_combo_new), (gl_font_combo_set_family):
433 Use gl_font_util_validate_family() when setting family.
434 * src/label-text.c: (set_font_family):
435 * src/prefs-dialog.c: (construct_object_page),
436 (update_object_page_from_prefs):
437 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
438 (reset_to_default_properties):
439 * src/object-editor-text-page.c:
440 (gl_object_editor_prepare_text_page),
441 (gl_object_editor_set_font_family):
442 Removed code obsoleted by the addition of gl_font_util_validate_family().
443 * src/color-swatch.c: (gl_color_swatch_class_init), (style_set_cb),
445 * src/font-sample.c: (gl_font_sample_class_init), (style_set_cb),
447 Added handler for style_set event.
448 * src/color-combo-button.c: (gl_color_combo_button_class_init):
449 * src/color-combo-color-menu-item.c:
450 (gl_color_combo_color_menu_item_class_init):
451 * src/color-combo-history.c: (gl_color_combo_history_class_init):
452 * src/color-combo-menu.c: (map_event_cb):
453 * src/color-combo.c: (gl_color_combo_class_init),
454 (gl_color_combo_new):
455 * src/font-combo-menu-item.c: (gl_font_combo_menu_item_class_init):
456 * src/font-combo-menu.c: (gl_font_combo_menu_class_init):
457 * src/wdgt-rotate-label.c: (create_pixbuf):
458 Various cleanups -- mostly removing unused variables.
460 2009-09-07 Jim Evins <evins@snaught.com>
462 Created new glFontCombo widget family subsystem + minor refinements to glColorCombo
465 * src/color-combo-button.c:
466 * src/color-combo-button.h:
467 Renamed ColorButton to ColorComboButton.
469 Added GL_COLOR_WHITE macro.
470 * src/color-combo.c: (gl_color_combo_init):
475 * src/font-combo-menu.c:
476 * src/font-combo-menu.h:
477 * src/font-combo-menu-item.c:
478 * src/font-combo-menu-item.h:
483 New FontCombo subsystem.
486 Moved font functions to font-util.[ch].
487 * data/builder/object-editor.builder:
488 * data/builder/prefs-dialog.builder:
489 * data/builder/property-bar.builder:
490 * src/label-text.c: (set_font_family):
491 * src/object-editor-private.h:
492 * src/object-editor-text-page.c:
493 (gl_object_editor_prepare_text_page),
494 (gl_object_editor_set_font_family),
495 (gl_object_editor_get_font_family):
496 * src/prefs-dialog.c: (construct_object_page),
497 (update_object_page_from_prefs), (update_prefs_from_object_page):
498 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
499 (reset_to_default_properties), (update_text_properties),
500 (update_fill_color), (update_line_color), (font_family_changed_cb),
501 (text_color_changed_cb), (fill_color_changed_cb),
502 (line_color_changed_cb):
503 Incorporated new FontCombo subsystem.
505 Reconciled with above changes/additions.
507 2009-09-06 Jim Evins <evins@snaught.com>
509 * src/color-button.c: (gl_color_button_finalize):
510 Unreference menu in finalize.
512 2009-09-06 Jim Evins <evins@snaught.com>
514 Some major refinements to the glColorCombo family of widgets.
517 * src/color-button.c:
518 * src/color-button.h:
519 New widget: glColorButton. This widget is a button that applies
520 the currently selected color with a ColorCombo type dropdown button
521 to change that selected color. This is basically the old
523 * src/color-combo.c: (gl_color_combo_init),
524 (gl_color_combo_finalize), (gl_color_combo_new),
525 (button_press_event_cb), (menu_color_changed_cb),
526 (menu_selection_done_cb):
528 The glColorCombo widget has been modified to be a single button
529 that is only used to change the selected color.
530 * src/color-swatch.c: (gl_color_swatch_init), (expose_event_cb):
531 Draw on parent containers window to allow an effective
533 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
534 * src/object-editor-fill-page.c:
535 (gl_object_editor_prepare_fill_page):
536 * src/object-editor-line-page.c:
537 (gl_object_editor_prepare_line_page):
538 * src/object-editor-shadow-page.c:
539 (gl_object_editor_prepare_shadow_page):
540 * src/object-editor-text-page.c:
541 (gl_object_editor_prepare_text_page):
542 * src/prefs-dialog.c: (construct_object_page):
543 Change how ColorCombos are packed so that they don't
545 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
546 (reset_to_default_properties), (update_text_properties),
547 (update_fill_color), (update_line_color), (text_color_changed_cb),
548 (fill_color_changed_cb), (line_color_changed_cb),
549 (set_doc_items_sensitive), (set_text_items_sensitive),
550 (set_fill_items_sensitive), (set_line_color_items_sensitive):
551 The property bar now uses the new glColorButton instead of
554 2009-09-02 Jim Evins <evins@snaught.com>
557 * src/wdgt-mini-preview.c:
558 * src/wdgt-mini-preview.h:
559 * src/mini-preview.h:
560 * src/mini-preview.c:
561 - Renamed WdgtMiniPreview to MiniPreview.
563 - Modified to draw to parent window to be effectively transparent.
564 - Updated license notification to gpl3+.
565 * src/template-designer.c: (construct_layout_page),
566 (layout_page_prepare_cb), (layout_page_changed_cb):
567 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct),
568 (sheets_radio_cb), (first_spin_cb), (last_spin_cb),
570 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct),
571 (spin_cb), (preview_clicked), (gl_wdgt_print_merge_set_copies):
572 - Reconciled with rename above.
574 2009-09-01 Jim Evins <evins@snaught.com>
576 * data/builder/object-editor.builder:
577 Fixed errant expansion of tab.
578 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
579 * src/bc-postnet.c: (gl_barcode_postnet_new):
580 * src/bc.c: (id_to_index), (name_to_index):
581 * src/label-barcode.c: (gl_label_barcode_set_props):
582 * src/label-text.c: (set_font_family):
583 * src/merge-properties-dialog.c:
584 (gl_merge_properties_dialog_construct):
585 * src/merge.c: (gl_merge_description_to_name):
586 * src/new-label-dialog.c:
587 * src/object-editor-edit-page.c:
588 * src/object-editor-image-page.c: (update_preview_cb):
589 * src/object-editor-lsize-page.c:
590 * src/object-editor-position-page.c:
591 * src/object-editor-size-page.c:
592 * src/object-editor.c: (gl_object_editor_new):
593 * src/prefs-dialog.c: (update_locale_page_from_prefs):
594 * src/prefs-model.c: (string_to_units):
595 * src/print-op.c: (create_custom_widget_cb):
596 * src/template-designer.c: (gl_template_designer_init),
597 (pg_size_page_changed_cb), (build_template):
598 * src/ui-commands.c: (gl_ui_cmd_help_about):
599 * src/xml-label.c: (xml_parse_pixdata):
600 Fixed various deprecations as of Gtk-2.16.
602 2009-08-31 Jim Evins <evins@snaught.com>
605 Updated french translation (Claude Paroz)
607 2009-08-31 Jim Evins <evins@snaught.com>
609 * data/builder/property-bar.builder:
610 Make sure event box does not obscure tool bar background.
612 * src/color-swatch.c:
613 * src/color-swatch.h:
614 New color swatch widget.
615 * src/color-combo-color-menu-item.c:
616 (gl_color_combo_color_menu_item_init),
617 (gl_color_combo_color_menu_item_new),
618 (gl_color_combo_color_menu_item_set_color):
619 * src/color-combo.c: (gl_color_combo_init),
620 (gl_color_combo_finalize), (gl_color_combo_new),
621 (gl_color_combo_set_color), (menu_color_changed_cb):
622 Updated to use new color swatch widget.
624 2009-08-26 Jim Evins <evins@snaught.com>
627 Explicitely mark file types. Removed unneeded file from
630 2009-08-23 Jim Evins <evins@snaught.com>
632 * data/builder/Makefile.am:
633 * data/builder/merge-properties-dialog.builder:
634 * data/builder/merge-properties-dialog.glade:
635 * data/builder/new-label-dialog.builder:
636 * data/builder/new-label-dialog.glade:
637 * data/builder/object-editor.builder:
638 * data/builder/object-editor.glade:
639 * data/builder/prefs-dialog.builder:
640 * data/builder/prefs-dialog.glade:
641 * data/builder/print-custom-widget.builder:
642 * data/builder/print-custom-widget.glade:
643 * data/builder/property-bar.builder:
644 * data/builder/property-bar.glade:
645 * data/builder/template-designer.builder:
646 * data/builder/template-designer.glade:
647 * data/builder/wdgt-media-select.builder:
648 * data/builder/wdgt-media-select.glade:
650 * src/merge-properties-dialog.c:
651 (gl_merge_properties_dialog_finalize),
652 (gl_merge_properties_dialog_construct):
653 * src/new-label-dialog.c: (gl_new_label_dialog_finalize),
654 (gl_new_label_dialog_construct):
655 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
656 * src/object-editor-data-page.c:
657 (gl_object_editor_prepare_data_page):
658 * src/object-editor-edit-page.c:
659 (gl_object_editor_prepare_edit_page):
660 * src/object-editor-fill-page.c:
661 (gl_object_editor_prepare_fill_page):
662 * src/object-editor-image-page.c:
663 (gl_object_editor_prepare_image_page):
664 * src/object-editor-line-page.c:
665 (gl_object_editor_prepare_line_page):
666 * src/object-editor-lsize-page.c:
667 (gl_object_editor_prepare_lsize_page):
668 * src/object-editor-position-page.c:
669 (gl_object_editor_prepare_position_page):
670 * src/object-editor-private.h:
671 * src/object-editor-shadow-page.c:
672 (gl_object_editor_prepare_shadow_page):
673 * src/object-editor-size-page.c:
674 (gl_object_editor_prepare_size_page):
675 * src/object-editor-text-page.c:
676 (gl_object_editor_prepare_text_page):
677 * src/object-editor.c: (gl_object_editor_init),
678 (gl_object_editor_finalize):
679 * src/prefs-dialog.c: (gl_prefs_dialog_init),
680 (gl_prefs_dialog_finalize), (gl_prefs_dialog_construct),
681 (construct_locale_page), (construct_object_page):
682 * src/print-op.c: (gl_print_op_finalize),
683 (gl_print_op_set_settings), (create_custom_widget_cb):
684 * src/template-designer.c: (gl_template_designer_init),
685 (gl_template_designer_finalize), (construct_start_page),
686 (construct_name_page), (construct_pg_size_page),
687 (construct_shape_page), (construct_rect_size_page),
688 (construct_round_size_page), (construct_cd_size_page),
689 (construct_nlayouts_page), (construct_layout_page),
690 (construct_finish_page):
691 * src/ui-property-bar.c: (gl_ui_property_bar_finalize),
692 (gl_ui_property_bar_construct):
693 * src/wdgt-media-select.c: (gl_wdgt_media_select_finalize),
694 (gl_wdgt_media_select_construct):
695 Builder files no longer built from glade files. Also did some
696 cleanup on formatting and update license notifications to GPL3+.
698 2009-08-13 Jim Evins <evins@snaught.com>
700 * src/color-combo-color-menu-item.c:
701 (gl_color_combo_color_menu_item_init),
702 (gl_color_combo_color_menu_item_new),
703 (gl_color_combo_color_menu_item_set_color):
704 Explicitly request size of menu item and enlarge color swatch.
706 2009-08-12 Jim Evins <evins@snaught.com>
708 * src/label-text.c: (buffer_changed_cb), (draw_object),
709 (draw_shadow), (draw_text_real):
711 Moved common code from draw_object() and draw_shadow() to
712 draw_text_real(). Also cleaned up formatting and updated
713 license notification to GPL3+.
715 2009-07-29 Alexandre Prokoudine <alexandre.prokoudine@gmail.com>
717 * po/ru.po: Updated and fixed Russian translation
719 2009-07-26 Jim Evins <evins@snaught.com>
722 * COPYING.README_FIRST:
726 Added 3rd party qrencode library.
728 * src/bc-iec18004.c: (gl_barcode_iec18004_new), (render_iec18004):
731 Added IEC18004 (QRCode) 2 dimensional barcode backend.
732 Patch provided by Daniel Mueller <daniel@danm.de>.
734 2009-07-25 Jim Evins <evins@snaught.com>
736 * src/xml-label.c: (gl_xml_label_open):
737 Relax limits when parsing file. Allows large embedded image
740 2009-05-19 Jim Evins <evins@snaught.com>
744 Moved translation list from configure.in to po/LINGUAS.
746 2009-05-19 Jim Evins <evins@snaught.com>
750 New Chinese translation (Careon <zzbusagain@yahoo.com.cn>).
752 Added above translation to acknowledgements.
754 2009-05-18 Jim Evins <evins@snaught.com>
756 * src/prefs-model.c: (gl_prefs_model_load_settings):
757 Make an educated guess at locale settings when run for the
760 2009-05-17 Jim Evins <evins@snaught.com>
763 * help/glabels.omf.in:
764 Adding missing files from last checkin.
766 2009-05-17 Jim Evins <evins@snaught.com>
770 * help/C/glabels-C.omf:
771 * help/C/glabels.xml:
774 Updated german translation, gnome-doc-utils support and
775 german translation of glabels manual (Mario Blättermann).
777 2009-05-01 Jim Evins <evins@snaught.com>
782 Added catalan translation (David Planella).
784 2009-04-29 Jim Evins <evins@snaught.com>
786 * data/templates/avery-iso-templates.xml:
787 * data/templates/misc-iso-templates.xml:
788 * data/templates/misc-us-templates.xml:
789 Caught up on user submitted templates.
791 Acknowledgements for above templates.
793 2009-04-29 Jim Evins <evins@snaught.com>
797 Updated german translation (Mario Blättermann).
799 2009-03-23 Jim Evins <evins@snaught.com>
801 * src/glabels-batch.c: (main):
802 * src/glabels.c: (main):
803 Tidy up help option output.
805 2009-02-28 Jim Evins <evins@snaught.com>
810 Deleted base64 module.
811 * src/xml-label.c: (xml_parse_pixdata), (xml_create_pixdata):
812 Use base64 encode/decode from glib.
814 2009-02-22 Jim Evins <evins@snaught.com>
816 * src/merge-properties-dialog.h:
817 * src/new-label-dialog.h:
818 * src/object-editor.h:
819 * src/prefs-dialog.h:
821 * src/template-designer.h:
822 Corrected cut&paste errors.
824 2009-02-21 JimEvins <evins@snaught.com>
826 * src/prefs-model.c: (gl_prefs_model_save_settings),
827 (gl_prefs_model_load_settings):
830 * src/ui-property-bar.c:
831 * src/ui.c: (view_ui_item_toggled_cb),
832 (set_app_main_toolbar_style), (set_app_drawing_toolbar_style):
833 Removed tooltip toggling capability, which wasn't working
836 2009-02-21 JimEvins <evins@snaught.com>
840 * data/builder/object-editor.glade:
841 * data/builder/prefs-dialog.glade:
842 * data/builder/property-bar.glade:
843 * data/builder/template-designer.glade:
845 * src/color-combo-color-menu-item.c:
846 * src/color-combo-color-menu-item.h:
847 * src/color-combo-menu.h:
848 * src/glabels-batch.c: (main):
849 * src/glabels.c: (main):
850 * src/merge-properties-dialog.h:
851 * src/new-label-dialog.h:
852 * src/object-editor-lsize-page.c:
853 (gl_object_editor_prepare_lsize_page), (lsize_prefs_changed_cb):
854 * src/object-editor.h:
855 * src/prefs-dialog.h:
857 * src/template-designer.h:
858 * src/ui-commands.c: (gl_ui_cmd_view_property_bar_tips_toggle),
859 (gl_ui_cmd_help_contents), (gl_ui_cmd_help_about):
860 * src/ui-property-bar.c:
861 * src/ui-property-bar.h:
862 * src/ui-sidebar.c: (gl_ui_sidebar_construct),
863 (selection_changed_cb):
866 * src/wdgt-media-select.h:
867 * src/wdgt-merge-menu.h:
868 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_class_init):
869 * src/wdgt-mini-preview.h:
870 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
871 * src/wdgt-print-copies.h:
872 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
873 * src/wdgt-print-merge.h:
874 * src/wdgt-rotate-label.h:
876 Removed final dependencies on libgnome and libgnomeui.
877 Removed all currently deprecated symbols as of GTK 2.14.
879 2009-01-07 Jim Evins <evins@snaught.com>
881 * src/critical-error-handler.c: (critical_error_handler):
882 * src/ui-commands.c: (gl_ui_cmd_help_contents):
883 * src/warning-handler.c: (warning_handler):
884 * src/view.c: (selection_received_cb):
885 Compile without warning with additional CFLAGS of
886 -O1 -Wall -Wformat=2.
888 2009-01-02 Jim Evins <evins@snaught.com>
890 * COPYING.README_FIRST:
893 2008-12-27 Jim Evins <evins@snaught.com>
895 * data/templates/avery-iso-templates.xml:
896 * data/templates/avery-other-templates.xml:
897 * data/templates/avery-us-templates.xml:
898 * data/templates/brother-other-templates.xml:
899 * data/templates/misc-iso-templates.xml:
900 * data/templates/misc-other-templates.xml:
901 * data/templates/zweckform-iso-templates.xml:
902 Make sure all descriptions are marked as translatable.
904 2008-12-27 Jim Evins <evins@snaught.com>
907 Updated german translation (Mario Blättermann)
909 Updated credits to reflect above translation.
910 * data/builder/object-editor.glade:
911 * data/builder/prefs-dialog.glade:
912 * data/builder/template-designer.glade:
913 Removed "translatable" attribute from whitespace strings,
914 which are used only to help layout.
916 2008-12-21 Jim Evins <evins@snaught.com>
918 * data/templates/avery-us-templates.xml:
919 * data/templates/misc-iso-templates.xml:
920 A couple of recent template submissions.
922 Acknowledgements for above templates.
924 2008-12-21 Jim Evins <evins@snaught.com>
926 * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
927 Don't check for handles on aggregate selections.
929 2008-12-20 Jim Evins <evins@snaught.com>
932 Updated prerequisite library versions required.
934 2008-12-18 Jim Evins <evins@snaught.com>
936 * src/view.c: (selection_received_cb):
937 Fixed paste bug that caused a duplicate phantom view_object to be created for
938 each new label_object. This is because the view now (as of r673) the view
939 monitiors the label for new objects and creates view_objects automatically.
941 2008-12-14 Jim Evins <evins@snaught.com>
943 * src/ui.c: (gl_ui_new):
944 Bug #2395628. Fixed i18n for application shell.
946 Bug #2395628. Reconciled POTFILES.in with current files.
948 2008-12-14 Jim Evins <evins@snaught.com>
951 Bug #2316013. Added PKG_PROG_PKG_CONFIG.
953 2008-11-15 Jim Evins <evins@snaught.com>
955 * libglabels/db.c: (lgl_db_register_template):
956 * libglabels/xml-template.c:
957 (lgl_xml_template_parse_template_node):
958 * src/glabels-batch.c:
959 * src/view-text.c: (gl_view_text_create_button_press_event):
960 Fixed several issues such as possible use of uninitialized variables found with "-O1 -Wall".
962 2008-11-09 Jim Evins <evins@snaught.com>
964 * data/templates/misc-iso-templates.xml:
965 Another user submitted template.
967 2008-10-27 Jim Evins <evins@snaught.com>
969 * data/templates/avery-us-templates.xml:
970 * data/templates/misc-iso-templates.xml:
971 * data/templates/zweckform-iso-templates.xml:
972 Caught up on user submitted templates.
974 Acknowledgements for above templates.
976 2008-10-23 Jim Evins <evins@snaught.com>
978 * src/label-text.c: (set_font_family):
979 * src/object-editor-text-page.c:
980 (gl_object_editor_prepare_text_page),
981 (gl_object_editor_set_font_family):
982 * src/prefs-dialog.c: (construct_object_page),
983 (update_object_page_from_prefs):
984 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
985 (reset_to_default_properties):
986 * src/util.c: (gl_util_get_font_family_list):
988 Bug #1902275 and Bug #2186214. Cache font list so that it is not re-created
989 everytime the list is requested.
990 * src/object-editor-text-page.c:
991 (gl_object_editor_set_font_family):
992 Don't change font-family if it hasn't actually changed.
994 2008-10-19 Jim Evins <evins@snaught.com>
996 * data/builder/object-editor.glade:
997 Some tweaking of builder/glade widgets.
999 2008-10-18 Jim Evins <evins@snaught.com>
1001 Migrated all use of libglade to GtkBuilder.
1003 * data/glade/Makefile.am:
1004 * data/glade/merge-properties-dialog.glade:
1005 * data/glade/new-label-dialog.glade:
1006 * data/glade/object-editor.glade:
1007 * data/glade/prefs-dialog.glade:
1008 * data/glade/print-custom-widget.glade:
1009 * data/glade/property-bar.glade:
1010 * data/glade/template-designer.glade:
1011 * data/glade/wdgt-media-select.glade:
1012 Removed data/glade directory.
1013 * data/builder/Makefile.am:
1014 * data/builder/merge-properties-dialog.glade:
1015 * data/builder/new-label-dialog.glade:
1016 * data/builder/object-editor.glade:
1017 * data/builder/prefs-dialog.glade:
1018 * data/builder/print-custom-widget.glade:
1019 * data/builder/property-bar.glade:
1020 * data/builder/template-designer.glade:
1021 * data/builder/wdgt-media-select.glade:
1022 Added data/builder directory.
1026 Change glade to builder.
1027 * src/merge-properties-dialog.c:
1028 (gl_merge_properties_dialog_finalize),
1029 (gl_merge_properties_dialog_construct):
1030 * src/new-label-dialog.c: (gl_new_label_dialog_finalize),
1031 (gl_new_label_dialog_construct):
1032 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
1033 * src/object-editor-data-page.c:
1034 (gl_object_editor_prepare_data_page):
1035 * src/object-editor-edit-page.c:
1036 (gl_object_editor_prepare_edit_page):
1037 * src/object-editor-fill-page.c:
1038 (gl_object_editor_prepare_fill_page):
1039 * src/object-editor-image-page.c:
1040 (gl_object_editor_prepare_image_page):
1041 * src/object-editor-line-page.c:
1042 (gl_object_editor_prepare_line_page):
1043 * src/object-editor-lsize-page.c:
1044 (gl_object_editor_prepare_lsize_page):
1045 * src/object-editor-position-page.c:
1046 (gl_object_editor_prepare_position_page):
1047 * src/object-editor-private.h:
1048 * src/object-editor-shadow-page.c:
1049 (gl_object_editor_prepare_shadow_page):
1050 * src/object-editor-size-page.c:
1051 (gl_object_editor_prepare_size_page):
1052 * src/object-editor-text-page.c:
1053 (gl_object_editor_prepare_text_page):
1054 * src/object-editor.c: (gl_object_editor_init):
1055 * src/prefs-dialog.c: (gl_prefs_dialog_init),
1056 (gl_prefs_dialog_construct), (construct_locale_page),
1057 (construct_object_page):
1058 * src/print-op.c: (gl_print_op_finalize),
1059 (create_custom_widget_cb):
1060 * src/template-designer.c: (gl_template_designer_class_init),
1061 (gl_template_designer_finalize), (gl_template_designer_construct),
1062 (construct_start_page), (construct_name_page),
1063 (construct_pg_size_page), (construct_shape_page),
1064 (construct_rect_size_page), (construct_round_size_page),
1065 (construct_cd_size_page), (construct_nlayouts_page),
1066 (construct_layout_page), (construct_finish_page):
1067 * src/template-designer.h:
1068 * src/ui-property-bar.c: (gl_ui_property_bar_init),
1069 (gl_ui_property_bar_finalize), (gl_ui_property_bar_new),
1070 (gl_ui_property_bar_construct), (reset_to_default_properties),
1071 (gl_ui_property_bar_set_view), (gl_ui_property_bar_set_tooltips),
1072 (update_text_properties), (update_fill_color), (update_line_color),
1073 (update_line_width), (selection_changed_cb),
1074 (font_family_changed_cb), (font_size_changed_cb),
1075 (text_color_changed_cb), (fill_color_changed_cb),
1076 (line_color_changed_cb), (line_width_changed_cb),
1077 (font_bold_toggled_cb), (font_italic_toggled_cb),
1078 (text_align_toggled_cb), (set_doc_items_sensitive),
1079 (set_text_items_sensitive), (set_fill_items_sensitive),
1080 (set_line_color_items_sensitive), (set_line_width_items_sensitive):
1081 * src/ui-property-bar.h:
1082 * src/util.c: (gl_util_get_builder_widgets):
1084 * src/wdgt-media-select.c: (gl_wdgt_media_select_finalize),
1085 (gl_wdgt_media_select_construct):
1086 Migration of glade to builder.
1088 New macros for color combo initialization.
1090 Added idea for internal merge database.
1091 * docs/libglabels/libglabels-undocumented.txt:
1092 * docs/libglabels/tmpl/paper.sgml:
1096 2008-10-12 Jim Evins <evins@snaught.com>
1098 * src/mygal/Makefile.am:
1099 * src/mygal/color-group.c:
1100 * src/mygal/color-group.h:
1101 * src/mygal/color-palette.c:
1102 * src/mygal/color-palette.h:
1103 * src/mygal/e-colors.c:
1104 * src/mygal/e-colors.h:
1105 * src/mygal/e-marshal.list:
1106 * src/mygal/e-util.h:
1107 * src/mygal/mygal-combo-box.c:
1108 * src/mygal/mygal-combo-box.h:
1109 * src/mygal/widget-color-combo.c:
1110 * src/mygal/widget-color-combo.h:
1114 * src/color-combo.c:
1115 * src/color-combo.h:
1116 * src/color-combo-color-menu-item.c:
1117 * src/color-combo-color-menu-item.h:
1118 * src/color-combo-history.c:
1119 * src/color-combo-history.h:
1120 * src/color-combo-menu.c:
1121 * src/color-combo-menu.h:
1126 Created new glColorCombo widget.
1127 * src/object-editor-bc-page.c:
1128 * src/object-editor-edit-page.c:
1129 * src/object-editor-fill-page.c:
1130 * src/object-editor-line-page.c:
1131 * src/object-editor-shadow-page.c:
1132 * src/object-editor-text-page.c:
1133 * src/object-editor.c:
1134 * src/prefs-dialog.c:
1135 * src/ui-property-bar.c:
1136 Replaced use of mygal color combo with new glColorCombo widget.
1138 2008-08-29 Jim Evins <evins@snaught.com>
1140 * src/file.c: (gl_file_open), (gl_file_save_as):
1141 Bug #2069668. Corrected button order in Open and "Save as"
1144 2008-08-17 Jim Evins <evins@snaught.com>
1146 * data/dtd/glabels-2.2.dtd:
1147 * data/templates/paper-sizes.xml:
1148 * libglabels/db.c: (lgl_db_init):
1149 * libglabels/paper.c: (lgl_paper_new), (lgl_paper_dup), (lgl_paper_free):
1150 * libglabels/paper.h:
1151 * libglabels/xml-paper.c: (lgl_xml_paper_parse_paper_node):
1152 * src/print-op.c: (set_page_size):
1153 Bug #2049431. Always explicitely set page size. Added pwg_size field (PWG 5101.1-2002
1154 size specification) to the libglabels paper database to allow the page size to be
1155 communicated to GtkPrintOp un-ambiguously.
1157 2008-07-25 Jim Evins <evins@snaught.com>
1159 * src/object-editor-size-page.c: (size_reset_cb),
1160 (gl_object_editor_set_max_size):
1161 Bug #1993550. Set size limits based on longest side of label.
1163 2008-07-19 Jim Evins <evins@snaught.com>
1166 * src/mygal/Makefile.am:
1167 Make sure libtool handles library dependencies for mygal
1170 2008-05-21 Jim Evins <evins@snaught.com>
1172 * src/glabels-batch.c: (main):
1173 Bug #1968653. Initialize prefs subsystem.
1175 2008-05-09 Jim Evins <evins@snaught.com>
1177 * data/glade/object-editor.glade:
1178 Bug #1959135. A couple of radio buttons somehow became
1181 2008-04-07 Jim Evins <evins@snaught.com>
1183 * src/wdgt-rotate-label.h:
1184 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_init),
1185 (gl_wdgt_rotate_label_new), (toggled_cb), (create_pixbuf),
1186 (gl_wdgt_rotate_label_get_state), (gl_wdgt_rotate_label_set_state),
1187 (gl_wdgt_rotate_label_set_template_name):
1188 Modified wdgt-rotate-label to better indicate the rotation choices.
1189 * data/glade/Makefile.am:
1190 * data/glade/wdgt-rotate-label.glade:
1191 Deleted wdgt-rotate-label.glade.
1193 2008-04-04 Jim Evins <evins@snaught.com>
1195 * data/templates/brother-other-templates.xml:
1196 Added categories to existing templates.
1197 * data/templates/misc-other-templates.xml:
1198 Moved dymo templates to their own file.
1199 * data/templates/Makefile.am:
1200 * data/templates/dymo-other-templates.xml:
1201 Additional dymo templates provided by Harald Welte <laforge@gnumonks.org>.
1203 Acknowledgement for above templates.
1205 2008-03-24 Jim Evins <evins@snaught.com>
1207 * src/xml-label.c: (xml_doc_to_label):
1208 Bug #1872584. Don't refuse to parse label file if namespace is
1209 unrecognized -- it may be from a newer version of glabels.
1211 2008-03-15 Jim Evins <evins@snaught.com>
1213 * data/templates/Makefile.am:
1214 * data/templates/brother-other-templates.xml:
1215 Added brother templates.
1216 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
1217 (gl_cairo_markup_margin_cd_path):
1218 * src/view.c: (draw_markup_layer):
1219 Fixed markup drawing errors when label is rotated.
1221 2008-03-03 Jim Evins <evins@snaught.com>
1225 Added korean translation provided by xein@naver.com.
1227 2008-02-21 Jim Evins <evins@snaught.com>
1230 Fixed typo that prevented "Save" from being deactivated when
1231 document is not modified.
1233 2008-02-18 Jim Evins <evins@snaught.com>
1235 * src/prefs-model.c: (gl_prefs_model_save_settings),
1236 (gl_prefs_model_load_settings):
1237 Set default units for file output.
1239 2008-02-18 Jim Evins <evins@snaught.com>
1241 * help/C/glabels.xml:
1242 Fixed example template.
1244 2008-02-16 Jim Evins <evins@snaught.com>
1247 * data/templates/avery-iso-templates.xml:
1248 * data/templates/avery-us-templates.xml:
1249 * data/templates/misc-iso-templates.xml:
1250 * data/templates/misc-us-templates.xml:
1251 Caught up on user submitted templates.
1253 2008-02-04 Jim Evins <evins@snaught.com>
1255 * src/view-image.c: (update_object_from_editor_cb):
1256 Bug #1886438. Don't update the image size unless it is actually
1257 triggered by a change in image source. The result of this bug
1258 was that any attempt to edit the size spinboxes, immediately
1261 2008-02-03 Jim Evins <evins@snaught.com>
1263 * src/label-image.c: (gl_label_image_class_init), (set_size):
1264 Enforce minimum size for images.
1266 2008-02-03 Jim Evins <evins@snaught.com>
1268 * src/object-editor-edit-page.c: (field_selected_cb):
1269 * src/object-editor-lsize-page.c: (gl_object_editor_set_max_lsize):
1270 * src/object-editor-private.h:
1271 * src/object-editor-shadow-page.c:
1272 (gl_object_editor_set_max_shadow_offset):
1273 * src/object-editor-size-page.c: (gl_object_editor_set_max_size):
1274 * src/object-editor.c: (gl_object_editor_finalize),
1275 (gl_object_editor_new), (gl_object_notebook_construct_valist),
1277 * src/object-editor.h:
1278 * src/ui-sidebar.c: (gl_ui_sidebar_construct):
1279 * src/view-barcode.c: (construct_properties_editor):
1280 * src/view-box.c: (construct_properties_editor):
1281 * src/view-ellipse.c: (construct_properties_editor):
1282 * src/view-image.c: (construct_properties_editor):
1283 * src/view-line.c: (construct_properties_editor):
1284 * src/view-object.c: (gl_view_object_finalize):
1285 * src/view-text.c: (construct_properties_editor),
1286 Move update_editor_from_label callback from individual view objects
1287 to the object editor, so that signals can be disconnected when
1288 object editor is finalized.
1289 * src/view-text.c: (gl_view_text_create_button_press_event):
1290 Fixed bug that caused multiple view objects to be created for a
1291 single text object. This bug would manifest itself as a crash
1292 when deleting multi-object selections which included text objects.
1294 2008-02-02 Jim Evins <evins@snaught.com>
1297 * src/wdgt-merge-menu.c:
1298 * src/wdgt-merge-menu.h:
1299 * src/debug.c: (gl_debug_init):
1302 New merge menu widget.
1303 * data/glade/object-editor.glade:
1304 * src/object-editor-private.h:
1305 * src/object-editor.c: (gl_object_editor_set_key_names):
1306 * src/object-editor-edit-page.c:
1307 (gl_object_editor_prepare_edit_page), (field_selected_cb),
1309 Simplified UI for inserting fields into text objects by launching
1310 a merge menu and directly inserting fields from the menu. No more
1311 selecting field in combobox, then pressing insert button.
1313 2008-01-31 Jim Evins <evins@snaught.com>
1315 * src/label-barcode.c: (draw_object):
1316 Fixed rendering problem when "Invalid data" is displayed when text
1317 object is lower in stacking order.
1319 2008-01-30 Jim Evins <evins@snaught.com>
1321 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
1322 Don't turn off cairo_hint_metrics. This causes serious issues with
1325 2008-01-29 Jim Evins <evins@snaught.com>
1327 * src/print-op.c: (gl_print_op_construct),
1328 (gl_print_op_construct_batch), (set_page_size):
1329 Explicitly set page size for "other" page sizes.
1331 2008-01-25 Jim Evins <evins@snaught.com>
1334 Fixed Code128C backend parameters.
1335 * src/label-barcode.c: (get_size):
1336 Bug #1766425. If barcode is not renderable with either
1337 input data or default data, use a default size. Also
1340 2008-01-16 Jim Evins <evins@snaught.com>
1342 * src/print.c: (print_label):
1343 Bug #1872568. Don't apply special transforms (rotate and
1344 mirror) to clipping region or outline.
1346 2008-01-01 Jim Evins <evins@snaught.com>
1349 Sort font lists alphabetically.
1351 2008-01-01 Jim Evins <evins@snaught.com>
1353 * src/merge-evolution.c:
1354 Do a case-insensitive sort.
1356 2008-01-01 Jim Evins <evins@snaught.com>
1358 * src/merge-evolution.c:
1359 Sort evolution by "file_under" field. Original patch provided
1360 by Peter Cherriman <glabels-devel2712@bubieyehyeh.me.uk> in
1363 Added acknowledgement for above patch.
1365 2008-01-01 Jim Evins <evins@snaught.com>
1370 Reconcile with 2.2 branch.
1373 2007-12-21 Jim Evins <evins@snaught.com>
1375 * COPYING.LIBGLABELS:
1376 * COPYING.README_FIRST:
1378 Updating license information to make more complete and understandable.
1380 2007-12-16 Jim Evins <evins@snaught.com>
1383 Updated version to 2.pre2.
1384 * help/C/glabels.xml:
1385 Updated documentation.
1386 * src/ui-commands.c: (gl_ui_cmd_help_about):
1387 Updated copyright string.
1389 2007-12-15 Jim Evins <evins@snaught.com>
1391 * data/glade/object-editor.glade:
1392 Removed any GtkTable that contained a GtkComboBox because the size of
1393 the combo box was not constrained properly. This sacrifices the nice
1394 orderly labels for combo boxes that don't extend beyond the edge of the
1397 2007-12-15 Jim Evins <evins@snaught.com>
1399 * libglabels/db.c: (lgl_db_lookup_template_from_name):
1400 * src/object-editor.c: (gl_object_editor_finalize):
1401 * src/wdgt-media-select.c: (gl_wdgt_media_select_finalize):
1402 Fixed several small memory leaks.
1404 2007-12-14 Jim Evins <evins@snaught.com>
1407 Optimize template search by name by using a GHashTable.
1408 * src/mini-preview-pixbuf-cache.c:
1409 * src/mini-preview-pixbuf-cache.h:
1410 Store one pixbuf per template, but use a key for each alias.
1411 * src/wdgt-media-select.c:
1412 Optimize loading of tree data, thus optimizing the "new label" dialog.
1414 2007-12-12 Jim Evins <evins@snaught.com>
1416 * data/templates/avery-us-templates.xml:
1417 More templates and aliases.
1419 2007-12-08 Jim Evins <evins@snaught.com>
1422 More prep for 2.1.5/2.2.0.
1424 2007-12-08 Jim Evins <evins@snaught.com>
1430 Preparation for 2.1.5.
1432 2007-12-08 Jim Evins <evins@snaught.com>
1434 * docs/libglabels/libglabels-decl-list.txt:
1435 * docs/libglabels/libglabels-docs.sgml:
1436 * docs/libglabels/libglabels-sections.txt:
1437 * docs/libglabels/libglabels-undocumented.txt:
1438 * docs/libglabels/tmpl/db.sgml:
1439 * docs/libglabels/tmpl/str.sgml:
1441 Documentation cleanup for libglabels.
1443 2007-11-29 Jim Evins <evins@snaught.com>
1447 Added lgl_db_does_template_name_exist().
1448 In lgl_db_lookup_template_from_name() substitute brand/part of new template from
1450 * src/prefs-model.c:
1451 Proof read recent templates -- make sure they still exist.
1452 * src/wdgt-media-select.c:
1453 Default to "search all templates" tab if no recent templates found.
1455 2007-11-28 Jim Evins <evins@snaught.com>
1457 * data/glade/wdgt-media-select.glade:
1458 * src/wdgt-media-select.c:
1459 Added tabbed notebook to allow selection of recent template versus searching the
1463 2007-11-26 Jim Evins <evins@snaught.com>
1465 * libglabels/Makefile.am:
1466 * libglabels/libglabels.h:
1469 * src/prefs-dialog.c:
1470 * src/prefs-model.c:
1471 * src/prefs-model.h:
1474 Added tracking of recently used templates.
1476 2007-11-20 Jim Evins <evins@snaught.com>
1478 * data/glade/template-designer.glade:
1479 * src/template-designer.c:
1480 Added warning icon when match brand and part match an existing template.
1482 2007-11-18 Jim Evins <evins@snaught.com>
1484 * libglabels/Makefile.am:
1487 Added lgl_str_utf8_casecmp().
1488 * libglabels/libglabels-private.h:
1489 Use lgl_str_utf8_casecmp() for UTF8_EQUAL macro -- do case insensitive comparisons.
1490 * libglabels/db.c: (lgl_db_get_brand_list):
1491 Use lgl_str_utf8_casecmp() to determine if we have seen brand before when building
1494 2007-11-18 Jim Evins <evins@snaught.com>
1496 * data/glade/template-designer.glade:
1497 * src/template-designer.c:
1498 Don't advance past name page, if brand and part match an existing template.
1500 2007-11-18 Jim Evins <evins@snaught.com>
1502 * libglabels/db.c: (lgl_db_register_template), (read_templates):
1503 When registering a new template, don't add to "User defined" category before
1504 writing to file. Add to "User defined" category when reading from "~/.glabels"
1505 directory instead. This will allow legacy templates (and manually created
1506 templates) to be automatically added to the "user defined" category.
1507 * libglabels/xml-template.c:
1508 (lgl_xml_template_create_template_node):
1509 Fixed typo/bug causing brand to be wrong.
1511 2007-11-16 Jim Evins <evins@snaught.com>
1515 Added return codes to lgl_db_register_template(). Added lgl_db_does_template_exist()
1516 function. Automatically create "User defined" category and add to all user
1517 registered templates.
1518 * libglabels/xml-template.c:
1519 * libglabels/xml-template.h:
1520 Return number of bytes written from lgl_xml_template_write_templates_to_file() and
1521 lgl_xml_template_write_template_to_file().
1522 * docs/libglabels/libglabels-decl-list.txt:
1523 * docs/libglabels/libglabels-sections.txt:
1524 * docs/libglabels/libglabels-undocumented.txt:
1525 * docs/libglabels/tmpl/db.sgml:
1526 * docs/libglabels/tmpl/xml-template.sgml:
1527 Update documentation to reflect above changes.
1529 2007-10-28 Jim Evins <evins@snaught.com>
1531 * libglabels/xml-template.c:
1532 Remove any leading white space from part #s when parsing old names.
1533 * src/mini-preview-pixbuf-cache.c:
1534 If name isn't in cache add it.
1536 2007-10-26 Jim Evins <evins@snaught.com>
1538 * libglabels/Makefile.am:
1539 * libglabels/category.c:
1540 * libglabels/category.h:
1543 * libglabels/libglabels-private.h:
1544 * libglabels/libglabels.h:
1545 * libglabels/paper.c:
1546 * libglabels/paper.h:
1547 * libglabels/template.c:
1548 * libglabels/template.h:
1549 * libglabels/xml-template.c:
1550 Another pass at screwing with the libglabels API. Moved all
1551 database related stuff to db.[ch].
1552 * docs/libglabels/libglabels-decl-list.txt:
1553 * docs/libglabels/libglabels-docs.sgml:
1554 * docs/libglabels/libglabels-sections.txt:
1555 * docs/libglabels/libglabels-undocumented.txt:
1556 * docs/libglabels/tmpl/category.sgml:
1557 * docs/libglabels/tmpl/db.sgml:
1558 * docs/libglabels/tmpl/init.sgml:
1559 * docs/libglabels/tmpl/libglabels-unused.sgml:
1560 * docs/libglabels/tmpl/paper.sgml:
1561 * docs/libglabels/tmpl/template-construction.sgml:
1562 * docs/libglabels/tmpl/template-db.sgml:
1563 * docs/libglabels/tmpl/template-misc.sgml:
1564 * docs/libglabels/tmpl/template-struct.sgml:
1565 * docs/libglabels/tmpl/template.sgml:
1566 Updated documentation to reflect above changes to libglabels API.
1568 * src/glabels-batch.c:
1570 * src/mini-preview-pixbuf-cache.c:
1571 * src/prefs-model.c:
1573 * src/template-designer.c:
1574 * src/wdgt-media-select.c:
1575 * src/wdgt-mini-preview.c:
1576 * src/wdgt-rotate-label.c:
1577 * src/xml-label-04.c:
1579 Reconciled usage with above libglabels API changes.
1581 2007-10-21 Jim Evins <evins@snaught.com>
1583 * data/glade/wdgt-media-select.glade:
1584 * src/wdgt-media-select.c:
1585 Added brand to filter settings.
1587 2007-10-21 Jim Evins <evins@snaught.com>
1589 * data/dtd/glabels-2.2.dtd:
1590 Forgot to replace Alias name attribute with brand and part attributes.
1591 * data/templates/avery-iso-templates.xml:
1592 * data/templates/avery-other-templates.xml:
1593 * data/templates/avery-us-templates.xml:
1594 * data/templates/misc-iso-templates.xml:
1595 * data/templates/misc-other-templates.xml:
1596 * data/templates/misc-us-templates.xml:
1597 * data/templates/zweckform-iso-templates.xml:
1598 Replaced all name attributes with brand/part attribute pairs.
1600 2007-10-20 Jim Evins <evins@snaught.com>
1602 * src/stock-pixmaps/*.png
1603 Updated icons to use Tango color palette.
1605 2007-10-20 Jim Evins <evins@snaught.com>
1607 * data/dtd/Makefile.am:
1608 * data/dtd/glabels-2.0.dtd:
1609 * data/dtd/glabels-2.2.dtd:
1610 Rename glabels-2.0.dtd to glabels-2.2.dtd. Added brand and part attributes to
1612 * libglabels/template.c:
1613 * libglabels/template.h:
1614 * libglabels/xml-template.c:
1616 Added brand and part attributes to template and alias structures and nodes.
1619 * src/mini-preview-pixbuf-cache.c:
1620 * src/template-designer.c:
1621 * src/wdgt-media-select.c:
1622 Use modified libglabels API.
1623 * docs/libglabels/libglabels-decl-list.txt:
1624 * docs/libglabels/libglabels-sections.txt:
1625 * docs/libglabels/libglabels-undocumented.txt:
1626 * docs/libglabels/tmpl/template-construction.sgml:
1627 * docs/libglabels/tmpl/template-db.sgml:
1628 * docs/libglabels/tmpl/template-struct.sgml:
1629 Update libglabels documentation to reflect above modifications.
1631 2007-10-14 Jim Evins <evins@snaught.com>
1633 * docs/libglabels/libglabels-decl-list.txt:
1634 * docs/libglabels/libglabels-sections.txt:
1635 * docs/libglabels/libglabels-undocumented.txt:
1636 * docs/libglabels/tmpl/category.sgml:
1637 * libglabels/category.c:
1638 * libglabels/category.h:
1639 Added lgl_category_get_id_list() and lgl_category_free_id_list() to have
1640 parity with paper functions.
1642 2007-10-12 Jim Evins <evins@snaught.com>
1644 * docs/libglabels/libglabels-decl-list.txt:
1645 * docs/libglabels/libglabels-sections.txt:
1646 * docs/libglabels/libglabels-undocumented.txt:
1647 * docs/libglabels/tmpl/category.sgml:
1648 * docs/libglabels/tmpl/enums.sgml:
1649 * docs/libglabels/tmpl/libglabels-unused.sgml:
1650 * docs/libglabels/tmpl/paper.sgml:
1651 * docs/libglabels/tmpl/template-struct.sgml:
1652 * libglabels/init.c:
1653 * libglabels/template.c:
1654 * libglabels/template.h:
1655 Another pass at fleshing out the libglabels documentation.
1656 * src/cairo-label-path.c:
1657 * src/cairo-markup-path.c:
1659 * src/mini-preview-pixbuf.c:
1663 * src/wdgt-media-select.c:
1664 * src/wdgt-mini-preview.c:
1665 * src/wdgt-print-copies.c:
1666 * src/wdgt-print-merge.c:
1667 * src/wdgt-rotate-label.c:
1668 Removed lgl_template_get_first_frame() from libglabels API and all references.
1670 2007-10-11 Jim Evins <evins@snaught.com>
1672 Extended checks for deprecated symbols.
1673 * libglabels/template.c:
1674 Removed g_strcasecmp references, which are deprecated.
1676 2007-10-09 Jim Evins <evins@snaught.com>
1678 * src/merge-evolution.c:
1679 Create address book if it does not exist. Also, be more robust about handling
1680 error conditions -- don't just assume GError has been set.
1682 2007-10-08 Jim Evins <evins@snaught.com>
1684 * libglabels/template.c:
1685 * libglabels/xml-template.c:
1686 * src/template-designer.c:
1687 Missed some symbols with libglabels API work.
1689 2007-10-01 Jim Evins <evins@snaught.com>
1691 * docs/libglabels/libglabels-decl-list.txt:
1692 * docs/libglabels/libglabels-docs.sgml:
1693 * docs/libglabels/libglabels-sections.txt:
1694 * docs/libglabels/libglabels-undocumented.txt:
1695 * docs/libglabels/tmpl/category.sgml:
1696 * docs/libglabels/tmpl/enums.sgml:
1697 * docs/libglabels/tmpl/init.sgml:
1698 * docs/libglabels/tmpl/libglabels-unused.sgml:
1699 * docs/libglabels/tmpl/paper.sgml:
1700 * docs/libglabels/tmpl/template-construction.sgml:
1701 * docs/libglabels/tmpl/template-db.sgml:
1702 * docs/libglabels/tmpl/template-misc.sgml:
1703 * docs/libglabels/tmpl/template-struct.sgml:
1704 * docs/libglabels/tmpl/template.sgml:
1705 * docs/libglabels/tmpl/xml-category.sgml:
1706 * docs/libglabels/tmpl/xml-template.sgml:
1707 * libglabels/category.h:
1708 * libglabels/init.c:
1709 * libglabels/libglabels-private.h:
1710 * libglabels/paper.h:
1711 * libglabels/template.c:
1712 * libglabels/template.h:
1713 * libglabels/xml-template.h:
1714 Basic documentation framework for libglabels updated. This still needs some
1717 2007-09-27 Jim Evins <evins@snaught.com>
1719 * docs/libglabels/libglabels-decl-list.txt:
1720 * docs/libglabels/libglabels-docs.sgml:
1721 * docs/libglabels/libglabels-sections.txt:
1722 * docs/libglabels/libglabels-undocumented.txt:
1723 * docs/libglabels/tmpl/enums.sgml:
1724 * docs/libglabels/tmpl/init.sgml:
1725 * docs/libglabels/tmpl/libglabels-unused.sgml:
1726 * docs/libglabels/tmpl/paper.sgml:
1727 * docs/libglabels/tmpl/template.sgml:
1728 * docs/libglabels/tmpl/xml-paper.sgml:
1729 * docs/libglabels/tmpl/xml-template.sgml:
1730 * docs/libglabels/tmpl/xml.sgml:
1731 * libglabels/Makefile.am:
1732 * libglabels/category.c:
1733 * libglabels/category.h:
1734 * libglabels/enums.h:
1735 * libglabels/init.c:
1736 * libglabels/init.h:
1737 * libglabels/libglabels-private.h:
1738 * libglabels/libglabels.h:
1739 * libglabels/paper.c:
1740 * libglabels/paper.h:
1741 * libglabels/template.c:
1742 * libglabels/template.h:
1743 * libglabels/xml-category.c:
1744 * libglabels/xml-category.h:
1745 * libglabels/xml-paper.c:
1746 * libglabels/xml-paper.h:
1747 * libglabels/xml-template.c:
1748 * libglabels/xml-template.h:
1751 * src/cairo-label-path.c:
1752 * src/cairo-label-path.h:
1753 * src/cairo-markup-path.c:
1754 * src/cairo-markup-path.h:
1756 * src/glabels-batch.c:
1758 * src/label-object.c:
1761 * src/mini-preview-pixbuf-cache.c:
1762 * src/mini-preview-pixbuf.c:
1763 * src/mini-preview-pixbuf.h:
1764 * src/prefs-dialog.c:
1765 * src/prefs-model.c:
1766 * src/prefs-model.h:
1771 * src/template-designer.c:
1772 * src/view-barcode.c:
1774 * src/view-ellipse.c:
1778 * src/wdgt-media-select.c:
1779 * src/wdgt-mini-preview.c:
1780 * src/wdgt-mini-preview.h:
1781 * src/wdgt-print-copies.c:
1782 * src/wdgt-print-merge.c:
1783 * src/wdgt-rotate-label.c:
1784 * src/xml-label-04.c:
1786 Major cleanup of libglabels API -- this breaks API compatibility with older
1787 development and stable versions -- as far as I know, there are currently
1788 no external users of this library yet.
1790 2007-09-14 Jim Evins <evins@snaught.com>
1795 * src/label-object.c:
1796 * src/label-object.h:
1797 * src/label-barcode.c:
1798 * src/label-ellipse.c:
1800 * src/view-object.c:
1801 * src/view-barcode.c:
1803 * src/view-ellipse.c:
1807 Better separation of model from view.
1809 2007-08-21 Jim Evins <evins@snaught.com>
1811 * src/print-op.c: (create_custom_widget_cb):
1812 Fix problem with force_outline_flag -- don't override with default.
1814 2007-08-21 Jim Evins <evins@snaught.com>
1816 * data/dtd/glabels-2.0.dtd:
1817 * libglabels/template.c:
1818 * libglabels/template.h:
1819 * libglabels/xml-template.c:
1820 * src/cairo-markup-path.c:
1821 Added "Markup-rect" element to template format.
1823 2007-08-21 Jim Evins <evins@snaught.com>
1826 Changed version to 2.1.pre5svn.
1827 * src/view.c: (draw_markup_layer):
1828 Do a stroke for each markup path, otherwise multiple markups
1831 2007-08-17 Jim Evins <evins@snaught.com>
1834 Bump libglabels revision numbers for 2.1.4 release.
1836 2007-08-16 Jim Evins <evins@snaught.com>
1839 Include subdir iec16022-0.2.1.
1843 Preparation for 2.1.4.
1846 2007-08-11 Jim Evins <evins@snaught.com>
1852 Added Esperanto translation. Provided by Antonio C.
1853 Codazzi "la Filozofo" <f_sophia@libero.it>.
1855 Updated French translation. Provided by Claude Paroz
1856 <claude@2xlibre.net>.
1858 Updated to reflect above translations.
1860 2007-08-11 Jim Evins <evins@snaught.com>
1863 * data/templates/avery-iso-templates.xml:
1864 * data/templates/avery-us-templates.xml:
1865 * data/templates/misc-iso-templates.xml:
1866 * data/templates/misc-other-templates.xml:
1867 * data/templates/misc-us-templates.xml:
1868 * data/templates/zweckform-iso-templates.xml:
1869 Caught up with backlog of template submissions.
1871 2007-08-10 Jim Evins <evins@snaught.com>
1873 * src/bc-postnet.c: (gl_barcode_postnet_new):
1875 Added support for Brazilian CEPNet barcodes. This is simply an
1876 instance of the US POSTNET format with 8 digits. Patch supplied
1877 by Mário Meyer in bug # 1768792.
1879 Updated acknowledgments to reflect above patch and recent shuffling
1880 of underlying technology.
1882 2007-05-13 Jim Evins <evins@snaught.com>
1884 * src/merge-text.c: (parse_line), (parse_field):
1885 Remove leading and trailing spaces from CSV fields, unless quoted.
1887 2007-05-09 Jim Evins <evins@snaught.com>
1889 * src/object-editor-bc-page.c:
1890 * src/object-editor-data-page.c:
1891 * src/object-editor-fill-page.c:
1892 * src/object-editor-image-page.c:
1893 * src/object-editor-line-page.c:
1894 * src/object-editor-lsize-page.c:
1895 * src/object-editor-position-page.c:
1896 * src/object-editor-private.h:
1897 * src/object-editor-shadow-page.c:
1898 * src/object-editor-size-page.c:
1899 * src/object-editor-text-page.c:
1900 * src/object-editor.c:
1901 * src/prefs-dialog.c:
1902 * src/template-designer.c:
1903 * src/ui-property-bar.c:
1904 * src/wdgt-media-select.c:
1905 Replaced signal block/unblock pairs with simple flags. This reduces
1906 some code clutter, hopefully making it easier to read.
1908 2007-05-05 Jim Evins <evins@snaught.com>
1910 * src/template-designer.c: (apply_cb):
1911 Add new template to mini-preview pixbuf cache.
1913 2007-05-03 Jim Evins <evins@snaught.com>
1915 * src/label-image.c: (gl_label_image_init), (draw_object):
1916 Scale default pixbuf up, to prevent bluring. Use cairo_fill to
1919 2007-05-02 Jim Evins <evins@snaught.com>
1921 * src/view.c: (draw_select_region_layer), (motion_notify_event_cb),
1922 (button_release_event_cb):
1923 Removed attempt at rendering optimization by clipping the updates
1924 to areas affected -- this actually seemed to hurt update performance.
1926 2007-04-30 Jim Evins <evins@snaught.com>
1929 * src/color.c: (gl_color_shadow), (gl_color_node_new_default),
1930 (gl_color_node_equal), (gl_color_node_expand):
1931 * src/label-barcode.c: (draw_object):
1932 * src/label-box.c: (draw_object), (draw_shadow):
1933 * src/label-ellipse.c: (draw_object), (draw_shadow):
1934 * src/label-line.c: (draw_object), (draw_shadow):
1935 * src/label-text.c: (draw_object), (draw_shadow):
1936 * src/wdgt-mini-preview.c: (draw_shadow), (draw_labels):
1937 * src/wdgt-rotate-label.c: (drawingarea_update):
1938 Some cleanup to color related code.
1940 2007-04-30 Jim Evins <evins@snaught.com>
1943 Added glLabelRegion structure type.
1944 * src/label-object.c: (gl_label_object_get_extent):
1945 * src/label-object.h:
1946 Modified gl_label_object_get_extent() to fill in a glLabelRegion struct.
1948 * src/view.c: (gl_view_update_region), (draw_select_region_layer),
1949 (gl_view_select_region), (gl_view_align_selection_left),
1950 (gl_view_align_selection_right), (gl_view_align_selection_hcenter),
1951 (gl_view_align_selection_top), (gl_view_align_selection_bottom),
1952 (gl_view_align_selection_vcenter),
1953 (gl_view_center_selection_horiz), (gl_view_center_selection_vert),
1954 (gl_view_move_selection), (gl_view_can_selection_text),
1955 (motion_notify_event_cb), (button_press_event_cb),
1956 (button_release_event_cb):
1957 - Reconcile with new gl_label_object_get_extent() API.
1958 - Use glLabelRegion for view->select_region.
1959 - Added gl_view_update_region() to clip updates to region.
1960 - Use gl_view_update_region() during manipulation of view->select_region.
1962 2007-04-26 Jim Evins <evins@snaught.com>
1964 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
1965 (draw_label_outline):
1966 * src/print.c: (print_crop_marks), (draw_outline):
1967 * src/view-object.c: (gl_view_object_draw_handles):
1968 * src/view.c: (draw_bg_layer), (draw_grid_layer),
1969 (draw_markup_layer), (draw_fg_layer), (draw_select_region_layer):
1970 * src/wdgt-mini-preview.c: (draw_paper), (draw_labels):
1971 * src/wdgt-rotate-label.c: (drawingarea_update):
1972 Added defines for various magic numbers.
1974 2007-04-25 Jim Evins <evins@snaught.com>
1976 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
1977 Scale text down. Cairo seems to render text too large.
1979 2007-04-25 Jim Evins <evins@snaught.com>
1982 * src/view.c: (gl_view_update), (expose_cb),
1983 (motion_notify_event_cb), (button_press_event_cb),
1984 (button_release_event_cb):
1985 - Try not to let updates get backed up.
1986 - Grab pointer when doing any drag operations.
1988 2007-04-11 Jim Evins <evins@snaught.com>
1990 * src/cairo-label-path.c: (gl_cairo_label_path),
1991 (gl_cairo_rect_label_path), (gl_cairo_round_label_path),
1992 (gl_cairo_cd_label_path):
1993 * src/cairo-label-path.h:
1994 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
1995 (draw_label_outline):
1996 * src/print.c: (draw_outline), (clip_to_outline):
1997 * src/view.c: (draw_bg_layer), (draw_fg_layer):
1998 * src/wdgt-mini-preview.c: (draw_labels):
1999 * src/wdgt-rotate-label.c: (drawingarea_update):
2000 Modified to universally use gl_cairo_label_path() to create paths
2001 for labels. Added shadow to mini preview in rotate widget.
2003 2007-04-10 Jim Evins <evins@snaught.com>
2005 * libglabels/template.h:
2006 * libglabels/template.c: (gl_template_get_name_list_unique),
2007 (gl_template_get_name_list_all), (gl_template_from_name):
2008 Modified libglabels to allow you to get a list of all template names
2009 including all aliases or just a list of primary names of each unique
2012 * src/file.c: (gl_file_properties):
2013 * src/glabels.c: (main):
2014 * src/mini-preview-pixbuf-cache.h:
2015 * src/mini-preview-pixbuf-cache.c:
2016 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
2017 (filter_changed_cb), (load_list):
2018 Added mini-preview pixbuf cache, so that only one mini-preview is
2019 needed for a unique template and gets reused for all aliases. These
2020 pixbufs will also live for the life of the program so they are not
2021 rebuilt everytime a new label dialog is invoked.
2022 * src/mini-preview-pixbuf.c: (draw_paper),
2023 (draw_rect_label_outline), (draw_round_label_outline),
2024 (draw_cd_label_outline):
2025 Removed some comment artifacts.
2027 2007-04-04 Jim Evins <evins@snaught.com>
2029 * src/mini-preview-pixbuf.c: (gl_mini_preview_pixbuf_new),
2030 (draw_paper), (draw_label_outlines), (draw_rect_label_outline),
2031 (draw_round_label_outline), (draw_cd_label_outline):
2032 * src/wdgt-media-select.c: (load_list):
2033 * src/wdgt-rotate-label.c: (draw_cd_label_outline):
2034 Cosmetic enhancments to mini previews.
2036 2007-04-04 Jim Evins <evins@snaught.com>
2038 * src/ui-property-bar.c: (gl_ui_property_bar_finalize),
2039 (gl_ui_property_bar_construct):
2040 Save copy of GladeXML tree so that we don't lose tooltips.
2042 2007-04-02 Jim Evins <evins@snaught.com>
2044 * src/merge-properties-dialog.c:
2045 * src/new-label-dialog.c:
2046 * src/object-editor.c:
2047 * src/prefs-dialog.c:
2049 * src/template-designer.c:
2050 * src/ui-property-bar.c:
2051 * src/wdgt-media-select.c:
2052 * src/wdgt-rotate-label.c:
2053 Fixed several memory leaks.
2055 2007-04-01 Jim Evins <evins@snaught.com>
2057 * src/label-text.c: (gl_label_text_init), (copy),
2058 (gl_label_text_set_lines), (buffer_changed_cb), (get_size),
2059 (set_font_family), (set_font_size), (set_font_weight),
2060 (set_font_italic_flag), (set_text_alignment),
2061 (set_text_line_spacing):
2062 Cache object size, so that expensive extent calculations are only done
2065 2007-03-30 Jim Evins <evins@snaught.com>
2067 * src/prefs-model.c: (gl_prefs_model_load_settings):
2068 Default to an unlimited list of recent documents, since this parameter
2069 seems to be pre-filter anyway.
2071 2007-03-30 Jim Evins <evins@snaught.com>
2073 * src/label-box.c: (draw_shadow):
2074 * src/label-ellipse.c: (draw_shadow):
2075 Added missing shadow fill.
2077 2007-03-28 Jim Evins <evins@snaught.com>
2079 * src/ui-commands.c: (gl_ui_cmd_file_print):
2080 Unreferencing the print operation sometimes crashes. Just don't do it
2083 2007-03-28 Jim Evins <evins@snaught.com>
2085 * src/print-op.c: (gl_print_op_construct),
2086 (gl_print_op_get_settings), (gl_print_op_set_settings),
2087 (gl_print_op_free_settings), (create_custom_widget_cb):
2089 * src/ui-commands.c: (gl_ui_cmd_file_print):
2090 * src/window.c: (gl_window_init):
2092 Save print settings and custom settings between print operations
2095 2007-03-24 Jim Evins <evins@snaught.com>
2097 * src/object-editor-image-page.c:
2098 (gl_object_editor_prepare_image_page),
2099 (gl_object_editor_set_image), (img_selection_changed_cb):
2100 Workaround for GtkFileChooserButton bug # 327243. This the root
2101 cause for gLabels bug # 1192884. I have actually observed 3 delayed
2102 "selection-changed" signals -- the first 2 return NULL -- this is
2103 what caused the image to reset to the default followed by setting
2104 it back to the original image, trying to fit it into a new bounding
2105 box. This sequence of events is much more evident with the new
2108 2007-03-23 Jim Evins <evins@snaught.com>
2110 Merged all changes from experimental cairo branch to trunk.
2111 Trunk no longer depends on libgnomecanvas or libgnomeprint[ui].
2113 2007-03-23 Jim Evins <evins@snaught.com>
2115 * src/label-object.h:
2116 * src/label-object.c: (gl_label_object_class_init),
2117 (gl_label_object_get_raw_size), (gl_label_object_get_size):
2118 Created "get_raw_size" method.
2119 * src/label-barcode.c: (get_size):
2120 * src/xml-label.c: (xml_create_object_text),
2121 (xml_create_object_barcode):
2122 Use new "get_raw_size" method on label-objects when apropos.
2124 * src/label-text.c: (get_size), (draw_object), (draw_shadow),
2125 (auto_shrink_font_size):
2126 Added "auto shrink" functionality back.
2128 2007-03-19 Jim Evins <evins@snaught.com>
2130 * src/label-text.c: (draw_object), (draw_shadow):
2131 Don't use negative scales in workaround from previous commit.
2134 2007-03-18 Jim Evins <evins@snaught.com>
2137 Forgot to remove include of xml-lable-191 in previous commit.
2138 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
2139 Workaround for pango Bug #341481. Render text at device scale,
2140 and scale font size accordingly. Also, don't do any hinting.
2142 2007-03-18 Jim Evins <evins@snaught.com>
2144 * src/cairo-ellipse-path.c:
2145 * src/cairo-ellipse-path.h:
2146 Forgot to add these new files during last mass commit.
2148 2007-03-18 Jim Evins <evins@snaught.com>
2151 * src/xml-label-191.c:
2152 * src/xml-label-191.h:
2153 Removed -- Very buggy. Version 1.91 is a very old "unstable" version,
2154 so there is no need to keep compatability.
2156 * src/bc-iec16022.c:
2157 * src/cairo-label-path.c:
2158 * src/cairo-label-path.h:
2159 * src/cairo-markup-path.c:
2163 * src/glabels-batch.c:
2165 * src/label-barcode.c:
2167 * src/label-ellipse.c:
2168 * src/label-image.c:
2170 * src/label-object.c:
2171 * src/label-object.h:
2175 * src/merge-properties-dialog.c:
2177 * src/new-label-dialog.c:
2178 * src/object-editor-bc-page.c:
2179 * src/object-editor-data-page.c:
2180 * src/object-editor-edit-page.c:
2181 * src/object-editor-fill-page.c:
2182 * src/object-editor-image-page.c:
2183 * src/object-editor-line-page.c:
2184 * src/object-editor-private.h:
2185 * src/object-editor-shadow-page.c:
2186 * src/object-editor-text-page.c:
2187 * src/object-editor.c:
2188 * src/pixbuf-cache.c:
2193 * src/template-designer.c:
2195 * src/ui-property-bar.c:
2197 * src/view-barcode.c:
2199 * src/view-ellipse.c:
2202 * src/view-object.c:
2203 * src/view-object.h:
2206 * src/wdgt-media-select.c:
2207 * src/wdgt-print-copies.c:
2208 * src/wdgt-print-merge.c:
2210 * src/xml-label-04.c:
2212 Many changes, including:
2213 - Move draw methods from view-*() to label-*().
2214 - Use same drawing code for on screen view and printing.
2215 - Fix all issues exposed with '-Wall -Werror'.
2217 2007-03-14 Jim Evins <evins@snaught.com>
2220 * src/cairo-handle-path.c:
2221 * src/cairo-handle-path.h:
2222 * src/cairo-object-path.c:
2223 * src/cairo-object-path.h:
2224 Removed cairo-handle-path.[ch] and cairo-object-path.[ch].
2225 * src/view-barcode.c: (gl_view_barcode_class_init), (draw_object),
2227 * src/view-box.c: (gl_view_box_class_init), (draw_object),
2228 (draw_shadow), (object_at):
2229 * src/view-ellipse.c: (gl_view_ellipse_class_init),
2230 (create_ellipse_path), (draw_object), (draw_shadow), (object_at):
2231 * src/view-image.c: (gl_view_image_class_init), (draw_object),
2233 * src/view-line.c: (gl_view_line_class_init), (draw_object),
2234 (draw_shadow), (object_at):
2235 * src/view-object.c: (gl_view_object_draw), (gl_view_object_at),
2236 (create_handle_path), (gl_view_object_draw_handles),
2237 (gl_view_object_handle_at):
2238 * src/view-object.h:
2239 * src/view-text.c: (gl_view_text_class_init), (draw_object),
2240 (draw_shadow), (object_at):
2241 * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
2242 Some restructuring of new code.
2244 2007-03-12 Jim Evins <evins@snaught.com>
2247 * src/cairo-object-path.c:
2248 * src/view-barcode.c:
2249 * src/view-barcode.h:
2251 Added barcode object support to view.
2253 2007-03-12 Jim Evins <evins@snaught.com>
2259 * src/cairo-object-path.c:
2260 * src/cairo-object-path.h:
2262 * src/view-ellipse.c:
2265 * src/view-object.c:
2266 * src/view-object.h:
2267 Added text object support to view. Added object_at method to all
2270 2007-03-11 Jim Evins <evins@snaught.com>
2273 * src/cairo-object-path.c: (gl_cairo_object_path),
2274 (gl_cairo_image_object_path):
2275 * src/view-image.c: (gl_view_image_class_init),
2276 (gl_view_image_finalize), (gl_view_image_new),
2277 (update_editor_from_label_cb), (draw),
2278 (gl_view_image_get_create_cursor),
2279 (gl_view_image_create_button_press_event),
2280 (gl_view_image_create_motion_event),
2281 (gl_view_image_create_button_release_event):
2283 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
2284 (selection_received_cb), (motion_notify_event_cb),
2285 (button_press_event_cb), (button_release_event_cb):
2286 Added image object support to view.
2288 2007-03-11 Jim Evins <evins@snaught.com>
2291 * src/cairo-object-path.c: (gl_cairo_object_path),
2292 (gl_cairo_line_object_path):
2293 * src/view-line.c: (gl_view_line_class_init), (gl_view_line_new),
2294 (update_object_from_editor_cb), (update_editor_from_object_cb),
2295 (update_editor_from_label_cb), (draw),
2296 (gl_view_line_get_create_cursor),
2297 (gl_view_line_create_button_press_event),
2298 (gl_view_line_create_motion_event),
2299 (gl_view_line_create_button_release_event):
2301 * src/view-object.c: (gl_view_object_resize_event):
2302 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
2303 (selection_received_cb), (motion_notify_event_cb),
2304 (button_press_event_cb), (button_release_event_cb):
2305 Added line object support to view.
2306 * src/cairo-handle-path.c:
2307 Made handles slightly larger.
2310 2007-03-11 Jim Evins <evins@snaught.com>
2313 * src/cairo-handle-path.c:
2314 * src/cairo-label-path.c: (gl_cairo_rect_label_path),
2315 (gl_cairo_round_label_path), (gl_cairo_cd_label_path):
2316 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
2317 (gl_cairo_markup_margin_round_path),
2318 (gl_cairo_markup_margin_cd_path), (gl_cairo_markup_circle_path):
2319 * src/cairo-object-path.c: (gl_cairo_object_path),
2320 (gl_cairo_ellipse_object_path):
2321 * src/label-object.c: (gl_label_object_rotate):
2324 * src/view-ellipse.c: (gl_view_ellipse_class_init),
2325 (gl_view_ellipse_new), (update_object_from_editor_cb),
2326 (update_editor_from_object_cb), (update_editor_from_label_cb),
2327 (draw), (gl_view_ellipse_get_create_cursor),
2328 (gl_view_ellipse_create_button_press_event),
2329 (gl_view_ellipse_create_motion_event),
2330 (gl_view_ellipse_create_button_release_event):
2331 * src/view-ellipse.h:
2332 * src/view-object.c:
2333 * src/view-object.h:
2334 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
2335 (select_object_real), (selection_received_cb),
2336 (motion_notify_event_cb), (button_press_event_cb),
2337 (button_release_event_cb):
2339 Added ellipse object support to view. Plus other cleanup.
2341 2007-03-11 Jim Evins <evins@snaught.com>
2344 * src/view-box.c: (gl_view_box_get_create_cursor),
2345 (gl_view_box_create_button_press_event),
2346 (gl_view_box_create_motion_event),
2347 (gl_view_box_create_button_release_event):
2348 * src/view-object.c: (gl_view_object_set_view),
2349 (gl_view_object_handle_at):
2351 * src/view.c: (gl_view_arrow_mode), (gl_view_object_create_mode),
2352 (motion_notify_event_cb), (button_press_event_cb),
2353 (button_release_event_cb), (key_press_event_cb):
2354 Added creation code for box object.
2356 2007-03-09 Jim Evins <evins@snaught.com>
2358 * src/view-object.c: (gl_view_object_resize_event):
2359 * src/view-object.h:
2360 * src/view.c: (motion_notify_event_cb):
2361 Fix bugs with resizing transformed objects.
2362 * src/cairo-handle-path.c: (gl_cairo_handle_path):
2363 * src/cairo-object-path.c: (gl_cairo_object_path):
2364 * src/cairo-object-path.h:
2365 * src/label-object.c: (gl_label_object_init),
2366 (gl_label_object_dup), (gl_label_object_get_extent),
2367 (gl_label_object_flip_horiz), (gl_label_object_flip_vert),
2368 (gl_label_object_rotate), (gl_label_object_set_matrix),
2369 (gl_label_object_get_matrix):
2370 * src/label-object.h:
2371 * src/print.c: (draw_object):
2373 * src/view-highlight.c:
2374 * src/view-highlight.h:
2375 * src/xml-label-191.c: (xml191_parse_object):
2376 * src/xml-label.c: (xml_parse_affine_attrs),
2377 (xml_create_affine_attrs):
2378 Replace libart affine matrices with cairo matrices.
2380 2007-03-08 Jim Evins <evins@snaught.com>
2382 * src/view-object.h:
2383 * src/view.c: (gl_view_update), (motion_notify_event_cb):
2384 * src/view-object.c: (gl_view_object_handle_at),
2385 (gl_view_object_resize_event):
2386 Added resize code -- still a bit buggy.
2388 2007-03-07 Jim Evins <evins@snaught.com>
2391 * src/cairo-handle-path.c:
2392 * src/cairo-handle-path.h:
2393 * src/view-box.c: (gl_view_box_new):
2394 * src/view-object.c: (gl_view_object_set_object),
2395 (gl_view_object_draw_handles), (gl_view_object_handle_at):
2396 * src/view-object.h:
2397 * src/view.c: (draw_highlight_layer), (select_object_real),
2398 (unselect_object_real), (view_handle_at), (motion_notify_event_cb),
2399 (button_press_event_cb), (button_release_event_cb),
2400 (key_press_event_cb):
2402 Added beginnings of object resize handles.
2404 2007-03-07 Jim Evins <evins@snaught.com>
2407 * src/view.c: (gl_view_init), (gl_view_arrow_mode),
2408 (gl_view_object_create_mode), (motion_notify_event_cb),
2409 (button_press_event_cb), (button_release_event_cb),
2410 (key_press_event_cb):
2411 Added move selection support.
2413 2007-03-05 Jim Evins <evins@snaught.com>
2415 * src/cairo-object-path.c: (gl_cairo_object_path):
2416 * src/view-object.c: (gl_view_object_draw),
2417 (gl_view_object_draw_highlight):
2418 * src/view.c: (view_object_at), (motion_notify_event_cb),
2419 (button_press_event_cb), (button_release_event_cb):
2420 Additional refinements to select logic.
2422 2007-03-05 Jim Evins <evins@snaught.com>
2425 * src/view.c: (gl_view_init), (gl_view_construct),
2426 (label_changed_cb), (draw_layers), (draw_select_region_layer),
2427 (gl_view_select_region), (object_at), (motion_notify_event_cb),
2428 (button_press_event_cb), (button_release_event_cb):
2429 Added initial select region support and context menu.
2431 2007-03-04 Jim Evins <evins@snaught.com>
2442 * src/ui-commands.c:
2445 * src/view-object.c:
2446 * src/view-object.h:
2449 * src/wdgt-print-copies.c:
2450 * src/wdgt-print-merge.c:
2452 Initial port to a raw Cairo canvas. This removes all remaining
2453 dependencies on libgnomecanvas and libgnomeprint[ui]. Basically
2454 the view is becoming a canvas widget in its own right. Still needs
2456 * src/cairo-label-path.c:
2457 * src/cairo-label-path.h:
2458 * src/cairo-markup-path.c:
2459 * src/cairo-markup-path.h:
2460 * src/cairo-object-path.c:
2461 * src/cairo-object-path.h:
2462 New files to support cairo canvas.
2463 * src/canvas-hacktext.c:
2464 * src/canvas-hacktext.h:
2467 2007-02-18 Jim Evins <evins@snaught.com>
2470 GNOME_FONT_BOOK changed to PANGO_WEIGHT_NORMAL.
2472 2007-02-14 Jim Evins <evins@snaught.com>
2476 * src/bc-gnubarcode.c:
2477 * src/bc-gnubarcode.h:
2482 * src/canvas-hacktext.c:
2483 * src/canvas-hacktext.h:
2490 * src/label-barcode.c:
2491 * src/label-barcode.h:
2494 * src/label-ellipse.c:
2495 * src/label-ellipse.h:
2496 * src/label-image.c:
2497 * src/label-image.h:
2500 * src/label-object.c:
2501 * src/label-object.h:
2506 * src/merge-evolution.c:
2507 * src/merge-evolution.h:
2510 * src/merge-properties-dialog.c:
2511 * src/merge-properties-dialog.h:
2514 * src/merge-vcard.c:
2515 * src/merge-vcard.h:
2518 * src/mini-preview-pixbuf.h:
2519 * src/new-label-dialog.c:
2520 * src/new-label-dialog.h:
2521 * src/object-editor-bc-page.c:
2522 * src/object-editor-data-page.c:
2523 * src/object-editor-edit-page.c:
2524 * src/object-editor-fill-page.c:
2525 * src/object-editor-image-page.c:
2526 * src/object-editor-line-page.c:
2527 * src/object-editor-lsize-page.c:
2528 * src/object-editor-position-page.c:
2529 * src/object-editor-private.h:
2530 * src/object-editor-size-page.c:
2531 * src/object-editor-text-page.c:
2532 * src/object-editor.c:
2533 * src/object-editor.h:
2534 * src/pixbuf-cache.c:
2535 * src/pixbuf-cache.h:
2536 * src/prefs-dialog.c:
2537 * src/prefs-dialog.h:
2538 * src/prefs-model.c:
2539 * src/prefs-model.h:
2545 * src/template-designer.c:
2548 * src/ui-commands.c:
2549 * src/ui-commands.h:
2550 * src/ui-property-bar.c:
2551 * src/ui-property-bar.h:
2560 * src/view-barcode.c:
2561 * src/view-barcode.h:
2564 * src/view-ellipse.c:
2565 * src/view-ellipse.h:
2566 * src/view-highlight.c:
2567 * src/view-highlight.h:
2572 * src/view-object.c:
2573 * src/view-object.h:
2578 * src/wdgt-chain-button.c:
2579 * src/wdgt-chain-button.h:
2580 * src/wdgt-media-select.c:
2581 * src/wdgt-mini-preview.c:
2582 * src/wdgt-print-copies.c:
2583 * src/wdgt-print-copies.h:
2584 * src/wdgt-print-merge.c:
2585 * src/wdgt-print-merge.h:
2586 * src/wdgt-rotate-label.c:
2588 * src/xml-label-04.c:
2589 * src/xml-label-04.h:
2590 * src/xml-label-191.c:
2591 * src/xml-label-191.h:
2595 Assorted superficial cleanup. Including:
2596 - Use G_DEFINE_TYPE for all objects.
2597 - Reconcile style of all class initializer functions
2598 - Reconcile style of all finalize functions
2599 - Add emacs mode line to all source files
2601 2007-02-06 Jim Evins <evins@snaught.com>
2603 Assorted cleanup and removal of deprecated items.
2608 Removed annoying splash screen.
2609 * src/glabels-batch.c: (main):
2610 * src/glabels.c: (main):
2611 Converted from popt to GOption.
2612 * src/object-editor-shadow-page.c:
2613 (gl_object_editor_set_shadow_state):
2614 Removed deprecated method on GtkToggleButton.
2615 * src/ui-commands.c: (gl_ui_cmd_help_about):
2616 Removed dependency on libgnomui/qnome-url.h.
2617 * src/template-designer.c:
2618 Removed dependency on libgnome/gnome-program.h.
2621 2007-02-04 Jim Evins <evins@snaught.com>
2625 * src/prefs-model.c:
2626 * src/print.c: (draw_text_object):
2627 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_construct):
2628 Removed GnomeCanvas artifacts from color.[ch] and related modules.
2630 2007-02-04 Jim Evins <evins@snaught.com>
2632 * src/wdgt-mini-preview.c:
2633 * src/wdgt-mini-preview.h:
2634 Ported widget from GnomeCanvas to Cairo.
2636 2007-02-03 Jim Evins <evins@snaught.com>
2638 * data/glade/template-designer.glade:
2639 * src/template-designer.c:
2640 * src/template-designer.h:
2641 Ported GnomeDruid to GtkAssistant. Since libglade does not
2642 yet support the GtkAssistant and we derive directly from
2643 the Assistant, the pages are layed out in a GtkNotebook in
2644 the glade description -- we then append each page to the
2647 2007-01-25 Jim Evins <evins@snaught.com>
2649 * data/glade/object-editor.glade:
2650 Added dummy page to notebook, to prevent shadow page from
2651 becoming the default current page at creation.
2652 * src/view-box.c: (construct_properties_editor):
2653 * src/view-ellipse.c: (construct_properties_editor):
2654 * src/view-line.c: (construct_properties_editor):
2655 * src/view-text.c: (construct_properties_editor):
2656 Reconciled order of params.
2658 2007-01-19 Jim Evins <evins@snaught.com>
2660 * src/label-barcode.h:
2661 * src/label-object.c: (gl_label_object_set_font_weight),
2662 (gl_label_object_set_text_alignment),
2663 (gl_label_object_get_font_weight),
2664 (gl_label_object_get_text_alignment):
2665 * src/label-object.h:
2666 * src/label-text.c: (gl_label_text_instance_init), (copy),
2667 (get_size), (set_font_family), (set_font_weight),
2668 (set_text_alignment), (get_font_weight), (get_text_alignment):
2670 * src/object-editor-text-page.c:
2671 (gl_object_editor_prepare_text_page),
2672 (gl_object_editor_set_font_family),
2673 (gl_object_editor_set_font_weight),
2674 (gl_object_editor_get_font_weight),
2675 (gl_object_editor_set_text_alignment),
2676 (gl_object_editor_get_text_alignment),
2677 (gl_object_editor_set_text_color):
2678 * src/object-editor.h:
2679 * src/prefs-dialog.c: (construct_object_page),
2680 (update_object_page_from_prefs), (update_prefs_from_object_page):
2681 * src/prefs-model.c: (gl_prefs_model_save_settings),
2682 (gl_prefs_model_load_settings):
2683 * src/prefs-model.h:
2684 * src/print.c: (draw_text_object):
2685 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
2686 (reset_to_default_properties), (update_text_properties),
2687 (font_bold_toggled_cb), (text_align_toggled_cb):
2689 * src/util.c: (gl_util_align_to_string), (gl_util_string_to_align),
2690 (gl_util_weight_to_string), (gl_util_string_to_weight),
2691 (gl_util_get_font_family_list), (gl_util_font_family_list_free):
2693 * src/view-text.c: (update_object_from_editor_cb),
2694 (update_editor_from_object_cb), (draw_hacktext), (draw_cursor):
2695 * src/view.c: (gl_view_set_selection_text_alignment),
2696 (gl_view_set_default_text_alignment),
2697 (gl_view_get_default_text_alignment):
2699 * src/xml-label-04.c: (xml04_parse_text_props):
2700 * src/xml-label-191.c: (xml191_parse_text_props):
2701 * src/xml-label.c: (xml_parse_object_text),
2702 (xml_parse_toplevel_span), (xml_create_object_text),
2703 (xml_create_toplevel_span):
2704 Converted all model internals to Pango. GnomeFont remains in
2705 view until GnomeCanvas can be replaced with a cairo-based canvas.
2707 2007-01-17 Jim Evins <evins@snaught.com>
2713 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type),
2714 (gl_wdgt_print_copies_construct):
2715 * src/wdgt-print-copies.h:
2716 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type),
2717 (gl_wdgt_print_merge_construct):
2718 * src/wdgt-print-merge.h:
2719 Removed all remaining HIG wrapper widgets.
2721 2007-01-16 Jim Evins <evins@snaught.com>
2724 * src/print-dialog.c:
2725 * src/print-dialog.h:
2728 * src/template-designer.c: (print_test_cb):
2729 * src/ui-commands.c: (gl_ui_cmd_file_print):
2731 Renamed PrintDialog to PrintOp. Added constructor for batch
2733 * src/glabels-batch.c: (main):
2734 Converted to use new PrintOp object for printing.
2736 2007-01-15 Jim Evins <evins@snaught.com>
2738 * data/glade/Makefile.am:
2739 * data/glade/print-custom-widget.glade:
2740 * src/print-dialog.c:
2741 * src/print-dialog.h:
2744 * src/template-designer.c: (print_test_cb):
2745 * src/ui-commands.c: (gl_ui_cmd_file_print):
2746 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_copies):
2747 * src/wdgt-print-merge.h:
2748 * src/window.c: (gl_window_init):
2750 Initial conversion to GtkPrintOperation.
2752 - Remove font and other libgnomeprint[ui] from elsewhere
2753 - Add batch initialization of print operation
2755 2007-01-08 Jim Evins <evins@snaught.com>
2757 Updated dependencies. Set version to 2.1.pre4cvs.
2759 2007-01-03 Jim Evins <evins@snaught.com>
2761 * src/recent-files/*
2762 Removed EggRecent stuff.
2768 * src/ui-commands.c:
2769 * src/ui-commands.h:
2771 Ported from EggRecent to GtkRecentManager.
2774 2007-01-02 Jim Evins <evins@snaught.com>
2777 * iec16022-0.2.1/BUGS:
2778 * iec16022-0.2.1/CHANGELOG:
2779 * iec16022-0.2.1/CREDITS:
2780 * iec16022-0.2.1/INSTALL:
2781 * iec16022-0.2.1/LICENSE:
2782 * iec16022-0.2.1/Makefile.am:
2783 * iec16022-0.2.1/Makefile.dist:
2784 * iec16022-0.2.1/README:
2785 * iec16022-0.2.1/README.glabels:
2786 * iec16022-0.2.1/TODO:
2787 * iec16022-0.2.1/iec16022.1:
2788 * iec16022-0.2.1/iec16022.c:
2789 * iec16022-0.2.1/iec16022ecc200.c:
2790 * iec16022-0.2.1/iec16022ecc200.h:
2791 * iec16022-0.2.1/image.c:
2792 * iec16022-0.2.1/image.h:
2793 * iec16022-0.2.1/reedsol.c:
2794 * iec16022-0.2.1/reedsol.h:
2795 * iec16022-0.2.1/test/testsuite-example.bin:
2796 * iec16022-0.2.1/test/testsuite-example.eps:
2797 * iec16022-0.2.1/test/testsuite-example.hex:
2798 * iec16022-0.2.1/test/testsuite-example.png:
2799 * iec16022-0.2.1/test/testsuite-example.text:
2800 * iec16022-0.2.1/test/testsuite.sh:
2801 Include modified copy of iec16022-0.2.1 to provide encoding
2802 support for datamatrix 2D barcodes.
2804 * src/bc-iec16022.c:
2805 * src/bc-iec16022.h:
2807 Added initial datamatrix 2D barcode backend to barcode code.
2810 Automatic updates to later versions of these files.
2812 2006-11-28 Jim Evins <evins@snaught.com>
2814 * data/templates/avery-iso-templates.xml:
2815 * data/templates/avery-us-templates.xml:
2816 * data/templates/categories.xml:
2817 * data/templates/misc-iso-templates.xml:
2818 * data/templates/misc-us-templates.xml:
2819 * data/templates/zweckform-iso-templates.xml:
2820 More categorization.
2822 2006-09-12 Jim Evins <evins@snaught.com>
2824 * data/dtd/glabels-2.0.dtd:
2825 * data/templates/Makefile.am:
2826 * data/templates/avery-iso-templates.xml:
2827 * data/templates/avery-other-templates.xml:
2828 * data/templates/avery-us-templates.xml:
2829 * data/templates/categories.xml:
2830 * data/templates/misc-iso-templates.xml:
2831 * data/templates/misc-other-templates.xml:
2832 * data/templates/zweckform-iso-templates.xml:
2833 * data/glade/Makefile.am:
2834 * data/glade/new-label-dialog.glade:
2835 * data/glade/wdgt-media-select.glade:
2836 * data/glade/wdgt-rotate-label.glade:
2837 * libglabels/Makefile.am:
2838 * libglabels/category.c:
2839 * libglabels/category.h:
2840 * libglabels/libglabels.h:
2841 * libglabels/paper.c:
2842 * libglabels/template.c:
2843 * libglabels/template.h:
2844 * libglabels/xml-category.c:
2845 * libglabels/xml-category.h:
2846 * libglabels/xml-template.c:
2847 Added support for category meta data.
2850 * src/mini-preview-pixbuf.c:
2851 * src/mini-preview-pixbuf.h:
2852 * src/new-label-dialog.c:
2853 * src/new-label-dialog.h:
2854 * src/wdgt-media-select.c:
2855 * src/wdgt-media-select.h:
2856 * src/wdgt-rotate-label.c:
2857 * src/wdgt-rotate-label.h:
2858 New "new label" dialog.
2860 2006-05-27 Jim Evins <evins@snaught.com>
2865 Preparation for 2.1.3.
2871 2006-05-22 Jim Evins <evins@snaught.com>
2873 * src/print.c: (draw_barcode_object):
2874 Don't print "Invalid barcode data" if data field is empty. Patch provided
2875 by Darren Warner <warnerd@users.sourceforge.net>. Fixes Bug #1479839.
2877 Added acknowledgment for above patch.
2878 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
2879 * src/bc-postnet.c: (postnet_code):
2880 Removed "Invalid barcode data" warnings from stderr.
2881 * src/view-barcode.c: (draw_barcode):
2882 Draw box around barcode extent if data empty or invalid. Center a
2883 message whether the data is empty or invalid in box.
2885 2006-05-22 Jim Evins <evins@snaught.com>
2887 * src/print.c: (draw_text_object):
2888 Check shadow state when printing text.
2890 2006-05-20 Jim Evins <evins@snaught.com>
2892 * src/ui-commands.c: (gl_ui_cmd_view_grid_toggle),
2893 (gl_ui_cmd_view_markup_toggle):
2894 Fixed crash when grid or markup have been toggled off during
2895 a previous session. Bug #1434324.
2897 2006-04-05 Jim Evins <evins@snaught.com>
2899 * src/object-editor.c: (gl_object_editor_set_key_names):
2900 Fixed potential crash when freeing empty key list.
2902 2006-03-11 Jim Evins <evins@snaught.com>
2904 * src/print.c: (draw_text_object):
2905 * src/view-text.c: (gl_view_text_new),
2906 (construct_properties_editor), (update_object_from_editor_cb),
2907 (update_editor_from_object_cb), (update_editor_from_label_cb),
2909 Added shadow support to text object.
2911 2006-02-18 Jim Evins <evins@snaught.com>
2913 * src/print.c: (draw_line_object):
2914 * src/view-line.c: (gl_view_line_new),
2915 (construct_properties_editor), (update_canvas_item_from_object_cb),
2916 (update_object_from_editor_cb), (update_editor_from_object_cb),
2917 (update_editor_from_label_cb):
2918 Added shadow support to line object.
2920 2006-02-16 Jim Evins <evins@snaught.com>
2924 * src/print.c: (draw_ellipse_object):
2925 * src/view-ellipse.c: (gl_view_ellipse_new),
2926 (construct_properties_editor), (update_canvas_item_from_object_cb),
2927 (update_object_from_editor_cb), (update_editor_from_object_cb),
2928 (update_editor_from_label_cb):
2929 Added shadow support to ellipse object.
2931 2006-02-15 Jim Evins <evins@snaught.com>
2933 * src/label-object.c:
2934 Changed default shadow offsets.
2935 * src/view-box.c: (gl_view_box_new):
2936 Simplified gl_view_box_new() so that is does not duplicate code
2937 in update_canvas_item_from_object_cb().
2939 2006-02-07 Jim Evins <evins@snaught.com>
2941 * data/glade/object-editor.glade:
2942 Fixed color groups of color combos.
2944 Added default shadow color.
2945 * src/object-editor.c: (gl_object_editor_construct_color_combo):
2946 Added shadow color group.
2948 2006-02-06 Jim Evins <evins@snaught.com>
2950 * src/object-editor-shadow-page.c:
2951 Forgot to add this file.
2952 * src/view-box.c: (gl_view_box_new),
2953 (update_canvas_item_from_object_cb), (update_editor_from_label_cb):
2954 Update limits on shadow offset spinbuttons.
2956 2006-01-19 Jim Evins <evins@snaught.com>
2958 * src/merge-evolution.c: (gl_merge_evolution_get_key_list):
2959 Initialize key_list to NULL.
2960 * data/glade/object-editor.glade:
2964 * src/label-object.c:
2965 * src/label-object.h:
2966 * src/object-editor-fill-page.c:
2967 * src/object-editor-private.h:
2968 * src/object-editor.c:
2969 * src/object-editor.h:
2971 Created infrastructure for shadow support.
2974 Initial shadow support in box object only.
2976 2006-01-05 Jim Evins <evins@snaught.com>
2978 * src/merge-properties-dialog.c: (src_changed_cb):
2979 Be extra paranoid before calling strcmp().
2980 * src/merge.c: (gl_merge_set_src):
2981 Don't make (merge == NULL) a critical error.
2983 2005-12-22 Jim Evins <evins@snaught.com>
2985 * src/glabels-batch.c: (main):
2986 Compile warning free with gcc 4.0.
2988 2005-12-21 Jim Evins <evins@snaught.com>
2991 Updated example RPM spec file.
2993 2005-12-21 Jim Evins <evins@snaught.com>
2997 Preparation for 2.1.2.
2999 2005-12-20 Jim Evins <evins@snaught.com>
3002 Define unique G_LOG_DOMAIN for glabels.
3003 * src/critical-error-handler.c: (gl_critical_error_handler_init):
3004 * src/warning-handler.c: (gl_warning_handler_init),
3006 Register for G_LOG_DOMAIN instead of NULL.
3008 2005-12-10 Jim Evins <evins@snaught.com>
3010 * src/merge-evolution.c:
3011 * src/merge-vcard.c:
3014 2005-12-08 Jim Evins <evins@snaught.com>
3016 * libglabels/paper.c: (read_paper_files_from_dir):
3017 * libglabels/template.c: (gl_template_register),
3018 (read_template_files_from_dir):
3019 * libglabels/xml-paper.c: (gl_xml_paper_read_papers_from_file),
3020 (gl_xml_paper_parse_papers_doc):
3021 * libglabels/xml-template.c:
3022 (gl_xml_template_read_templates_from_file),
3023 (gl_xml_template_parse_templates_doc),
3024 (gl_xml_template_parse_template_node),
3025 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
3026 (xml_parse_label_cd_node), (xml_parse_layout_node),
3027 (xml_parse_markup_margin_node), (xml_parse_markup_line_node),
3028 (xml_parse_markup_circle_node),
3029 (gl_xml_template_write_templates_to_file), (xml_create_label_node):
3030 * libglabels/xml.c: (gl_xml_get_prop_length):
3031 Re-classified g_warnings to g_messages.
3033 * src/glabels.c: (main):
3034 * src/warning-handler.c: (gl_warning_handler_init),
3036 * src/warning-handler.h:
3037 Added warning message handler to make sure the user is
3038 presented with appropriate non-fatal errors.
3039 * src/critical-error-handler.c: (critical_error_handler):
3040 Changed exit to abort.
3041 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new), (render_pass1):
3042 * src/bc-postnet.c: (postnet_code):
3043 * src/bc.c: (id_to_index), (name_to_index):
3044 * src/merge.c: (gl_merge_register_backend), (gl_merge_new):
3045 * src/object-editor.c: (gl_object_notebook_construct_valist):
3046 * src/prefs-dialog.c: (update_locale_page_from_prefs):
3047 * src/prefs.c: (gl_prefs_get_units_per_point),
3048 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
3049 (gl_prefs_get_units_string):
3050 * src/print.c: (draw_outline), (clip_to_outline), (clip_punchouts):
3051 * src/splash.c: (gl_splash):
3052 * src/ui-commands.c: (gl_ui_cmd_help_contents):
3053 * src/view-highlight.c: (gl_view_highlight_new),
3054 (highlight_resizable_box_construct), (object_changed_cb),
3055 (view_scale_changed_cb):
3056 * src/view.c: (draw_label_layer), (draw_bg_fg_layers),
3057 (draw_markup_layer), (draw_markup_margin),
3058 (gl_view_object_create_mode), (canvas_event),
3059 (selection_received_cb):
3060 * src/wdgt-mini-preview.c: (mini_outline_list_new):
3061 * src/wdgt-rotate-label.c: (mini_preview_canvas_update):
3062 * src/xml-label-04.c: (gl_xml_label_04_parse),
3063 (xml04_parse_media_description), (xml04_parse_text_props),
3064 (xml04_parse_barcode_props):
3065 * src/xml-label-191.c: (gl_xml_label_191_parse),
3066 (xml191_parse_objects), (xml191_parse_object),
3067 (xml191_parse_text_props), (xml191_parse_image_props),
3068 (xml191_parse_barcode_props), (xml191_parse_data),
3069 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
3070 (xml191_parse_markup):
3071 * src/xml-label.c: (gl_xml_label_open), (gl_xml_label_open_buffer),
3072 (xml_doc_to_label), (xml_parse_label), (xml_parse_objects),
3073 (xml_parse_object_text), (xml_parse_object_image),
3074 (xml_parse_object_barcode), (xml_parse_data),
3075 (xml_parse_toplevel_span), (gl_xml_label_save),
3076 (xml_create_objects):
3077 Re-classified g_warnings to g_messages.
3078 * src/merge-evolution.c: (gl_merge_evolution_open),
3079 (gl_merge_evolution_close), (gl_merge_evolution_get_record):
3080 Use g_warning to output errors encountered while
3081 communicating with the evolution data server
3082 instead of embedding them in the data.
3084 2005-12-08 Jim Evins <evins@snaught.com>
3086 * libglabels/libglabels-private.h:
3088 * libglabels/paper.c: (read_papers):
3089 * libglabels/template.c: (read_templates):
3090 Made appropriate warnings critical.
3092 * src/critical-error-handler.h:
3093 * src/critical-error-handler.c: (gl_critical_error_handler_init),
3094 (critical_error_handler):
3095 Created critical error handler.
3096 * src/glabels.c: (main):
3097 Register critical error handler.
3098 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
3099 * src/object-editor.c: (gl_object_editor_init):
3100 * src/prefs-dialog.c: (gl_prefs_dialog_init):
3101 * src/template-designer.c: (gl_template_designer_init):
3102 * src/ui-property-bar.c: (gl_ui_property_bar_instance_init):
3103 Made appropriate warnings critical.
3105 2005-11-27 Jim Evins <evins@snaught.com>
3107 * src/merge-evolution.c: (gl_merge_evolution_get_key_list),
3108 (gl_merge_evolution_get_primary_key),
3109 (gl_merge_evolution_get_record):
3110 Don't create "record_key" pseudo-key. Don't populate
3111 fields with null data.
3113 2005-11-25 Jim Evins <evins@snaught.com>
3115 * src/merge-evolution.c: (gl_merge_evolution_finalize),
3116 (gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
3117 (gl_merge_evolution_get_record), (gl_merge_evolution_copy),
3119 Query EDS for all supported fields. Patch provided by
3120 Austin Henry <ahenry@users.sourceforge.net>.
3122 2005-10-29 Jim Evins <evins@snaught.com>
3124 * src/glabels.c: (main):
3125 * src/label-barcode.c: (gl_label_barcode_finalize):
3126 * src/label-text.c: (gl_label_text_finalize), (set_font_family):
3127 * src/label.c: (gl_label_instance_init), (gl_label_finalize):
3128 * src/object-editor.c: (gl_object_editor_finalize):
3129 Another pass at valgrinding -- plugged several memory leaks.
3130 * src/view-text.c: (gl_view_text_new),
3131 (update_canvas_item_from_object_cb), (draw_hacktext):
3132 Commented out artifacts of edit-in-place code.
3134 2005-10-28 Jim Evins <evins@snaught.com>
3136 * src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
3137 Fixed use of uninitialized variable. Caught by
3138 d binderman <dcb314@hotmail.com>.
3140 2005-10-27 Jim Evins <evins@snaught.com>
3142 * src/merge-evolution.c: (gl_merge_evolution_get_record):
3143 * src/merge-vcard.c: (gl_merge_vcard_get_record),
3145 Additional cleanup of EDS and vcard backends. Provided by
3146 Austin Henry <ahenry@users.sourceforge.net>.
3148 2005-10-24 Jim Evins <evins@snaught.com>
3152 * src/merge-evolution.c:
3153 * src/merge-evolution.h:
3154 * src/merge-init.c: (gl_merge_init):
3155 * src/merge-properties-dialog.c: (type_changed_cb):
3156 * src/merge-vcard.c:
3157 * src/merge-vcard.h:
3158 * src/ui-commands.c: (gl_ui_cmd_help_about):
3159 Added Evolution Data Server and VCard merge backends. Original patch
3160 provided by Austin Henry <ahenry@users.sourceforge.net>.
3162 Only support EDS and VCard backends if libebook is installed. Allow
3163 user to disable support, even if installed.
3165 2005-10-24 Jim Evins <evins@snaught.com>
3168 * data/templates/avery-iso-templates.xml:
3169 * data/templates/avery-us-templates.xml:
3170 * data/templates/misc-iso-templates.xml:
3171 * data/templates/zweckform-iso-templates.xml:
3172 Collected all template changes and submissions since last
3175 2005-10-23 Jim Evins <evins@snaught.com>
3178 * data/mime/Makefile.am:
3179 Added configure options to disable update-mime-database and
3180 update-desktop-database as part of the install. Patch
3181 provided by Leonardo Boshell (qhoracio@sourceforge.net).
3183 2005-10-23 Jim Evins <evins@snaught.com>
3186 * libglabels/xml.c: (gl_xml_get_prop_string),
3187 (gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
3188 (gl_xml_is_node), (gl_xml_get_node_content):
3189 Added new XML utility functions.
3190 * libglabels/xml-paper.c:
3191 * libglabels/xml-template.c:
3193 Cleanup by using new xml utilities created above.
3194 * libglabels/paper.c: (gl_paper_free):
3195 * src/file.c: (new_response):
3196 * src/object-editor-image-page.c: (add_image_filters_to_chooser):
3197 * src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
3198 (gl_pixbuf_cache_get_pixbuf):
3199 * src/ui-property-bar.c:
3200 (gl_ui_property_bar_construct_color_combo):
3201 * src/view-highlight.c: (gl_view_highlight_finalize):
3202 * src/view-image.c: (update_object_from_editor_cb):
3203 * src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
3204 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
3205 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
3206 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
3207 (draw_markup_margin_round), (draw_markup_margin_cd),
3208 (draw_markup_margin_cd_bc):
3209 * src/wdgt-mini-preview.c: (mini_outline_list_new):
3210 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
3211 Plugged various memory leaks located with valgrind.
3212 * src/view-image.c: (update_canvas_item_from_object_cb):
3213 Don't allow a width or height of zero when drawing pixbuf.
3215 2005-10-22 Jim Evins <evins@snaught.com>
3217 * libglabels/xml-paper.c:
3218 * libglabels/xml-template.c:
3221 * src/bc-gnubarcode.c:
3222 * src/canvas-hacktext.c:
3224 * src/object-editor-data-page.c:
3225 * src/print-dialog.c:
3228 * src/template-designer.c:
3230 * src/ui-property-bar.c:
3232 * src/view-barcode.c:
3234 * src/view-ellipse.c:
3239 * src/wdgt-media-select.c:
3240 * src/xml-label-04.c:
3241 * src/xml-label-191.c:
3243 Modified to compile warning free with gcc-4.0. Mostly
3244 casting to change signedness of characters. Did not
3245 attack gnu-barcode library yet.
3247 2005-10-22 Jim Evins <evins@snaught.com>
3249 * src/glabels.c: (main):
3250 * src/splash.c: (gl_splash):
3251 Removed some small memory leaks.
3255 2005-09-19 Jim Evins <evins@snaught.com>
3257 * data/glade/property-bar.glade:
3258 Remove items from font_family_combo. This prevents the
3259 double entry after adding text model and list of fonts.
3260 * src/ui-property-bar.c: (reset_to_default_properties):
3261 Free font_family_list.
3263 2005-07-01 Jim Evins <evins@snaught.com>
3266 Updated italian translation (Daniele Medri)
3268 2005-06-26 Jim Evins <evins@snaught.com>
3270 * docs/libglabels/libglabels-decl-list.txt:
3271 Somehow never got checked in before.
3272 * docs/libglabels/libglabels.types:
3273 Removed -- don't need it afterall.
3275 2005-06-20 Jim Evins <evins@snaught.com>
3278 Final prep for 2.1.1 release.
3280 2005-06-20 Jim Evins <evins@snaught.com>
3283 Final preps for 2.1.1 release.
3284 * docs/libglabels/libglabels.types:
3285 Somehow never got checked in before.
3287 Bring up-to-date with recent reorg of ui code.
3290 2005-06-19 Jim Evins <evins@snaught.com>
3292 * src/template-designer.c: (construct_layout_page):
3293 Removed attempt to match background color of mini preview widget to
3296 2005-06-17 Jim Evins <evins@snaught.com>
3298 * help/C/figures/merge-ex2-4.png:
3299 * help/C/glabels.xml:
3300 Fixed spelling error.
3302 2005-06-13 Jim Evins <evins@snaught.com>
3304 * help/C/figures/merge-ex1-1.png:
3305 * help/C/figures/merge-ex1-2.png:
3306 * help/C/figures/merge-ex1-3.png:
3307 * help/C/figures/merge-ex1-4.png:
3308 * help/C/figures/merge-ex2-1.png:
3309 * help/C/figures/merge-ex2-2.png:
3310 * help/C/figures/merge-ex2-3.png:
3311 * help/C/figures/merge-ex2-4.png:
3312 Added figures for document merge tutorial.
3313 * help/C/glabels.xml:
3314 Added document merge tutorial.
3316 2005-05-19 Jim Evins <evins@snaught.com>
3318 * data/glade/merge-properties-dialog.glade:
3319 Fixed irregular spacing.
3320 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
3321 (gl_merge_properties_dialog_construct):
3322 Set outer padding and remove separator.
3324 2005-05-18 Jim Evins <evins@snaught.com>
3328 Removed glHigDialog class.
3329 * src/file.c: (gl_file_new), (create_new_dialog_widgets),
3330 (gl_file_properties), (create_properties_dialog_widgets):
3331 * src/prefs-dialog.h:
3332 * src/prefs-dialog.c: (gl_prefs_dialog_get_type),
3333 (gl_prefs_dialog_init), (gl_prefs_dialog_construct):
3334 * src/print-dialog.h:
3335 * src/prefs-dialog.h:
3336 * src/print-dialog.c: (gl_print_dialog_get_type),
3337 (gl_print_dialog_init), (gl_print_dialog_construct):
3338 Replaced all instances of glHigDialog with GtkDialog.
3340 2005-05-17 Jim Evins <evins@snaught.com>
3344 Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
3345 * src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
3346 (save_as_response), (gl_file_close):
3347 Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.
3349 2005-05-15 Jim Evins <evins@snaught.com>
3351 * src/ui-commands.h:
3359 A little code reformatting -- no functional changes.
3361 2005-05-14 Jim Evins <evins@snaught.com>
3364 Removed obsolete macros.
3366 Added marshalling template to support new view signal: "context_menu_activate."
3368 * src/view.c: (gl_view_class_init), (gl_view_construct),
3369 (canvas_event_arrow_mode):
3370 - Removed hardcoded context menus and added new signal "context_menu_activate"
3371 to push this up to the uimanager.
3372 - Removed merge properties and print dialogs so that they can be managed with
3373 the window by the uimanager.
3374 * src/merge-properties-dialog.h:
3375 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
3376 (gl_merge_properties_dialog_construct):
3377 Changed calling convention of gl_merge_properties_dialog_new() to use
3378 glLabel and GtkWindow instead of view to make more consistent with other
3380 * src/print-dialog.h:
3381 * src/print-dialog.c: (gl_print_dialog_new),
3382 (gl_print_dialog_construct):
3383 Removed last artifact of libbonoboui.
3384 * src/ui-commands.c: (gl_ui_cmd_file_print),
3385 (gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
3386 Reconciled style for launching dialogs.
3387 * src/ui.c: (gl_ui_new):
3388 Added context menus to ui manager.
3389 * src/view-object.c: (item_event_arrow_mode):
3390 No longer try to select objects with right-click.
3392 * src/window.c: (gl_window_init), (gl_window_set_label),
3393 (context_menu_activate_cb):
3394 Context menus and all dialogs are now managed in a consistent way in window
3397 2005-05-11 Jim Evins <evins@snaught.com>
3400 * src/window.c: (gl_window_init), (gl_window_destroy):
3401 * src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
3402 * src/ui-commands.c: (gl_ui_cmd_file_open_recent):
3403 Moved management of recent_view back from window.c to ui.c -- it just feels
3406 2005-05-10 Jim Evins <evins@snaught.com>
3409 * src/window.c: (gl_window_init):
3411 * src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
3412 (menu_item_select_cb), (menu_item_deselect_cb):
3413 Added GtkStatusbar which displays menu tooltips.
3415 2005-05-09 Jim Evins <evins@snaught.com>
3417 Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
3422 Removed dependencies on libbonoboui.
3424 * data/ui/Makefile.am:
3425 * data/ui/glabels-ui.xml:
3426 Removed data/ui directory.
3427 * data/glade/Makefile.am:
3428 * data/property-bar.glade:
3429 Added glade description of property-bar for new libglade implementation
3436 * src/ui-commands.h:
3437 * src/ui-commands.c:
3438 Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
3439 since the distinction between "commands" and "tools" is no longer that clear.
3442 Modified to expect glWindow instead of GtkWindow. gl_file_open_recent()
3443 no longer has knowledge of eggRecent*.
3444 * src/glabels.c: (main):
3445 Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
3447 * src/object-editor.c: (gl_object_editor_init):
3448 Make sure notebook does not respond to a "show_all" on the parent.
3449 * src/recent-files/Makefile.am:
3450 * src/recent-files/*.[ch]
3451 Updated from latest version of libegg which now has a view based on
3452 GtkUIManager. Removed unused bonobo and gtk views.
3453 * src/ui-property-bar.h:
3454 * src/ui-property-bar.c:
3455 New implementation based on libglade.
3458 Sidebar is now simply a GtkWidget and does not expect to be a part of
3459 a libbonoboui interface.
3464 Converted for use with GtkUIManager.
3467 Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
3468 to create menus and toolbars.
3470 2005-04-25 Jim Evins <evins@snaught.com>
3472 * data/templates/misc-iso-templates.xml:
3473 Added Fellows 04715 template provided by Steve Saxon.
3475 Updated acknowledgement for above.
3477 2005-04-23 Jim Evins <evins@snaught.com>
3479 * src/util.c: (gl_util_combo_box_set_strings):
3480 Make sure to clear model before loading a new list of strings.
3481 * src/wdgt-media-select.h:
3482 * src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
3483 (gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
3484 (template_combo_changed_cb), (prefs_changed_cb),
3485 (gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
3486 (gl_wdgt_media_select_get_page_size),
3487 (gl_wdgt_media_select_set_page_size):
3488 Replaced the deprecated GtkCombo widget with the new
3491 2005-04-21 Jim Evins <evins@snaught.com>
3493 * data/glade/template-designer.glade:
3494 * src/template-designer.c: (construct_pg_size_page),
3495 (pg_size_page_changed_cb), (build_template):
3496 Replaced the deprecated GtkCombo widget with the new
3499 2005-04-20 Jim Evins <evins@snaught.com>
3501 * data/glade/prefs-dialog.glade:
3502 * src/prefs-dialog.c: (construct_object_page),
3503 (update_object_page_from_prefs), (update_prefs_from_object_page):
3504 Replaced the deprecated GtkCombo widget with the new
3507 2005-04-19 Jim Evins <evins@snaught.com>
3509 * data/glade/object-editor.glade:
3510 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
3511 (style_changed_cb), (gl_object_editor_set_bc_style),
3512 (gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
3513 (gl_object_editor_get_bc_color):
3514 * src/object-editor-data-page.c:
3515 (gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
3516 (gl_object_editor_get_data):
3517 * src/object-editor-edit-page.c:
3518 (gl_object_editor_prepare_edit_page), (insert_button_cb):
3519 * src/object-editor-fill-page.c:
3520 (gl_object_editor_prepare_fill_page),
3521 (gl_object_editor_set_fill_color),
3522 (gl_object_editor_get_fill_color):
3523 * src/object-editor-image-page.c:
3524 (gl_object_editor_prepare_image_page),
3525 (gl_object_editor_set_image), (gl_object_editor_get_image):
3526 * src/object-editor-line-page.c:
3527 (gl_object_editor_prepare_line_page),
3528 (gl_object_editor_set_line_color),
3529 (gl_object_editor_get_line_color):
3530 * src/object-editor-private.h:
3531 * src/object-editor-text-page.c:
3532 (gl_object_editor_prepare_text_page),
3533 (gl_object_editor_set_font_family),
3534 (gl_object_editor_get_font_family),
3535 (gl_object_editor_set_text_color),
3536 (gl_object_editor_get_text_color):
3537 * src/object-editor.c: (gl_object_editor_set_key_names):
3539 In the object editor: replaced all instances of the deprecated
3540 GtkCombo widget with the new GtkComboBox.
3542 2005-04-18 Jim Evins <evins@snaught.com>
3545 Neglected to save this one in previous checkin to support
3548 2005-04-17 Jim Evins <evins@snaught.com>
3550 * libglabels/libglabels-private.h:
3551 * libglabels/paper.c:
3552 * libglabels/paper.h:
3553 * libglabels/template.c:
3554 * libglabels/template.h:
3555 * libglabels/xml-paper.c:
3556 * libglabels/xml-paper.h:
3557 * libglabels/xml-template.c:
3562 * src/bc-gnubarcode.c:
3573 * src/label-barcode.c:
3575 * src/label-ellipse.c:
3576 * src/label-image.c:
3577 * src/label-image.h:
3579 * src/label-object.c:
3583 * src/merge-properties-dialog.c:
3584 * src/object-editor-bc-page.c:
3585 * src/object-editor-data-page.c:
3586 * src/object-editor-edit-page.c:
3587 * src/object-editor-fill-page.c:
3588 * src/object-editor-image-page.c:
3589 * src/object-editor-line-page.c:
3590 * src/object-editor-lsize-page.c:
3591 * src/object-editor-position-page.c:
3592 * src/object-editor-private.h:
3593 * src/object-editor-size-page.c:
3594 * src/object-editor-text-page.c:
3595 * src/object-editor.c:
3596 * src/object-editor.h:
3597 * src/pixbuf-cache.h:
3598 * src/prefs-dialog.c:
3599 * src/prefs-dialog.h:
3600 * src/prefs-model.c:
3601 * src/prefs-model.h:
3603 * src/print-dialog.c:
3604 * src/print-dialog.h:
3612 * src/template-designer.c:
3613 * src/template-designer.h:
3616 * src/ui-property-bar.c: (gl_ui_property_bar_construct):
3622 * src/view-barcode.c:
3624 * src/view-ellipse.c:
3625 * src/view-highlight.c:
3626 * src/view-highlight.h:
3629 * src/view-object.c:
3630 * src/view-object.h:
3634 * src/wdgt-chain-button.c:
3635 * src/wdgt-media-select.c:
3636 * src/wdgt-media-select.h:
3637 * src/wdgt-mini-preview.c:
3638 * src/wdgt-mini-preview.h:
3639 * src/wdgt-print-copies.c:
3640 * src/wdgt-print-copies.h:
3641 * src/wdgt-print-merge.c:
3642 * src/wdgt-print-merge.h:
3643 * src/wdgt-rotate-label.c:
3644 * src/wdgt-rotate-label.h:
3647 * src/xml-label-04.c:
3648 * src/xml-label-191.c:
3650 Cleanup of header files:
3651 - all header files are now stand-alone, verified by including
3652 first in corresponding "c" files
3653 - replaced blanket includes of gnome, gtk, and glib with
3656 2005-04-16 Jim Evins <evins@snaught.com>
3658 * data/glade/Makefile.am:
3659 * data/glade/merge-properties-dialog.glade:
3660 Added merge properties dialog glade description file.
3661 * src/merge-properties-dialog.h:
3662 * src/merge-properties-dialog.c:
3663 (gl_merge_properties_dialog_get_type),
3664 (gl_merge_properties_dialog_init),
3665 (gl_merge_properties_dialog_finalize),
3666 (gl_merge_properties_dialog_new),
3667 (gl_merge_properties_dialog_construct), (type_changed_cb),
3668 (src_changed_cb), (response_cb), (load_tree),
3669 (record_select_toggled_cb), (select_all_button_clicked_cb),
3670 (unselect_all_button_clicked_cb):
3671 Modified merge properties dialog to use libglade. Added
3672 "select all" and "unselect all" buttons.
3673 * src/merge-text.c: (parse_line):
3674 Handle empty lines better.
3675 * src/merge.c: (gl_merge_eval_key):
3676 Evaluate the key whether the record is selected or not.
3678 * src/util.c: (gl_util_combo_box_add_text_model):
3679 Since libglade does not use the gtk_combo_box_new_text()
3680 constructor for GtkComboBoxes, a utility function was created
3681 to add an appropriate text model to a GtkComboBox.
3682 * src/view.c: (gl_view_edit_merge_props):
3683 Removed unnecessary "show all's".
3685 2005-04-15 Jim Evins <evins@snaught.com>
3688 Updated russian translation (Vitaly Lipatov)
3689 * data/templates/misc-iso-templates.xml:
3690 Added templates for russian business cards provided by Vitaly Lipatov.
3692 Updated acknowledgements for above.
3694 2005-04-15 Jim Evins <evins@snaught.com>
3696 * data/templates/avery-us-templates.xml:
3697 Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
3698 * data/templates/misc-iso-templates.xml:
3699 Added Ryman standard CD/DVD template, provided by Dan Clark.
3701 Added acknowledgements for above.
3703 2005-04-10 Jim Evins <evins@snaught.com>
3705 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
3706 * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
3707 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
3708 (xml_parse_label_cd_node), (xml_parse_alias_node):
3709 * libglabels/xml.c: (gl_xml_get_prop_double),
3710 (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
3711 (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
3712 * src/xml-label-04.c: (xml04_parse_media_description),
3713 (xml04_parse_text_props), (xml04_parse_barcode_props),
3714 (xml04_parse_merge_properties):
3715 * src/xml-label-191.c: (xml191_parse_object),
3716 (xml191_parse_text_props), (xml191_parse_barcode_props),
3717 (xml191_parse_merge_fields), (xml191_parse_pixdata),
3718 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
3719 (xml191_parse_alias):
3720 * src/xml-label.c: (xml_parse_object_text),
3721 (xml_parse_object_barcode), (xml_parse_merge_fields),
3722 (xml_parse_pixdata), (xml_parse_toplevel_span):
3723 Make sure to use xmlFree for anything obtained from libxml
3724 in case libxml and glib use different memory management
3727 2005-04-08 Jim Evins <evins@snaught.com>
3730 * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
3731 (gl_util_combo_box_set_active_text):
3732 Added utility functions to simplify working with GtkComboBox
3734 * src/ui-property-bar.h:
3735 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
3736 (reset_to_default_properties), (update_text_properties),
3737 (font_family_changed_cb):
3738 Replaced deprecated GtkCombo with GtkComboBox.
3741 2005-04-03 Jim Evins <evins@snaught.com>
3744 * src/wdgt-image-select.h:
3745 * src/wdgt-image-select.c:
3746 Removed obsolete wdgt-image-select.[ch] files.
3747 * libglabels/paper.c: (gl_paper_dup):
3748 Fixed rename of parameter introduced during documentation
3750 * data/glade/object-editor.glade:
3751 * src/object-editor-image-page.c:
3752 (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
3753 (gl_object_editor_set_image), (gl_object_editor_get_image),
3754 (update_preview_cb), (add_image_filters_to_chooser):
3755 * src/object-editor-private.h:
3756 Replaced deprecated GnomePixmapEntry with
3757 GtkFileChooserButton.
3759 2005-04-02 Jim Evins <evins@snaught.com>
3761 * src/mygal/mygal-combo-box.c: (deactivate_arrow),
3762 (mygal_combo_box_popup_hide_unconditional),
3763 (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
3764 (mygal_combo_toggle_pressed), (mygal_combo_box_init),
3765 (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
3766 (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
3767 (cb_tearable_button_release), (mygal_combo_box_set_tearable):
3768 Renamed all internal gtk_combo functions to mygal_combo
3769 to prevent namespace confusion.
3771 2005-04-02 Jim Evins <evins@snaught.com>
3773 * src/mygal/color-palette.c: (color_palette_change_custom_color),
3774 (cust_color_set), (color_palette_setup):
3775 * src/mygal/color-palette.h:
3776 Replaced deprecated GnomeColorPicker with GtkColorButton.
3778 2005-04-02 Jim Evins <evins@snaught.com>
3780 * docs/libglabels/libglabels-sections.txt:
3781 * docs/libglabels/libglabels-undocumented.txt:
3782 * docs/libglabels/tmpl/enums.sgml:
3783 * docs/libglabels/tmpl/paper.sgml:
3784 * docs/libglabels/tmpl/xml-paper.sgml:
3785 * docs/libglabels/tmpl/xml-template.sgml:
3786 * libglabels/enums.h:
3787 * libglabels/paper.c: (gl_paper_dup):
3788 * libglabels/paper.h:
3789 * libglabels/xml-paper.c:
3790 * libglabels/xml-template.c:
3791 More documentation updates for libglabels.
3793 2005-03-23 Jim Evins <evins@snaught.com>
3796 Automatically updated.
3801 * docs/libglabels/Makefile.am:
3802 * docs/libglabels/libglabels-docs.sgml:
3803 * docs/libglabels/libglabels-sections.txt:
3804 * docs/libglabels/libglabels-undocumented.txt:
3805 * docs/libglabels/tmpl/enums.sgml:
3806 * docs/libglabels/tmpl/libglabels-unused.sgml:
3807 * docs/libglabels/tmpl/libglabels.sgml:
3808 * docs/libglabels/tmpl/paper.sgml:
3809 * docs/libglabels/tmpl/template.sgml:
3810 * docs/libglabels/tmpl/xml-paper.sgml:
3811 * docs/libglabels/tmpl/xml-template.sgml:
3812 * docs/libglabels/tmpl/xml.sgml:
3813 Added basic gtk-doc stuff to support documenting libglabels
3816 Updated function comments with gtk-doc markup.
3820 2005-03-22 Jim Evins <evins@snaught.com>
3822 Since the development version now requires gtk-2.6/gnome-2.10, I
3823 have made a first pass at removing deprecations.
3826 * libglabels/Makefile.am:
3828 Added configure option to turn on X_DISABLE_DEPRECATED flags.
3829 Also removed all remnants of HAVE_FILECHOOSER.
3830 * src/file.c: (gl_file_open_real):
3831 Removed code for old GtkFileSelection.
3832 * libglabels/libglabels-private.h:
3833 * libglabels/paper.c:
3834 * libglabels/template.c:
3835 * libglabels/xml-paper.c:
3836 * libglabels/xml-template.c:
3840 * src/glabels-batch.c:
3844 * src/merge-properties-dialog.c:
3846 * src/object-editor.c:
3847 * src/prefs-dialog.c:
3849 * src/print-dialog.c:
3852 * src/template-designer.c:
3853 * src/ui-property-bar.c:
3855 * src/view-barcode.c:
3857 * src/view-ellipse.c:
3862 * src/wdgt-image-select.c:
3863 * src/wdgt-media-select.c:
3864 * src/wdgt-print-copies.c:
3865 * src/wdgt-print-merge.c:
3866 * src/wdgt-rotate-label.c:
3868 * src/xml-label-04.c:
3869 * src/xml-label-191.c:
3871 Added '#include <glib/gi18n.h>" where needed.
3872 Removed any unused '#include <gnome.h>"s.
3874 2005-03-22 Jim Evins <evins@snaught.com>
3876 * src/commands.c: (activate_url), (gl_cmd_help_about):
3877 Replaced GnomeAbout with GtkAboutDialog. Therefore the
3878 development version of glabels now depends on GTK 2.6 and
3881 Updated library dependencies.
3883 2005-02-28 Jim Evins <evins@snaught.com>
3886 * data/templates/misc-iso-templates.xml:
3887 Added 'Ednet 45021' template provided by Ali Akcaagac
3890 2005-02-14 Jim Evins <evins@snaught.com>
3892 * data/templates/avery-us-templates.xml:
3893 Updated templates to use inches instead of points.
3894 * src/print-dialog.c: (printer_page_new):
3895 Changed packing style when adding printer selector widget. This fixes
3898 2005-02-13 Jim Evins <evins@snaught.com>
3902 Updated spanish translations. (sergio rivadero)
3904 2005-02-05 Jim Evins <evins@snaught.com>
3906 Some cleanup to libglabels.
3909 Updated version to 2.1.1cvs. Added generation of libglabels.pc.
3910 * libglabels/libglabels.pc.in
3912 * libglabels/enums.h
3913 Created. Currently only contains glUnitsType which provides enumerations
3914 for all possible units of distance.
3915 * libglabels/Makefile.am:
3916 Incorporated new files enums.h and libglabels.pc[.in].
3917 * libglabels/libglabels.h:
3919 * libglabels/template.h:
3920 * libglabels/template.c: (gl_template_layout_new):
3921 Changed parameters nx and ny to gint from gdouble.
3923 * libglabels/xml.c: (gl_xml_get_prop_length),
3924 (gl_xml_set_prop_length), (gl_xml_set_default_units):
3925 Added support for different output units.
3926 * src/prefs-dialog.c: (update_locale_page_from_prefs),
3927 (update_prefs_from_locale_page):
3928 * src/prefs-model.c: (string_to_units), (units_to_string):
3929 * src/prefs-model.h:
3930 * src/prefs.c: (gl_prefs_get_units_per_point),
3931 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
3932 (gl_prefs_get_units_string):
3934 * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
3935 Reconciled all length enumerations with the new enumerations provided
3936 in libglabels/enums.h.
3938 2005-02-03 Jim Evins <evins@snaught.com>
3941 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
3943 Updated Italian translations. (Daniele Medri)
3945 Updated credits to reflect above translations.
3948 2005-01-22 Jim Evins <evins@snaught.com>
3953 Added MESSAGE-OF-DOOM to EXTRA_DIST.
3955 Final prep for 2.1.0.
3957 Set version to 2.1.0. Output MESSAGE-OF-DOOM.
3959 Added '--remove-original' flag to desktop-file-install, so that there is
3960 only one menu entry.
3962 2005-01-20 Jim Evins <evins@snaught.com>
3964 * data/glade/object-editor.glade:
3965 - Font family entry should not be editable.
3966 - img_key_entry should have sensitivity=YES, so that it follows the
3967 sensitivity of img_key_combo.
3969 2005-01-19 Jim Evins <evins@snaught.com>
3972 Give credit to Frederic Ruaudel for the color merge patches.
3974 2005-01-18 Frederic Ruaudel <grumz@users.sf.net>
3976 Add support to merge color for all other color attribute (Feature
3977 Requests item #1008635. If the data is invalid, the color used is transparent
3978 (GL_COLOR_NONE). The format for color in merge data file are those accepted
3979 by gdk_color_parse() these include name for a color from rgb.txt, such as
3980 DarkSlateGray, or a hex specification such as #305050. File format has been
3981 changed but backward compatibility is preserved for all format. For
3982 box/ellipse/line, keep attribute "line_color" for static color or replace by
3983 "line_color_field" for merge data. For text/barcode objects, keep attribute
3984 "color" for static color or replace by "color_field" for merge data. In the
3985 edit canvas window, merged color are represented by half-transparent black
3988 * data/dtd/glabels-2.0.dtd:
3989 Added line_color_field to line_attrs. Added color_field to
3990 Object-barcode and Span.
3991 * data/glade/object-editor.glade:
3992 Modify the layout of the editor to add merge possibility to color options
3994 Fix a copy/paste error in a comment
3996 Add default color for merge color representation in the editor canvas.
3997 * src/label-barcode.c:
3998 * src/object-editor-bc-page.c:
3999 * src/view-barcode.c:
4000 Add merge color support for barcode color.
4003 Add merge color support for box border color.
4004 * src/label-ellipse.c:
4005 * src/view-ellipse.c:
4006 Add merge color support for ellipse border color.
4009 Add merge color support for line color.
4010 * src/label-object.c:
4011 * src/label-object.h:
4012 * src/object-editor.c:
4013 * src/object-editor.h:
4014 * src/ui-property-bar.c:
4017 * src/xml-label-04.c:
4018 * src/xml-label-191.c:
4019 Add support for merging to other color attribute.
4021 * src/object-editor-text-page.c:
4023 Add merge color support for text color.
4024 * src/object-editor-fill-page.c:
4025 Change a blocked handler that didn't match the good widget. Fix the type
4026 of some debug message.
4027 * src/object-editor-line-page.c:
4028 Add merging support to line color option.
4029 * src/object-editor-private.h:
4030 Add variables for new widget.
4032 Modify the draw functions to get merge data if needed.
4034 Change the default size of the window in order to see all widget in the
4035 "text style tab" of the editor.
4037 Modify the parser to record/retreive the field value for objects that need
4038 "color" attribute. For box/ellipse/line, keep attribute "line_color" for
4039 static color or replace by "line_color_field" for merge data. For
4040 text/barcode objects, keep attribute "color" for static color or replace
4041 by "color_field" for merge data.
4043 2005-01-17 Jim Evins <evins@snaught.com>
4045 * src/view.c: (screen_changed_cb):
4046 Don't do anything if we don't have a screen.
4048 2005-01-06 Jim Evins <evins@snaught.com>
4050 * src/view.c: (get_home_scale):
4051 Fixed bad call to gtk_widget_has_screen() -- huh?.
4053 2005-01-06 Jim Evins <evins@snaught.com>
4055 * data/dtd/glabels-2.0.dtd:
4056 Added fill_color_field to fill_attrs. Also added xmlns attribute to all
4059 2005-01-06 Jim Evins <evins@snaught.com>
4061 * data/glade/object-editor.glade:
4062 Set entries for fill and data field key dropdowns to NOT editable.
4063 * src/view-box.c: (construct_properties_editor):
4064 * src/view-ellipse.c: (construct_properties_editor):
4065 Update object editor when label's merge property has changed.
4066 * src/xml-label.c: (xml_parse_object_ellipse):
4067 Completed the merge color support for the ellipse item.
4069 2005-01-06 Frederic Ruaudel <grumz@users.sf.net>
4071 Add support to merge color for object that have a "Fill color" attribute (Feature
4072 Requests item #1008635. If the data is invalid, the color used is transparent
4073 (GL_COLOR_NONE). The format for color in merge data file are those accepted
4074 by gdk_color_parse() these include name for a color from rgb.txt, such as
4075 DarkSlateGray, or a hex specification such as #305050. File format has been
4076 changed but backward compatibility is preserved for all format. For box/ellipse,
4077 keep attribute "fill_color" for static color or replace by "fill_color_field"
4080 * data/glade/object-editor.glade:
4081 Modify "Fill" tab to add the merge key combo and convert the labels into
4085 Add "glColorNode" structure and associated functions to manage it. This
4086 structure is equivalent for color than the "glTextNode". It holds the color
4088 * src/label-object.h:
4089 * src/label-object.c:
4091 * src/label-ellipse.c:
4092 * src/ui-property-bar.c:
4096 * src/view-ellipse.c:
4097 * src/xml-label-04.c:
4098 * src/xml-label-191.c:
4099 Change functions of objects that have a "fill color" attribute to use the
4100 new "glColorNode" structure. Use barcode code as example.
4102 Add the color.[ch] file to glabels_batch binary that now need support for
4104 * src/object-editor.h:
4105 * src/object-editor.c:
4106 * src/object-editor-fill-page.c:
4107 Manage the new widget of the editor's "Fill" tab : key combo and radio button
4108 to choose between static color or merge key. Use barcode code as example.
4109 * src/object-editor-private.h:
4110 Add new widget in the "_glObjectEditorPrivate" structure.
4112 Modify the draw functions to get merge data if needed.
4114 Modify the parser to record/retreive the field value for objects that need
4115 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
4116 color or "fill_color_field" for merge data.
4118 2005-01-04 Jim Evins <evins@snaught.com>
4121 * data/templates/avery-iso-templates.xml:
4122 * data/templates/misc-iso-templates.xml:
4123 * data/templates/misc-us-templates.xml:
4124 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
4127 2004-11-26 Jim Evins <evins@snaught.com>
4131 Updated french translations provided by Florent Morel <florent@taket.org>.
4132 * src/view-barcode.c:
4134 * src/view-ellipse.c:
4138 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
4139 thus _() strings were not being translated.
4141 2004-11-14 Jim Evins <evins@snaught.com>
4144 * src/debug.c: (gl_debug_init), (gl_debug):
4145 Borrowed from gedit: use environmental variables to select debug
4148 Removed unused include of debug.h.
4149 * src/glabels.c: (main):
4150 Added call to gl_debug_init(), and removed debug clutter from command line
4152 * src/glabels-batch.c: (main):
4153 Added call to gl_debug_init().
4155 2004-11-13 Jim Evins <evins@snaught.com>
4157 Drawing and property toolbars were being initialized with the "icons and text"
4158 look in Fedora Core 3. Even though none of the buttons had any text attached to
4159 them, the buttons were being sized as if they were. This led to less real estate
4160 for the property editor, leading to Bug #1064630. The
4162 * data/ui/glabels-ui.xml:
4163 Added explicit "look" property to both drawing and property toolbars.
4164 * src/prefs-model.c: (gl_prefs_model_save_settings),
4165 (gl_prefs_model_load_settings):
4166 * src/prefs-model.h:
4167 Removed drawing_toolbar_button_style configuration parameter.
4168 * src/ui.c: (view_menu_item_toggled_cb),
4169 (set_app_drawing_toolbar_style):
4170 Do not attempt to adjust look property of the drawing toolbar.
4172 2004-10-28 Jim Evins <evins@snaught.com>
4174 * data/pixmaps/glabels-about-logo.png:
4177 2004-10-28 Jim Evins <evins@snaught.com>
4179 * data/man/glabels.1:
4180 * src/glabels-batch.c: (main):
4182 * src/print.c: (gl_print_batch):
4184 Added option to glabels-batch to select the first label to begin
4187 2004-09-26 Jim Evins <evins@snaught.com>
4189 * data/desktop/glabels.desktop.in:
4190 Point to app icon, "glabels.png"
4191 * data/mime/glabels.keys.in:
4192 Point at mime icon, "glabels-application-x-glabels.png"
4193 * data/pixmaps/Makefile.am:
4194 Added glabels_app_icondir. Renamed icons.
4195 * data/pixmaps/glabels.png:
4196 New cleaned up app icon. Deleted glabels-icon.png.
4197 * data/pixmaps/glabels-application-x-glabels.png:
4199 * data/pixmaps/glabels-splash.png:
4200 Renamed glabels-logo to glabels-splash to be more correct about role.
4202 * src/template-designer.c:
4203 Point at app icon, "glabels.png"
4205 Point at renamed splash image, "glabels-splash.png"
4207 2004-08-22 Jim Evins <evins@snaught.com>
4210 * src/glabels-batch.c: (main):
4211 Applied patch with minor mods to allow selecting merge source and
4212 crop-marks on glabels-batch's command line. Original patch provided by
4213 José Dapena Paz <jdapena@igalia.com>.
4215 2004-08-15 Jim Evins <evins@snaught.com>
4217 * data/desktop/glabels.desktop.in:
4218 - Added encoding line
4219 - Removed period from comment
4220 - Fixed Terminal line, changed "0" to "false"
4221 - Added semicolen to Categories line
4223 - Made sure desktop.in comment string above still translated properly
4225 2004-08-14 Jim Evins <evins@snaught.com>
4227 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
4228 * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
4229 * src/xml-label-191.c: (xml191_parse_sheet):
4230 Fixed improper freeing of gettext strings. Merged from 2.0.1.
4232 Reconciled libglabels versioning with 2.0.1.
4235 2004-08-14 Jim Evins <evins@snaught.com>
4238 Updated version to 2.1cvs.
4240 2004-08-14 Jim Evins <evins@snaught.com>
4243 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
4245 2004-08-14 Jim Evins <evins@snaught.com>
4247 Fixes for Bug #1008181.
4249 * src/bc.c: (gl_barcode_default_digits):
4250 Make a format of zero digits, harmless.
4251 * src/xml-label.c: (xml_parse_object_barcode):
4252 Set default value of the format property of barcode objects to 10, not
4253 zero. This will prevent crashes when reading pre 2.0.x files.
4255 2004-08-09 Jim Evins <evins@snaught.com>
4259 * help/C/glabels-C.omf:
4260 * help/C/glabels.xml:
4261 Brought documentation up-to-date for 2.0.0 release.
4263 2004-08-09 Jim Evins <evins@snaught.com>
4265 These are hopefully the final preparations for 2.0.0.
4267 * data/mime/Makefile.am:
4268 Include glabels.xml in EXTRA_DIST.
4270 - Updated comment style.
4271 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
4272 - Added package and version info to configuration printout
4273 - Update version to 2.0.0
4274 * libglabels/Makefile.am:
4275 Use the new LIBGLABELS_VERSION_INFO macro.
4277 2004-08-09 Jim Evins <evins@snaught.com>
4281 Cleanup of required library macros.
4283 2004-08-08 Jim Evins <evins@snaught.com>
4287 - More specific of what to install in /usr/bin and /usr/lib
4288 - Remove built mime registration files from staging directory
4290 2004-08-08 Jim Evins <evins@snaught.com>
4292 * data/mime/Makefile.am:
4293 Fixed typo: key_files should have been keys_files.
4295 2004-08-08 Jim Evins <evins@snaught.com>
4297 Reorganization of runtime data files. Also added registration of mimetype with
4298 new freedesktop.org mime database if available.
4301 Moved files to appropriate subdirectories, creating local Makefile.am
4302 in each subdirectory.
4303 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
4304 These are now installed at $datadir/glabels/templates.
4305 - Moved glabels.1 to man subdirectory.
4306 - Moved glabels-2.0.dtd to dtd subdirectory.
4307 - Moved glabels.desktop.in to desktop subdirectory.
4308 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
4310 Moved "./pixmaps" to "./data/pixmaps"
4312 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
4314 Moved libglade files from src to data/glade. Created Makefile.am.
4316 Removed pixmaps from SUBDIRS.
4318 - Removed pixmaps from makefiles.
4319 - Added makefiles for new subdirs of data.
4320 - Added tests for freedesktop.org mime database.
4322 - Added tests for freedesktop.org mime database for post install and
4323 post un-install actions.
4324 * libglabels/Makefile.am:
4325 Moved system template files to $(datadir)/glabels/templates.
4326 * libglabels/libglabels-private.h:
4327 Moved system template files to $(datadir)/glabels/templates.
4329 - Accounted for movement of ui and libglade files.
4330 - Added missing .in files.
4331 - Reorganized by directory.
4333 Accounted for movement of ui and libglade files.
4334 * data/mime/glabels.xml.in:
4335 New file for registering with freedesktop.org mime database.
4337 2004-08-07 Jim Evins <evins@snaught.com>
4339 * src/recent-files/*:
4340 Re-synced to latest libegg/recent-files.
4342 2004-08-07 Jim Evins <evins@snaught.com>
4347 Renamed "./doc" directory to "./help" which contains user documentation,
4348 to be more consistent with other GNOME applications.
4351 2004-07-26 Jim Evins <evins@snaught.com>
4353 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
4354 Corrected button order of merge properties dialog.
4356 2004-07-18 Jim Evins <evins@snaught.com>
4358 * data/glabels-2.0.dtd:
4359 * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
4360 (gl_barcode_get_prefered_n):
4362 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
4363 (gl_label_barcode_get_props), (get_size):
4364 * src/label-barcode.h:
4365 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
4366 (style_changed_cb), (gl_object_editor_set_bc_style),
4367 (gl_object_editor_get_bc_style):
4368 * src/object-editor-data-page.c: (data_radio_toggled_cb),
4369 (gl_object_editor_set_data), (gl_object_editor_get_data):
4370 * src/object-editor-private.h:
4371 * src/object-editor.c: (gl_object_editor_set_key_names):
4372 * src/object-editor.glade:
4373 * src/object-editor.h:
4374 * src/print.c: (draw_barcode_object):
4375 * src/view-barcode.c: (update_object_from_editor_cb),
4376 (update_editor_from_object_cb),
4377 (gl_view_barcode_create_event_handler), (draw_barcode):
4378 * src/xml-label-04.c: (xml04_parse_barcode_props):
4379 * src/xml-label-191.c: (xml191_parse_barcode_props):
4380 * src/xml-label.c: (xml_parse_object_barcode),
4381 (xml_create_object_barcode):
4382 Added "format" attribute to barcode objects. This attribute is used
4383 to properly format freeform barcodes barcodes prior to merge data is
4384 applied, so that barcodes can be accurately layed out. This addresses
4385 remaining issues of feature request #824787. Also added an example of
4386 the format in the object editor.
4388 2004-07-12 Jim Evins <evins@snaught.com>
4390 Various code cleanups.
4392 * src/label-barcode.c:
4393 Removed unneeded include of gnome-glyphlist.h.
4395 * src/label-text.c: (get_size):
4396 Fixed memory leak: unref glyphlists when done with them.
4398 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
4399 * src/object-editor-data-page.c:
4400 (gl_object_editor_prepare_data_page):
4401 * src/object-editor-image-page.c:
4402 (gl_object_editor_prepare_image_page):
4403 * src/object-editor-line-page.c:
4404 (gl_object_editor_prepare_line_page):
4405 * src/object-editor-lsize-page.c:
4406 (gl_object_editor_prepare_lsize_page):
4407 * src/object-editor-position-page.c:
4408 (gl_object_editor_prepare_position_page):
4409 * src/object-editor-size-page.c:
4410 (gl_object_editor_prepare_size_page):
4411 * src/object-editor-text-page.c:
4412 (gl_object_editor_prepare_text_page):
4413 Removed unneeded size groups, originally intended to keep widgets aligned.
4414 Now use tables to lay these out in object-editor.glade.
4416 * src/print.c: (draw_text_object):
4417 Fixed memory leak: unref glyphlists when done with them.
4419 * src/view-barcode.c: (draw_barcode):
4420 Fixed memory leak: unref glyphlists when done with them.
4422 * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
4423 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
4425 - Fixed memory leak: unref glyphlists when done with them.
4427 2004-07-11 Jim Evins <evins@snaught.com>
4429 * data/glabels-2.0.dtd:
4430 * src/label-text.c: (gl_label_text_instance_init), (copy),
4431 (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
4433 * src/object-editor-private.h:
4434 * src/object-editor-text-page.c:
4435 (gl_object_editor_prepare_text_page),
4436 (gl_object_editor_set_text_auto_shrink),
4437 (gl_object_editor_get_text_auto_shrink):
4438 * src/object-editor.c: (gl_object_editor_set_key_names):
4439 * src/object-editor.glade:
4440 * src/object-editor.h:
4441 * src/print.c: (draw_text_object):
4442 * src/view-text.c: (update_object_from_editor_cb),
4443 (update_editor_from_object_cb):
4444 * src/xml-label.c: (xml_parse_object_text),
4445 (xml_create_object_text):
4446 Added option to allow document merge to auto shrink text size to fit
4447 within the text box. The code in print.c that actually shrinks the
4448 text is loosely based on a patch submitted by Mark Harrison
4449 <mark.harrison@velocitynet.com.au>. This addresses feature request
4452 2004-07-11 Jim Evins <evins@snaught.com>
4454 * data/glabels-2.0.dtd:
4455 * libglabels/template.c: (gl_template_rect_label_type_new),
4456 (gl_template_round_label_type_new),
4457 (gl_template_cd_label_type_new), (gl_template_label_type_dup),
4458 (template_full_page):
4459 * libglabels/template.h:
4460 * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
4461 (xml_create_label_node):
4462 * pixmaps/ex-rect-size.png:
4463 * src/print.c: (clip_to_outline), (clip_punchouts):
4464 * src/template-designer.c: (construct_rect_size_page),
4465 (rect_size_page_prepare_cb), (layout_page_prepare_cb),
4467 * src/template-designer.glade:
4468 * src/xml-label-191.c: (xml191_parse_label):
4469 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
4470 properties for rectangular labels. Templates remain backwards compatible,
4471 but this breaks the libglabels API (I don't know of anyone outside of
4472 glabels using libglabels at this time -- what can I say, the program is
4473 is still "unstable"). This addresses the suggestion in Feature Request
4476 2004-07-05 Jim Evins <evins@snaught.com>
4477 * src/print.c: (print_crop_marks), (draw_outline):
4478 Changed crop marks and label outlines to black, instead of 25% gray.
4479 This addresses debian Bug #257460.
4481 2004-07-05 Jim Evins <evins@snaught.com>
4483 * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
4484 * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
4485 Preserve "is_default" of fill and line color_combos when creating from
4488 2004-07-02 Jim Evins <evins@snaught.com>
4491 Created man page. Based on page submitted by Matthew J. Lockner, however
4492 it has been severely edited.
4494 * data/avery-other-templates.xml
4495 * data/misc-other-templates.xml:
4496 Started new files for predefined templates with non-standard sheet sizes.
4497 These have been initially populated with the Avery 06141 and
4498 OfficeMax #86112, both provided by Matthew J. Lockner.
4501 Install above manpage and template files.
4504 Make sure we install man pages.
4506 * src/glabels-batch.c:
4507 Changed short form of help option to '-?' to be consistent with glabels.
4510 Added acknowledgement for above labels.
4512 2004-07-02 Jim Evins <evins@snaught.com>
4514 * src/glabels.c: (main), (save_session_cb):
4515 - Now include libbonoboui.h, recent.h, and file.h to provide missing
4517 - save_session_cb() now returns gboolean.
4518 - Minor formatting changes.
4522 - Now include file.h to provide missing prototype.
4523 - gl_window_get_type() now returns GType, not guint. I believe this may
4524 ultimately be cause of the segfault reported in Bug #982287, since
4525 GType is actually a gulong, which may not be compatible on other
4526 architectures (64bit) -- I cannot personally test this at this time.
4527 I was sloppy in several other xxx_get_type() functions which also
4528 returned guint -- see next group of files:
4530 * src/window.c: (gl_window_get_type):
4531 * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
4532 * src/canvas-hacktext.h:
4533 * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
4534 (gl_hig_category_get_type), (gl_hig_vbox_get_type),
4535 (gl_hig_hbox_get_type):
4537 * src/label-barcode.c: (gl_label_barcode_get_type):
4538 * src/label-barcode.h:
4539 * src/label-box.c: (gl_label_box_get_type):
4541 * src/label-ellipse.c: (gl_label_ellipse_get_type):
4542 * src/label-ellipse.h:
4543 * src/label-image.c: (gl_label_image_get_type):
4544 * src/label-image.h:
4545 * src/label-line.c: (gl_label_line_get_type):
4547 * src/label-object.c: (gl_label_object_get_type):
4548 * src/label-object.h:
4549 * src/label-text.c: (gl_label_text_get_type):
4551 * src/label.c: (gl_label_get_type):
4553 * src/merge-properties-dialog.c:
4554 (gl_merge_properties_dialog_get_type):
4555 * src/merge-properties-dialog.h:
4556 * src/merge-text.c: (gl_merge_text_get_type):
4558 * src/merge.c: (gl_merge_get_type):
4560 * src/object-editor.c: (gl_object_editor_get_type):
4561 * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
4562 * src/prefs-dialog.h:
4563 * src/prefs-model.c: (gl_prefs_model_get_type):
4564 * src/prefs-model.h:
4565 * src/print-dialog.c: (gl_print_dialog_get_type):
4566 * src/print-dialog.h:
4567 * src/template-designer.c: (gl_template_designer_get_type):
4568 * src/template-designer.h:
4569 * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
4570 * src/ui-property-bar.h:
4571 * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
4573 * src/view-barcode.c: (gl_view_barcode_get_type):
4574 * src/view-barcode.h:
4575 * src/view-box.c: (gl_view_box_get_type):
4577 * src/view-ellipse.c: (gl_view_ellipse_get_type):
4578 * src/view-ellipse.h:
4579 * src/view-highlight.c: (gl_view_highlight_get_type):
4580 * src/view-highlight.h:
4581 * src/view-image.c: (gl_view_image_get_type):
4583 * src/view-line.c: (gl_view_line_get_type):
4585 * src/view-object.c: (gl_view_object_get_type):
4586 * src/view-object.h:
4587 * src/view-text.c: (gl_view_text_get_type):
4589 * src/view.c: (gl_view_get_type):
4591 * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
4592 * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
4593 * src/wdgt-image-select.h:
4594 * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
4595 * src/wdgt-media-select.h:
4596 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
4597 * src/wdgt-mini-preview.h:
4598 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
4599 * src/wdgt-print-copies.h:
4600 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
4601 * src/wdgt-print-merge.h:
4602 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
4603 * src/wdgt-rotate-label.h:
4604 - Made sure all xxx_get_type functions returned GType, not guint. This
4605 was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
4606 ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
4607 wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
4608 wdt-print-merge.[ch], and wdgt-rotate-label.[ch]. See separate
4609 window.[ch] details above for more info.
4610 - Reconciled various coding style differences in all xxx_get_type()
4612 * All prototypes include G_GNUC_CONST.
4613 * All prototypes specify the return value as GType, not GtkType
4615 * Info structures are all declared as "static const."
4616 * Generalized the names of type and info variables.
4617 * Miscelaneous formatting.
4619 2004-06-08 Jim Evins <evins@snaught.com>
4625 Don't touch compression of original file -- still defaults to 9 for
4626 new files. Original patch provided by Javier Donaire Segarra
4627 (#912252 in patch tracker).
4629 2004-05-05 Jim Evins <evins@snaught.com>
4631 * data/glabels-2.0.dtd:
4632 Broke DTD previously when adding new barcode types that contain a
4633 plus sign (+). Simply changed the BC_STYLE_TYPE entity to "CDATA"
4634 to avoid the problem.
4635 * data/avery-iso-templates.xml:
4636 * data/zweckform-iso-templates.xml:
4638 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021. Templates
4639 provided by Frank Altpeter.
4640 * libglabels/xml-template.c: (xml_create_label_node):
4641 Reordered markup and layout sub-nodes so that resulting templates will
4642 validate against DTD.
4644 2004-03-13 Jim Evins <evins@snaught.com>
4646 * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
4647 Changed spin callback signals from "value-changed" back to "changed."
4648 This was accidentally introduced in a previous revision, and can cause
4649 size changes just by selecting the size tab.
4651 2004-03-06 Jim Evins <evins@snaught.com>
4653 * src/view.c: (draw_grid_layer):
4654 For round labels (round and cd) adjust grid so that it lines up with
4655 center of label. Also, no longer draw box around label in the grid layer,
4656 it is hidden by he fg layer anyway. Feature suggested by
4657 nemolivier@free.fr. Although the grid is aligned with the center of the
4658 label, the coordinate system is still relative to the upper left corner
4659 of the rectangle containing the label.
4661 2004-02-25 Jim Evins <evins@snaught.com>
4664 Changed version to 2.0pre1cvs
4666 * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
4667 Removed extra xmlFreeDoc() calls upon error. Also print the doc->URL
4668 instead of doc->name fields when errors encountered.
4670 2004-02-21 Jim Evins <evins@snaught.com>
4672 * data/avery-iso-templates.xml:
4673 Added aliases for Avery 8651. Patch provided by Wayne Schuller.
4676 Added libglabels library and include file to installed files.
4679 Final prep for 1.93.3.
4681 2004-02-20 Jim Evins <evins@snaught.com>
4683 * src/glabels-batch.c: (main):
4684 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
4685 as suggested by Javier Donaire Segarra. This addresses bug #901063.
4687 2004-02-16 Jim Evins <evins@snaught.com>
4690 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
4693 Added HAVE_FILE_CHOOSER to INCLUDES.
4695 * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
4696 (gl_file_save_as), (save_as_response):
4697 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
4699 2004-02-16 Jim Evins <evins@snaught.com>
4701 * src/xml-label-04.c: (xml04_parse_image_props):
4702 * src/xml-label-191.c: (xml191_parse_image_props):
4703 * src/xml-label.c: (xml_parse_object_image):
4704 Delay setting image size until after image has been applied to new
4707 2004-02-15 Jim Evins <evins@snaught.com>
4709 * src/label-barcode.c: (gl_label_barcode_set_data),
4710 (gl_label_barcode_set_props):
4711 Don't emit "changed" signal, if no change actually made for these
4712 methods. Reduces number of unnecessary redraws of barcodes.
4714 * src/label-object.h:
4715 * src/label-object.c: (gl_label_object_set_position),
4716 (gl_label_object_set_position_relative), (set_size),
4717 (gl_label_object_set_size),
4718 (gl_label_object_set_size_honor_aspect):
4719 Don't emit "changed" signal, if no change actually made for these
4722 2004-02-15 Jim Evins <evins@snaught.com>
4724 * data/glabels-2.0.dtd:
4725 Added specific subtypes for various barcode types.
4728 * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
4729 (gl_barcode_get_styles_list), (gl_barcode_default_digits),
4730 (gl_barcode_can_text), (gl_barcode_text_optional),
4731 (gl_barcode_can_csum), (gl_barcode_csum_optional),
4732 (gl_barcode_id_to_name), (gl_barcode_name_to_id):
4733 Changed API to use a string id, rather than a fixed enumeration. Id and
4734 name are separate strings. Added entries to backend table for specific
4735 subtypes for various barcode types.
4738 * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
4740 Modified to conform to above API. Now more stringent with data length
4741 for various subtypes.
4743 * src/bc-gnubarcode.h:
4744 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
4745 (is_length_valid), (is_length1_valid), (is_length2_valid):
4746 Modified to conform to above API. Now more stringent with data length
4747 for various subtypes.
4749 * src/label-barcode.h:
4750 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
4751 (gl_label_barcode_get_props), (get_size):
4752 Modified to use above API for storing barcode type.
4754 * src/object-editor.h:
4755 * src/object-editor-bc-page.c: (style_changed_cb),
4756 (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
4757 Modified to use above API for storing barcode type.
4759 * src/object-editor-size-page.c:
4760 (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
4761 (w_spin_cb), (h_spin_cb), (size_reset_cb):
4762 Added debug markers.
4764 * src/object-editor.glade:
4765 Made barcode style combo's text entry non-editable.
4767 * src/print.c: (draw_barcode_object):
4768 Modified to use above API for barcode type.
4770 * src/view-barcode.c: (update_object_from_editor_cb),
4771 (update_editor_from_object_cb),
4772 (gl_view_barcode_create_event_handler), (draw_barcode):
4773 Modified to use above API for barcode type.
4775 * src/xml-label-04.c: (xml04_parse_barcode_props):
4776 * src/xml-label-191.c: (xml191_parse_barcode_props):
4777 * src/xml-label.c: (xml_parse_object_barcode),
4778 (xml_create_object_barcode):
4779 Modified to use above API for barcode type.
4781 2004-02-07 Jim Evins <evins@snaught.com>
4783 * src/stock-pixmaps/Makefile.am:
4784 * src/stock-pixmaps/stock_hchain_24.png:
4785 * src/stock-pixmaps/stock_hchain_broken_24.png:
4786 * src/stock-pixmaps/stock_vchain_24.png:
4787 * src/stock-pixmaps/stock_vchain_broken_24.png:
4788 Added chain pixmaps borrowed from the gimp's default theme.
4791 * src/stock.c: (gl_stock_init), (add_button_icon):
4792 Added above pixmaps to stock icon sets. Created add_button_icon() to
4793 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
4795 * src/wdgt-chain-button.h
4796 * src/wdgt-chain-button.c
4799 Added this Modified version of gimpchainbutton widget, borrowed from
4803 Added acknowledgements of the above borrowing from the gimp.
4805 * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
4807 * src/object-editor.c: (gl_object_editor_construct_chain_button):
4808 * src/object-editor.glade:
4809 Replaced the keep aspect ratio check box with the above chain-button
4812 * src/text-node.c: (gl_text_node_equal):
4814 Added function gl_text_node_equal() to compare text_nodes.
4816 * src/label-image.c: (gl_label_image_set_filename):
4817 Replaced incomplete text_node comparison code with invocation of
4818 gl_text_node_equal. This fixed the problem of not being able to
4819 resize an image using the object_editor if the aspect ratio is not
4822 2004-02-04 Jim Evins <evins@snaught.com>
4824 * src/object-editor-image-page.c:
4825 (gl_object_editor_prepare_image_page):
4826 Track "changed" signal of pixmap entry's GtkEntry rather than its
4827 "activate" signal -- this catches all changes to the entry rather than
4828 just changes resulting from a browse, so one can easily pull previous
4829 entries from the history. (This change is marked below on 2004-02-03,
4830 but somehow never got checked in.)
4832 * src/view-highlight.c: (sl_resize_event_handler),
4833 (sr_resize_event_handler), (st_resize_event_handler),
4834 (sb_resize_event_handler):
4835 Side resize handles will now confirm the actual resize that the object
4836 accepted before adjusting position parameters. Previously some interesting
4837 things happened when resizing a barcode to its minimum size.
4839 2004-02-03 Jim Evins <evins@snaught.com>
4841 * src/object-editor-image-page.c:
4842 (gl_object_editor_prepare_image_page):
4843 Track "changed" signal of pixmap entry's GtkEntry rather than its
4844 "activate" signal -- this catches all changes to the entry rather than
4845 just changes resulting from a browse, so one can easily pull previous
4846 entries from the history.
4848 * src/view-highlight.c: (tl_resize_event_handler),
4849 (tr_resize_event_handler), (bl_resize_event_handler),
4850 (br_resize_event_handler):
4851 Allow control key to be dropped while dragging a corner resize handle
4852 without losing the aspect ratio lock.
4854 2004-02-02 Jim Evins <evins@snaught.com>
4856 * src/label-image.c: (gl_label_image_set_filename):
4857 When setting a new filename adjust size such that the aspect ratio of
4858 the image is preserved using the current size as a bounding box.
4860 * src/view-image.c: (update_object_from_editor_cb):
4861 When updating object from editor, feed back possible size changes to
4862 editor as a result of a possible change in image.
4864 * src/object-editor-size-page.c: (size_reset_cb):
4865 Fixed typo when blocking spin handlers. If the base size is larger than
4866 the max size, treat max size as a bounding box while keeping aspect
4870 2004-02-02 Jim Evins <evins@snaught.com>
4872 * src/label-object.h:
4873 * src/label-object.c: (gl_label_object_set_size),
4874 (gl_label_object_set_size_honor_aspect):
4875 Added gl_label_object_set_size_honor_aspect() which will maintain the
4876 current aspect ratio by modifying the supplied w or h apropriately.
4878 * src/view-highlight.c: (tl_resize_event_handler),
4879 (tr_resize_event_handler), (bl_resize_event_handler),
4880 (br_resize_event_handler):
4881 Corner handles will now maintain the current aspect ratio if the
4882 control key is pressed while resizing. This addresses feature
4886 2004-01-31 Jim Evins <evins@snaught.com>
4889 * data/avery-us-templates.xml:
4890 Added entries for "LSK-3," "LSK-5," and "LSK-8." Submitted by JBadger.
4892 * libglabels/template.c: (read_template_files_from_dir):
4893 Corrected problem with testing for extensions.
4895 * src/object-editor.glade:
4896 Corrected grouping of radio buttons in barcode data page.
4898 * src/print.c: (draw_barcode_object):
4899 * src/view-barcode.c: (draw_barcode):
4900 Corrected problem with calculation of y_offset for locating characters.
4902 2004-01-24 Jim Evins <evins@snaught.com>
4905 * data/avery-us-templates.xml:
4906 Added Avery 5824, submitted by Fred Bacon.
4908 2004-01-20 Jim Evins <evins@snaught.com>
4910 Catching up on a couple of backlogged user template submissions.
4912 * data/avery-iso-templates.xml:
4913 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
4914 Suggested by Linas Jakucionis.
4916 * data/zweckform-iso-templates.xml:
4917 Added Zweckform 4760, submitted by Thomas Vill.
4920 Updated to reflect above submissions.
4922 2004-01-06 Jim Evins <evins@snaught.com>
4924 Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
4925 xml.[ch] into a separate library called libglabels, to facilitate third
4926 party use of glabels template files. This was suggested by Wayne Schuller.
4927 Once split-out, some modifications to the structures and functions to
4928 make a cleaner more useful API, hopefully. Rather extensive changes have
4929 propogated to other modules.
4937 * src/xml-template.h:
4938 * src/xml-template.c:
4941 These files have been moved to libglabels/. API cleanup performed.
4943 * libglabels/libglabels.h:
4944 * libglabels/libglabels-private.h:
4945 * libglabels/Makefile.am:
4946 These files have been added to finish out libglabels.
4953 Modified to reflect new sets of files in src/ and libglabels/.
4955 * COPYING.LIBGLABELS:
4957 Added copy of the LGPL for libglabels, and a copy the GFDL for
4960 * src/glabels-batch.c:
4962 * src/label.c: (gl_label_finalize), (gl_label_set_template),
4963 (gl_label_get_size):
4965 * src/prefs-model.c: (gl_prefs_model_load_settings):
4966 * src/print-dialog.c:
4967 * src/print.c: (gl_print_simple), (gl_print_merge_collated),
4968 (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
4969 (print_crop_marks), (print_label), (draw_outline),
4970 (clip_to_outline), (clip_punchouts):
4971 * src/template-designer.c: (construct_pg_size_page),
4972 (pg_size_page_changed_cb), (layout_page_changed_cb),
4973 (print_test_cb), (build_template):
4974 * src/util.c: (gl_util_fraction):
4976 * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
4977 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
4978 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
4979 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
4980 (draw_markup_margin_round), (draw_markup_margin_cd),
4981 (draw_markup_margin_cd_bc), (draw_markup_line),
4982 (draw_markup_circle), (gl_view_copy):
4983 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
4984 (page_size_entry_changed_cb), (details_update), (get_layout_desc),
4985 (get_label_size_desc):
4986 * src/wdgt-mini-preview.c:
4987 (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
4989 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
4990 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
4991 * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
4992 (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
4993 * src/wdgt-rotate-label.h:
4994 * src/xml-label-04.c: (xml04_parse_media_description):
4995 * src/xml-label-191.c: (gl_xml_label_191_parse),
4996 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
4997 (xml191_parse_markup), (xml191_parse_alias):
4998 * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
5000 Various changes to accomodate new libglabels API.
5002 2004-01-03 Jim Evins <evins@snaught.com>
5007 2004-01-03 Jim Evins <evins@snaught.com>
5010 Added acknowledgement of contributions by Wayne Schuller.
5012 * src/commands.c: (gl_cmd_file_print):
5013 Create extra reference to print dialog, so that it can be properly re-used.
5015 * src/mygal/mygal-combo-box.h:
5016 * src/mygal/mygal-combo-box.c:
5017 (mygal_combo_box_popup_hide_unconditional),
5018 (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
5019 (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
5020 (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
5021 (mygal_combo_box_set_tearable):
5022 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
5023 complete the rename of this widget to prevent namespace collisions
5026 * src/prefs-dialog.glade:
5027 Fixed alignment of Fill/Color widgets.
5029 2004-01-03 Jim Evins <evins@snaught.com>
5031 * data/avery-iso-templates.xml:
5032 Added user submitted templates.
5033 Avery 8435A & 8435B, submitted by Ludger Solbach.
5035 * doc/C/glabels.xml:
5036 Added minimal documentation, noting the new template designer.
5038 2004-01-03 Jim Evins <evins@snaught.com>
5040 * pixmaps/ex-rect-size.png:
5041 * pixmaps/ex-round-size.png:
5042 * pixmaps/ex-cd-size.png:
5043 * pixmaps/Makefile.am:
5044 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
5045 files to be used as illustrations/examples in the template-designer.
5047 * src/template-designer.c: (construct_rect_size_page),
5048 (construct_round_size_page), (construct_cd_size_page),
5049 (construct_nlayouts_page), (rect_size_page_prepare_cb),
5050 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
5051 (layout_page_prepare_cb), (build_template):
5052 * src/template-designer.glade:
5053 Added illustrations for rectangle, round, and cd label size pages.
5054 Added margin spinboxes to these pages, and now add a margin markup
5055 to the constructed template. Added realistic default values for
5056 some of the size spinboxes. Cleaned up the code for setting spinbox
5057 ranges on the layouts page.
5059 2004-01-02 Jim Evins <evins@snaught.com>
5061 * src/object-editor-size-page.c: (h_spin_cb):
5062 Fixed cut-n-paste error in h_spin_cb that loaded h from
5063 the wrong spinbutton.
5065 * src/object-editor.h:
5066 * src/object-editor.c: (gl_object_editor_class_init),
5067 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
5068 * src/object-editor-private.h:
5069 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
5071 Added "size_changed" signal.
5073 * src/view-text.c: (construct_properties_editor),
5074 (update_object_from_editor_cb),
5075 (update_object_from_editor_size_cb):
5076 Track size changes from object editor separately from other
5077 properties. This is so the default size (0,0) of a text
5078 object is not modified unintentionally.
5080 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
5082 Added feature: line spacing - allows you to comfortably space a text box to
5083 fit a label perfectly.
5085 * data/glabels-2.0.dtd:
5086 * src/label-object.c: (gl_label_object_set_text_line_spacing),
5087 (gl_label_object_get_text_alignment),
5088 (gl_label_object_get_text_line_spacing):
5089 * src/label-object.h:
5090 * src/label-text.c: (gl_label_text_class_init),
5091 (gl_label_text_instance_init), (copy), (get_size),
5092 (set_text_line_spacing), (get_text_alignment),
5093 (get_text_line_spacing):
5094 * src/object-editor-private.h:
5095 * src/object-editor-text-page.c:
5096 (gl_object_editor_prepare_text_page),
5097 (gl_object_editor_set_text_line_spacing),
5098 (gl_object_editor_get_text_line_spacing):
5099 * src/object-editor.glade:
5100 * src/object-editor.h:
5101 * src/prefs-dialog.c: (construct_object_page),
5102 (update_object_page_from_prefs), (update_prefs_from_object_page):
5103 * src/prefs-dialog.glade:
5104 * src/prefs-model.c: (gl_prefs_model_save_settings),
5105 (gl_prefs_model_load_settings), (get_float):
5106 * src/prefs-model.h:
5107 * src/print.c: (draw_text_object):
5109 * src/view-text.c: (update_object_from_editor_cb),
5110 (update_editor_from_object_cb),
5111 (gl_view_text_create_event_handler), (draw_hacktext):
5112 * src/view.c: (gl_view_construct),
5113 (gl_view_set_selection_text_line_spacing),
5114 (gl_view_set_default_text_line_spacing),
5115 (gl_view_get_default_text_line_spacing):
5117 * src/xml-label.c: (xml_parse_toplevel_span),
5118 (xml_create_toplevel_span):
5120 2003-12-30 Jim Evins <evins@snaught.com>
5122 * src/template-designer.c:
5123 * src/template-designer.h:
5124 * src/template-designer.glade:
5125 New template designer assistant.
5129 Added entries for src/template-designer.* files.
5131 * pixmaps/ex-1layout.png
5132 * pixmaps/ex-2layouts.png
5133 * pixmaps/Makefile.am:
5134 Added the new image files ex-*.png used as illustrations in the
5135 template designer assistant.
5137 * src/print-dialog.h:
5138 * src/print-dialog.c: (gl_print_dialog_finalize),
5139 (gl_print_dialog_new), (gl_print_dialog_construct),
5140 (gl_print_dialog_force_outline_flag):
5141 Changed first argument of gl_print_dialog_new() from glView to glLabel,
5142 to support printing from the template designer assistant which does not
5143 have a full-fledged view. Nothing else from the view object was being
5144 used by the dialog anyway.
5146 Added the gl_print_dialog_force_outline_flag() method, for better
5147 integration with the template designer assistant.
5151 * src/commands.c: (gl_cmd_file_template_designer),
5152 (gl_cmd_file_print):
5153 Modified print command to provide label instead of view to dialog.
5154 Added the gl_cmd_file_template_designer() command to invoke the
5155 template designer assistant.
5158 * src/glabels-ui.xml:
5159 Added support for template designer assistant.
5161 * src/wdgt-mini-preview.h:
5162 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
5163 (gl_wdgt_mini_preview_set_bg_color):
5164 Preview is now centered in canvas. Added
5165 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
5166 assistant to match the background color with its own.
5168 * src/print.c: (clip_to_outline):
5169 Fixed really stupid bug when adding waste to clip region of rectangular
5170 labels/cards. Each side of the clip region needs to be extended by
5171 twice the waste margin, as well as negatively offset by the waste
5174 2003-12-28 Jim Evins <evins@snaught.com>
5176 * src/prefs-dialog.c: (update_object_page_from_prefs):
5177 Block intermediary function align_toggle_cb() instead of
5178 update_prefs_from_object_page() for the three alignment
5181 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
5183 * src/file.c: (gl_file_new), (gl_file_properties):
5184 Swap button order and set default for higificatory pleasure.
5186 2003-12-27 Jim Evins <evins@snaught.com>
5188 * barcode-0.98/Makefile.am:
5189 One last time: removed doc/Makefile and po/Makefile.in.in from
5192 2003-12-27 Jim Evins <evins@snaught.com>
5194 * barcode-0.98/Makefile.am:
5195 Removed config.stat entry from EXTRA_DIST files.
5197 * barcode-0.98/Makefile.in:
5200 2003-12-27 Jim Evins <evins@snaught.com>
5203 Updated to work with latest gnome-common package from CVS.
5204 Removed recursive configuration of barcode-0.98.
5211 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
5213 * barcode-0.98/Makefile.in:
5214 * barcode-0.98/configure.in:
5215 * barcode-0.98/Makefile.am:
5216 * barcode-0.98/README.glabels:
5217 Modified to ignore the barcode package's build system, and build
5218 as a part of glabels.
5219 Renamed Makefile.in to Makefile.in.dist.
5220 Renamed configure.in to configure.in.dist.
5221 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
5224 * src/mygal/Makefile.am:
5225 * src/recent-files/Makefile.am:
5226 In order to build against the GNOME 2.5 platform,
5227 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
5229 * src/mygal/Makefile.am:
5230 * src/mygal/mygal-combo-box.c:
5231 * src/mygal/mygal-combo-box.h:
5232 * src/mygal/widget-color-combo.c:
5233 * src/mygal/widget-color-combo.h:
5235 In order to build against the GNOME 2.5 platform,
5236 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
5237 collisions with the real gtk_combo_box widget, now a part of gtk.
5239 2003-12-26 Jim Evins <evins@snaught.com>
5245 Moved local versions of get_home_data_dir() in paper.c and
5246 template.c to util package. Cleaned up formatting in
5250 In gl_template_register() save a copy of the template in
5251 ~/.glabels if the template is not known. Still need to
5252 handle duplicate filename case and duplicate name but
5253 different template case.
5257 Moved local definition of NAME_SPACE macro from xml-label.c
5260 * src/xml-template.c:
5261 * src/xml-template.h:
5262 Added function gl_xml_template_write_template_to_file(), used
5263 in gl_template_register().