1 2009-09-21 Jim Evins <evins@snaught.com>
4 * data/builder/Makefile.am:
5 * data/builder/new-label-dialog.builder:
6 Removed trivial builder file for new label dialog.
7 * data/builder/wdgt-media-select.builder:
8 Changed focus behavior of widgets.
9 * src/new-label-dialog.c: (gl_new_label_dialog_init),
10 (gl_new_label_dialog_construct):
11 - Removed use of trivial builder file -- populate explicitely.
12 - Moved population code to init.
13 - OK button now has default focus.
14 - Some formatting cleanup.
16 2009-09-19 Jim Evins <evins@snaught.com>
21 Updated to LGPL3 text.
23 New MIT/X license file for templates subdirectory.
24 * COPYING.README_FIRST:
25 Updated licensing information.
26 * templates/Makefile.am:
27 * templates/avery-iso-templates.xml:
28 * templates/avery-other-templates.xml:
29 * templates/avery-us-templates.xml:
30 * templates/brother-other-templates.xml:
31 * templates/categories.xml:
32 * templates/dymo-other-templates.xml:
33 * templates/glabels-2.2.dtd:
34 * templates/misc-iso-templates.xml:
35 * templates/misc-other-templates.xml:
36 * templates/misc-us-templates.xml:
37 * templates/paper-sizes.xml:
38 * templates/zweckform-iso-templates.xml:
39 - Added MIT/X license notice to database files.
40 - Moved from data subdirectory.
45 Updated to reflect above move.
47 2009-09-19 Jim Evins <evins@snaught.com>
49 * libglabels/category.c:
50 * libglabels/category.h:
54 * libglabels/libglabels-private.h:
55 * libglabels/libglabels.h:
60 * libglabels/template.c:
61 * libglabels/template.h:
62 * libglabels/xml-category.c:
63 * libglabels/xml-category.h:
64 * libglabels/xml-paper.c:
65 * libglabels/xml-paper.h:
66 * libglabels/xml-template.c:
67 * libglabels/xml-template.h:
70 - Cleaned up GTK/GLIB includes.
71 - Updated license notification to LGPL3+.
73 2009-09-18 Jim Evins <evins@snaught.com>
78 * src/mini-preview.c: (gl_mini_preview_class_init),
79 (gl_mini_preview_finalize), (gl_mini_preview_set_by_name),
80 (gl_mini_preview_highlight_range), (gl_mini_preview_set_label),
81 (gl_mini_preview_set_page), (gl_mini_preview_set_n_sheets),
82 (gl_mini_preview_set_n_copies), (gl_mini_preview_set_first),
83 (gl_mini_preview_set_last), (gl_mini_preview_set_collate_flag),
84 (gl_mini_preview_set_outline_flag),
85 (gl_mini_preview_set_reverse_flag),
86 (gl_mini_preview_set_crop_marks_flag), (button_release_event_cb),
87 (expose_event_cb), (redraw), (draw), (draw_labels),
89 Added rich preview capability to mini preview.
90 * src/print-op-dialog.c: (create_custom_widget_cb),
91 (simple_sheets_radio_cb), (simple_first_spin_cb),
92 (simple_last_spin_cb), (preview_pressed_cb), (preview_released_cb),
93 (merge_spin_cb), (merge_collate_check_cb), (preview_clicked_cb),
95 Use new rich preview capability of mini preview in print dialog.
97 2009-09-17 Jim Evins <evins@snaught.com>
99 * src/stock.c: (add_icons), (add_button_icon):
100 Use proper free function for GtkIconSource (gtk_icon_source_free() not g_free()).
101 Patch provided by Christian Persch <chpe@gnome.org>.
103 2009-09-17 Jim Evins <evins@snaught.com>
105 * libglabels/category.h:
107 * libglabels/paper.h:
108 * libglabels/template.h:
109 * libglabels/xml-category.h:
110 * libglabels/xml-paper.h:
112 Cleaned up GTK/GLIB includes.
113 * src/bc-gnubarcode.c:
114 * src/bc-gnubarcode.h:
123 * src/cairo-ellipse-path.c:
124 * src/cairo-ellipse-path.h:
125 * src/cairo-label-path.c:
126 * src/cairo-label-path.h:
127 * src/cairo-markup-path.c:
128 * src/cairo-markup-path.h:
129 * src/color-combo-button.c:
130 * src/color-combo-button.h:
131 * src/color-combo-color-menu-item.c:
132 * src/color-combo-color-menu-item.h:
133 * src/color-combo-history.c:
134 * src/color-combo-menu.c:
135 * src/color-combo-menu.h:
138 * src/color-swatch.c:
139 * src/color-swatch.h:
142 * src/critical-error-handler.c:
143 * src/critical-error-handler.h:
148 * src/font-combo-menu-item.c:
149 * src/font-combo-menu-item.h:
150 * src/font-combo-menu.c:
151 * src/font-combo-menu.h:
157 * src/glabels-batch.c:
160 * src/label-barcode.c:
161 * src/label-barcode.h:
164 * src/label-ellipse.c:
165 * src/label-ellipse.h:
170 * src/label-object.c:
171 * src/label-object.h:
176 * src/merge-evolution.c:
177 * src/merge-evolution.h:
180 * src/merge-properties-dialog.c:
181 * src/merge-properties-dialog.h:
188 * src/mini-label-preview.c:
189 * src/mini-label-preview.h:
190 * src/mini-preview-pixbuf-cache.c:
191 * src/mini-preview-pixbuf-cache.h:
192 * src/mini-preview-pixbuf.c:
193 * src/mini-preview-pixbuf.h:
194 * src/mini-preview.c:
195 * src/new-label-dialog.c:
196 * src/new-label-dialog.h:
197 * src/object-editor-bc-page.c:
198 * src/object-editor-data-page.c:
199 * src/object-editor-fill-page.c:
200 * src/object-editor-image-page.c:
201 * src/object-editor-line-page.c:
202 * src/object-editor-lsize-page.c:
203 * src/object-editor-position-page.c:
204 * src/object-editor-private.h:
205 * src/object-editor-shadow-page.c:
206 * src/object-editor-size-page.c:
207 * src/object-editor-text-page.c:
208 * src/object-editor.c:
209 * src/object-editor.h:
210 * src/pixbuf-cache.c:
211 * src/pixbuf-cache.h:
212 * src/prefs-dialog.c:
213 * src/prefs-dialog.h:
218 * src/print-op-dialog.c:
225 * src/rotate-label-button.c:
226 * src/rotate-label-button.h:
229 * src/template-designer.c:
230 * src/template-designer.h:
235 * src/ui-property-bar.c:
236 * src/ui-property-bar.h:
245 * src/view-barcode.c:
246 * src/view-barcode.h:
249 * src/view-ellipse.c:
250 * src/view-ellipse.h:
261 * src/warning-handler.c:
262 * src/warning-handler.h:
263 * src/wdgt-chain-button.c:
264 * src/wdgt-chain-button.h:
265 * src/wdgt-media-select.c:
266 * src/wdgt-media-select.h:
267 * src/wdgt-merge-menu.c:
268 * src/wdgt-merge-menu.h:
271 * src/xml-label-04.c:
272 * src/xml-label-04.h:
275 Cleaned up GTK/GLIB includes.
276 Updated remainder of notices to GPL3+.
277 Simple formatting cleanup.
279 2009-09-13 Jim Evins <evins@snaught.com>
281 Refactored print operation subsystem.
285 Basic GtkPrintOperation based class. Does not instantiate
286 custom widgets, so it can be used by glabels-batch without
287 the additional overhead.
288 * src/print-op-dialog.c:
289 * src/print-op-dialog.h:
290 New object derived from glPrintOp. This one is intended
291 to be used as a dialog and installs custom widgets.
292 glWdgtPrintCopies and glWdgtPrintMerge have been merged
294 * src/wdgt-print-copies.c:
295 * src/wdgt-print-copies.h:
296 * src/wdgt-print-merge.c:
297 * src/wdgt-print-merge.h:
300 Modified to reflect above additions and deletions.
301 * src/mini-preview.c: (gl_mini_preview_construct),
302 (gl_mini_preview_set_template), (set_transform_and_get_scale),
303 (button_press_event_cb), (motion_notify_event_cb), (draw):
304 Now scales with allocation.
305 * src/glabels-batch.c: (main):
306 * src/template-designer.c: (print_test_cb):
307 * src/ui-commands.c: (gl_ui_cmd_file_print):
308 Use above modifications.
309 * data/builder/print-op-dialog-custom-widget.builder:
310 New builder file for glPrintOpDialog custom widgets.
311 * data/builder/print-custom-widget.builder:
313 * data/builder/Makefile.am:
314 Modified to reflect above addition and deletion.
316 2009-09-10 Jim Evins <evins@snaught.com>
319 * src/mini-label-preview.c:
320 * src/mini-label-preview.h:
321 Created new glMiniLabelPreview widget to support glRotateLabelButton.
322 * src/rotate-label-button.c:
323 * src/rotate-label-button.h:
324 Renamed glWdgtRotateLabel to glRotateLabelButton.
325 * src/new-label-dialog.c: (gl_new_label_dialog_construct),
326 (template_changed_cb), (gl_new_label_dialog_get_rotate_state),
327 (gl_new_label_dialog_set_rotate_state):
328 Propogated above renaming.
329 * src/mini-preview.c: (gl_mini_preview_set_template), (draw),
330 (draw_shadow), (draw_paper), (draw_labels):
331 Use GtkStyle for colors instead of hardcoded ones.
333 2009-09-09 Jim Evins <evins@snaught.com>
338 * src/stock-pixmaps/Makefile.am:
339 * qrencode-3.1.0/Makefile.am
340 * data/desktop/glabels.desktop.in:
341 * docs/libglabels/libglabels-decl-list.txt:
342 Various build system fixes and cleanup.
344 2009-09-08 Jim Evins <evins@snaught.com>
346 * src/font-util.c: (gl_font_util_validate_family):
348 Added gl_font_util_validate_family().
349 * src/font-combo.c: (gl_font_combo_class_init),
350 (gl_font_combo_new), (gl_font_combo_set_family):
351 Use gl_font_util_validate_family() when setting family.
352 * src/label-text.c: (set_font_family):
353 * src/prefs-dialog.c: (construct_object_page),
354 (update_object_page_from_prefs):
355 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
356 (reset_to_default_properties):
357 * src/object-editor-text-page.c:
358 (gl_object_editor_prepare_text_page),
359 (gl_object_editor_set_font_family):
360 Removed code obsoleted by the addition of gl_font_util_validate_family().
361 * src/color-swatch.c: (gl_color_swatch_class_init), (style_set_cb),
363 * src/font-sample.c: (gl_font_sample_class_init), (style_set_cb),
365 Added handler for style_set event.
366 * src/color-combo-button.c: (gl_color_combo_button_class_init):
367 * src/color-combo-color-menu-item.c:
368 (gl_color_combo_color_menu_item_class_init):
369 * src/color-combo-history.c: (gl_color_combo_history_class_init):
370 * src/color-combo-menu.c: (map_event_cb):
371 * src/color-combo.c: (gl_color_combo_class_init),
372 (gl_color_combo_new):
373 * src/font-combo-menu-item.c: (gl_font_combo_menu_item_class_init):
374 * src/font-combo-menu.c: (gl_font_combo_menu_class_init):
375 * src/wdgt-rotate-label.c: (create_pixbuf):
376 Various cleanups -- mostly removing unused variables.
378 2009-09-07 Jim Evins <evins@snaught.com>
380 Created new glFontCombo widget family subsystem + minor refinements to glColorCombo
383 * src/color-combo-button.c:
384 * src/color-combo-button.h:
385 Renamed ColorButton to ColorComboButton.
387 Added GL_COLOR_WHITE macro.
388 * src/color-combo.c: (gl_color_combo_init):
393 * src/font-combo-menu.c:
394 * src/font-combo-menu.h:
395 * src/font-combo-menu-item.c:
396 * src/font-combo-menu-item.h:
401 New FontCombo subsystem.
404 Moved font functions to font-util.[ch].
405 * data/builder/object-editor.builder:
406 * data/builder/prefs-dialog.builder:
407 * data/builder/property-bar.builder:
408 * src/label-text.c: (set_font_family):
409 * src/object-editor-private.h:
410 * src/object-editor-text-page.c:
411 (gl_object_editor_prepare_text_page),
412 (gl_object_editor_set_font_family),
413 (gl_object_editor_get_font_family):
414 * src/prefs-dialog.c: (construct_object_page),
415 (update_object_page_from_prefs), (update_prefs_from_object_page):
416 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
417 (reset_to_default_properties), (update_text_properties),
418 (update_fill_color), (update_line_color), (font_family_changed_cb),
419 (text_color_changed_cb), (fill_color_changed_cb),
420 (line_color_changed_cb):
421 Incorporated new FontCombo subsystem.
423 Reconciled with above changes/additions.
425 2009-09-06 Jim Evins <evins@snaught.com>
427 * src/color-button.c: (gl_color_button_finalize):
428 Unreference menu in finalize.
430 2009-09-06 Jim Evins <evins@snaught.com>
432 Some major refinements to the glColorCombo family of widgets.
435 * src/color-button.c:
436 * src/color-button.h:
437 New widget: glColorButton. This widget is a button that applies
438 the currently selected color with a ColorCombo type dropdown button
439 to change that selected color. This is basically the old
441 * src/color-combo.c: (gl_color_combo_init),
442 (gl_color_combo_finalize), (gl_color_combo_new),
443 (button_press_event_cb), (menu_color_changed_cb),
444 (menu_selection_done_cb):
446 The glColorCombo widget has been modified to be a single button
447 that is only used to change the selected color.
448 * src/color-swatch.c: (gl_color_swatch_init), (expose_event_cb):
449 Draw on parent containers window to allow an effective
451 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
452 * src/object-editor-fill-page.c:
453 (gl_object_editor_prepare_fill_page):
454 * src/object-editor-line-page.c:
455 (gl_object_editor_prepare_line_page):
456 * src/object-editor-shadow-page.c:
457 (gl_object_editor_prepare_shadow_page):
458 * src/object-editor-text-page.c:
459 (gl_object_editor_prepare_text_page):
460 * src/prefs-dialog.c: (construct_object_page):
461 Change how ColorCombos are packed so that they don't
463 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
464 (reset_to_default_properties), (update_text_properties),
465 (update_fill_color), (update_line_color), (text_color_changed_cb),
466 (fill_color_changed_cb), (line_color_changed_cb),
467 (set_doc_items_sensitive), (set_text_items_sensitive),
468 (set_fill_items_sensitive), (set_line_color_items_sensitive):
469 The property bar now uses the new glColorButton instead of
472 2009-09-02 Jim Evins <evins@snaught.com>
475 * src/wdgt-mini-preview.c:
476 * src/wdgt-mini-preview.h:
477 * src/mini-preview.h:
478 * src/mini-preview.c:
479 - Renamed WdgtMiniPreview to MiniPreview.
481 - Modified to draw to parent window to be effectively transparent.
482 - Updated license notification to gpl3+.
483 * src/template-designer.c: (construct_layout_page),
484 (layout_page_prepare_cb), (layout_page_changed_cb):
485 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct),
486 (sheets_radio_cb), (first_spin_cb), (last_spin_cb),
488 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct),
489 (spin_cb), (preview_clicked), (gl_wdgt_print_merge_set_copies):
490 - Reconciled with rename above.
492 2009-09-01 Jim Evins <evins@snaught.com>
494 * data/builder/object-editor.builder:
495 Fixed errant expansion of tab.
496 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
497 * src/bc-postnet.c: (gl_barcode_postnet_new):
498 * src/bc.c: (id_to_index), (name_to_index):
499 * src/label-barcode.c: (gl_label_barcode_set_props):
500 * src/label-text.c: (set_font_family):
501 * src/merge-properties-dialog.c:
502 (gl_merge_properties_dialog_construct):
503 * src/merge.c: (gl_merge_description_to_name):
504 * src/new-label-dialog.c:
505 * src/object-editor-edit-page.c:
506 * src/object-editor-image-page.c: (update_preview_cb):
507 * src/object-editor-lsize-page.c:
508 * src/object-editor-position-page.c:
509 * src/object-editor-size-page.c:
510 * src/object-editor.c: (gl_object_editor_new):
511 * src/prefs-dialog.c: (update_locale_page_from_prefs):
512 * src/prefs-model.c: (string_to_units):
513 * src/print-op.c: (create_custom_widget_cb):
514 * src/template-designer.c: (gl_template_designer_init),
515 (pg_size_page_changed_cb), (build_template):
516 * src/ui-commands.c: (gl_ui_cmd_help_about):
517 * src/xml-label.c: (xml_parse_pixdata):
518 Fixed various deprecations as of Gtk-2.16.
520 2009-08-31 Jim Evins <evins@snaught.com>
523 Updated french translation (Claude Paroz)
525 2009-08-31 Jim Evins <evins@snaught.com>
527 * data/builder/property-bar.builder:
528 Make sure event box does not obscure tool bar background.
530 * src/color-swatch.c:
531 * src/color-swatch.h:
532 New color swatch widget.
533 * src/color-combo-color-menu-item.c:
534 (gl_color_combo_color_menu_item_init),
535 (gl_color_combo_color_menu_item_new),
536 (gl_color_combo_color_menu_item_set_color):
537 * src/color-combo.c: (gl_color_combo_init),
538 (gl_color_combo_finalize), (gl_color_combo_new),
539 (gl_color_combo_set_color), (menu_color_changed_cb):
540 Updated to use new color swatch widget.
542 2009-08-26 Jim Evins <evins@snaught.com>
545 Explicitely mark file types. Removed unneeded file from
548 2009-08-23 Jim Evins <evins@snaught.com>
550 * data/builder/Makefile.am:
551 * data/builder/merge-properties-dialog.builder:
552 * data/builder/merge-properties-dialog.glade:
553 * data/builder/new-label-dialog.builder:
554 * data/builder/new-label-dialog.glade:
555 * data/builder/object-editor.builder:
556 * data/builder/object-editor.glade:
557 * data/builder/prefs-dialog.builder:
558 * data/builder/prefs-dialog.glade:
559 * data/builder/print-custom-widget.builder:
560 * data/builder/print-custom-widget.glade:
561 * data/builder/property-bar.builder:
562 * data/builder/property-bar.glade:
563 * data/builder/template-designer.builder:
564 * data/builder/template-designer.glade:
565 * data/builder/wdgt-media-select.builder:
566 * data/builder/wdgt-media-select.glade:
568 * src/merge-properties-dialog.c:
569 (gl_merge_properties_dialog_finalize),
570 (gl_merge_properties_dialog_construct):
571 * src/new-label-dialog.c: (gl_new_label_dialog_finalize),
572 (gl_new_label_dialog_construct):
573 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
574 * src/object-editor-data-page.c:
575 (gl_object_editor_prepare_data_page):
576 * src/object-editor-edit-page.c:
577 (gl_object_editor_prepare_edit_page):
578 * src/object-editor-fill-page.c:
579 (gl_object_editor_prepare_fill_page):
580 * src/object-editor-image-page.c:
581 (gl_object_editor_prepare_image_page):
582 * src/object-editor-line-page.c:
583 (gl_object_editor_prepare_line_page):
584 * src/object-editor-lsize-page.c:
585 (gl_object_editor_prepare_lsize_page):
586 * src/object-editor-position-page.c:
587 (gl_object_editor_prepare_position_page):
588 * src/object-editor-private.h:
589 * src/object-editor-shadow-page.c:
590 (gl_object_editor_prepare_shadow_page):
591 * src/object-editor-size-page.c:
592 (gl_object_editor_prepare_size_page):
593 * src/object-editor-text-page.c:
594 (gl_object_editor_prepare_text_page):
595 * src/object-editor.c: (gl_object_editor_init),
596 (gl_object_editor_finalize):
597 * src/prefs-dialog.c: (gl_prefs_dialog_init),
598 (gl_prefs_dialog_finalize), (gl_prefs_dialog_construct),
599 (construct_locale_page), (construct_object_page):
600 * src/print-op.c: (gl_print_op_finalize),
601 (gl_print_op_set_settings), (create_custom_widget_cb):
602 * src/template-designer.c: (gl_template_designer_init),
603 (gl_template_designer_finalize), (construct_start_page),
604 (construct_name_page), (construct_pg_size_page),
605 (construct_shape_page), (construct_rect_size_page),
606 (construct_round_size_page), (construct_cd_size_page),
607 (construct_nlayouts_page), (construct_layout_page),
608 (construct_finish_page):
609 * src/ui-property-bar.c: (gl_ui_property_bar_finalize),
610 (gl_ui_property_bar_construct):
611 * src/wdgt-media-select.c: (gl_wdgt_media_select_finalize),
612 (gl_wdgt_media_select_construct):
613 Builder files no longer built from glade files. Also did some
614 cleanup on formatting and update license notifications to GPL3+.
616 2009-08-13 Jim Evins <evins@snaught.com>
618 * src/color-combo-color-menu-item.c:
619 (gl_color_combo_color_menu_item_init),
620 (gl_color_combo_color_menu_item_new),
621 (gl_color_combo_color_menu_item_set_color):
622 Explicitly request size of menu item and enlarge color swatch.
624 2009-08-12 Jim Evins <evins@snaught.com>
626 * src/label-text.c: (buffer_changed_cb), (draw_object),
627 (draw_shadow), (draw_text_real):
629 Moved common code from draw_object() and draw_shadow() to
630 draw_text_real(). Also cleaned up formatting and updated
631 license notification to GPL3+.
633 2009-07-29 Alexandre Prokoudine <alexandre.prokoudine@gmail.com>
635 * po/ru.po: Updated and fixed Russian translation
637 2009-07-26 Jim Evins <evins@snaught.com>
640 * COPYING.README_FIRST:
644 Added 3rd party qrencode library.
646 * src/bc-iec18004.c: (gl_barcode_iec18004_new), (render_iec18004):
649 Added IEC18004 (QRCode) 2 dimensional barcode backend.
650 Patch provided by Daniel Mueller <daniel@danm.de>.
652 2009-07-25 Jim Evins <evins@snaught.com>
654 * src/xml-label.c: (gl_xml_label_open):
655 Relax limits when parsing file. Allows large embedded image
658 2009-05-19 Jim Evins <evins@snaught.com>
662 Moved translation list from configure.in to po/LINGUAS.
664 2009-05-19 Jim Evins <evins@snaught.com>
668 New Chinese translation (Careon <zzbusagain@yahoo.com.cn>).
670 Added above translation to acknowledgements.
672 2009-05-18 Jim Evins <evins@snaught.com>
674 * src/prefs-model.c: (gl_prefs_model_load_settings):
675 Make an educated guess at locale settings when run for the
678 2009-05-17 Jim Evins <evins@snaught.com>
681 * help/glabels.omf.in:
682 Adding missing files from last checkin.
684 2009-05-17 Jim Evins <evins@snaught.com>
688 * help/C/glabels-C.omf:
689 * help/C/glabels.xml:
692 Updated german translation, gnome-doc-utils support and
693 german translation of glabels manual (Mario Blättermann).
695 2009-05-01 Jim Evins <evins@snaught.com>
700 Added catalan translation (David Planella).
702 2009-04-29 Jim Evins <evins@snaught.com>
704 * data/templates/avery-iso-templates.xml:
705 * data/templates/misc-iso-templates.xml:
706 * data/templates/misc-us-templates.xml:
707 Caught up on user submitted templates.
709 Acknowledgements for above templates.
711 2009-04-29 Jim Evins <evins@snaught.com>
715 Updated german translation (Mario Blättermann).
717 2009-03-23 Jim Evins <evins@snaught.com>
719 * src/glabels-batch.c: (main):
720 * src/glabels.c: (main):
721 Tidy up help option output.
723 2009-02-28 Jim Evins <evins@snaught.com>
728 Deleted base64 module.
729 * src/xml-label.c: (xml_parse_pixdata), (xml_create_pixdata):
730 Use base64 encode/decode from glib.
732 2009-02-22 Jim Evins <evins@snaught.com>
734 * src/merge-properties-dialog.h:
735 * src/new-label-dialog.h:
736 * src/object-editor.h:
737 * src/prefs-dialog.h:
739 * src/template-designer.h:
740 Corrected cut&paste errors.
742 2009-02-21 JimEvins <evins@snaught.com>
744 * src/prefs-model.c: (gl_prefs_model_save_settings),
745 (gl_prefs_model_load_settings):
748 * src/ui-property-bar.c:
749 * src/ui.c: (view_ui_item_toggled_cb),
750 (set_app_main_toolbar_style), (set_app_drawing_toolbar_style):
751 Removed tooltip toggling capability, which wasn't working
754 2009-02-21 JimEvins <evins@snaught.com>
758 * data/builder/object-editor.glade:
759 * data/builder/prefs-dialog.glade:
760 * data/builder/property-bar.glade:
761 * data/builder/template-designer.glade:
763 * src/color-combo-color-menu-item.c:
764 * src/color-combo-color-menu-item.h:
765 * src/color-combo-menu.h:
766 * src/glabels-batch.c: (main):
767 * src/glabels.c: (main):
768 * src/merge-properties-dialog.h:
769 * src/new-label-dialog.h:
770 * src/object-editor-lsize-page.c:
771 (gl_object_editor_prepare_lsize_page), (lsize_prefs_changed_cb):
772 * src/object-editor.h:
773 * src/prefs-dialog.h:
775 * src/template-designer.h:
776 * src/ui-commands.c: (gl_ui_cmd_view_property_bar_tips_toggle),
777 (gl_ui_cmd_help_contents), (gl_ui_cmd_help_about):
778 * src/ui-property-bar.c:
779 * src/ui-property-bar.h:
780 * src/ui-sidebar.c: (gl_ui_sidebar_construct),
781 (selection_changed_cb):
784 * src/wdgt-media-select.h:
785 * src/wdgt-merge-menu.h:
786 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_class_init):
787 * src/wdgt-mini-preview.h:
788 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
789 * src/wdgt-print-copies.h:
790 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
791 * src/wdgt-print-merge.h:
792 * src/wdgt-rotate-label.h:
794 Removed final dependencies on libgnome and libgnomeui.
795 Removed all currently deprecated symbols as of GTK 2.14.
797 2009-01-07 Jim Evins <evins@snaught.com>
799 * src/critical-error-handler.c: (critical_error_handler):
800 * src/ui-commands.c: (gl_ui_cmd_help_contents):
801 * src/warning-handler.c: (warning_handler):
802 * src/view.c: (selection_received_cb):
803 Compile without warning with additional CFLAGS of
804 -O1 -Wall -Wformat=2.
806 2009-01-02 Jim Evins <evins@snaught.com>
808 * COPYING.README_FIRST:
811 2008-12-27 Jim Evins <evins@snaught.com>
813 * data/templates/avery-iso-templates.xml:
814 * data/templates/avery-other-templates.xml:
815 * data/templates/avery-us-templates.xml:
816 * data/templates/brother-other-templates.xml:
817 * data/templates/misc-iso-templates.xml:
818 * data/templates/misc-other-templates.xml:
819 * data/templates/zweckform-iso-templates.xml:
820 Make sure all descriptions are marked as translatable.
822 2008-12-27 Jim Evins <evins@snaught.com>
825 Updated german translation (Mario Blättermann)
827 Updated credits to reflect above translation.
828 * data/builder/object-editor.glade:
829 * data/builder/prefs-dialog.glade:
830 * data/builder/template-designer.glade:
831 Removed "translatable" attribute from whitespace strings,
832 which are used only to help layout.
834 2008-12-21 Jim Evins <evins@snaught.com>
836 * data/templates/avery-us-templates.xml:
837 * data/templates/misc-iso-templates.xml:
838 A couple of recent template submissions.
840 Acknowledgements for above templates.
842 2008-12-21 Jim Evins <evins@snaught.com>
844 * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
845 Don't check for handles on aggregate selections.
847 2008-12-20 Jim Evins <evins@snaught.com>
850 Updated prerequisite library versions required.
852 2008-12-18 Jim Evins <evins@snaught.com>
854 * src/view.c: (selection_received_cb):
855 Fixed paste bug that caused a duplicate phantom view_object to be created for
856 each new label_object. This is because the view now (as of r673) the view
857 monitiors the label for new objects and creates view_objects automatically.
859 2008-12-14 Jim Evins <evins@snaught.com>
861 * src/ui.c: (gl_ui_new):
862 Bug #2395628. Fixed i18n for application shell.
864 Bug #2395628. Reconciled POTFILES.in with current files.
866 2008-12-14 Jim Evins <evins@snaught.com>
869 Bug #2316013. Added PKG_PROG_PKG_CONFIG.
871 2008-11-15 Jim Evins <evins@snaught.com>
873 * libglabels/db.c: (lgl_db_register_template):
874 * libglabels/xml-template.c:
875 (lgl_xml_template_parse_template_node):
876 * src/glabels-batch.c:
877 * src/view-text.c: (gl_view_text_create_button_press_event):
878 Fixed several issues such as possible use of uninitialized variables found with "-O1 -Wall".
880 2008-11-09 Jim Evins <evins@snaught.com>
882 * data/templates/misc-iso-templates.xml:
883 Another user submitted template.
885 2008-10-27 Jim Evins <evins@snaught.com>
887 * data/templates/avery-us-templates.xml:
888 * data/templates/misc-iso-templates.xml:
889 * data/templates/zweckform-iso-templates.xml:
890 Caught up on user submitted templates.
892 Acknowledgements for above templates.
894 2008-10-23 Jim Evins <evins@snaught.com>
896 * src/label-text.c: (set_font_family):
897 * src/object-editor-text-page.c:
898 (gl_object_editor_prepare_text_page),
899 (gl_object_editor_set_font_family):
900 * src/prefs-dialog.c: (construct_object_page),
901 (update_object_page_from_prefs):
902 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
903 (reset_to_default_properties):
904 * src/util.c: (gl_util_get_font_family_list):
906 Bug #1902275 and Bug #2186214. Cache font list so that it is not re-created
907 everytime the list is requested.
908 * src/object-editor-text-page.c:
909 (gl_object_editor_set_font_family):
910 Don't change font-family if it hasn't actually changed.
912 2008-10-19 Jim Evins <evins@snaught.com>
914 * data/builder/object-editor.glade:
915 Some tweaking of builder/glade widgets.
917 2008-10-18 Jim Evins <evins@snaught.com>
919 Migrated all use of libglade to GtkBuilder.
921 * data/glade/Makefile.am:
922 * data/glade/merge-properties-dialog.glade:
923 * data/glade/new-label-dialog.glade:
924 * data/glade/object-editor.glade:
925 * data/glade/prefs-dialog.glade:
926 * data/glade/print-custom-widget.glade:
927 * data/glade/property-bar.glade:
928 * data/glade/template-designer.glade:
929 * data/glade/wdgt-media-select.glade:
930 Removed data/glade directory.
931 * data/builder/Makefile.am:
932 * data/builder/merge-properties-dialog.glade:
933 * data/builder/new-label-dialog.glade:
934 * data/builder/object-editor.glade:
935 * data/builder/prefs-dialog.glade:
936 * data/builder/print-custom-widget.glade:
937 * data/builder/property-bar.glade:
938 * data/builder/template-designer.glade:
939 * data/builder/wdgt-media-select.glade:
940 Added data/builder directory.
944 Change glade to builder.
945 * src/merge-properties-dialog.c:
946 (gl_merge_properties_dialog_finalize),
947 (gl_merge_properties_dialog_construct):
948 * src/new-label-dialog.c: (gl_new_label_dialog_finalize),
949 (gl_new_label_dialog_construct):
950 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
951 * src/object-editor-data-page.c:
952 (gl_object_editor_prepare_data_page):
953 * src/object-editor-edit-page.c:
954 (gl_object_editor_prepare_edit_page):
955 * src/object-editor-fill-page.c:
956 (gl_object_editor_prepare_fill_page):
957 * src/object-editor-image-page.c:
958 (gl_object_editor_prepare_image_page):
959 * src/object-editor-line-page.c:
960 (gl_object_editor_prepare_line_page):
961 * src/object-editor-lsize-page.c:
962 (gl_object_editor_prepare_lsize_page):
963 * src/object-editor-position-page.c:
964 (gl_object_editor_prepare_position_page):
965 * src/object-editor-private.h:
966 * src/object-editor-shadow-page.c:
967 (gl_object_editor_prepare_shadow_page):
968 * src/object-editor-size-page.c:
969 (gl_object_editor_prepare_size_page):
970 * src/object-editor-text-page.c:
971 (gl_object_editor_prepare_text_page):
972 * src/object-editor.c: (gl_object_editor_init):
973 * src/prefs-dialog.c: (gl_prefs_dialog_init),
974 (gl_prefs_dialog_construct), (construct_locale_page),
975 (construct_object_page):
976 * src/print-op.c: (gl_print_op_finalize),
977 (create_custom_widget_cb):
978 * src/template-designer.c: (gl_template_designer_class_init),
979 (gl_template_designer_finalize), (gl_template_designer_construct),
980 (construct_start_page), (construct_name_page),
981 (construct_pg_size_page), (construct_shape_page),
982 (construct_rect_size_page), (construct_round_size_page),
983 (construct_cd_size_page), (construct_nlayouts_page),
984 (construct_layout_page), (construct_finish_page):
985 * src/template-designer.h:
986 * src/ui-property-bar.c: (gl_ui_property_bar_init),
987 (gl_ui_property_bar_finalize), (gl_ui_property_bar_new),
988 (gl_ui_property_bar_construct), (reset_to_default_properties),
989 (gl_ui_property_bar_set_view), (gl_ui_property_bar_set_tooltips),
990 (update_text_properties), (update_fill_color), (update_line_color),
991 (update_line_width), (selection_changed_cb),
992 (font_family_changed_cb), (font_size_changed_cb),
993 (text_color_changed_cb), (fill_color_changed_cb),
994 (line_color_changed_cb), (line_width_changed_cb),
995 (font_bold_toggled_cb), (font_italic_toggled_cb),
996 (text_align_toggled_cb), (set_doc_items_sensitive),
997 (set_text_items_sensitive), (set_fill_items_sensitive),
998 (set_line_color_items_sensitive), (set_line_width_items_sensitive):
999 * src/ui-property-bar.h:
1000 * src/util.c: (gl_util_get_builder_widgets):
1002 * src/wdgt-media-select.c: (gl_wdgt_media_select_finalize),
1003 (gl_wdgt_media_select_construct):
1004 Migration of glade to builder.
1006 New macros for color combo initialization.
1008 Added idea for internal merge database.
1009 * docs/libglabels/libglabels-undocumented.txt:
1010 * docs/libglabels/tmpl/paper.sgml:
1014 2008-10-12 Jim Evins <evins@snaught.com>
1016 * src/mygal/Makefile.am:
1017 * src/mygal/color-group.c:
1018 * src/mygal/color-group.h:
1019 * src/mygal/color-palette.c:
1020 * src/mygal/color-palette.h:
1021 * src/mygal/e-colors.c:
1022 * src/mygal/e-colors.h:
1023 * src/mygal/e-marshal.list:
1024 * src/mygal/e-util.h:
1025 * src/mygal/mygal-combo-box.c:
1026 * src/mygal/mygal-combo-box.h:
1027 * src/mygal/widget-color-combo.c:
1028 * src/mygal/widget-color-combo.h:
1032 * src/color-combo.c:
1033 * src/color-combo.h:
1034 * src/color-combo-color-menu-item.c:
1035 * src/color-combo-color-menu-item.h:
1036 * src/color-combo-history.c:
1037 * src/color-combo-history.h:
1038 * src/color-combo-menu.c:
1039 * src/color-combo-menu.h:
1044 Created new glColorCombo widget.
1045 * src/object-editor-bc-page.c:
1046 * src/object-editor-edit-page.c:
1047 * src/object-editor-fill-page.c:
1048 * src/object-editor-line-page.c:
1049 * src/object-editor-shadow-page.c:
1050 * src/object-editor-text-page.c:
1051 * src/object-editor.c:
1052 * src/prefs-dialog.c:
1053 * src/ui-property-bar.c:
1054 Replaced use of mygal color combo with new glColorCombo widget.
1056 2008-08-29 Jim Evins <evins@snaught.com>
1058 * src/file.c: (gl_file_open), (gl_file_save_as):
1059 Bug #2069668. Corrected button order in Open and "Save as"
1062 2008-08-17 Jim Evins <evins@snaught.com>
1064 * data/dtd/glabels-2.2.dtd:
1065 * data/templates/paper-sizes.xml:
1066 * libglabels/db.c: (lgl_db_init):
1067 * libglabels/paper.c: (lgl_paper_new), (lgl_paper_dup), (lgl_paper_free):
1068 * libglabels/paper.h:
1069 * libglabels/xml-paper.c: (lgl_xml_paper_parse_paper_node):
1070 * src/print-op.c: (set_page_size):
1071 Bug #2049431. Always explicitely set page size. Added pwg_size field (PWG 5101.1-2002
1072 size specification) to the libglabels paper database to allow the page size to be
1073 communicated to GtkPrintOp un-ambiguously.
1075 2008-07-25 Jim Evins <evins@snaught.com>
1077 * src/object-editor-size-page.c: (size_reset_cb),
1078 (gl_object_editor_set_max_size):
1079 Bug #1993550. Set size limits based on longest side of label.
1081 2008-07-19 Jim Evins <evins@snaught.com>
1084 * src/mygal/Makefile.am:
1085 Make sure libtool handles library dependencies for mygal
1088 2008-05-21 Jim Evins <evins@snaught.com>
1090 * src/glabels-batch.c: (main):
1091 Bug #1968653. Initialize prefs subsystem.
1093 2008-05-09 Jim Evins <evins@snaught.com>
1095 * data/glade/object-editor.glade:
1096 Bug #1959135. A couple of radio buttons somehow became
1099 2008-04-07 Jim Evins <evins@snaught.com>
1101 * src/wdgt-rotate-label.h:
1102 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_init),
1103 (gl_wdgt_rotate_label_new), (toggled_cb), (create_pixbuf),
1104 (gl_wdgt_rotate_label_get_state), (gl_wdgt_rotate_label_set_state),
1105 (gl_wdgt_rotate_label_set_template_name):
1106 Modified wdgt-rotate-label to better indicate the rotation choices.
1107 * data/glade/Makefile.am:
1108 * data/glade/wdgt-rotate-label.glade:
1109 Deleted wdgt-rotate-label.glade.
1111 2008-04-04 Jim Evins <evins@snaught.com>
1113 * data/templates/brother-other-templates.xml:
1114 Added categories to existing templates.
1115 * data/templates/misc-other-templates.xml:
1116 Moved dymo templates to their own file.
1117 * data/templates/Makefile.am:
1118 * data/templates/dymo-other-templates.xml:
1119 Additional dymo templates provided by Harald Welte <laforge@gnumonks.org>.
1121 Acknowledgement for above templates.
1123 2008-03-24 Jim Evins <evins@snaught.com>
1125 * src/xml-label.c: (xml_doc_to_label):
1126 Bug #1872584. Don't refuse to parse label file if namespace is
1127 unrecognized -- it may be from a newer version of glabels.
1129 2008-03-15 Jim Evins <evins@snaught.com>
1131 * data/templates/Makefile.am:
1132 * data/templates/brother-other-templates.xml:
1133 Added brother templates.
1134 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
1135 (gl_cairo_markup_margin_cd_path):
1136 * src/view.c: (draw_markup_layer):
1137 Fixed markup drawing errors when label is rotated.
1139 2008-03-03 Jim Evins <evins@snaught.com>
1143 Added korean translation provided by xein@naver.com.
1145 2008-02-21 Jim Evins <evins@snaught.com>
1148 Fixed typo that prevented "Save" from being deactivated when
1149 document is not modified.
1151 2008-02-18 Jim Evins <evins@snaught.com>
1153 * src/prefs-model.c: (gl_prefs_model_save_settings),
1154 (gl_prefs_model_load_settings):
1155 Set default units for file output.
1157 2008-02-18 Jim Evins <evins@snaught.com>
1159 * help/C/glabels.xml:
1160 Fixed example template.
1162 2008-02-16 Jim Evins <evins@snaught.com>
1165 * data/templates/avery-iso-templates.xml:
1166 * data/templates/avery-us-templates.xml:
1167 * data/templates/misc-iso-templates.xml:
1168 * data/templates/misc-us-templates.xml:
1169 Caught up on user submitted templates.
1171 2008-02-04 Jim Evins <evins@snaught.com>
1173 * src/view-image.c: (update_object_from_editor_cb):
1174 Bug #1886438. Don't update the image size unless it is actually
1175 triggered by a change in image source. The result of this bug
1176 was that any attempt to edit the size spinboxes, immediately
1179 2008-02-03 Jim Evins <evins@snaught.com>
1181 * src/label-image.c: (gl_label_image_class_init), (set_size):
1182 Enforce minimum size for images.
1184 2008-02-03 Jim Evins <evins@snaught.com>
1186 * src/object-editor-edit-page.c: (field_selected_cb):
1187 * src/object-editor-lsize-page.c: (gl_object_editor_set_max_lsize):
1188 * src/object-editor-private.h:
1189 * src/object-editor-shadow-page.c:
1190 (gl_object_editor_set_max_shadow_offset):
1191 * src/object-editor-size-page.c: (gl_object_editor_set_max_size):
1192 * src/object-editor.c: (gl_object_editor_finalize),
1193 (gl_object_editor_new), (gl_object_notebook_construct_valist),
1195 * src/object-editor.h:
1196 * src/ui-sidebar.c: (gl_ui_sidebar_construct):
1197 * src/view-barcode.c: (construct_properties_editor):
1198 * src/view-box.c: (construct_properties_editor):
1199 * src/view-ellipse.c: (construct_properties_editor):
1200 * src/view-image.c: (construct_properties_editor):
1201 * src/view-line.c: (construct_properties_editor):
1202 * src/view-object.c: (gl_view_object_finalize):
1203 * src/view-text.c: (construct_properties_editor),
1204 Move update_editor_from_label callback from individual view objects
1205 to the object editor, so that signals can be disconnected when
1206 object editor is finalized.
1207 * src/view-text.c: (gl_view_text_create_button_press_event):
1208 Fixed bug that caused multiple view objects to be created for a
1209 single text object. This bug would manifest itself as a crash
1210 when deleting multi-object selections which included text objects.
1212 2008-02-02 Jim Evins <evins@snaught.com>
1215 * src/wdgt-merge-menu.c:
1216 * src/wdgt-merge-menu.h:
1217 * src/debug.c: (gl_debug_init):
1220 New merge menu widget.
1221 * data/glade/object-editor.glade:
1222 * src/object-editor-private.h:
1223 * src/object-editor.c: (gl_object_editor_set_key_names):
1224 * src/object-editor-edit-page.c:
1225 (gl_object_editor_prepare_edit_page), (field_selected_cb),
1227 Simplified UI for inserting fields into text objects by launching
1228 a merge menu and directly inserting fields from the menu. No more
1229 selecting field in combobox, then pressing insert button.
1231 2008-01-31 Jim Evins <evins@snaught.com>
1233 * src/label-barcode.c: (draw_object):
1234 Fixed rendering problem when "Invalid data" is displayed when text
1235 object is lower in stacking order.
1237 2008-01-30 Jim Evins <evins@snaught.com>
1239 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
1240 Don't turn off cairo_hint_metrics. This causes serious issues with
1243 2008-01-29 Jim Evins <evins@snaught.com>
1245 * src/print-op.c: (gl_print_op_construct),
1246 (gl_print_op_construct_batch), (set_page_size):
1247 Explicitly set page size for "other" page sizes.
1249 2008-01-25 Jim Evins <evins@snaught.com>
1252 Fixed Code128C backend parameters.
1253 * src/label-barcode.c: (get_size):
1254 Bug #1766425. If barcode is not renderable with either
1255 input data or default data, use a default size. Also
1258 2008-01-16 Jim Evins <evins@snaught.com>
1260 * src/print.c: (print_label):
1261 Bug #1872568. Don't apply special transforms (rotate and
1262 mirror) to clipping region or outline.
1264 2008-01-01 Jim Evins <evins@snaught.com>
1267 Sort font lists alphabetically.
1269 2008-01-01 Jim Evins <evins@snaught.com>
1271 * src/merge-evolution.c:
1272 Do a case-insensitive sort.
1274 2008-01-01 Jim Evins <evins@snaught.com>
1276 * src/merge-evolution.c:
1277 Sort evolution by "file_under" field. Original patch provided
1278 by Peter Cherriman <glabels-devel2712@bubieyehyeh.me.uk> in
1281 Added acknowledgement for above patch.
1283 2008-01-01 Jim Evins <evins@snaught.com>
1288 Reconcile with 2.2 branch.
1291 2007-12-21 Jim Evins <evins@snaught.com>
1293 * COPYING.LIBGLABELS:
1294 * COPYING.README_FIRST:
1296 Updating license information to make more complete and understandable.
1298 2007-12-16 Jim Evins <evins@snaught.com>
1301 Updated version to 2.pre2.
1302 * help/C/glabels.xml:
1303 Updated documentation.
1304 * src/ui-commands.c: (gl_ui_cmd_help_about):
1305 Updated copyright string.
1307 2007-12-15 Jim Evins <evins@snaught.com>
1309 * data/glade/object-editor.glade:
1310 Removed any GtkTable that contained a GtkComboBox because the size of
1311 the combo box was not constrained properly. This sacrifices the nice
1312 orderly labels for combo boxes that don't extend beyond the edge of the
1315 2007-12-15 Jim Evins <evins@snaught.com>
1317 * libglabels/db.c: (lgl_db_lookup_template_from_name):
1318 * src/object-editor.c: (gl_object_editor_finalize):
1319 * src/wdgt-media-select.c: (gl_wdgt_media_select_finalize):
1320 Fixed several small memory leaks.
1322 2007-12-14 Jim Evins <evins@snaught.com>
1325 Optimize template search by name by using a GHashTable.
1326 * src/mini-preview-pixbuf-cache.c:
1327 * src/mini-preview-pixbuf-cache.h:
1328 Store one pixbuf per template, but use a key for each alias.
1329 * src/wdgt-media-select.c:
1330 Optimize loading of tree data, thus optimizing the "new label" dialog.
1332 2007-12-12 Jim Evins <evins@snaught.com>
1334 * data/templates/avery-us-templates.xml:
1335 More templates and aliases.
1337 2007-12-08 Jim Evins <evins@snaught.com>
1340 More prep for 2.1.5/2.2.0.
1342 2007-12-08 Jim Evins <evins@snaught.com>
1348 Preparation for 2.1.5.
1350 2007-12-08 Jim Evins <evins@snaught.com>
1352 * docs/libglabels/libglabels-decl-list.txt:
1353 * docs/libglabels/libglabels-docs.sgml:
1354 * docs/libglabels/libglabels-sections.txt:
1355 * docs/libglabels/libglabels-undocumented.txt:
1356 * docs/libglabels/tmpl/db.sgml:
1357 * docs/libglabels/tmpl/str.sgml:
1359 Documentation cleanup for libglabels.
1361 2007-11-29 Jim Evins <evins@snaught.com>
1365 Added lgl_db_does_template_name_exist().
1366 In lgl_db_lookup_template_from_name() substitute brand/part of new template from
1368 * src/prefs-model.c:
1369 Proof read recent templates -- make sure they still exist.
1370 * src/wdgt-media-select.c:
1371 Default to "search all templates" tab if no recent templates found.
1373 2007-11-28 Jim Evins <evins@snaught.com>
1375 * data/glade/wdgt-media-select.glade:
1376 * src/wdgt-media-select.c:
1377 Added tabbed notebook to allow selection of recent template versus searching the
1381 2007-11-26 Jim Evins <evins@snaught.com>
1383 * libglabels/Makefile.am:
1384 * libglabels/libglabels.h:
1387 * src/prefs-dialog.c:
1388 * src/prefs-model.c:
1389 * src/prefs-model.h:
1392 Added tracking of recently used templates.
1394 2007-11-20 Jim Evins <evins@snaught.com>
1396 * data/glade/template-designer.glade:
1397 * src/template-designer.c:
1398 Added warning icon when match brand and part match an existing template.
1400 2007-11-18 Jim Evins <evins@snaught.com>
1402 * libglabels/Makefile.am:
1405 Added lgl_str_utf8_casecmp().
1406 * libglabels/libglabels-private.h:
1407 Use lgl_str_utf8_casecmp() for UTF8_EQUAL macro -- do case insensitive comparisons.
1408 * libglabels/db.c: (lgl_db_get_brand_list):
1409 Use lgl_str_utf8_casecmp() to determine if we have seen brand before when building
1412 2007-11-18 Jim Evins <evins@snaught.com>
1414 * data/glade/template-designer.glade:
1415 * src/template-designer.c:
1416 Don't advance past name page, if brand and part match an existing template.
1418 2007-11-18 Jim Evins <evins@snaught.com>
1420 * libglabels/db.c: (lgl_db_register_template), (read_templates):
1421 When registering a new template, don't add to "User defined" category before
1422 writing to file. Add to "User defined" category when reading from "~/.glabels"
1423 directory instead. This will allow legacy templates (and manually created
1424 templates) to be automatically added to the "user defined" category.
1425 * libglabels/xml-template.c:
1426 (lgl_xml_template_create_template_node):
1427 Fixed typo/bug causing brand to be wrong.
1429 2007-11-16 Jim Evins <evins@snaught.com>
1433 Added return codes to lgl_db_register_template(). Added lgl_db_does_template_exist()
1434 function. Automatically create "User defined" category and add to all user
1435 registered templates.
1436 * libglabels/xml-template.c:
1437 * libglabels/xml-template.h:
1438 Return number of bytes written from lgl_xml_template_write_templates_to_file() and
1439 lgl_xml_template_write_template_to_file().
1440 * docs/libglabels/libglabels-decl-list.txt:
1441 * docs/libglabels/libglabels-sections.txt:
1442 * docs/libglabels/libglabels-undocumented.txt:
1443 * docs/libglabels/tmpl/db.sgml:
1444 * docs/libglabels/tmpl/xml-template.sgml:
1445 Update documentation to reflect above changes.
1447 2007-10-28 Jim Evins <evins@snaught.com>
1449 * libglabels/xml-template.c:
1450 Remove any leading white space from part #s when parsing old names.
1451 * src/mini-preview-pixbuf-cache.c:
1452 If name isn't in cache add it.
1454 2007-10-26 Jim Evins <evins@snaught.com>
1456 * libglabels/Makefile.am:
1457 * libglabels/category.c:
1458 * libglabels/category.h:
1461 * libglabels/libglabels-private.h:
1462 * libglabels/libglabels.h:
1463 * libglabels/paper.c:
1464 * libglabels/paper.h:
1465 * libglabels/template.c:
1466 * libglabels/template.h:
1467 * libglabels/xml-template.c:
1468 Another pass at screwing with the libglabels API. Moved all
1469 database related stuff to db.[ch].
1470 * docs/libglabels/libglabels-decl-list.txt:
1471 * docs/libglabels/libglabels-docs.sgml:
1472 * docs/libglabels/libglabels-sections.txt:
1473 * docs/libglabels/libglabels-undocumented.txt:
1474 * docs/libglabels/tmpl/category.sgml:
1475 * docs/libglabels/tmpl/db.sgml:
1476 * docs/libglabels/tmpl/init.sgml:
1477 * docs/libglabels/tmpl/libglabels-unused.sgml:
1478 * docs/libglabels/tmpl/paper.sgml:
1479 * docs/libglabels/tmpl/template-construction.sgml:
1480 * docs/libglabels/tmpl/template-db.sgml:
1481 * docs/libglabels/tmpl/template-misc.sgml:
1482 * docs/libglabels/tmpl/template-struct.sgml:
1483 * docs/libglabels/tmpl/template.sgml:
1484 Updated documentation to reflect above changes to libglabels API.
1486 * src/glabels-batch.c:
1488 * src/mini-preview-pixbuf-cache.c:
1489 * src/prefs-model.c:
1491 * src/template-designer.c:
1492 * src/wdgt-media-select.c:
1493 * src/wdgt-mini-preview.c:
1494 * src/wdgt-rotate-label.c:
1495 * src/xml-label-04.c:
1497 Reconciled usage with above libglabels API changes.
1499 2007-10-21 Jim Evins <evins@snaught.com>
1501 * data/glade/wdgt-media-select.glade:
1502 * src/wdgt-media-select.c:
1503 Added brand to filter settings.
1505 2007-10-21 Jim Evins <evins@snaught.com>
1507 * data/dtd/glabels-2.2.dtd:
1508 Forgot to replace Alias name attribute with brand and part attributes.
1509 * data/templates/avery-iso-templates.xml:
1510 * data/templates/avery-other-templates.xml:
1511 * data/templates/avery-us-templates.xml:
1512 * data/templates/misc-iso-templates.xml:
1513 * data/templates/misc-other-templates.xml:
1514 * data/templates/misc-us-templates.xml:
1515 * data/templates/zweckform-iso-templates.xml:
1516 Replaced all name attributes with brand/part attribute pairs.
1518 2007-10-20 Jim Evins <evins@snaught.com>
1520 * src/stock-pixmaps/*.png
1521 Updated icons to use Tango color palette.
1523 2007-10-20 Jim Evins <evins@snaught.com>
1525 * data/dtd/Makefile.am:
1526 * data/dtd/glabels-2.0.dtd:
1527 * data/dtd/glabels-2.2.dtd:
1528 Rename glabels-2.0.dtd to glabels-2.2.dtd. Added brand and part attributes to
1530 * libglabels/template.c:
1531 * libglabels/template.h:
1532 * libglabels/xml-template.c:
1534 Added brand and part attributes to template and alias structures and nodes.
1537 * src/mini-preview-pixbuf-cache.c:
1538 * src/template-designer.c:
1539 * src/wdgt-media-select.c:
1540 Use modified libglabels API.
1541 * docs/libglabels/libglabels-decl-list.txt:
1542 * docs/libglabels/libglabels-sections.txt:
1543 * docs/libglabels/libglabels-undocumented.txt:
1544 * docs/libglabels/tmpl/template-construction.sgml:
1545 * docs/libglabels/tmpl/template-db.sgml:
1546 * docs/libglabels/tmpl/template-struct.sgml:
1547 Update libglabels documentation to reflect above modifications.
1549 2007-10-14 Jim Evins <evins@snaught.com>
1551 * docs/libglabels/libglabels-decl-list.txt:
1552 * docs/libglabels/libglabels-sections.txt:
1553 * docs/libglabels/libglabels-undocumented.txt:
1554 * docs/libglabels/tmpl/category.sgml:
1555 * libglabels/category.c:
1556 * libglabels/category.h:
1557 Added lgl_category_get_id_list() and lgl_category_free_id_list() to have
1558 parity with paper functions.
1560 2007-10-12 Jim Evins <evins@snaught.com>
1562 * docs/libglabels/libglabels-decl-list.txt:
1563 * docs/libglabels/libglabels-sections.txt:
1564 * docs/libglabels/libglabels-undocumented.txt:
1565 * docs/libglabels/tmpl/category.sgml:
1566 * docs/libglabels/tmpl/enums.sgml:
1567 * docs/libglabels/tmpl/libglabels-unused.sgml:
1568 * docs/libglabels/tmpl/paper.sgml:
1569 * docs/libglabels/tmpl/template-struct.sgml:
1570 * libglabels/init.c:
1571 * libglabels/template.c:
1572 * libglabels/template.h:
1573 Another pass at fleshing out the libglabels documentation.
1574 * src/cairo-label-path.c:
1575 * src/cairo-markup-path.c:
1577 * src/mini-preview-pixbuf.c:
1581 * src/wdgt-media-select.c:
1582 * src/wdgt-mini-preview.c:
1583 * src/wdgt-print-copies.c:
1584 * src/wdgt-print-merge.c:
1585 * src/wdgt-rotate-label.c:
1586 Removed lgl_template_get_first_frame() from libglabels API and all references.
1588 2007-10-11 Jim Evins <evins@snaught.com>
1590 Extended checks for deprecated symbols.
1591 * libglabels/template.c:
1592 Removed g_strcasecmp references, which are deprecated.
1594 2007-10-09 Jim Evins <evins@snaught.com>
1596 * src/merge-evolution.c:
1597 Create address book if it does not exist. Also, be more robust about handling
1598 error conditions -- don't just assume GError has been set.
1600 2007-10-08 Jim Evins <evins@snaught.com>
1602 * libglabels/template.c:
1603 * libglabels/xml-template.c:
1604 * src/template-designer.c:
1605 Missed some symbols with libglabels API work.
1607 2007-10-01 Jim Evins <evins@snaught.com>
1609 * docs/libglabels/libglabels-decl-list.txt:
1610 * docs/libglabels/libglabels-docs.sgml:
1611 * docs/libglabels/libglabels-sections.txt:
1612 * docs/libglabels/libglabels-undocumented.txt:
1613 * docs/libglabels/tmpl/category.sgml:
1614 * docs/libglabels/tmpl/enums.sgml:
1615 * docs/libglabels/tmpl/init.sgml:
1616 * docs/libglabels/tmpl/libglabels-unused.sgml:
1617 * docs/libglabels/tmpl/paper.sgml:
1618 * docs/libglabels/tmpl/template-construction.sgml:
1619 * docs/libglabels/tmpl/template-db.sgml:
1620 * docs/libglabels/tmpl/template-misc.sgml:
1621 * docs/libglabels/tmpl/template-struct.sgml:
1622 * docs/libglabels/tmpl/template.sgml:
1623 * docs/libglabels/tmpl/xml-category.sgml:
1624 * docs/libglabels/tmpl/xml-template.sgml:
1625 * libglabels/category.h:
1626 * libglabels/init.c:
1627 * libglabels/libglabels-private.h:
1628 * libglabels/paper.h:
1629 * libglabels/template.c:
1630 * libglabels/template.h:
1631 * libglabels/xml-template.h:
1632 Basic documentation framework for libglabels updated. This still needs some
1635 2007-09-27 Jim Evins <evins@snaught.com>
1637 * docs/libglabels/libglabels-decl-list.txt:
1638 * docs/libglabels/libglabels-docs.sgml:
1639 * docs/libglabels/libglabels-sections.txt:
1640 * docs/libglabels/libglabels-undocumented.txt:
1641 * docs/libglabels/tmpl/enums.sgml:
1642 * docs/libglabels/tmpl/init.sgml:
1643 * docs/libglabels/tmpl/libglabels-unused.sgml:
1644 * docs/libglabels/tmpl/paper.sgml:
1645 * docs/libglabels/tmpl/template.sgml:
1646 * docs/libglabels/tmpl/xml-paper.sgml:
1647 * docs/libglabels/tmpl/xml-template.sgml:
1648 * docs/libglabels/tmpl/xml.sgml:
1649 * libglabels/Makefile.am:
1650 * libglabels/category.c:
1651 * libglabels/category.h:
1652 * libglabels/enums.h:
1653 * libglabels/init.c:
1654 * libglabels/init.h:
1655 * libglabels/libglabels-private.h:
1656 * libglabels/libglabels.h:
1657 * libglabels/paper.c:
1658 * libglabels/paper.h:
1659 * libglabels/template.c:
1660 * libglabels/template.h:
1661 * libglabels/xml-category.c:
1662 * libglabels/xml-category.h:
1663 * libglabels/xml-paper.c:
1664 * libglabels/xml-paper.h:
1665 * libglabels/xml-template.c:
1666 * libglabels/xml-template.h:
1669 * src/cairo-label-path.c:
1670 * src/cairo-label-path.h:
1671 * src/cairo-markup-path.c:
1672 * src/cairo-markup-path.h:
1674 * src/glabels-batch.c:
1676 * src/label-object.c:
1679 * src/mini-preview-pixbuf-cache.c:
1680 * src/mini-preview-pixbuf.c:
1681 * src/mini-preview-pixbuf.h:
1682 * src/prefs-dialog.c:
1683 * src/prefs-model.c:
1684 * src/prefs-model.h:
1689 * src/template-designer.c:
1690 * src/view-barcode.c:
1692 * src/view-ellipse.c:
1696 * src/wdgt-media-select.c:
1697 * src/wdgt-mini-preview.c:
1698 * src/wdgt-mini-preview.h:
1699 * src/wdgt-print-copies.c:
1700 * src/wdgt-print-merge.c:
1701 * src/wdgt-rotate-label.c:
1702 * src/xml-label-04.c:
1704 Major cleanup of libglabels API -- this breaks API compatibility with older
1705 development and stable versions -- as far as I know, there are currently
1706 no external users of this library yet.
1708 2007-09-14 Jim Evins <evins@snaught.com>
1713 * src/label-object.c:
1714 * src/label-object.h:
1715 * src/label-barcode.c:
1716 * src/label-ellipse.c:
1718 * src/view-object.c:
1719 * src/view-barcode.c:
1721 * src/view-ellipse.c:
1725 Better separation of model from view.
1727 2007-08-21 Jim Evins <evins@snaught.com>
1729 * src/print-op.c: (create_custom_widget_cb):
1730 Fix problem with force_outline_flag -- don't override with default.
1732 2007-08-21 Jim Evins <evins@snaught.com>
1734 * data/dtd/glabels-2.0.dtd:
1735 * libglabels/template.c:
1736 * libglabels/template.h:
1737 * libglabels/xml-template.c:
1738 * src/cairo-markup-path.c:
1739 Added "Markup-rect" element to template format.
1741 2007-08-21 Jim Evins <evins@snaught.com>
1744 Changed version to 2.1.pre5svn.
1745 * src/view.c: (draw_markup_layer):
1746 Do a stroke for each markup path, otherwise multiple markups
1749 2007-08-17 Jim Evins <evins@snaught.com>
1752 Bump libglabels revision numbers for 2.1.4 release.
1754 2007-08-16 Jim Evins <evins@snaught.com>
1757 Include subdir iec16022-0.2.1.
1761 Preparation for 2.1.4.
1764 2007-08-11 Jim Evins <evins@snaught.com>
1770 Added Esperanto translation. Provided by Antonio C.
1771 Codazzi "la Filozofo" <f_sophia@libero.it>.
1773 Updated French translation. Provided by Claude Paroz
1774 <claude@2xlibre.net>.
1776 Updated to reflect above translations.
1778 2007-08-11 Jim Evins <evins@snaught.com>
1781 * data/templates/avery-iso-templates.xml:
1782 * data/templates/avery-us-templates.xml:
1783 * data/templates/misc-iso-templates.xml:
1784 * data/templates/misc-other-templates.xml:
1785 * data/templates/misc-us-templates.xml:
1786 * data/templates/zweckform-iso-templates.xml:
1787 Caught up with backlog of template submissions.
1789 2007-08-10 Jim Evins <evins@snaught.com>
1791 * src/bc-postnet.c: (gl_barcode_postnet_new):
1793 Added support for Brazilian CEPNet barcodes. This is simply an
1794 instance of the US POSTNET format with 8 digits. Patch supplied
1795 by Mário Meyer in bug # 1768792.
1797 Updated acknowledgments to reflect above patch and recent shuffling
1798 of underlying technology.
1800 2007-05-13 Jim Evins <evins@snaught.com>
1802 * src/merge-text.c: (parse_line), (parse_field):
1803 Remove leading and trailing spaces from CSV fields, unless quoted.
1805 2007-05-09 Jim Evins <evins@snaught.com>
1807 * src/object-editor-bc-page.c:
1808 * src/object-editor-data-page.c:
1809 * src/object-editor-fill-page.c:
1810 * src/object-editor-image-page.c:
1811 * src/object-editor-line-page.c:
1812 * src/object-editor-lsize-page.c:
1813 * src/object-editor-position-page.c:
1814 * src/object-editor-private.h:
1815 * src/object-editor-shadow-page.c:
1816 * src/object-editor-size-page.c:
1817 * src/object-editor-text-page.c:
1818 * src/object-editor.c:
1819 * src/prefs-dialog.c:
1820 * src/template-designer.c:
1821 * src/ui-property-bar.c:
1822 * src/wdgt-media-select.c:
1823 Replaced signal block/unblock pairs with simple flags. This reduces
1824 some code clutter, hopefully making it easier to read.
1826 2007-05-05 Jim Evins <evins@snaught.com>
1828 * src/template-designer.c: (apply_cb):
1829 Add new template to mini-preview pixbuf cache.
1831 2007-05-03 Jim Evins <evins@snaught.com>
1833 * src/label-image.c: (gl_label_image_init), (draw_object):
1834 Scale default pixbuf up, to prevent bluring. Use cairo_fill to
1837 2007-05-02 Jim Evins <evins@snaught.com>
1839 * src/view.c: (draw_select_region_layer), (motion_notify_event_cb),
1840 (button_release_event_cb):
1841 Removed attempt at rendering optimization by clipping the updates
1842 to areas affected -- this actually seemed to hurt update performance.
1844 2007-04-30 Jim Evins <evins@snaught.com>
1847 * src/color.c: (gl_color_shadow), (gl_color_node_new_default),
1848 (gl_color_node_equal), (gl_color_node_expand):
1849 * src/label-barcode.c: (draw_object):
1850 * src/label-box.c: (draw_object), (draw_shadow):
1851 * src/label-ellipse.c: (draw_object), (draw_shadow):
1852 * src/label-line.c: (draw_object), (draw_shadow):
1853 * src/label-text.c: (draw_object), (draw_shadow):
1854 * src/wdgt-mini-preview.c: (draw_shadow), (draw_labels):
1855 * src/wdgt-rotate-label.c: (drawingarea_update):
1856 Some cleanup to color related code.
1858 2007-04-30 Jim Evins <evins@snaught.com>
1861 Added glLabelRegion structure type.
1862 * src/label-object.c: (gl_label_object_get_extent):
1863 * src/label-object.h:
1864 Modified gl_label_object_get_extent() to fill in a glLabelRegion struct.
1866 * src/view.c: (gl_view_update_region), (draw_select_region_layer),
1867 (gl_view_select_region), (gl_view_align_selection_left),
1868 (gl_view_align_selection_right), (gl_view_align_selection_hcenter),
1869 (gl_view_align_selection_top), (gl_view_align_selection_bottom),
1870 (gl_view_align_selection_vcenter),
1871 (gl_view_center_selection_horiz), (gl_view_center_selection_vert),
1872 (gl_view_move_selection), (gl_view_can_selection_text),
1873 (motion_notify_event_cb), (button_press_event_cb),
1874 (button_release_event_cb):
1875 - Reconcile with new gl_label_object_get_extent() API.
1876 - Use glLabelRegion for view->select_region.
1877 - Added gl_view_update_region() to clip updates to region.
1878 - Use gl_view_update_region() during manipulation of view->select_region.
1880 2007-04-26 Jim Evins <evins@snaught.com>
1882 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
1883 (draw_label_outline):
1884 * src/print.c: (print_crop_marks), (draw_outline):
1885 * src/view-object.c: (gl_view_object_draw_handles):
1886 * src/view.c: (draw_bg_layer), (draw_grid_layer),
1887 (draw_markup_layer), (draw_fg_layer), (draw_select_region_layer):
1888 * src/wdgt-mini-preview.c: (draw_paper), (draw_labels):
1889 * src/wdgt-rotate-label.c: (drawingarea_update):
1890 Added defines for various magic numbers.
1892 2007-04-25 Jim Evins <evins@snaught.com>
1894 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
1895 Scale text down. Cairo seems to render text too large.
1897 2007-04-25 Jim Evins <evins@snaught.com>
1900 * src/view.c: (gl_view_update), (expose_cb),
1901 (motion_notify_event_cb), (button_press_event_cb),
1902 (button_release_event_cb):
1903 - Try not to let updates get backed up.
1904 - Grab pointer when doing any drag operations.
1906 2007-04-11 Jim Evins <evins@snaught.com>
1908 * src/cairo-label-path.c: (gl_cairo_label_path),
1909 (gl_cairo_rect_label_path), (gl_cairo_round_label_path),
1910 (gl_cairo_cd_label_path):
1911 * src/cairo-label-path.h:
1912 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
1913 (draw_label_outline):
1914 * src/print.c: (draw_outline), (clip_to_outline):
1915 * src/view.c: (draw_bg_layer), (draw_fg_layer):
1916 * src/wdgt-mini-preview.c: (draw_labels):
1917 * src/wdgt-rotate-label.c: (drawingarea_update):
1918 Modified to universally use gl_cairo_label_path() to create paths
1919 for labels. Added shadow to mini preview in rotate widget.
1921 2007-04-10 Jim Evins <evins@snaught.com>
1923 * libglabels/template.h:
1924 * libglabels/template.c: (gl_template_get_name_list_unique),
1925 (gl_template_get_name_list_all), (gl_template_from_name):
1926 Modified libglabels to allow you to get a list of all template names
1927 including all aliases or just a list of primary names of each unique
1930 * src/file.c: (gl_file_properties):
1931 * src/glabels.c: (main):
1932 * src/mini-preview-pixbuf-cache.h:
1933 * src/mini-preview-pixbuf-cache.c:
1934 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
1935 (filter_changed_cb), (load_list):
1936 Added mini-preview pixbuf cache, so that only one mini-preview is
1937 needed for a unique template and gets reused for all aliases. These
1938 pixbufs will also live for the life of the program so they are not
1939 rebuilt everytime a new label dialog is invoked.
1940 * src/mini-preview-pixbuf.c: (draw_paper),
1941 (draw_rect_label_outline), (draw_round_label_outline),
1942 (draw_cd_label_outline):
1943 Removed some comment artifacts.
1945 2007-04-04 Jim Evins <evins@snaught.com>
1947 * src/mini-preview-pixbuf.c: (gl_mini_preview_pixbuf_new),
1948 (draw_paper), (draw_label_outlines), (draw_rect_label_outline),
1949 (draw_round_label_outline), (draw_cd_label_outline):
1950 * src/wdgt-media-select.c: (load_list):
1951 * src/wdgt-rotate-label.c: (draw_cd_label_outline):
1952 Cosmetic enhancments to mini previews.
1954 2007-04-04 Jim Evins <evins@snaught.com>
1956 * src/ui-property-bar.c: (gl_ui_property_bar_finalize),
1957 (gl_ui_property_bar_construct):
1958 Save copy of GladeXML tree so that we don't lose tooltips.
1960 2007-04-02 Jim Evins <evins@snaught.com>
1962 * src/merge-properties-dialog.c:
1963 * src/new-label-dialog.c:
1964 * src/object-editor.c:
1965 * src/prefs-dialog.c:
1967 * src/template-designer.c:
1968 * src/ui-property-bar.c:
1969 * src/wdgt-media-select.c:
1970 * src/wdgt-rotate-label.c:
1971 Fixed several memory leaks.
1973 2007-04-01 Jim Evins <evins@snaught.com>
1975 * src/label-text.c: (gl_label_text_init), (copy),
1976 (gl_label_text_set_lines), (buffer_changed_cb), (get_size),
1977 (set_font_family), (set_font_size), (set_font_weight),
1978 (set_font_italic_flag), (set_text_alignment),
1979 (set_text_line_spacing):
1980 Cache object size, so that expensive extent calculations are only done
1983 2007-03-30 Jim Evins <evins@snaught.com>
1985 * src/prefs-model.c: (gl_prefs_model_load_settings):
1986 Default to an unlimited list of recent documents, since this parameter
1987 seems to be pre-filter anyway.
1989 2007-03-30 Jim Evins <evins@snaught.com>
1991 * src/label-box.c: (draw_shadow):
1992 * src/label-ellipse.c: (draw_shadow):
1993 Added missing shadow fill.
1995 2007-03-28 Jim Evins <evins@snaught.com>
1997 * src/ui-commands.c: (gl_ui_cmd_file_print):
1998 Unreferencing the print operation sometimes crashes. Just don't do it
2001 2007-03-28 Jim Evins <evins@snaught.com>
2003 * src/print-op.c: (gl_print_op_construct),
2004 (gl_print_op_get_settings), (gl_print_op_set_settings),
2005 (gl_print_op_free_settings), (create_custom_widget_cb):
2007 * src/ui-commands.c: (gl_ui_cmd_file_print):
2008 * src/window.c: (gl_window_init):
2010 Save print settings and custom settings between print operations
2013 2007-03-24 Jim Evins <evins@snaught.com>
2015 * src/object-editor-image-page.c:
2016 (gl_object_editor_prepare_image_page),
2017 (gl_object_editor_set_image), (img_selection_changed_cb):
2018 Workaround for GtkFileChooserButton bug # 327243. This the root
2019 cause for gLabels bug # 1192884. I have actually observed 3 delayed
2020 "selection-changed" signals -- the first 2 return NULL -- this is
2021 what caused the image to reset to the default followed by setting
2022 it back to the original image, trying to fit it into a new bounding
2023 box. This sequence of events is much more evident with the new
2026 2007-03-23 Jim Evins <evins@snaught.com>
2028 Merged all changes from experimental cairo branch to trunk.
2029 Trunk no longer depends on libgnomecanvas or libgnomeprint[ui].
2031 2007-03-23 Jim Evins <evins@snaught.com>
2033 * src/label-object.h:
2034 * src/label-object.c: (gl_label_object_class_init),
2035 (gl_label_object_get_raw_size), (gl_label_object_get_size):
2036 Created "get_raw_size" method.
2037 * src/label-barcode.c: (get_size):
2038 * src/xml-label.c: (xml_create_object_text),
2039 (xml_create_object_barcode):
2040 Use new "get_raw_size" method on label-objects when apropos.
2042 * src/label-text.c: (get_size), (draw_object), (draw_shadow),
2043 (auto_shrink_font_size):
2044 Added "auto shrink" functionality back.
2046 2007-03-19 Jim Evins <evins@snaught.com>
2048 * src/label-text.c: (draw_object), (draw_shadow):
2049 Don't use negative scales in workaround from previous commit.
2052 2007-03-18 Jim Evins <evins@snaught.com>
2055 Forgot to remove include of xml-lable-191 in previous commit.
2056 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
2057 Workaround for pango Bug #341481. Render text at device scale,
2058 and scale font size accordingly. Also, don't do any hinting.
2060 2007-03-18 Jim Evins <evins@snaught.com>
2062 * src/cairo-ellipse-path.c:
2063 * src/cairo-ellipse-path.h:
2064 Forgot to add these new files during last mass commit.
2066 2007-03-18 Jim Evins <evins@snaught.com>
2069 * src/xml-label-191.c:
2070 * src/xml-label-191.h:
2071 Removed -- Very buggy. Version 1.91 is a very old "unstable" version,
2072 so there is no need to keep compatability.
2074 * src/bc-iec16022.c:
2075 * src/cairo-label-path.c:
2076 * src/cairo-label-path.h:
2077 * src/cairo-markup-path.c:
2081 * src/glabels-batch.c:
2083 * src/label-barcode.c:
2085 * src/label-ellipse.c:
2086 * src/label-image.c:
2088 * src/label-object.c:
2089 * src/label-object.h:
2093 * src/merge-properties-dialog.c:
2095 * src/new-label-dialog.c:
2096 * src/object-editor-bc-page.c:
2097 * src/object-editor-data-page.c:
2098 * src/object-editor-edit-page.c:
2099 * src/object-editor-fill-page.c:
2100 * src/object-editor-image-page.c:
2101 * src/object-editor-line-page.c:
2102 * src/object-editor-private.h:
2103 * src/object-editor-shadow-page.c:
2104 * src/object-editor-text-page.c:
2105 * src/object-editor.c:
2106 * src/pixbuf-cache.c:
2111 * src/template-designer.c:
2113 * src/ui-property-bar.c:
2115 * src/view-barcode.c:
2117 * src/view-ellipse.c:
2120 * src/view-object.c:
2121 * src/view-object.h:
2124 * src/wdgt-media-select.c:
2125 * src/wdgt-print-copies.c:
2126 * src/wdgt-print-merge.c:
2128 * src/xml-label-04.c:
2130 Many changes, including:
2131 - Move draw methods from view-*() to label-*().
2132 - Use same drawing code for on screen view and printing.
2133 - Fix all issues exposed with '-Wall -Werror'.
2135 2007-03-14 Jim Evins <evins@snaught.com>
2138 * src/cairo-handle-path.c:
2139 * src/cairo-handle-path.h:
2140 * src/cairo-object-path.c:
2141 * src/cairo-object-path.h:
2142 Removed cairo-handle-path.[ch] and cairo-object-path.[ch].
2143 * src/view-barcode.c: (gl_view_barcode_class_init), (draw_object),
2145 * src/view-box.c: (gl_view_box_class_init), (draw_object),
2146 (draw_shadow), (object_at):
2147 * src/view-ellipse.c: (gl_view_ellipse_class_init),
2148 (create_ellipse_path), (draw_object), (draw_shadow), (object_at):
2149 * src/view-image.c: (gl_view_image_class_init), (draw_object),
2151 * src/view-line.c: (gl_view_line_class_init), (draw_object),
2152 (draw_shadow), (object_at):
2153 * src/view-object.c: (gl_view_object_draw), (gl_view_object_at),
2154 (create_handle_path), (gl_view_object_draw_handles),
2155 (gl_view_object_handle_at):
2156 * src/view-object.h:
2157 * src/view-text.c: (gl_view_text_class_init), (draw_object),
2158 (draw_shadow), (object_at):
2159 * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
2160 Some restructuring of new code.
2162 2007-03-12 Jim Evins <evins@snaught.com>
2165 * src/cairo-object-path.c:
2166 * src/view-barcode.c:
2167 * src/view-barcode.h:
2169 Added barcode object support to view.
2171 2007-03-12 Jim Evins <evins@snaught.com>
2177 * src/cairo-object-path.c:
2178 * src/cairo-object-path.h:
2180 * src/view-ellipse.c:
2183 * src/view-object.c:
2184 * src/view-object.h:
2185 Added text object support to view. Added object_at method to all
2188 2007-03-11 Jim Evins <evins@snaught.com>
2191 * src/cairo-object-path.c: (gl_cairo_object_path),
2192 (gl_cairo_image_object_path):
2193 * src/view-image.c: (gl_view_image_class_init),
2194 (gl_view_image_finalize), (gl_view_image_new),
2195 (update_editor_from_label_cb), (draw),
2196 (gl_view_image_get_create_cursor),
2197 (gl_view_image_create_button_press_event),
2198 (gl_view_image_create_motion_event),
2199 (gl_view_image_create_button_release_event):
2201 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
2202 (selection_received_cb), (motion_notify_event_cb),
2203 (button_press_event_cb), (button_release_event_cb):
2204 Added image object support to view.
2206 2007-03-11 Jim Evins <evins@snaught.com>
2209 * src/cairo-object-path.c: (gl_cairo_object_path),
2210 (gl_cairo_line_object_path):
2211 * src/view-line.c: (gl_view_line_class_init), (gl_view_line_new),
2212 (update_object_from_editor_cb), (update_editor_from_object_cb),
2213 (update_editor_from_label_cb), (draw),
2214 (gl_view_line_get_create_cursor),
2215 (gl_view_line_create_button_press_event),
2216 (gl_view_line_create_motion_event),
2217 (gl_view_line_create_button_release_event):
2219 * src/view-object.c: (gl_view_object_resize_event):
2220 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
2221 (selection_received_cb), (motion_notify_event_cb),
2222 (button_press_event_cb), (button_release_event_cb):
2223 Added line object support to view.
2224 * src/cairo-handle-path.c:
2225 Made handles slightly larger.
2228 2007-03-11 Jim Evins <evins@snaught.com>
2231 * src/cairo-handle-path.c:
2232 * src/cairo-label-path.c: (gl_cairo_rect_label_path),
2233 (gl_cairo_round_label_path), (gl_cairo_cd_label_path):
2234 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
2235 (gl_cairo_markup_margin_round_path),
2236 (gl_cairo_markup_margin_cd_path), (gl_cairo_markup_circle_path):
2237 * src/cairo-object-path.c: (gl_cairo_object_path),
2238 (gl_cairo_ellipse_object_path):
2239 * src/label-object.c: (gl_label_object_rotate):
2242 * src/view-ellipse.c: (gl_view_ellipse_class_init),
2243 (gl_view_ellipse_new), (update_object_from_editor_cb),
2244 (update_editor_from_object_cb), (update_editor_from_label_cb),
2245 (draw), (gl_view_ellipse_get_create_cursor),
2246 (gl_view_ellipse_create_button_press_event),
2247 (gl_view_ellipse_create_motion_event),
2248 (gl_view_ellipse_create_button_release_event):
2249 * src/view-ellipse.h:
2250 * src/view-object.c:
2251 * src/view-object.h:
2252 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
2253 (select_object_real), (selection_received_cb),
2254 (motion_notify_event_cb), (button_press_event_cb),
2255 (button_release_event_cb):
2257 Added ellipse object support to view. Plus other cleanup.
2259 2007-03-11 Jim Evins <evins@snaught.com>
2262 * src/view-box.c: (gl_view_box_get_create_cursor),
2263 (gl_view_box_create_button_press_event),
2264 (gl_view_box_create_motion_event),
2265 (gl_view_box_create_button_release_event):
2266 * src/view-object.c: (gl_view_object_set_view),
2267 (gl_view_object_handle_at):
2269 * src/view.c: (gl_view_arrow_mode), (gl_view_object_create_mode),
2270 (motion_notify_event_cb), (button_press_event_cb),
2271 (button_release_event_cb), (key_press_event_cb):
2272 Added creation code for box object.
2274 2007-03-09 Jim Evins <evins@snaught.com>
2276 * src/view-object.c: (gl_view_object_resize_event):
2277 * src/view-object.h:
2278 * src/view.c: (motion_notify_event_cb):
2279 Fix bugs with resizing transformed objects.
2280 * src/cairo-handle-path.c: (gl_cairo_handle_path):
2281 * src/cairo-object-path.c: (gl_cairo_object_path):
2282 * src/cairo-object-path.h:
2283 * src/label-object.c: (gl_label_object_init),
2284 (gl_label_object_dup), (gl_label_object_get_extent),
2285 (gl_label_object_flip_horiz), (gl_label_object_flip_vert),
2286 (gl_label_object_rotate), (gl_label_object_set_matrix),
2287 (gl_label_object_get_matrix):
2288 * src/label-object.h:
2289 * src/print.c: (draw_object):
2291 * src/view-highlight.c:
2292 * src/view-highlight.h:
2293 * src/xml-label-191.c: (xml191_parse_object):
2294 * src/xml-label.c: (xml_parse_affine_attrs),
2295 (xml_create_affine_attrs):
2296 Replace libart affine matrices with cairo matrices.
2298 2007-03-08 Jim Evins <evins@snaught.com>
2300 * src/view-object.h:
2301 * src/view.c: (gl_view_update), (motion_notify_event_cb):
2302 * src/view-object.c: (gl_view_object_handle_at),
2303 (gl_view_object_resize_event):
2304 Added resize code -- still a bit buggy.
2306 2007-03-07 Jim Evins <evins@snaught.com>
2309 * src/cairo-handle-path.c:
2310 * src/cairo-handle-path.h:
2311 * src/view-box.c: (gl_view_box_new):
2312 * src/view-object.c: (gl_view_object_set_object),
2313 (gl_view_object_draw_handles), (gl_view_object_handle_at):
2314 * src/view-object.h:
2315 * src/view.c: (draw_highlight_layer), (select_object_real),
2316 (unselect_object_real), (view_handle_at), (motion_notify_event_cb),
2317 (button_press_event_cb), (button_release_event_cb),
2318 (key_press_event_cb):
2320 Added beginnings of object resize handles.
2322 2007-03-07 Jim Evins <evins@snaught.com>
2325 * src/view.c: (gl_view_init), (gl_view_arrow_mode),
2326 (gl_view_object_create_mode), (motion_notify_event_cb),
2327 (button_press_event_cb), (button_release_event_cb),
2328 (key_press_event_cb):
2329 Added move selection support.
2331 2007-03-05 Jim Evins <evins@snaught.com>
2333 * src/cairo-object-path.c: (gl_cairo_object_path):
2334 * src/view-object.c: (gl_view_object_draw),
2335 (gl_view_object_draw_highlight):
2336 * src/view.c: (view_object_at), (motion_notify_event_cb),
2337 (button_press_event_cb), (button_release_event_cb):
2338 Additional refinements to select logic.
2340 2007-03-05 Jim Evins <evins@snaught.com>
2343 * src/view.c: (gl_view_init), (gl_view_construct),
2344 (label_changed_cb), (draw_layers), (draw_select_region_layer),
2345 (gl_view_select_region), (object_at), (motion_notify_event_cb),
2346 (button_press_event_cb), (button_release_event_cb):
2347 Added initial select region support and context menu.
2349 2007-03-04 Jim Evins <evins@snaught.com>
2360 * src/ui-commands.c:
2363 * src/view-object.c:
2364 * src/view-object.h:
2367 * src/wdgt-print-copies.c:
2368 * src/wdgt-print-merge.c:
2370 Initial port to a raw Cairo canvas. This removes all remaining
2371 dependencies on libgnomecanvas and libgnomeprint[ui]. Basically
2372 the view is becoming a canvas widget in its own right. Still needs
2374 * src/cairo-label-path.c:
2375 * src/cairo-label-path.h:
2376 * src/cairo-markup-path.c:
2377 * src/cairo-markup-path.h:
2378 * src/cairo-object-path.c:
2379 * src/cairo-object-path.h:
2380 New files to support cairo canvas.
2381 * src/canvas-hacktext.c:
2382 * src/canvas-hacktext.h:
2385 2007-02-18 Jim Evins <evins@snaught.com>
2388 GNOME_FONT_BOOK changed to PANGO_WEIGHT_NORMAL.
2390 2007-02-14 Jim Evins <evins@snaught.com>
2394 * src/bc-gnubarcode.c:
2395 * src/bc-gnubarcode.h:
2400 * src/canvas-hacktext.c:
2401 * src/canvas-hacktext.h:
2408 * src/label-barcode.c:
2409 * src/label-barcode.h:
2412 * src/label-ellipse.c:
2413 * src/label-ellipse.h:
2414 * src/label-image.c:
2415 * src/label-image.h:
2418 * src/label-object.c:
2419 * src/label-object.h:
2424 * src/merge-evolution.c:
2425 * src/merge-evolution.h:
2428 * src/merge-properties-dialog.c:
2429 * src/merge-properties-dialog.h:
2432 * src/merge-vcard.c:
2433 * src/merge-vcard.h:
2436 * src/mini-preview-pixbuf.h:
2437 * src/new-label-dialog.c:
2438 * src/new-label-dialog.h:
2439 * src/object-editor-bc-page.c:
2440 * src/object-editor-data-page.c:
2441 * src/object-editor-edit-page.c:
2442 * src/object-editor-fill-page.c:
2443 * src/object-editor-image-page.c:
2444 * src/object-editor-line-page.c:
2445 * src/object-editor-lsize-page.c:
2446 * src/object-editor-position-page.c:
2447 * src/object-editor-private.h:
2448 * src/object-editor-size-page.c:
2449 * src/object-editor-text-page.c:
2450 * src/object-editor.c:
2451 * src/object-editor.h:
2452 * src/pixbuf-cache.c:
2453 * src/pixbuf-cache.h:
2454 * src/prefs-dialog.c:
2455 * src/prefs-dialog.h:
2456 * src/prefs-model.c:
2457 * src/prefs-model.h:
2463 * src/template-designer.c:
2466 * src/ui-commands.c:
2467 * src/ui-commands.h:
2468 * src/ui-property-bar.c:
2469 * src/ui-property-bar.h:
2478 * src/view-barcode.c:
2479 * src/view-barcode.h:
2482 * src/view-ellipse.c:
2483 * src/view-ellipse.h:
2484 * src/view-highlight.c:
2485 * src/view-highlight.h:
2490 * src/view-object.c:
2491 * src/view-object.h:
2496 * src/wdgt-chain-button.c:
2497 * src/wdgt-chain-button.h:
2498 * src/wdgt-media-select.c:
2499 * src/wdgt-mini-preview.c:
2500 * src/wdgt-print-copies.c:
2501 * src/wdgt-print-copies.h:
2502 * src/wdgt-print-merge.c:
2503 * src/wdgt-print-merge.h:
2504 * src/wdgt-rotate-label.c:
2506 * src/xml-label-04.c:
2507 * src/xml-label-04.h:
2508 * src/xml-label-191.c:
2509 * src/xml-label-191.h:
2513 Assorted superficial cleanup. Including:
2514 - Use G_DEFINE_TYPE for all objects.
2515 - Reconcile style of all class initializer functions
2516 - Reconcile style of all finalize functions
2517 - Add emacs mode line to all source files
2519 2007-02-06 Jim Evins <evins@snaught.com>
2521 Assorted cleanup and removal of deprecated items.
2526 Removed annoying splash screen.
2527 * src/glabels-batch.c: (main):
2528 * src/glabels.c: (main):
2529 Converted from popt to GOption.
2530 * src/object-editor-shadow-page.c:
2531 (gl_object_editor_set_shadow_state):
2532 Removed deprecated method on GtkToggleButton.
2533 * src/ui-commands.c: (gl_ui_cmd_help_about):
2534 Removed dependency on libgnomui/qnome-url.h.
2535 * src/template-designer.c:
2536 Removed dependency on libgnome/gnome-program.h.
2539 2007-02-04 Jim Evins <evins@snaught.com>
2543 * src/prefs-model.c:
2544 * src/print.c: (draw_text_object):
2545 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_construct):
2546 Removed GnomeCanvas artifacts from color.[ch] and related modules.
2548 2007-02-04 Jim Evins <evins@snaught.com>
2550 * src/wdgt-mini-preview.c:
2551 * src/wdgt-mini-preview.h:
2552 Ported widget from GnomeCanvas to Cairo.
2554 2007-02-03 Jim Evins <evins@snaught.com>
2556 * data/glade/template-designer.glade:
2557 * src/template-designer.c:
2558 * src/template-designer.h:
2559 Ported GnomeDruid to GtkAssistant. Since libglade does not
2560 yet support the GtkAssistant and we derive directly from
2561 the Assistant, the pages are layed out in a GtkNotebook in
2562 the glade description -- we then append each page to the
2565 2007-01-25 Jim Evins <evins@snaught.com>
2567 * data/glade/object-editor.glade:
2568 Added dummy page to notebook, to prevent shadow page from
2569 becoming the default current page at creation.
2570 * src/view-box.c: (construct_properties_editor):
2571 * src/view-ellipse.c: (construct_properties_editor):
2572 * src/view-line.c: (construct_properties_editor):
2573 * src/view-text.c: (construct_properties_editor):
2574 Reconciled order of params.
2576 2007-01-19 Jim Evins <evins@snaught.com>
2578 * src/label-barcode.h:
2579 * src/label-object.c: (gl_label_object_set_font_weight),
2580 (gl_label_object_set_text_alignment),
2581 (gl_label_object_get_font_weight),
2582 (gl_label_object_get_text_alignment):
2583 * src/label-object.h:
2584 * src/label-text.c: (gl_label_text_instance_init), (copy),
2585 (get_size), (set_font_family), (set_font_weight),
2586 (set_text_alignment), (get_font_weight), (get_text_alignment):
2588 * src/object-editor-text-page.c:
2589 (gl_object_editor_prepare_text_page),
2590 (gl_object_editor_set_font_family),
2591 (gl_object_editor_set_font_weight),
2592 (gl_object_editor_get_font_weight),
2593 (gl_object_editor_set_text_alignment),
2594 (gl_object_editor_get_text_alignment),
2595 (gl_object_editor_set_text_color):
2596 * src/object-editor.h:
2597 * src/prefs-dialog.c: (construct_object_page),
2598 (update_object_page_from_prefs), (update_prefs_from_object_page):
2599 * src/prefs-model.c: (gl_prefs_model_save_settings),
2600 (gl_prefs_model_load_settings):
2601 * src/prefs-model.h:
2602 * src/print.c: (draw_text_object):
2603 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
2604 (reset_to_default_properties), (update_text_properties),
2605 (font_bold_toggled_cb), (text_align_toggled_cb):
2607 * src/util.c: (gl_util_align_to_string), (gl_util_string_to_align),
2608 (gl_util_weight_to_string), (gl_util_string_to_weight),
2609 (gl_util_get_font_family_list), (gl_util_font_family_list_free):
2611 * src/view-text.c: (update_object_from_editor_cb),
2612 (update_editor_from_object_cb), (draw_hacktext), (draw_cursor):
2613 * src/view.c: (gl_view_set_selection_text_alignment),
2614 (gl_view_set_default_text_alignment),
2615 (gl_view_get_default_text_alignment):
2617 * src/xml-label-04.c: (xml04_parse_text_props):
2618 * src/xml-label-191.c: (xml191_parse_text_props):
2619 * src/xml-label.c: (xml_parse_object_text),
2620 (xml_parse_toplevel_span), (xml_create_object_text),
2621 (xml_create_toplevel_span):
2622 Converted all model internals to Pango. GnomeFont remains in
2623 view until GnomeCanvas can be replaced with a cairo-based canvas.
2625 2007-01-17 Jim Evins <evins@snaught.com>
2631 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type),
2632 (gl_wdgt_print_copies_construct):
2633 * src/wdgt-print-copies.h:
2634 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type),
2635 (gl_wdgt_print_merge_construct):
2636 * src/wdgt-print-merge.h:
2637 Removed all remaining HIG wrapper widgets.
2639 2007-01-16 Jim Evins <evins@snaught.com>
2642 * src/print-dialog.c:
2643 * src/print-dialog.h:
2646 * src/template-designer.c: (print_test_cb):
2647 * src/ui-commands.c: (gl_ui_cmd_file_print):
2649 Renamed PrintDialog to PrintOp. Added constructor for batch
2651 * src/glabels-batch.c: (main):
2652 Converted to use new PrintOp object for printing.
2654 2007-01-15 Jim Evins <evins@snaught.com>
2656 * data/glade/Makefile.am:
2657 * data/glade/print-custom-widget.glade:
2658 * src/print-dialog.c:
2659 * src/print-dialog.h:
2662 * src/template-designer.c: (print_test_cb):
2663 * src/ui-commands.c: (gl_ui_cmd_file_print):
2664 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_copies):
2665 * src/wdgt-print-merge.h:
2666 * src/window.c: (gl_window_init):
2668 Initial conversion to GtkPrintOperation.
2670 - Remove font and other libgnomeprint[ui] from elsewhere
2671 - Add batch initialization of print operation
2673 2007-01-08 Jim Evins <evins@snaught.com>
2675 Updated dependencies. Set version to 2.1.pre4cvs.
2677 2007-01-03 Jim Evins <evins@snaught.com>
2679 * src/recent-files/*
2680 Removed EggRecent stuff.
2686 * src/ui-commands.c:
2687 * src/ui-commands.h:
2689 Ported from EggRecent to GtkRecentManager.
2692 2007-01-02 Jim Evins <evins@snaught.com>
2695 * iec16022-0.2.1/BUGS:
2696 * iec16022-0.2.1/CHANGELOG:
2697 * iec16022-0.2.1/CREDITS:
2698 * iec16022-0.2.1/INSTALL:
2699 * iec16022-0.2.1/LICENSE:
2700 * iec16022-0.2.1/Makefile.am:
2701 * iec16022-0.2.1/Makefile.dist:
2702 * iec16022-0.2.1/README:
2703 * iec16022-0.2.1/README.glabels:
2704 * iec16022-0.2.1/TODO:
2705 * iec16022-0.2.1/iec16022.1:
2706 * iec16022-0.2.1/iec16022.c:
2707 * iec16022-0.2.1/iec16022ecc200.c:
2708 * iec16022-0.2.1/iec16022ecc200.h:
2709 * iec16022-0.2.1/image.c:
2710 * iec16022-0.2.1/image.h:
2711 * iec16022-0.2.1/reedsol.c:
2712 * iec16022-0.2.1/reedsol.h:
2713 * iec16022-0.2.1/test/testsuite-example.bin:
2714 * iec16022-0.2.1/test/testsuite-example.eps:
2715 * iec16022-0.2.1/test/testsuite-example.hex:
2716 * iec16022-0.2.1/test/testsuite-example.png:
2717 * iec16022-0.2.1/test/testsuite-example.text:
2718 * iec16022-0.2.1/test/testsuite.sh:
2719 Include modified copy of iec16022-0.2.1 to provide encoding
2720 support for datamatrix 2D barcodes.
2722 * src/bc-iec16022.c:
2723 * src/bc-iec16022.h:
2725 Added initial datamatrix 2D barcode backend to barcode code.
2728 Automatic updates to later versions of these files.
2730 2006-11-28 Jim Evins <evins@snaught.com>
2732 * data/templates/avery-iso-templates.xml:
2733 * data/templates/avery-us-templates.xml:
2734 * data/templates/categories.xml:
2735 * data/templates/misc-iso-templates.xml:
2736 * data/templates/misc-us-templates.xml:
2737 * data/templates/zweckform-iso-templates.xml:
2738 More categorization.
2740 2006-09-12 Jim Evins <evins@snaught.com>
2742 * data/dtd/glabels-2.0.dtd:
2743 * data/templates/Makefile.am:
2744 * data/templates/avery-iso-templates.xml:
2745 * data/templates/avery-other-templates.xml:
2746 * data/templates/avery-us-templates.xml:
2747 * data/templates/categories.xml:
2748 * data/templates/misc-iso-templates.xml:
2749 * data/templates/misc-other-templates.xml:
2750 * data/templates/zweckform-iso-templates.xml:
2751 * data/glade/Makefile.am:
2752 * data/glade/new-label-dialog.glade:
2753 * data/glade/wdgt-media-select.glade:
2754 * data/glade/wdgt-rotate-label.glade:
2755 * libglabels/Makefile.am:
2756 * libglabels/category.c:
2757 * libglabels/category.h:
2758 * libglabels/libglabels.h:
2759 * libglabels/paper.c:
2760 * libglabels/template.c:
2761 * libglabels/template.h:
2762 * libglabels/xml-category.c:
2763 * libglabels/xml-category.h:
2764 * libglabels/xml-template.c:
2765 Added support for category meta data.
2768 * src/mini-preview-pixbuf.c:
2769 * src/mini-preview-pixbuf.h:
2770 * src/new-label-dialog.c:
2771 * src/new-label-dialog.h:
2772 * src/wdgt-media-select.c:
2773 * src/wdgt-media-select.h:
2774 * src/wdgt-rotate-label.c:
2775 * src/wdgt-rotate-label.h:
2776 New "new label" dialog.
2778 2006-05-27 Jim Evins <evins@snaught.com>
2783 Preparation for 2.1.3.
2789 2006-05-22 Jim Evins <evins@snaught.com>
2791 * src/print.c: (draw_barcode_object):
2792 Don't print "Invalid barcode data" if data field is empty. Patch provided
2793 by Darren Warner <warnerd@users.sourceforge.net>. Fixes Bug #1479839.
2795 Added acknowledgment for above patch.
2796 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
2797 * src/bc-postnet.c: (postnet_code):
2798 Removed "Invalid barcode data" warnings from stderr.
2799 * src/view-barcode.c: (draw_barcode):
2800 Draw box around barcode extent if data empty or invalid. Center a
2801 message whether the data is empty or invalid in box.
2803 2006-05-22 Jim Evins <evins@snaught.com>
2805 * src/print.c: (draw_text_object):
2806 Check shadow state when printing text.
2808 2006-05-20 Jim Evins <evins@snaught.com>
2810 * src/ui-commands.c: (gl_ui_cmd_view_grid_toggle),
2811 (gl_ui_cmd_view_markup_toggle):
2812 Fixed crash when grid or markup have been toggled off during
2813 a previous session. Bug #1434324.
2815 2006-04-05 Jim Evins <evins@snaught.com>
2817 * src/object-editor.c: (gl_object_editor_set_key_names):
2818 Fixed potential crash when freeing empty key list.
2820 2006-03-11 Jim Evins <evins@snaught.com>
2822 * src/print.c: (draw_text_object):
2823 * src/view-text.c: (gl_view_text_new),
2824 (construct_properties_editor), (update_object_from_editor_cb),
2825 (update_editor_from_object_cb), (update_editor_from_label_cb),
2827 Added shadow support to text object.
2829 2006-02-18 Jim Evins <evins@snaught.com>
2831 * src/print.c: (draw_line_object):
2832 * src/view-line.c: (gl_view_line_new),
2833 (construct_properties_editor), (update_canvas_item_from_object_cb),
2834 (update_object_from_editor_cb), (update_editor_from_object_cb),
2835 (update_editor_from_label_cb):
2836 Added shadow support to line object.
2838 2006-02-16 Jim Evins <evins@snaught.com>
2842 * src/print.c: (draw_ellipse_object):
2843 * src/view-ellipse.c: (gl_view_ellipse_new),
2844 (construct_properties_editor), (update_canvas_item_from_object_cb),
2845 (update_object_from_editor_cb), (update_editor_from_object_cb),
2846 (update_editor_from_label_cb):
2847 Added shadow support to ellipse object.
2849 2006-02-15 Jim Evins <evins@snaught.com>
2851 * src/label-object.c:
2852 Changed default shadow offsets.
2853 * src/view-box.c: (gl_view_box_new):
2854 Simplified gl_view_box_new() so that is does not duplicate code
2855 in update_canvas_item_from_object_cb().
2857 2006-02-07 Jim Evins <evins@snaught.com>
2859 * data/glade/object-editor.glade:
2860 Fixed color groups of color combos.
2862 Added default shadow color.
2863 * src/object-editor.c: (gl_object_editor_construct_color_combo):
2864 Added shadow color group.
2866 2006-02-06 Jim Evins <evins@snaught.com>
2868 * src/object-editor-shadow-page.c:
2869 Forgot to add this file.
2870 * src/view-box.c: (gl_view_box_new),
2871 (update_canvas_item_from_object_cb), (update_editor_from_label_cb):
2872 Update limits on shadow offset spinbuttons.
2874 2006-01-19 Jim Evins <evins@snaught.com>
2876 * src/merge-evolution.c: (gl_merge_evolution_get_key_list):
2877 Initialize key_list to NULL.
2878 * data/glade/object-editor.glade:
2882 * src/label-object.c:
2883 * src/label-object.h:
2884 * src/object-editor-fill-page.c:
2885 * src/object-editor-private.h:
2886 * src/object-editor.c:
2887 * src/object-editor.h:
2889 Created infrastructure for shadow support.
2892 Initial shadow support in box object only.
2894 2006-01-05 Jim Evins <evins@snaught.com>
2896 * src/merge-properties-dialog.c: (src_changed_cb):
2897 Be extra paranoid before calling strcmp().
2898 * src/merge.c: (gl_merge_set_src):
2899 Don't make (merge == NULL) a critical error.
2901 2005-12-22 Jim Evins <evins@snaught.com>
2903 * src/glabels-batch.c: (main):
2904 Compile warning free with gcc 4.0.
2906 2005-12-21 Jim Evins <evins@snaught.com>
2909 Updated example RPM spec file.
2911 2005-12-21 Jim Evins <evins@snaught.com>
2915 Preparation for 2.1.2.
2917 2005-12-20 Jim Evins <evins@snaught.com>
2920 Define unique G_LOG_DOMAIN for glabels.
2921 * src/critical-error-handler.c: (gl_critical_error_handler_init):
2922 * src/warning-handler.c: (gl_warning_handler_init),
2924 Register for G_LOG_DOMAIN instead of NULL.
2926 2005-12-10 Jim Evins <evins@snaught.com>
2928 * src/merge-evolution.c:
2929 * src/merge-vcard.c:
2932 2005-12-08 Jim Evins <evins@snaught.com>
2934 * libglabels/paper.c: (read_paper_files_from_dir):
2935 * libglabels/template.c: (gl_template_register),
2936 (read_template_files_from_dir):
2937 * libglabels/xml-paper.c: (gl_xml_paper_read_papers_from_file),
2938 (gl_xml_paper_parse_papers_doc):
2939 * libglabels/xml-template.c:
2940 (gl_xml_template_read_templates_from_file),
2941 (gl_xml_template_parse_templates_doc),
2942 (gl_xml_template_parse_template_node),
2943 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
2944 (xml_parse_label_cd_node), (xml_parse_layout_node),
2945 (xml_parse_markup_margin_node), (xml_parse_markup_line_node),
2946 (xml_parse_markup_circle_node),
2947 (gl_xml_template_write_templates_to_file), (xml_create_label_node):
2948 * libglabels/xml.c: (gl_xml_get_prop_length):
2949 Re-classified g_warnings to g_messages.
2951 * src/glabels.c: (main):
2952 * src/warning-handler.c: (gl_warning_handler_init),
2954 * src/warning-handler.h:
2955 Added warning message handler to make sure the user is
2956 presented with appropriate non-fatal errors.
2957 * src/critical-error-handler.c: (critical_error_handler):
2958 Changed exit to abort.
2959 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new), (render_pass1):
2960 * src/bc-postnet.c: (postnet_code):
2961 * src/bc.c: (id_to_index), (name_to_index):
2962 * src/merge.c: (gl_merge_register_backend), (gl_merge_new):
2963 * src/object-editor.c: (gl_object_notebook_construct_valist):
2964 * src/prefs-dialog.c: (update_locale_page_from_prefs):
2965 * src/prefs.c: (gl_prefs_get_units_per_point),
2966 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
2967 (gl_prefs_get_units_string):
2968 * src/print.c: (draw_outline), (clip_to_outline), (clip_punchouts):
2969 * src/splash.c: (gl_splash):
2970 * src/ui-commands.c: (gl_ui_cmd_help_contents):
2971 * src/view-highlight.c: (gl_view_highlight_new),
2972 (highlight_resizable_box_construct), (object_changed_cb),
2973 (view_scale_changed_cb):
2974 * src/view.c: (draw_label_layer), (draw_bg_fg_layers),
2975 (draw_markup_layer), (draw_markup_margin),
2976 (gl_view_object_create_mode), (canvas_event),
2977 (selection_received_cb):
2978 * src/wdgt-mini-preview.c: (mini_outline_list_new):
2979 * src/wdgt-rotate-label.c: (mini_preview_canvas_update):
2980 * src/xml-label-04.c: (gl_xml_label_04_parse),
2981 (xml04_parse_media_description), (xml04_parse_text_props),
2982 (xml04_parse_barcode_props):
2983 * src/xml-label-191.c: (gl_xml_label_191_parse),
2984 (xml191_parse_objects), (xml191_parse_object),
2985 (xml191_parse_text_props), (xml191_parse_image_props),
2986 (xml191_parse_barcode_props), (xml191_parse_data),
2987 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
2988 (xml191_parse_markup):
2989 * src/xml-label.c: (gl_xml_label_open), (gl_xml_label_open_buffer),
2990 (xml_doc_to_label), (xml_parse_label), (xml_parse_objects),
2991 (xml_parse_object_text), (xml_parse_object_image),
2992 (xml_parse_object_barcode), (xml_parse_data),
2993 (xml_parse_toplevel_span), (gl_xml_label_save),
2994 (xml_create_objects):
2995 Re-classified g_warnings to g_messages.
2996 * src/merge-evolution.c: (gl_merge_evolution_open),
2997 (gl_merge_evolution_close), (gl_merge_evolution_get_record):
2998 Use g_warning to output errors encountered while
2999 communicating with the evolution data server
3000 instead of embedding them in the data.
3002 2005-12-08 Jim Evins <evins@snaught.com>
3004 * libglabels/libglabels-private.h:
3006 * libglabels/paper.c: (read_papers):
3007 * libglabels/template.c: (read_templates):
3008 Made appropriate warnings critical.
3010 * src/critical-error-handler.h:
3011 * src/critical-error-handler.c: (gl_critical_error_handler_init),
3012 (critical_error_handler):
3013 Created critical error handler.
3014 * src/glabels.c: (main):
3015 Register critical error handler.
3016 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
3017 * src/object-editor.c: (gl_object_editor_init):
3018 * src/prefs-dialog.c: (gl_prefs_dialog_init):
3019 * src/template-designer.c: (gl_template_designer_init):
3020 * src/ui-property-bar.c: (gl_ui_property_bar_instance_init):
3021 Made appropriate warnings critical.
3023 2005-11-27 Jim Evins <evins@snaught.com>
3025 * src/merge-evolution.c: (gl_merge_evolution_get_key_list),
3026 (gl_merge_evolution_get_primary_key),
3027 (gl_merge_evolution_get_record):
3028 Don't create "record_key" pseudo-key. Don't populate
3029 fields with null data.
3031 2005-11-25 Jim Evins <evins@snaught.com>
3033 * src/merge-evolution.c: (gl_merge_evolution_finalize),
3034 (gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
3035 (gl_merge_evolution_get_record), (gl_merge_evolution_copy),
3037 Query EDS for all supported fields. Patch provided by
3038 Austin Henry <ahenry@users.sourceforge.net>.
3040 2005-10-29 Jim Evins <evins@snaught.com>
3042 * src/glabels.c: (main):
3043 * src/label-barcode.c: (gl_label_barcode_finalize):
3044 * src/label-text.c: (gl_label_text_finalize), (set_font_family):
3045 * src/label.c: (gl_label_instance_init), (gl_label_finalize):
3046 * src/object-editor.c: (gl_object_editor_finalize):
3047 Another pass at valgrinding -- plugged several memory leaks.
3048 * src/view-text.c: (gl_view_text_new),
3049 (update_canvas_item_from_object_cb), (draw_hacktext):
3050 Commented out artifacts of edit-in-place code.
3052 2005-10-28 Jim Evins <evins@snaught.com>
3054 * src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
3055 Fixed use of uninitialized variable. Caught by
3056 d binderman <dcb314@hotmail.com>.
3058 2005-10-27 Jim Evins <evins@snaught.com>
3060 * src/merge-evolution.c: (gl_merge_evolution_get_record):
3061 * src/merge-vcard.c: (gl_merge_vcard_get_record),
3063 Additional cleanup of EDS and vcard backends. Provided by
3064 Austin Henry <ahenry@users.sourceforge.net>.
3066 2005-10-24 Jim Evins <evins@snaught.com>
3070 * src/merge-evolution.c:
3071 * src/merge-evolution.h:
3072 * src/merge-init.c: (gl_merge_init):
3073 * src/merge-properties-dialog.c: (type_changed_cb):
3074 * src/merge-vcard.c:
3075 * src/merge-vcard.h:
3076 * src/ui-commands.c: (gl_ui_cmd_help_about):
3077 Added Evolution Data Server and VCard merge backends. Original patch
3078 provided by Austin Henry <ahenry@users.sourceforge.net>.
3080 Only support EDS and VCard backends if libebook is installed. Allow
3081 user to disable support, even if installed.
3083 2005-10-24 Jim Evins <evins@snaught.com>
3086 * data/templates/avery-iso-templates.xml:
3087 * data/templates/avery-us-templates.xml:
3088 * data/templates/misc-iso-templates.xml:
3089 * data/templates/zweckform-iso-templates.xml:
3090 Collected all template changes and submissions since last
3093 2005-10-23 Jim Evins <evins@snaught.com>
3096 * data/mime/Makefile.am:
3097 Added configure options to disable update-mime-database and
3098 update-desktop-database as part of the install. Patch
3099 provided by Leonardo Boshell (qhoracio@sourceforge.net).
3101 2005-10-23 Jim Evins <evins@snaught.com>
3104 * libglabels/xml.c: (gl_xml_get_prop_string),
3105 (gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
3106 (gl_xml_is_node), (gl_xml_get_node_content):
3107 Added new XML utility functions.
3108 * libglabels/xml-paper.c:
3109 * libglabels/xml-template.c:
3111 Cleanup by using new xml utilities created above.
3112 * libglabels/paper.c: (gl_paper_free):
3113 * src/file.c: (new_response):
3114 * src/object-editor-image-page.c: (add_image_filters_to_chooser):
3115 * src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
3116 (gl_pixbuf_cache_get_pixbuf):
3117 * src/ui-property-bar.c:
3118 (gl_ui_property_bar_construct_color_combo):
3119 * src/view-highlight.c: (gl_view_highlight_finalize):
3120 * src/view-image.c: (update_object_from_editor_cb):
3121 * src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
3122 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
3123 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
3124 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
3125 (draw_markup_margin_round), (draw_markup_margin_cd),
3126 (draw_markup_margin_cd_bc):
3127 * src/wdgt-mini-preview.c: (mini_outline_list_new):
3128 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
3129 Plugged various memory leaks located with valgrind.
3130 * src/view-image.c: (update_canvas_item_from_object_cb):
3131 Don't allow a width or height of zero when drawing pixbuf.
3133 2005-10-22 Jim Evins <evins@snaught.com>
3135 * libglabels/xml-paper.c:
3136 * libglabels/xml-template.c:
3139 * src/bc-gnubarcode.c:
3140 * src/canvas-hacktext.c:
3142 * src/object-editor-data-page.c:
3143 * src/print-dialog.c:
3146 * src/template-designer.c:
3148 * src/ui-property-bar.c:
3150 * src/view-barcode.c:
3152 * src/view-ellipse.c:
3157 * src/wdgt-media-select.c:
3158 * src/xml-label-04.c:
3159 * src/xml-label-191.c:
3161 Modified to compile warning free with gcc-4.0. Mostly
3162 casting to change signedness of characters. Did not
3163 attack gnu-barcode library yet.
3165 2005-10-22 Jim Evins <evins@snaught.com>
3167 * src/glabels.c: (main):
3168 * src/splash.c: (gl_splash):
3169 Removed some small memory leaks.
3173 2005-09-19 Jim Evins <evins@snaught.com>
3175 * data/glade/property-bar.glade:
3176 Remove items from font_family_combo. This prevents the
3177 double entry after adding text model and list of fonts.
3178 * src/ui-property-bar.c: (reset_to_default_properties):
3179 Free font_family_list.
3181 2005-07-01 Jim Evins <evins@snaught.com>
3184 Updated italian translation (Daniele Medri)
3186 2005-06-26 Jim Evins <evins@snaught.com>
3188 * docs/libglabels/libglabels-decl-list.txt:
3189 Somehow never got checked in before.
3190 * docs/libglabels/libglabels.types:
3191 Removed -- don't need it afterall.
3193 2005-06-20 Jim Evins <evins@snaught.com>
3196 Final prep for 2.1.1 release.
3198 2005-06-20 Jim Evins <evins@snaught.com>
3201 Final preps for 2.1.1 release.
3202 * docs/libglabels/libglabels.types:
3203 Somehow never got checked in before.
3205 Bring up-to-date with recent reorg of ui code.
3208 2005-06-19 Jim Evins <evins@snaught.com>
3210 * src/template-designer.c: (construct_layout_page):
3211 Removed attempt to match background color of mini preview widget to
3214 2005-06-17 Jim Evins <evins@snaught.com>
3216 * help/C/figures/merge-ex2-4.png:
3217 * help/C/glabels.xml:
3218 Fixed spelling error.
3220 2005-06-13 Jim Evins <evins@snaught.com>
3222 * help/C/figures/merge-ex1-1.png:
3223 * help/C/figures/merge-ex1-2.png:
3224 * help/C/figures/merge-ex1-3.png:
3225 * help/C/figures/merge-ex1-4.png:
3226 * help/C/figures/merge-ex2-1.png:
3227 * help/C/figures/merge-ex2-2.png:
3228 * help/C/figures/merge-ex2-3.png:
3229 * help/C/figures/merge-ex2-4.png:
3230 Added figures for document merge tutorial.
3231 * help/C/glabels.xml:
3232 Added document merge tutorial.
3234 2005-05-19 Jim Evins <evins@snaught.com>
3236 * data/glade/merge-properties-dialog.glade:
3237 Fixed irregular spacing.
3238 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
3239 (gl_merge_properties_dialog_construct):
3240 Set outer padding and remove separator.
3242 2005-05-18 Jim Evins <evins@snaught.com>
3246 Removed glHigDialog class.
3247 * src/file.c: (gl_file_new), (create_new_dialog_widgets),
3248 (gl_file_properties), (create_properties_dialog_widgets):
3249 * src/prefs-dialog.h:
3250 * src/prefs-dialog.c: (gl_prefs_dialog_get_type),
3251 (gl_prefs_dialog_init), (gl_prefs_dialog_construct):
3252 * src/print-dialog.h:
3253 * src/prefs-dialog.h:
3254 * src/print-dialog.c: (gl_print_dialog_get_type),
3255 (gl_print_dialog_init), (gl_print_dialog_construct):
3256 Replaced all instances of glHigDialog with GtkDialog.
3258 2005-05-17 Jim Evins <evins@snaught.com>
3262 Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
3263 * src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
3264 (save_as_response), (gl_file_close):
3265 Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.
3267 2005-05-15 Jim Evins <evins@snaught.com>
3269 * src/ui-commands.h:
3277 A little code reformatting -- no functional changes.
3279 2005-05-14 Jim Evins <evins@snaught.com>
3282 Removed obsolete macros.
3284 Added marshalling template to support new view signal: "context_menu_activate."
3286 * src/view.c: (gl_view_class_init), (gl_view_construct),
3287 (canvas_event_arrow_mode):
3288 - Removed hardcoded context menus and added new signal "context_menu_activate"
3289 to push this up to the uimanager.
3290 - Removed merge properties and print dialogs so that they can be managed with
3291 the window by the uimanager.
3292 * src/merge-properties-dialog.h:
3293 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
3294 (gl_merge_properties_dialog_construct):
3295 Changed calling convention of gl_merge_properties_dialog_new() to use
3296 glLabel and GtkWindow instead of view to make more consistent with other
3298 * src/print-dialog.h:
3299 * src/print-dialog.c: (gl_print_dialog_new),
3300 (gl_print_dialog_construct):
3301 Removed last artifact of libbonoboui.
3302 * src/ui-commands.c: (gl_ui_cmd_file_print),
3303 (gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
3304 Reconciled style for launching dialogs.
3305 * src/ui.c: (gl_ui_new):
3306 Added context menus to ui manager.
3307 * src/view-object.c: (item_event_arrow_mode):
3308 No longer try to select objects with right-click.
3310 * src/window.c: (gl_window_init), (gl_window_set_label),
3311 (context_menu_activate_cb):
3312 Context menus and all dialogs are now managed in a consistent way in window
3315 2005-05-11 Jim Evins <evins@snaught.com>
3318 * src/window.c: (gl_window_init), (gl_window_destroy):
3319 * src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
3320 * src/ui-commands.c: (gl_ui_cmd_file_open_recent):
3321 Moved management of recent_view back from window.c to ui.c -- it just feels
3324 2005-05-10 Jim Evins <evins@snaught.com>
3327 * src/window.c: (gl_window_init):
3329 * src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
3330 (menu_item_select_cb), (menu_item_deselect_cb):
3331 Added GtkStatusbar which displays menu tooltips.
3333 2005-05-09 Jim Evins <evins@snaught.com>
3335 Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
3340 Removed dependencies on libbonoboui.
3342 * data/ui/Makefile.am:
3343 * data/ui/glabels-ui.xml:
3344 Removed data/ui directory.
3345 * data/glade/Makefile.am:
3346 * data/property-bar.glade:
3347 Added glade description of property-bar for new libglade implementation
3354 * src/ui-commands.h:
3355 * src/ui-commands.c:
3356 Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
3357 since the distinction between "commands" and "tools" is no longer that clear.
3360 Modified to expect glWindow instead of GtkWindow. gl_file_open_recent()
3361 no longer has knowledge of eggRecent*.
3362 * src/glabels.c: (main):
3363 Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
3365 * src/object-editor.c: (gl_object_editor_init):
3366 Make sure notebook does not respond to a "show_all" on the parent.
3367 * src/recent-files/Makefile.am:
3368 * src/recent-files/*.[ch]
3369 Updated from latest version of libegg which now has a view based on
3370 GtkUIManager. Removed unused bonobo and gtk views.
3371 * src/ui-property-bar.h:
3372 * src/ui-property-bar.c:
3373 New implementation based on libglade.
3376 Sidebar is now simply a GtkWidget and does not expect to be a part of
3377 a libbonoboui interface.
3382 Converted for use with GtkUIManager.
3385 Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
3386 to create menus and toolbars.
3388 2005-04-25 Jim Evins <evins@snaught.com>
3390 * data/templates/misc-iso-templates.xml:
3391 Added Fellows 04715 template provided by Steve Saxon.
3393 Updated acknowledgement for above.
3395 2005-04-23 Jim Evins <evins@snaught.com>
3397 * src/util.c: (gl_util_combo_box_set_strings):
3398 Make sure to clear model before loading a new list of strings.
3399 * src/wdgt-media-select.h:
3400 * src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
3401 (gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
3402 (template_combo_changed_cb), (prefs_changed_cb),
3403 (gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
3404 (gl_wdgt_media_select_get_page_size),
3405 (gl_wdgt_media_select_set_page_size):
3406 Replaced the deprecated GtkCombo widget with the new
3409 2005-04-21 Jim Evins <evins@snaught.com>
3411 * data/glade/template-designer.glade:
3412 * src/template-designer.c: (construct_pg_size_page),
3413 (pg_size_page_changed_cb), (build_template):
3414 Replaced the deprecated GtkCombo widget with the new
3417 2005-04-20 Jim Evins <evins@snaught.com>
3419 * data/glade/prefs-dialog.glade:
3420 * src/prefs-dialog.c: (construct_object_page),
3421 (update_object_page_from_prefs), (update_prefs_from_object_page):
3422 Replaced the deprecated GtkCombo widget with the new
3425 2005-04-19 Jim Evins <evins@snaught.com>
3427 * data/glade/object-editor.glade:
3428 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
3429 (style_changed_cb), (gl_object_editor_set_bc_style),
3430 (gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
3431 (gl_object_editor_get_bc_color):
3432 * src/object-editor-data-page.c:
3433 (gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
3434 (gl_object_editor_get_data):
3435 * src/object-editor-edit-page.c:
3436 (gl_object_editor_prepare_edit_page), (insert_button_cb):
3437 * src/object-editor-fill-page.c:
3438 (gl_object_editor_prepare_fill_page),
3439 (gl_object_editor_set_fill_color),
3440 (gl_object_editor_get_fill_color):
3441 * src/object-editor-image-page.c:
3442 (gl_object_editor_prepare_image_page),
3443 (gl_object_editor_set_image), (gl_object_editor_get_image):
3444 * src/object-editor-line-page.c:
3445 (gl_object_editor_prepare_line_page),
3446 (gl_object_editor_set_line_color),
3447 (gl_object_editor_get_line_color):
3448 * src/object-editor-private.h:
3449 * src/object-editor-text-page.c:
3450 (gl_object_editor_prepare_text_page),
3451 (gl_object_editor_set_font_family),
3452 (gl_object_editor_get_font_family),
3453 (gl_object_editor_set_text_color),
3454 (gl_object_editor_get_text_color):
3455 * src/object-editor.c: (gl_object_editor_set_key_names):
3457 In the object editor: replaced all instances of the deprecated
3458 GtkCombo widget with the new GtkComboBox.
3460 2005-04-18 Jim Evins <evins@snaught.com>
3463 Neglected to save this one in previous checkin to support
3466 2005-04-17 Jim Evins <evins@snaught.com>
3468 * libglabels/libglabels-private.h:
3469 * libglabels/paper.c:
3470 * libglabels/paper.h:
3471 * libglabels/template.c:
3472 * libglabels/template.h:
3473 * libglabels/xml-paper.c:
3474 * libglabels/xml-paper.h:
3475 * libglabels/xml-template.c:
3480 * src/bc-gnubarcode.c:
3491 * src/label-barcode.c:
3493 * src/label-ellipse.c:
3494 * src/label-image.c:
3495 * src/label-image.h:
3497 * src/label-object.c:
3501 * src/merge-properties-dialog.c:
3502 * src/object-editor-bc-page.c:
3503 * src/object-editor-data-page.c:
3504 * src/object-editor-edit-page.c:
3505 * src/object-editor-fill-page.c:
3506 * src/object-editor-image-page.c:
3507 * src/object-editor-line-page.c:
3508 * src/object-editor-lsize-page.c:
3509 * src/object-editor-position-page.c:
3510 * src/object-editor-private.h:
3511 * src/object-editor-size-page.c:
3512 * src/object-editor-text-page.c:
3513 * src/object-editor.c:
3514 * src/object-editor.h:
3515 * src/pixbuf-cache.h:
3516 * src/prefs-dialog.c:
3517 * src/prefs-dialog.h:
3518 * src/prefs-model.c:
3519 * src/prefs-model.h:
3521 * src/print-dialog.c:
3522 * src/print-dialog.h:
3530 * src/template-designer.c:
3531 * src/template-designer.h:
3534 * src/ui-property-bar.c: (gl_ui_property_bar_construct):
3540 * src/view-barcode.c:
3542 * src/view-ellipse.c:
3543 * src/view-highlight.c:
3544 * src/view-highlight.h:
3547 * src/view-object.c:
3548 * src/view-object.h:
3552 * src/wdgt-chain-button.c:
3553 * src/wdgt-media-select.c:
3554 * src/wdgt-media-select.h:
3555 * src/wdgt-mini-preview.c:
3556 * src/wdgt-mini-preview.h:
3557 * src/wdgt-print-copies.c:
3558 * src/wdgt-print-copies.h:
3559 * src/wdgt-print-merge.c:
3560 * src/wdgt-print-merge.h:
3561 * src/wdgt-rotate-label.c:
3562 * src/wdgt-rotate-label.h:
3565 * src/xml-label-04.c:
3566 * src/xml-label-191.c:
3568 Cleanup of header files:
3569 - all header files are now stand-alone, verified by including
3570 first in corresponding "c" files
3571 - replaced blanket includes of gnome, gtk, and glib with
3574 2005-04-16 Jim Evins <evins@snaught.com>
3576 * data/glade/Makefile.am:
3577 * data/glade/merge-properties-dialog.glade:
3578 Added merge properties dialog glade description file.
3579 * src/merge-properties-dialog.h:
3580 * src/merge-properties-dialog.c:
3581 (gl_merge_properties_dialog_get_type),
3582 (gl_merge_properties_dialog_init),
3583 (gl_merge_properties_dialog_finalize),
3584 (gl_merge_properties_dialog_new),
3585 (gl_merge_properties_dialog_construct), (type_changed_cb),
3586 (src_changed_cb), (response_cb), (load_tree),
3587 (record_select_toggled_cb), (select_all_button_clicked_cb),
3588 (unselect_all_button_clicked_cb):
3589 Modified merge properties dialog to use libglade. Added
3590 "select all" and "unselect all" buttons.
3591 * src/merge-text.c: (parse_line):
3592 Handle empty lines better.
3593 * src/merge.c: (gl_merge_eval_key):
3594 Evaluate the key whether the record is selected or not.
3596 * src/util.c: (gl_util_combo_box_add_text_model):
3597 Since libglade does not use the gtk_combo_box_new_text()
3598 constructor for GtkComboBoxes, a utility function was created
3599 to add an appropriate text model to a GtkComboBox.
3600 * src/view.c: (gl_view_edit_merge_props):
3601 Removed unnecessary "show all's".
3603 2005-04-15 Jim Evins <evins@snaught.com>
3606 Updated russian translation (Vitaly Lipatov)
3607 * data/templates/misc-iso-templates.xml:
3608 Added templates for russian business cards provided by Vitaly Lipatov.
3610 Updated acknowledgements for above.
3612 2005-04-15 Jim Evins <evins@snaught.com>
3614 * data/templates/avery-us-templates.xml:
3615 Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
3616 * data/templates/misc-iso-templates.xml:
3617 Added Ryman standard CD/DVD template, provided by Dan Clark.
3619 Added acknowledgements for above.
3621 2005-04-10 Jim Evins <evins@snaught.com>
3623 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
3624 * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
3625 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
3626 (xml_parse_label_cd_node), (xml_parse_alias_node):
3627 * libglabels/xml.c: (gl_xml_get_prop_double),
3628 (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
3629 (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
3630 * src/xml-label-04.c: (xml04_parse_media_description),
3631 (xml04_parse_text_props), (xml04_parse_barcode_props),
3632 (xml04_parse_merge_properties):
3633 * src/xml-label-191.c: (xml191_parse_object),
3634 (xml191_parse_text_props), (xml191_parse_barcode_props),
3635 (xml191_parse_merge_fields), (xml191_parse_pixdata),
3636 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
3637 (xml191_parse_alias):
3638 * src/xml-label.c: (xml_parse_object_text),
3639 (xml_parse_object_barcode), (xml_parse_merge_fields),
3640 (xml_parse_pixdata), (xml_parse_toplevel_span):
3641 Make sure to use xmlFree for anything obtained from libxml
3642 in case libxml and glib use different memory management
3645 2005-04-08 Jim Evins <evins@snaught.com>
3648 * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
3649 (gl_util_combo_box_set_active_text):
3650 Added utility functions to simplify working with GtkComboBox
3652 * src/ui-property-bar.h:
3653 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
3654 (reset_to_default_properties), (update_text_properties),
3655 (font_family_changed_cb):
3656 Replaced deprecated GtkCombo with GtkComboBox.
3659 2005-04-03 Jim Evins <evins@snaught.com>
3662 * src/wdgt-image-select.h:
3663 * src/wdgt-image-select.c:
3664 Removed obsolete wdgt-image-select.[ch] files.
3665 * libglabels/paper.c: (gl_paper_dup):
3666 Fixed rename of parameter introduced during documentation
3668 * data/glade/object-editor.glade:
3669 * src/object-editor-image-page.c:
3670 (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
3671 (gl_object_editor_set_image), (gl_object_editor_get_image),
3672 (update_preview_cb), (add_image_filters_to_chooser):
3673 * src/object-editor-private.h:
3674 Replaced deprecated GnomePixmapEntry with
3675 GtkFileChooserButton.
3677 2005-04-02 Jim Evins <evins@snaught.com>
3679 * src/mygal/mygal-combo-box.c: (deactivate_arrow),
3680 (mygal_combo_box_popup_hide_unconditional),
3681 (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
3682 (mygal_combo_toggle_pressed), (mygal_combo_box_init),
3683 (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
3684 (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
3685 (cb_tearable_button_release), (mygal_combo_box_set_tearable):
3686 Renamed all internal gtk_combo functions to mygal_combo
3687 to prevent namespace confusion.
3689 2005-04-02 Jim Evins <evins@snaught.com>
3691 * src/mygal/color-palette.c: (color_palette_change_custom_color),
3692 (cust_color_set), (color_palette_setup):
3693 * src/mygal/color-palette.h:
3694 Replaced deprecated GnomeColorPicker with GtkColorButton.
3696 2005-04-02 Jim Evins <evins@snaught.com>
3698 * docs/libglabels/libglabels-sections.txt:
3699 * docs/libglabels/libglabels-undocumented.txt:
3700 * docs/libglabels/tmpl/enums.sgml:
3701 * docs/libglabels/tmpl/paper.sgml:
3702 * docs/libglabels/tmpl/xml-paper.sgml:
3703 * docs/libglabels/tmpl/xml-template.sgml:
3704 * libglabels/enums.h:
3705 * libglabels/paper.c: (gl_paper_dup):
3706 * libglabels/paper.h:
3707 * libglabels/xml-paper.c:
3708 * libglabels/xml-template.c:
3709 More documentation updates for libglabels.
3711 2005-03-23 Jim Evins <evins@snaught.com>
3714 Automatically updated.
3719 * docs/libglabels/Makefile.am:
3720 * docs/libglabels/libglabels-docs.sgml:
3721 * docs/libglabels/libglabels-sections.txt:
3722 * docs/libglabels/libglabels-undocumented.txt:
3723 * docs/libglabels/tmpl/enums.sgml:
3724 * docs/libglabels/tmpl/libglabels-unused.sgml:
3725 * docs/libglabels/tmpl/libglabels.sgml:
3726 * docs/libglabels/tmpl/paper.sgml:
3727 * docs/libglabels/tmpl/template.sgml:
3728 * docs/libglabels/tmpl/xml-paper.sgml:
3729 * docs/libglabels/tmpl/xml-template.sgml:
3730 * docs/libglabels/tmpl/xml.sgml:
3731 Added basic gtk-doc stuff to support documenting libglabels
3734 Updated function comments with gtk-doc markup.
3738 2005-03-22 Jim Evins <evins@snaught.com>
3740 Since the development version now requires gtk-2.6/gnome-2.10, I
3741 have made a first pass at removing deprecations.
3744 * libglabels/Makefile.am:
3746 Added configure option to turn on X_DISABLE_DEPRECATED flags.
3747 Also removed all remnants of HAVE_FILECHOOSER.
3748 * src/file.c: (gl_file_open_real):
3749 Removed code for old GtkFileSelection.
3750 * libglabels/libglabels-private.h:
3751 * libglabels/paper.c:
3752 * libglabels/template.c:
3753 * libglabels/xml-paper.c:
3754 * libglabels/xml-template.c:
3758 * src/glabels-batch.c:
3762 * src/merge-properties-dialog.c:
3764 * src/object-editor.c:
3765 * src/prefs-dialog.c:
3767 * src/print-dialog.c:
3770 * src/template-designer.c:
3771 * src/ui-property-bar.c:
3773 * src/view-barcode.c:
3775 * src/view-ellipse.c:
3780 * src/wdgt-image-select.c:
3781 * src/wdgt-media-select.c:
3782 * src/wdgt-print-copies.c:
3783 * src/wdgt-print-merge.c:
3784 * src/wdgt-rotate-label.c:
3786 * src/xml-label-04.c:
3787 * src/xml-label-191.c:
3789 Added '#include <glib/gi18n.h>" where needed.
3790 Removed any unused '#include <gnome.h>"s.
3792 2005-03-22 Jim Evins <evins@snaught.com>
3794 * src/commands.c: (activate_url), (gl_cmd_help_about):
3795 Replaced GnomeAbout with GtkAboutDialog. Therefore the
3796 development version of glabels now depends on GTK 2.6 and
3799 Updated library dependencies.
3801 2005-02-28 Jim Evins <evins@snaught.com>
3804 * data/templates/misc-iso-templates.xml:
3805 Added 'Ednet 45021' template provided by Ali Akcaagac
3808 2005-02-14 Jim Evins <evins@snaught.com>
3810 * data/templates/avery-us-templates.xml:
3811 Updated templates to use inches instead of points.
3812 * src/print-dialog.c: (printer_page_new):
3813 Changed packing style when adding printer selector widget. This fixes
3816 2005-02-13 Jim Evins <evins@snaught.com>
3820 Updated spanish translations. (sergio rivadero)
3822 2005-02-05 Jim Evins <evins@snaught.com>
3824 Some cleanup to libglabels.
3827 Updated version to 2.1.1cvs. Added generation of libglabels.pc.
3828 * libglabels/libglabels.pc.in
3830 * libglabels/enums.h
3831 Created. Currently only contains glUnitsType which provides enumerations
3832 for all possible units of distance.
3833 * libglabels/Makefile.am:
3834 Incorporated new files enums.h and libglabels.pc[.in].
3835 * libglabels/libglabels.h:
3837 * libglabels/template.h:
3838 * libglabels/template.c: (gl_template_layout_new):
3839 Changed parameters nx and ny to gint from gdouble.
3841 * libglabels/xml.c: (gl_xml_get_prop_length),
3842 (gl_xml_set_prop_length), (gl_xml_set_default_units):
3843 Added support for different output units.
3844 * src/prefs-dialog.c: (update_locale_page_from_prefs),
3845 (update_prefs_from_locale_page):
3846 * src/prefs-model.c: (string_to_units), (units_to_string):
3847 * src/prefs-model.h:
3848 * src/prefs.c: (gl_prefs_get_units_per_point),
3849 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
3850 (gl_prefs_get_units_string):
3852 * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
3853 Reconciled all length enumerations with the new enumerations provided
3854 in libglabels/enums.h.
3856 2005-02-03 Jim Evins <evins@snaught.com>
3859 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
3861 Updated Italian translations. (Daniele Medri)
3863 Updated credits to reflect above translations.
3866 2005-01-22 Jim Evins <evins@snaught.com>
3871 Added MESSAGE-OF-DOOM to EXTRA_DIST.
3873 Final prep for 2.1.0.
3875 Set version to 2.1.0. Output MESSAGE-OF-DOOM.
3877 Added '--remove-original' flag to desktop-file-install, so that there is
3878 only one menu entry.
3880 2005-01-20 Jim Evins <evins@snaught.com>
3882 * data/glade/object-editor.glade:
3883 - Font family entry should not be editable.
3884 - img_key_entry should have sensitivity=YES, so that it follows the
3885 sensitivity of img_key_combo.
3887 2005-01-19 Jim Evins <evins@snaught.com>
3890 Give credit to Frederic Ruaudel for the color merge patches.
3892 2005-01-18 Frederic Ruaudel <grumz@users.sf.net>
3894 Add support to merge color for all other color attribute (Feature
3895 Requests item #1008635. If the data is invalid, the color used is transparent
3896 (GL_COLOR_NONE). The format for color in merge data file are those accepted
3897 by gdk_color_parse() these include name for a color from rgb.txt, such as
3898 DarkSlateGray, or a hex specification such as #305050. File format has been
3899 changed but backward compatibility is preserved for all format. For
3900 box/ellipse/line, keep attribute "line_color" for static color or replace by
3901 "line_color_field" for merge data. For text/barcode objects, keep attribute
3902 "color" for static color or replace by "color_field" for merge data. In the
3903 edit canvas window, merged color are represented by half-transparent black
3906 * data/dtd/glabels-2.0.dtd:
3907 Added line_color_field to line_attrs. Added color_field to
3908 Object-barcode and Span.
3909 * data/glade/object-editor.glade:
3910 Modify the layout of the editor to add merge possibility to color options
3912 Fix a copy/paste error in a comment
3914 Add default color for merge color representation in the editor canvas.
3915 * src/label-barcode.c:
3916 * src/object-editor-bc-page.c:
3917 * src/view-barcode.c:
3918 Add merge color support for barcode color.
3921 Add merge color support for box border color.
3922 * src/label-ellipse.c:
3923 * src/view-ellipse.c:
3924 Add merge color support for ellipse border color.
3927 Add merge color support for line color.
3928 * src/label-object.c:
3929 * src/label-object.h:
3930 * src/object-editor.c:
3931 * src/object-editor.h:
3932 * src/ui-property-bar.c:
3935 * src/xml-label-04.c:
3936 * src/xml-label-191.c:
3937 Add support for merging to other color attribute.
3939 * src/object-editor-text-page.c:
3941 Add merge color support for text color.
3942 * src/object-editor-fill-page.c:
3943 Change a blocked handler that didn't match the good widget. Fix the type
3944 of some debug message.
3945 * src/object-editor-line-page.c:
3946 Add merging support to line color option.
3947 * src/object-editor-private.h:
3948 Add variables for new widget.
3950 Modify the draw functions to get merge data if needed.
3952 Change the default size of the window in order to see all widget in the
3953 "text style tab" of the editor.
3955 Modify the parser to record/retreive the field value for objects that need
3956 "color" attribute. For box/ellipse/line, keep attribute "line_color" for
3957 static color or replace by "line_color_field" for merge data. For
3958 text/barcode objects, keep attribute "color" for static color or replace
3959 by "color_field" for merge data.
3961 2005-01-17 Jim Evins <evins@snaught.com>
3963 * src/view.c: (screen_changed_cb):
3964 Don't do anything if we don't have a screen.
3966 2005-01-06 Jim Evins <evins@snaught.com>
3968 * src/view.c: (get_home_scale):
3969 Fixed bad call to gtk_widget_has_screen() -- huh?.
3971 2005-01-06 Jim Evins <evins@snaught.com>
3973 * data/dtd/glabels-2.0.dtd:
3974 Added fill_color_field to fill_attrs. Also added xmlns attribute to all
3977 2005-01-06 Jim Evins <evins@snaught.com>
3979 * data/glade/object-editor.glade:
3980 Set entries for fill and data field key dropdowns to NOT editable.
3981 * src/view-box.c: (construct_properties_editor):
3982 * src/view-ellipse.c: (construct_properties_editor):
3983 Update object editor when label's merge property has changed.
3984 * src/xml-label.c: (xml_parse_object_ellipse):
3985 Completed the merge color support for the ellipse item.
3987 2005-01-06 Frederic Ruaudel <grumz@users.sf.net>
3989 Add support to merge color for object that have a "Fill color" attribute (Feature
3990 Requests item #1008635. If the data is invalid, the color used is transparent
3991 (GL_COLOR_NONE). The format for color in merge data file are those accepted
3992 by gdk_color_parse() these include name for a color from rgb.txt, such as
3993 DarkSlateGray, or a hex specification such as #305050. File format has been
3994 changed but backward compatibility is preserved for all format. For box/ellipse,
3995 keep attribute "fill_color" for static color or replace by "fill_color_field"
3998 * data/glade/object-editor.glade:
3999 Modify "Fill" tab to add the merge key combo and convert the labels into
4003 Add "glColorNode" structure and associated functions to manage it. This
4004 structure is equivalent for color than the "glTextNode". It holds the color
4006 * src/label-object.h:
4007 * src/label-object.c:
4009 * src/label-ellipse.c:
4010 * src/ui-property-bar.c:
4014 * src/view-ellipse.c:
4015 * src/xml-label-04.c:
4016 * src/xml-label-191.c:
4017 Change functions of objects that have a "fill color" attribute to use the
4018 new "glColorNode" structure. Use barcode code as example.
4020 Add the color.[ch] file to glabels_batch binary that now need support for
4022 * src/object-editor.h:
4023 * src/object-editor.c:
4024 * src/object-editor-fill-page.c:
4025 Manage the new widget of the editor's "Fill" tab : key combo and radio button
4026 to choose between static color or merge key. Use barcode code as example.
4027 * src/object-editor-private.h:
4028 Add new widget in the "_glObjectEditorPrivate" structure.
4030 Modify the draw functions to get merge data if needed.
4032 Modify the parser to record/retreive the field value for objects that need
4033 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
4034 color or "fill_color_field" for merge data.
4036 2005-01-04 Jim Evins <evins@snaught.com>
4039 * data/templates/avery-iso-templates.xml:
4040 * data/templates/misc-iso-templates.xml:
4041 * data/templates/misc-us-templates.xml:
4042 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
4045 2004-11-26 Jim Evins <evins@snaught.com>
4049 Updated french translations provided by Florent Morel <florent@taket.org>.
4050 * src/view-barcode.c:
4052 * src/view-ellipse.c:
4056 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
4057 thus _() strings were not being translated.
4059 2004-11-14 Jim Evins <evins@snaught.com>
4062 * src/debug.c: (gl_debug_init), (gl_debug):
4063 Borrowed from gedit: use environmental variables to select debug
4066 Removed unused include of debug.h.
4067 * src/glabels.c: (main):
4068 Added call to gl_debug_init(), and removed debug clutter from command line
4070 * src/glabels-batch.c: (main):
4071 Added call to gl_debug_init().
4073 2004-11-13 Jim Evins <evins@snaught.com>
4075 Drawing and property toolbars were being initialized with the "icons and text"
4076 look in Fedora Core 3. Even though none of the buttons had any text attached to
4077 them, the buttons were being sized as if they were. This led to less real estate
4078 for the property editor, leading to Bug #1064630. The
4080 * data/ui/glabels-ui.xml:
4081 Added explicit "look" property to both drawing and property toolbars.
4082 * src/prefs-model.c: (gl_prefs_model_save_settings),
4083 (gl_prefs_model_load_settings):
4084 * src/prefs-model.h:
4085 Removed drawing_toolbar_button_style configuration parameter.
4086 * src/ui.c: (view_menu_item_toggled_cb),
4087 (set_app_drawing_toolbar_style):
4088 Do not attempt to adjust look property of the drawing toolbar.
4090 2004-10-28 Jim Evins <evins@snaught.com>
4092 * data/pixmaps/glabels-about-logo.png:
4095 2004-10-28 Jim Evins <evins@snaught.com>
4097 * data/man/glabels.1:
4098 * src/glabels-batch.c: (main):
4100 * src/print.c: (gl_print_batch):
4102 Added option to glabels-batch to select the first label to begin
4105 2004-09-26 Jim Evins <evins@snaught.com>
4107 * data/desktop/glabels.desktop.in:
4108 Point to app icon, "glabels.png"
4109 * data/mime/glabels.keys.in:
4110 Point at mime icon, "glabels-application-x-glabels.png"
4111 * data/pixmaps/Makefile.am:
4112 Added glabels_app_icondir. Renamed icons.
4113 * data/pixmaps/glabels.png:
4114 New cleaned up app icon. Deleted glabels-icon.png.
4115 * data/pixmaps/glabels-application-x-glabels.png:
4117 * data/pixmaps/glabels-splash.png:
4118 Renamed glabels-logo to glabels-splash to be more correct about role.
4120 * src/template-designer.c:
4121 Point at app icon, "glabels.png"
4123 Point at renamed splash image, "glabels-splash.png"
4125 2004-08-22 Jim Evins <evins@snaught.com>
4128 * src/glabels-batch.c: (main):
4129 Applied patch with minor mods to allow selecting merge source and
4130 crop-marks on glabels-batch's command line. Original patch provided by
4131 José Dapena Paz <jdapena@igalia.com>.
4133 2004-08-15 Jim Evins <evins@snaught.com>
4135 * data/desktop/glabels.desktop.in:
4136 - Added encoding line
4137 - Removed period from comment
4138 - Fixed Terminal line, changed "0" to "false"
4139 - Added semicolen to Categories line
4141 - Made sure desktop.in comment string above still translated properly
4143 2004-08-14 Jim Evins <evins@snaught.com>
4145 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
4146 * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
4147 * src/xml-label-191.c: (xml191_parse_sheet):
4148 Fixed improper freeing of gettext strings. Merged from 2.0.1.
4150 Reconciled libglabels versioning with 2.0.1.
4153 2004-08-14 Jim Evins <evins@snaught.com>
4156 Updated version to 2.1cvs.
4158 2004-08-14 Jim Evins <evins@snaught.com>
4161 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
4163 2004-08-14 Jim Evins <evins@snaught.com>
4165 Fixes for Bug #1008181.
4167 * src/bc.c: (gl_barcode_default_digits):
4168 Make a format of zero digits, harmless.
4169 * src/xml-label.c: (xml_parse_object_barcode):
4170 Set default value of the format property of barcode objects to 10, not
4171 zero. This will prevent crashes when reading pre 2.0.x files.
4173 2004-08-09 Jim Evins <evins@snaught.com>
4177 * help/C/glabels-C.omf:
4178 * help/C/glabels.xml:
4179 Brought documentation up-to-date for 2.0.0 release.
4181 2004-08-09 Jim Evins <evins@snaught.com>
4183 These are hopefully the final preparations for 2.0.0.
4185 * data/mime/Makefile.am:
4186 Include glabels.xml in EXTRA_DIST.
4188 - Updated comment style.
4189 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
4190 - Added package and version info to configuration printout
4191 - Update version to 2.0.0
4192 * libglabels/Makefile.am:
4193 Use the new LIBGLABELS_VERSION_INFO macro.
4195 2004-08-09 Jim Evins <evins@snaught.com>
4199 Cleanup of required library macros.
4201 2004-08-08 Jim Evins <evins@snaught.com>
4205 - More specific of what to install in /usr/bin and /usr/lib
4206 - Remove built mime registration files from staging directory
4208 2004-08-08 Jim Evins <evins@snaught.com>
4210 * data/mime/Makefile.am:
4211 Fixed typo: key_files should have been keys_files.
4213 2004-08-08 Jim Evins <evins@snaught.com>
4215 Reorganization of runtime data files. Also added registration of mimetype with
4216 new freedesktop.org mime database if available.
4219 Moved files to appropriate subdirectories, creating local Makefile.am
4220 in each subdirectory.
4221 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
4222 These are now installed at $datadir/glabels/templates.
4223 - Moved glabels.1 to man subdirectory.
4224 - Moved glabels-2.0.dtd to dtd subdirectory.
4225 - Moved glabels.desktop.in to desktop subdirectory.
4226 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
4228 Moved "./pixmaps" to "./data/pixmaps"
4230 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
4232 Moved libglade files from src to data/glade. Created Makefile.am.
4234 Removed pixmaps from SUBDIRS.
4236 - Removed pixmaps from makefiles.
4237 - Added makefiles for new subdirs of data.
4238 - Added tests for freedesktop.org mime database.
4240 - Added tests for freedesktop.org mime database for post install and
4241 post un-install actions.
4242 * libglabels/Makefile.am:
4243 Moved system template files to $(datadir)/glabels/templates.
4244 * libglabels/libglabels-private.h:
4245 Moved system template files to $(datadir)/glabels/templates.
4247 - Accounted for movement of ui and libglade files.
4248 - Added missing .in files.
4249 - Reorganized by directory.
4251 Accounted for movement of ui and libglade files.
4252 * data/mime/glabels.xml.in:
4253 New file for registering with freedesktop.org mime database.
4255 2004-08-07 Jim Evins <evins@snaught.com>
4257 * src/recent-files/*:
4258 Re-synced to latest libegg/recent-files.
4260 2004-08-07 Jim Evins <evins@snaught.com>
4265 Renamed "./doc" directory to "./help" which contains user documentation,
4266 to be more consistent with other GNOME applications.
4269 2004-07-26 Jim Evins <evins@snaught.com>
4271 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
4272 Corrected button order of merge properties dialog.
4274 2004-07-18 Jim Evins <evins@snaught.com>
4276 * data/glabels-2.0.dtd:
4277 * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
4278 (gl_barcode_get_prefered_n):
4280 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
4281 (gl_label_barcode_get_props), (get_size):
4282 * src/label-barcode.h:
4283 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
4284 (style_changed_cb), (gl_object_editor_set_bc_style),
4285 (gl_object_editor_get_bc_style):
4286 * src/object-editor-data-page.c: (data_radio_toggled_cb),
4287 (gl_object_editor_set_data), (gl_object_editor_get_data):
4288 * src/object-editor-private.h:
4289 * src/object-editor.c: (gl_object_editor_set_key_names):
4290 * src/object-editor.glade:
4291 * src/object-editor.h:
4292 * src/print.c: (draw_barcode_object):
4293 * src/view-barcode.c: (update_object_from_editor_cb),
4294 (update_editor_from_object_cb),
4295 (gl_view_barcode_create_event_handler), (draw_barcode):
4296 * src/xml-label-04.c: (xml04_parse_barcode_props):
4297 * src/xml-label-191.c: (xml191_parse_barcode_props):
4298 * src/xml-label.c: (xml_parse_object_barcode),
4299 (xml_create_object_barcode):
4300 Added "format" attribute to barcode objects. This attribute is used
4301 to properly format freeform barcodes barcodes prior to merge data is
4302 applied, so that barcodes can be accurately layed out. This addresses
4303 remaining issues of feature request #824787. Also added an example of
4304 the format in the object editor.
4306 2004-07-12 Jim Evins <evins@snaught.com>
4308 Various code cleanups.
4310 * src/label-barcode.c:
4311 Removed unneeded include of gnome-glyphlist.h.
4313 * src/label-text.c: (get_size):
4314 Fixed memory leak: unref glyphlists when done with them.
4316 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
4317 * src/object-editor-data-page.c:
4318 (gl_object_editor_prepare_data_page):
4319 * src/object-editor-image-page.c:
4320 (gl_object_editor_prepare_image_page):
4321 * src/object-editor-line-page.c:
4322 (gl_object_editor_prepare_line_page):
4323 * src/object-editor-lsize-page.c:
4324 (gl_object_editor_prepare_lsize_page):
4325 * src/object-editor-position-page.c:
4326 (gl_object_editor_prepare_position_page):
4327 * src/object-editor-size-page.c:
4328 (gl_object_editor_prepare_size_page):
4329 * src/object-editor-text-page.c:
4330 (gl_object_editor_prepare_text_page):
4331 Removed unneeded size groups, originally intended to keep widgets aligned.
4332 Now use tables to lay these out in object-editor.glade.
4334 * src/print.c: (draw_text_object):
4335 Fixed memory leak: unref glyphlists when done with them.
4337 * src/view-barcode.c: (draw_barcode):
4338 Fixed memory leak: unref glyphlists when done with them.
4340 * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
4341 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
4343 - Fixed memory leak: unref glyphlists when done with them.
4345 2004-07-11 Jim Evins <evins@snaught.com>
4347 * data/glabels-2.0.dtd:
4348 * src/label-text.c: (gl_label_text_instance_init), (copy),
4349 (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
4351 * src/object-editor-private.h:
4352 * src/object-editor-text-page.c:
4353 (gl_object_editor_prepare_text_page),
4354 (gl_object_editor_set_text_auto_shrink),
4355 (gl_object_editor_get_text_auto_shrink):
4356 * src/object-editor.c: (gl_object_editor_set_key_names):
4357 * src/object-editor.glade:
4358 * src/object-editor.h:
4359 * src/print.c: (draw_text_object):
4360 * src/view-text.c: (update_object_from_editor_cb),
4361 (update_editor_from_object_cb):
4362 * src/xml-label.c: (xml_parse_object_text),
4363 (xml_create_object_text):
4364 Added option to allow document merge to auto shrink text size to fit
4365 within the text box. The code in print.c that actually shrinks the
4366 text is loosely based on a patch submitted by Mark Harrison
4367 <mark.harrison@velocitynet.com.au>. This addresses feature request
4370 2004-07-11 Jim Evins <evins@snaught.com>
4372 * data/glabels-2.0.dtd:
4373 * libglabels/template.c: (gl_template_rect_label_type_new),
4374 (gl_template_round_label_type_new),
4375 (gl_template_cd_label_type_new), (gl_template_label_type_dup),
4376 (template_full_page):
4377 * libglabels/template.h:
4378 * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
4379 (xml_create_label_node):
4380 * pixmaps/ex-rect-size.png:
4381 * src/print.c: (clip_to_outline), (clip_punchouts):
4382 * src/template-designer.c: (construct_rect_size_page),
4383 (rect_size_page_prepare_cb), (layout_page_prepare_cb),
4385 * src/template-designer.glade:
4386 * src/xml-label-191.c: (xml191_parse_label):
4387 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
4388 properties for rectangular labels. Templates remain backwards compatible,
4389 but this breaks the libglabels API (I don't know of anyone outside of
4390 glabels using libglabels at this time -- what can I say, the program is
4391 is still "unstable"). This addresses the suggestion in Feature Request
4394 2004-07-05 Jim Evins <evins@snaught.com>
4395 * src/print.c: (print_crop_marks), (draw_outline):
4396 Changed crop marks and label outlines to black, instead of 25% gray.
4397 This addresses debian Bug #257460.
4399 2004-07-05 Jim Evins <evins@snaught.com>
4401 * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
4402 * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
4403 Preserve "is_default" of fill and line color_combos when creating from
4406 2004-07-02 Jim Evins <evins@snaught.com>
4409 Created man page. Based on page submitted by Matthew J. Lockner, however
4410 it has been severely edited.
4412 * data/avery-other-templates.xml
4413 * data/misc-other-templates.xml:
4414 Started new files for predefined templates with non-standard sheet sizes.
4415 These have been initially populated with the Avery 06141 and
4416 OfficeMax #86112, both provided by Matthew J. Lockner.
4419 Install above manpage and template files.
4422 Make sure we install man pages.
4424 * src/glabels-batch.c:
4425 Changed short form of help option to '-?' to be consistent with glabels.
4428 Added acknowledgement for above labels.
4430 2004-07-02 Jim Evins <evins@snaught.com>
4432 * src/glabels.c: (main), (save_session_cb):
4433 - Now include libbonoboui.h, recent.h, and file.h to provide missing
4435 - save_session_cb() now returns gboolean.
4436 - Minor formatting changes.
4440 - Now include file.h to provide missing prototype.
4441 - gl_window_get_type() now returns GType, not guint. I believe this may
4442 ultimately be cause of the segfault reported in Bug #982287, since
4443 GType is actually a gulong, which may not be compatible on other
4444 architectures (64bit) -- I cannot personally test this at this time.
4445 I was sloppy in several other xxx_get_type() functions which also
4446 returned guint -- see next group of files:
4448 * src/window.c: (gl_window_get_type):
4449 * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
4450 * src/canvas-hacktext.h:
4451 * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
4452 (gl_hig_category_get_type), (gl_hig_vbox_get_type),
4453 (gl_hig_hbox_get_type):
4455 * src/label-barcode.c: (gl_label_barcode_get_type):
4456 * src/label-barcode.h:
4457 * src/label-box.c: (gl_label_box_get_type):
4459 * src/label-ellipse.c: (gl_label_ellipse_get_type):
4460 * src/label-ellipse.h:
4461 * src/label-image.c: (gl_label_image_get_type):
4462 * src/label-image.h:
4463 * src/label-line.c: (gl_label_line_get_type):
4465 * src/label-object.c: (gl_label_object_get_type):
4466 * src/label-object.h:
4467 * src/label-text.c: (gl_label_text_get_type):
4469 * src/label.c: (gl_label_get_type):
4471 * src/merge-properties-dialog.c:
4472 (gl_merge_properties_dialog_get_type):
4473 * src/merge-properties-dialog.h:
4474 * src/merge-text.c: (gl_merge_text_get_type):
4476 * src/merge.c: (gl_merge_get_type):
4478 * src/object-editor.c: (gl_object_editor_get_type):
4479 * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
4480 * src/prefs-dialog.h:
4481 * src/prefs-model.c: (gl_prefs_model_get_type):
4482 * src/prefs-model.h:
4483 * src/print-dialog.c: (gl_print_dialog_get_type):
4484 * src/print-dialog.h:
4485 * src/template-designer.c: (gl_template_designer_get_type):
4486 * src/template-designer.h:
4487 * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
4488 * src/ui-property-bar.h:
4489 * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
4491 * src/view-barcode.c: (gl_view_barcode_get_type):
4492 * src/view-barcode.h:
4493 * src/view-box.c: (gl_view_box_get_type):
4495 * src/view-ellipse.c: (gl_view_ellipse_get_type):
4496 * src/view-ellipse.h:
4497 * src/view-highlight.c: (gl_view_highlight_get_type):
4498 * src/view-highlight.h:
4499 * src/view-image.c: (gl_view_image_get_type):
4501 * src/view-line.c: (gl_view_line_get_type):
4503 * src/view-object.c: (gl_view_object_get_type):
4504 * src/view-object.h:
4505 * src/view-text.c: (gl_view_text_get_type):
4507 * src/view.c: (gl_view_get_type):
4509 * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
4510 * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
4511 * src/wdgt-image-select.h:
4512 * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
4513 * src/wdgt-media-select.h:
4514 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
4515 * src/wdgt-mini-preview.h:
4516 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
4517 * src/wdgt-print-copies.h:
4518 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
4519 * src/wdgt-print-merge.h:
4520 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
4521 * src/wdgt-rotate-label.h:
4522 - Made sure all xxx_get_type functions returned GType, not guint. This
4523 was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
4524 ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
4525 wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
4526 wdt-print-merge.[ch], and wdgt-rotate-label.[ch]. See separate
4527 window.[ch] details above for more info.
4528 - Reconciled various coding style differences in all xxx_get_type()
4530 * All prototypes include G_GNUC_CONST.
4531 * All prototypes specify the return value as GType, not GtkType
4533 * Info structures are all declared as "static const."
4534 * Generalized the names of type and info variables.
4535 * Miscelaneous formatting.
4537 2004-06-08 Jim Evins <evins@snaught.com>
4543 Don't touch compression of original file -- still defaults to 9 for
4544 new files. Original patch provided by Javier Donaire Segarra
4545 (#912252 in patch tracker).
4547 2004-05-05 Jim Evins <evins@snaught.com>
4549 * data/glabels-2.0.dtd:
4550 Broke DTD previously when adding new barcode types that contain a
4551 plus sign (+). Simply changed the BC_STYLE_TYPE entity to "CDATA"
4552 to avoid the problem.
4553 * data/avery-iso-templates.xml:
4554 * data/zweckform-iso-templates.xml:
4556 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021. Templates
4557 provided by Frank Altpeter.
4558 * libglabels/xml-template.c: (xml_create_label_node):
4559 Reordered markup and layout sub-nodes so that resulting templates will
4560 validate against DTD.
4562 2004-03-13 Jim Evins <evins@snaught.com>
4564 * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
4565 Changed spin callback signals from "value-changed" back to "changed."
4566 This was accidentally introduced in a previous revision, and can cause
4567 size changes just by selecting the size tab.
4569 2004-03-06 Jim Evins <evins@snaught.com>
4571 * src/view.c: (draw_grid_layer):
4572 For round labels (round and cd) adjust grid so that it lines up with
4573 center of label. Also, no longer draw box around label in the grid layer,
4574 it is hidden by he fg layer anyway. Feature suggested by
4575 nemolivier@free.fr. Although the grid is aligned with the center of the
4576 label, the coordinate system is still relative to the upper left corner
4577 of the rectangle containing the label.
4579 2004-02-25 Jim Evins <evins@snaught.com>
4582 Changed version to 2.0pre1cvs
4584 * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
4585 Removed extra xmlFreeDoc() calls upon error. Also print the doc->URL
4586 instead of doc->name fields when errors encountered.
4588 2004-02-21 Jim Evins <evins@snaught.com>
4590 * data/avery-iso-templates.xml:
4591 Added aliases for Avery 8651. Patch provided by Wayne Schuller.
4594 Added libglabels library and include file to installed files.
4597 Final prep for 1.93.3.
4599 2004-02-20 Jim Evins <evins@snaught.com>
4601 * src/glabels-batch.c: (main):
4602 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
4603 as suggested by Javier Donaire Segarra. This addresses bug #901063.
4605 2004-02-16 Jim Evins <evins@snaught.com>
4608 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
4611 Added HAVE_FILE_CHOOSER to INCLUDES.
4613 * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
4614 (gl_file_save_as), (save_as_response):
4615 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
4617 2004-02-16 Jim Evins <evins@snaught.com>
4619 * src/xml-label-04.c: (xml04_parse_image_props):
4620 * src/xml-label-191.c: (xml191_parse_image_props):
4621 * src/xml-label.c: (xml_parse_object_image):
4622 Delay setting image size until after image has been applied to new
4625 2004-02-15 Jim Evins <evins@snaught.com>
4627 * src/label-barcode.c: (gl_label_barcode_set_data),
4628 (gl_label_barcode_set_props):
4629 Don't emit "changed" signal, if no change actually made for these
4630 methods. Reduces number of unnecessary redraws of barcodes.
4632 * src/label-object.h:
4633 * src/label-object.c: (gl_label_object_set_position),
4634 (gl_label_object_set_position_relative), (set_size),
4635 (gl_label_object_set_size),
4636 (gl_label_object_set_size_honor_aspect):
4637 Don't emit "changed" signal, if no change actually made for these
4640 2004-02-15 Jim Evins <evins@snaught.com>
4642 * data/glabels-2.0.dtd:
4643 Added specific subtypes for various barcode types.
4646 * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
4647 (gl_barcode_get_styles_list), (gl_barcode_default_digits),
4648 (gl_barcode_can_text), (gl_barcode_text_optional),
4649 (gl_barcode_can_csum), (gl_barcode_csum_optional),
4650 (gl_barcode_id_to_name), (gl_barcode_name_to_id):
4651 Changed API to use a string id, rather than a fixed enumeration. Id and
4652 name are separate strings. Added entries to backend table for specific
4653 subtypes for various barcode types.
4656 * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
4658 Modified to conform to above API. Now more stringent with data length
4659 for various subtypes.
4661 * src/bc-gnubarcode.h:
4662 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
4663 (is_length_valid), (is_length1_valid), (is_length2_valid):
4664 Modified to conform to above API. Now more stringent with data length
4665 for various subtypes.
4667 * src/label-barcode.h:
4668 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
4669 (gl_label_barcode_get_props), (get_size):
4670 Modified to use above API for storing barcode type.
4672 * src/object-editor.h:
4673 * src/object-editor-bc-page.c: (style_changed_cb),
4674 (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
4675 Modified to use above API for storing barcode type.
4677 * src/object-editor-size-page.c:
4678 (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
4679 (w_spin_cb), (h_spin_cb), (size_reset_cb):
4680 Added debug markers.
4682 * src/object-editor.glade:
4683 Made barcode style combo's text entry non-editable.
4685 * src/print.c: (draw_barcode_object):
4686 Modified to use above API for barcode type.
4688 * src/view-barcode.c: (update_object_from_editor_cb),
4689 (update_editor_from_object_cb),
4690 (gl_view_barcode_create_event_handler), (draw_barcode):
4691 Modified to use above API for barcode type.
4693 * src/xml-label-04.c: (xml04_parse_barcode_props):
4694 * src/xml-label-191.c: (xml191_parse_barcode_props):
4695 * src/xml-label.c: (xml_parse_object_barcode),
4696 (xml_create_object_barcode):
4697 Modified to use above API for barcode type.
4699 2004-02-07 Jim Evins <evins@snaught.com>
4701 * src/stock-pixmaps/Makefile.am:
4702 * src/stock-pixmaps/stock_hchain_24.png:
4703 * src/stock-pixmaps/stock_hchain_broken_24.png:
4704 * src/stock-pixmaps/stock_vchain_24.png:
4705 * src/stock-pixmaps/stock_vchain_broken_24.png:
4706 Added chain pixmaps borrowed from the gimp's default theme.
4709 * src/stock.c: (gl_stock_init), (add_button_icon):
4710 Added above pixmaps to stock icon sets. Created add_button_icon() to
4711 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
4713 * src/wdgt-chain-button.h
4714 * src/wdgt-chain-button.c
4717 Added this Modified version of gimpchainbutton widget, borrowed from
4721 Added acknowledgements of the above borrowing from the gimp.
4723 * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
4725 * src/object-editor.c: (gl_object_editor_construct_chain_button):
4726 * src/object-editor.glade:
4727 Replaced the keep aspect ratio check box with the above chain-button
4730 * src/text-node.c: (gl_text_node_equal):
4732 Added function gl_text_node_equal() to compare text_nodes.
4734 * src/label-image.c: (gl_label_image_set_filename):
4735 Replaced incomplete text_node comparison code with invocation of
4736 gl_text_node_equal. This fixed the problem of not being able to
4737 resize an image using the object_editor if the aspect ratio is not
4740 2004-02-04 Jim Evins <evins@snaught.com>
4742 * src/object-editor-image-page.c:
4743 (gl_object_editor_prepare_image_page):
4744 Track "changed" signal of pixmap entry's GtkEntry rather than its
4745 "activate" signal -- this catches all changes to the entry rather than
4746 just changes resulting from a browse, so one can easily pull previous
4747 entries from the history. (This change is marked below on 2004-02-03,
4748 but somehow never got checked in.)
4750 * src/view-highlight.c: (sl_resize_event_handler),
4751 (sr_resize_event_handler), (st_resize_event_handler),
4752 (sb_resize_event_handler):
4753 Side resize handles will now confirm the actual resize that the object
4754 accepted before adjusting position parameters. Previously some interesting
4755 things happened when resizing a barcode to its minimum size.
4757 2004-02-03 Jim Evins <evins@snaught.com>
4759 * src/object-editor-image-page.c:
4760 (gl_object_editor_prepare_image_page):
4761 Track "changed" signal of pixmap entry's GtkEntry rather than its
4762 "activate" signal -- this catches all changes to the entry rather than
4763 just changes resulting from a browse, so one can easily pull previous
4764 entries from the history.
4766 * src/view-highlight.c: (tl_resize_event_handler),
4767 (tr_resize_event_handler), (bl_resize_event_handler),
4768 (br_resize_event_handler):
4769 Allow control key to be dropped while dragging a corner resize handle
4770 without losing the aspect ratio lock.
4772 2004-02-02 Jim Evins <evins@snaught.com>
4774 * src/label-image.c: (gl_label_image_set_filename):
4775 When setting a new filename adjust size such that the aspect ratio of
4776 the image is preserved using the current size as a bounding box.
4778 * src/view-image.c: (update_object_from_editor_cb):
4779 When updating object from editor, feed back possible size changes to
4780 editor as a result of a possible change in image.
4782 * src/object-editor-size-page.c: (size_reset_cb):
4783 Fixed typo when blocking spin handlers. If the base size is larger than
4784 the max size, treat max size as a bounding box while keeping aspect
4788 2004-02-02 Jim Evins <evins@snaught.com>
4790 * src/label-object.h:
4791 * src/label-object.c: (gl_label_object_set_size),
4792 (gl_label_object_set_size_honor_aspect):
4793 Added gl_label_object_set_size_honor_aspect() which will maintain the
4794 current aspect ratio by modifying the supplied w or h apropriately.
4796 * src/view-highlight.c: (tl_resize_event_handler),
4797 (tr_resize_event_handler), (bl_resize_event_handler),
4798 (br_resize_event_handler):
4799 Corner handles will now maintain the current aspect ratio if the
4800 control key is pressed while resizing. This addresses feature
4804 2004-01-31 Jim Evins <evins@snaught.com>
4807 * data/avery-us-templates.xml:
4808 Added entries for "LSK-3," "LSK-5," and "LSK-8." Submitted by JBadger.
4810 * libglabels/template.c: (read_template_files_from_dir):
4811 Corrected problem with testing for extensions.
4813 * src/object-editor.glade:
4814 Corrected grouping of radio buttons in barcode data page.
4816 * src/print.c: (draw_barcode_object):
4817 * src/view-barcode.c: (draw_barcode):
4818 Corrected problem with calculation of y_offset for locating characters.
4820 2004-01-24 Jim Evins <evins@snaught.com>
4823 * data/avery-us-templates.xml:
4824 Added Avery 5824, submitted by Fred Bacon.
4826 2004-01-20 Jim Evins <evins@snaught.com>
4828 Catching up on a couple of backlogged user template submissions.
4830 * data/avery-iso-templates.xml:
4831 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
4832 Suggested by Linas Jakucionis.
4834 * data/zweckform-iso-templates.xml:
4835 Added Zweckform 4760, submitted by Thomas Vill.
4838 Updated to reflect above submissions.
4840 2004-01-06 Jim Evins <evins@snaught.com>
4842 Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
4843 xml.[ch] into a separate library called libglabels, to facilitate third
4844 party use of glabels template files. This was suggested by Wayne Schuller.
4845 Once split-out, some modifications to the structures and functions to
4846 make a cleaner more useful API, hopefully. Rather extensive changes have
4847 propogated to other modules.
4855 * src/xml-template.h:
4856 * src/xml-template.c:
4859 These files have been moved to libglabels/. API cleanup performed.
4861 * libglabels/libglabels.h:
4862 * libglabels/libglabels-private.h:
4863 * libglabels/Makefile.am:
4864 These files have been added to finish out libglabels.
4871 Modified to reflect new sets of files in src/ and libglabels/.
4873 * COPYING.LIBGLABELS:
4875 Added copy of the LGPL for libglabels, and a copy the GFDL for
4878 * src/glabels-batch.c:
4880 * src/label.c: (gl_label_finalize), (gl_label_set_template),
4881 (gl_label_get_size):
4883 * src/prefs-model.c: (gl_prefs_model_load_settings):
4884 * src/print-dialog.c:
4885 * src/print.c: (gl_print_simple), (gl_print_merge_collated),
4886 (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
4887 (print_crop_marks), (print_label), (draw_outline),
4888 (clip_to_outline), (clip_punchouts):
4889 * src/template-designer.c: (construct_pg_size_page),
4890 (pg_size_page_changed_cb), (layout_page_changed_cb),
4891 (print_test_cb), (build_template):
4892 * src/util.c: (gl_util_fraction):
4894 * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
4895 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
4896 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
4897 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
4898 (draw_markup_margin_round), (draw_markup_margin_cd),
4899 (draw_markup_margin_cd_bc), (draw_markup_line),
4900 (draw_markup_circle), (gl_view_copy):
4901 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
4902 (page_size_entry_changed_cb), (details_update), (get_layout_desc),
4903 (get_label_size_desc):
4904 * src/wdgt-mini-preview.c:
4905 (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
4907 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
4908 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
4909 * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
4910 (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
4911 * src/wdgt-rotate-label.h:
4912 * src/xml-label-04.c: (xml04_parse_media_description):
4913 * src/xml-label-191.c: (gl_xml_label_191_parse),
4914 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
4915 (xml191_parse_markup), (xml191_parse_alias):
4916 * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
4918 Various changes to accomodate new libglabels API.
4920 2004-01-03 Jim Evins <evins@snaught.com>
4925 2004-01-03 Jim Evins <evins@snaught.com>
4928 Added acknowledgement of contributions by Wayne Schuller.
4930 * src/commands.c: (gl_cmd_file_print):
4931 Create extra reference to print dialog, so that it can be properly re-used.
4933 * src/mygal/mygal-combo-box.h:
4934 * src/mygal/mygal-combo-box.c:
4935 (mygal_combo_box_popup_hide_unconditional),
4936 (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
4937 (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
4938 (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
4939 (mygal_combo_box_set_tearable):
4940 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
4941 complete the rename of this widget to prevent namespace collisions
4944 * src/prefs-dialog.glade:
4945 Fixed alignment of Fill/Color widgets.
4947 2004-01-03 Jim Evins <evins@snaught.com>
4949 * data/avery-iso-templates.xml:
4950 Added user submitted templates.
4951 Avery 8435A & 8435B, submitted by Ludger Solbach.
4953 * doc/C/glabels.xml:
4954 Added minimal documentation, noting the new template designer.
4956 2004-01-03 Jim Evins <evins@snaught.com>
4958 * pixmaps/ex-rect-size.png:
4959 * pixmaps/ex-round-size.png:
4960 * pixmaps/ex-cd-size.png:
4961 * pixmaps/Makefile.am:
4962 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
4963 files to be used as illustrations/examples in the template-designer.
4965 * src/template-designer.c: (construct_rect_size_page),
4966 (construct_round_size_page), (construct_cd_size_page),
4967 (construct_nlayouts_page), (rect_size_page_prepare_cb),
4968 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
4969 (layout_page_prepare_cb), (build_template):
4970 * src/template-designer.glade:
4971 Added illustrations for rectangle, round, and cd label size pages.
4972 Added margin spinboxes to these pages, and now add a margin markup
4973 to the constructed template. Added realistic default values for
4974 some of the size spinboxes. Cleaned up the code for setting spinbox
4975 ranges on the layouts page.
4977 2004-01-02 Jim Evins <evins@snaught.com>
4979 * src/object-editor-size-page.c: (h_spin_cb):
4980 Fixed cut-n-paste error in h_spin_cb that loaded h from
4981 the wrong spinbutton.
4983 * src/object-editor.h:
4984 * src/object-editor.c: (gl_object_editor_class_init),
4985 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
4986 * src/object-editor-private.h:
4987 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
4989 Added "size_changed" signal.
4991 * src/view-text.c: (construct_properties_editor),
4992 (update_object_from_editor_cb),
4993 (update_object_from_editor_size_cb):
4994 Track size changes from object editor separately from other
4995 properties. This is so the default size (0,0) of a text
4996 object is not modified unintentionally.
4998 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
5000 Added feature: line spacing - allows you to comfortably space a text box to
5001 fit a label perfectly.
5003 * data/glabels-2.0.dtd:
5004 * src/label-object.c: (gl_label_object_set_text_line_spacing),
5005 (gl_label_object_get_text_alignment),
5006 (gl_label_object_get_text_line_spacing):
5007 * src/label-object.h:
5008 * src/label-text.c: (gl_label_text_class_init),
5009 (gl_label_text_instance_init), (copy), (get_size),
5010 (set_text_line_spacing), (get_text_alignment),
5011 (get_text_line_spacing):
5012 * src/object-editor-private.h:
5013 * src/object-editor-text-page.c:
5014 (gl_object_editor_prepare_text_page),
5015 (gl_object_editor_set_text_line_spacing),
5016 (gl_object_editor_get_text_line_spacing):
5017 * src/object-editor.glade:
5018 * src/object-editor.h:
5019 * src/prefs-dialog.c: (construct_object_page),
5020 (update_object_page_from_prefs), (update_prefs_from_object_page):
5021 * src/prefs-dialog.glade:
5022 * src/prefs-model.c: (gl_prefs_model_save_settings),
5023 (gl_prefs_model_load_settings), (get_float):
5024 * src/prefs-model.h:
5025 * src/print.c: (draw_text_object):
5027 * src/view-text.c: (update_object_from_editor_cb),
5028 (update_editor_from_object_cb),
5029 (gl_view_text_create_event_handler), (draw_hacktext):
5030 * src/view.c: (gl_view_construct),
5031 (gl_view_set_selection_text_line_spacing),
5032 (gl_view_set_default_text_line_spacing),
5033 (gl_view_get_default_text_line_spacing):
5035 * src/xml-label.c: (xml_parse_toplevel_span),
5036 (xml_create_toplevel_span):
5038 2003-12-30 Jim Evins <evins@snaught.com>
5040 * src/template-designer.c:
5041 * src/template-designer.h:
5042 * src/template-designer.glade:
5043 New template designer assistant.
5047 Added entries for src/template-designer.* files.
5049 * pixmaps/ex-1layout.png
5050 * pixmaps/ex-2layouts.png
5051 * pixmaps/Makefile.am:
5052 Added the new image files ex-*.png used as illustrations in the
5053 template designer assistant.
5055 * src/print-dialog.h:
5056 * src/print-dialog.c: (gl_print_dialog_finalize),
5057 (gl_print_dialog_new), (gl_print_dialog_construct),
5058 (gl_print_dialog_force_outline_flag):
5059 Changed first argument of gl_print_dialog_new() from glView to glLabel,
5060 to support printing from the template designer assistant which does not
5061 have a full-fledged view. Nothing else from the view object was being
5062 used by the dialog anyway.
5064 Added the gl_print_dialog_force_outline_flag() method, for better
5065 integration with the template designer assistant.
5069 * src/commands.c: (gl_cmd_file_template_designer),
5070 (gl_cmd_file_print):
5071 Modified print command to provide label instead of view to dialog.
5072 Added the gl_cmd_file_template_designer() command to invoke the
5073 template designer assistant.
5076 * src/glabels-ui.xml:
5077 Added support for template designer assistant.
5079 * src/wdgt-mini-preview.h:
5080 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
5081 (gl_wdgt_mini_preview_set_bg_color):
5082 Preview is now centered in canvas. Added
5083 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
5084 assistant to match the background color with its own.
5086 * src/print.c: (clip_to_outline):
5087 Fixed really stupid bug when adding waste to clip region of rectangular
5088 labels/cards. Each side of the clip region needs to be extended by
5089 twice the waste margin, as well as negatively offset by the waste
5092 2003-12-28 Jim Evins <evins@snaught.com>
5094 * src/prefs-dialog.c: (update_object_page_from_prefs):
5095 Block intermediary function align_toggle_cb() instead of
5096 update_prefs_from_object_page() for the three alignment
5099 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
5101 * src/file.c: (gl_file_new), (gl_file_properties):
5102 Swap button order and set default for higificatory pleasure.
5104 2003-12-27 Jim Evins <evins@snaught.com>
5106 * barcode-0.98/Makefile.am:
5107 One last time: removed doc/Makefile and po/Makefile.in.in from
5110 2003-12-27 Jim Evins <evins@snaught.com>
5112 * barcode-0.98/Makefile.am:
5113 Removed config.stat entry from EXTRA_DIST files.
5115 * barcode-0.98/Makefile.in:
5118 2003-12-27 Jim Evins <evins@snaught.com>
5121 Updated to work with latest gnome-common package from CVS.
5122 Removed recursive configuration of barcode-0.98.
5129 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
5131 * barcode-0.98/Makefile.in:
5132 * barcode-0.98/configure.in:
5133 * barcode-0.98/Makefile.am:
5134 * barcode-0.98/README.glabels:
5135 Modified to ignore the barcode package's build system, and build
5136 as a part of glabels.
5137 Renamed Makefile.in to Makefile.in.dist.
5138 Renamed configure.in to configure.in.dist.
5139 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
5142 * src/mygal/Makefile.am:
5143 * src/recent-files/Makefile.am:
5144 In order to build against the GNOME 2.5 platform,
5145 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
5147 * src/mygal/Makefile.am:
5148 * src/mygal/mygal-combo-box.c:
5149 * src/mygal/mygal-combo-box.h:
5150 * src/mygal/widget-color-combo.c:
5151 * src/mygal/widget-color-combo.h:
5153 In order to build against the GNOME 2.5 platform,
5154 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
5155 collisions with the real gtk_combo_box widget, now a part of gtk.
5157 2003-12-26 Jim Evins <evins@snaught.com>
5163 Moved local versions of get_home_data_dir() in paper.c and
5164 template.c to util package. Cleaned up formatting in
5168 In gl_template_register() save a copy of the template in
5169 ~/.glabels if the template is not known. Still need to
5170 handle duplicate filename case and duplicate name but
5171 different template case.
5175 Moved local definition of NAME_SPACE macro from xml-label.c
5178 * src/xml-template.c:
5179 * src/xml-template.h:
5180 Added function gl_xml_template_write_template_to_file(), used
5181 in gl_template_register().