1 2009-09-19 Jim Evins <evins@snaught.com>
3 * libglabels/category.c:
4 * libglabels/category.h:
8 * libglabels/libglabels-private.h:
9 * libglabels/libglabels.h:
14 * libglabels/template.c:
15 * libglabels/template.h:
16 * libglabels/xml-category.c:
17 * libglabels/xml-category.h:
18 * libglabels/xml-paper.c:
19 * libglabels/xml-paper.h:
20 * libglabels/xml-template.c:
21 * libglabels/xml-template.h:
24 - Cleaned up GTK/GLIB includes.
25 - Updated license notification to LGPL3+.
27 2009-09-18 Jim Evins <evins@snaught.com>
32 * src/mini-preview.c: (gl_mini_preview_class_init),
33 (gl_mini_preview_finalize), (gl_mini_preview_set_by_name),
34 (gl_mini_preview_highlight_range), (gl_mini_preview_set_label),
35 (gl_mini_preview_set_page), (gl_mini_preview_set_n_sheets),
36 (gl_mini_preview_set_n_copies), (gl_mini_preview_set_first),
37 (gl_mini_preview_set_last), (gl_mini_preview_set_collate_flag),
38 (gl_mini_preview_set_outline_flag),
39 (gl_mini_preview_set_reverse_flag),
40 (gl_mini_preview_set_crop_marks_flag), (button_release_event_cb),
41 (expose_event_cb), (redraw), (draw), (draw_labels),
43 Added rich preview capability to mini preview.
44 * src/print-op-dialog.c: (create_custom_widget_cb),
45 (simple_sheets_radio_cb), (simple_first_spin_cb),
46 (simple_last_spin_cb), (preview_pressed_cb), (preview_released_cb),
47 (merge_spin_cb), (merge_collate_check_cb), (preview_clicked_cb),
49 Use new rich preview capability of mini preview in print dialog.
51 2009-09-17 Jim Evins <evins@snaught.com>
53 * src/stock.c: (add_icons), (add_button_icon):
54 Use proper free function for GtkIconSource (gtk_icon_source_free() not g_free()).
55 Patch provided by Christian Persch <chpe@gnome.org>.
57 2009-09-17 Jim Evins <evins@snaught.com>
59 * libglabels/category.h:
62 * libglabels/template.h:
63 * libglabels/xml-category.h:
64 * libglabels/xml-paper.h:
66 Cleaned up GTK/GLIB includes.
67 * src/bc-gnubarcode.c:
68 * src/bc-gnubarcode.h:
77 * src/cairo-ellipse-path.c:
78 * src/cairo-ellipse-path.h:
79 * src/cairo-label-path.c:
80 * src/cairo-label-path.h:
81 * src/cairo-markup-path.c:
82 * src/cairo-markup-path.h:
83 * src/color-combo-button.c:
84 * src/color-combo-button.h:
85 * src/color-combo-color-menu-item.c:
86 * src/color-combo-color-menu-item.h:
87 * src/color-combo-history.c:
88 * src/color-combo-menu.c:
89 * src/color-combo-menu.h:
96 * src/critical-error-handler.c:
97 * src/critical-error-handler.h:
102 * src/font-combo-menu-item.c:
103 * src/font-combo-menu-item.h:
104 * src/font-combo-menu.c:
105 * src/font-combo-menu.h:
111 * src/glabels-batch.c:
114 * src/label-barcode.c:
115 * src/label-barcode.h:
118 * src/label-ellipse.c:
119 * src/label-ellipse.h:
124 * src/label-object.c:
125 * src/label-object.h:
130 * src/merge-evolution.c:
131 * src/merge-evolution.h:
134 * src/merge-properties-dialog.c:
135 * src/merge-properties-dialog.h:
142 * src/mini-label-preview.c:
143 * src/mini-label-preview.h:
144 * src/mini-preview-pixbuf-cache.c:
145 * src/mini-preview-pixbuf-cache.h:
146 * src/mini-preview-pixbuf.c:
147 * src/mini-preview-pixbuf.h:
148 * src/mini-preview.c:
149 * src/new-label-dialog.c:
150 * src/new-label-dialog.h:
151 * src/object-editor-bc-page.c:
152 * src/object-editor-data-page.c:
153 * src/object-editor-fill-page.c:
154 * src/object-editor-image-page.c:
155 * src/object-editor-line-page.c:
156 * src/object-editor-lsize-page.c:
157 * src/object-editor-position-page.c:
158 * src/object-editor-private.h:
159 * src/object-editor-shadow-page.c:
160 * src/object-editor-size-page.c:
161 * src/object-editor-text-page.c:
162 * src/object-editor.c:
163 * src/object-editor.h:
164 * src/pixbuf-cache.c:
165 * src/pixbuf-cache.h:
166 * src/prefs-dialog.c:
167 * src/prefs-dialog.h:
172 * src/print-op-dialog.c:
179 * src/rotate-label-button.c:
180 * src/rotate-label-button.h:
183 * src/template-designer.c:
184 * src/template-designer.h:
189 * src/ui-property-bar.c:
190 * src/ui-property-bar.h:
199 * src/view-barcode.c:
200 * src/view-barcode.h:
203 * src/view-ellipse.c:
204 * src/view-ellipse.h:
215 * src/warning-handler.c:
216 * src/warning-handler.h:
217 * src/wdgt-chain-button.c:
218 * src/wdgt-chain-button.h:
219 * src/wdgt-media-select.c:
220 * src/wdgt-media-select.h:
221 * src/wdgt-merge-menu.c:
222 * src/wdgt-merge-menu.h:
225 * src/xml-label-04.c:
226 * src/xml-label-04.h:
229 Cleaned up GTK/GLIB includes.
230 Updated remainder of notices to GPL3+.
231 Simple formatting cleanup.
233 2009-09-13 Jim Evins <evins@snaught.com>
235 Refactored print operation subsystem.
239 Basic GtkPrintOperation based class. Does not instantiate
240 custom widgets, so it can be used by glabels-batch without
241 the additional overhead.
242 * src/print-op-dialog.c:
243 * src/print-op-dialog.h:
244 New object derived from glPrintOp. This one is intended
245 to be used as a dialog and installs custom widgets.
246 glWdgtPrintCopies and glWdgtPrintMerge have been merged
248 * src/wdgt-print-copies.c:
249 * src/wdgt-print-copies.h:
250 * src/wdgt-print-merge.c:
251 * src/wdgt-print-merge.h:
254 Modified to reflect above additions and deletions.
255 * src/mini-preview.c: (gl_mini_preview_construct),
256 (gl_mini_preview_set_template), (set_transform_and_get_scale),
257 (button_press_event_cb), (motion_notify_event_cb), (draw):
258 Now scales with allocation.
259 * src/glabels-batch.c: (main):
260 * src/template-designer.c: (print_test_cb):
261 * src/ui-commands.c: (gl_ui_cmd_file_print):
262 Use above modifications.
263 * data/builder/print-op-dialog-custom-widget.builder:
264 New builder file for glPrintOpDialog custom widgets.
265 * data/builder/print-custom-widget.builder:
267 * data/builder/Makefile.am:
268 Modified to reflect above addition and deletion.
270 2009-09-10 Jim Evins <evins@snaught.com>
273 * src/mini-label-preview.c:
274 * src/mini-label-preview.h:
275 Created new glMiniLabelPreview widget to support glRotateLabelButton.
276 * src/rotate-label-button.c:
277 * src/rotate-label-button.h:
278 Renamed glWdgtRotateLabel to glRotateLabelButton.
279 * src/new-label-dialog.c: (gl_new_label_dialog_construct),
280 (template_changed_cb), (gl_new_label_dialog_get_rotate_state),
281 (gl_new_label_dialog_set_rotate_state):
282 Propogated above renaming.
283 * src/mini-preview.c: (gl_mini_preview_set_template), (draw),
284 (draw_shadow), (draw_paper), (draw_labels):
285 Use GtkStyle for colors instead of hardcoded ones.
287 2009-09-09 Jim Evins <evins@snaught.com>
292 * src/stock-pixmaps/Makefile.am:
293 * qrencode-3.1.0/Makefile.am
294 * data/desktop/glabels.desktop.in:
295 * docs/libglabels/libglabels-decl-list.txt:
296 Various build system fixes and cleanup.
298 2009-09-08 Jim Evins <evins@snaught.com>
300 * src/font-util.c: (gl_font_util_validate_family):
302 Added gl_font_util_validate_family().
303 * src/font-combo.c: (gl_font_combo_class_init),
304 (gl_font_combo_new), (gl_font_combo_set_family):
305 Use gl_font_util_validate_family() when setting family.
306 * src/label-text.c: (set_font_family):
307 * src/prefs-dialog.c: (construct_object_page),
308 (update_object_page_from_prefs):
309 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
310 (reset_to_default_properties):
311 * src/object-editor-text-page.c:
312 (gl_object_editor_prepare_text_page),
313 (gl_object_editor_set_font_family):
314 Removed code obsoleted by the addition of gl_font_util_validate_family().
315 * src/color-swatch.c: (gl_color_swatch_class_init), (style_set_cb),
317 * src/font-sample.c: (gl_font_sample_class_init), (style_set_cb),
319 Added handler for style_set event.
320 * src/color-combo-button.c: (gl_color_combo_button_class_init):
321 * src/color-combo-color-menu-item.c:
322 (gl_color_combo_color_menu_item_class_init):
323 * src/color-combo-history.c: (gl_color_combo_history_class_init):
324 * src/color-combo-menu.c: (map_event_cb):
325 * src/color-combo.c: (gl_color_combo_class_init),
326 (gl_color_combo_new):
327 * src/font-combo-menu-item.c: (gl_font_combo_menu_item_class_init):
328 * src/font-combo-menu.c: (gl_font_combo_menu_class_init):
329 * src/wdgt-rotate-label.c: (create_pixbuf):
330 Various cleanups -- mostly removing unused variables.
332 2009-09-07 Jim Evins <evins@snaught.com>
334 Created new glFontCombo widget family subsystem + minor refinements to glColorCombo
337 * src/color-combo-button.c:
338 * src/color-combo-button.h:
339 Renamed ColorButton to ColorComboButton.
341 Added GL_COLOR_WHITE macro.
342 * src/color-combo.c: (gl_color_combo_init):
347 * src/font-combo-menu.c:
348 * src/font-combo-menu.h:
349 * src/font-combo-menu-item.c:
350 * src/font-combo-menu-item.h:
355 New FontCombo subsystem.
358 Moved font functions to font-util.[ch].
359 * data/builder/object-editor.builder:
360 * data/builder/prefs-dialog.builder:
361 * data/builder/property-bar.builder:
362 * src/label-text.c: (set_font_family):
363 * src/object-editor-private.h:
364 * src/object-editor-text-page.c:
365 (gl_object_editor_prepare_text_page),
366 (gl_object_editor_set_font_family),
367 (gl_object_editor_get_font_family):
368 * src/prefs-dialog.c: (construct_object_page),
369 (update_object_page_from_prefs), (update_prefs_from_object_page):
370 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
371 (reset_to_default_properties), (update_text_properties),
372 (update_fill_color), (update_line_color), (font_family_changed_cb),
373 (text_color_changed_cb), (fill_color_changed_cb),
374 (line_color_changed_cb):
375 Incorporated new FontCombo subsystem.
377 Reconciled with above changes/additions.
379 2009-09-06 Jim Evins <evins@snaught.com>
381 * src/color-button.c: (gl_color_button_finalize):
382 Unreference menu in finalize.
384 2009-09-06 Jim Evins <evins@snaught.com>
386 Some major refinements to the glColorCombo family of widgets.
389 * src/color-button.c:
390 * src/color-button.h:
391 New widget: glColorButton. This widget is a button that applies
392 the currently selected color with a ColorCombo type dropdown button
393 to change that selected color. This is basically the old
395 * src/color-combo.c: (gl_color_combo_init),
396 (gl_color_combo_finalize), (gl_color_combo_new),
397 (button_press_event_cb), (menu_color_changed_cb),
398 (menu_selection_done_cb):
400 The glColorCombo widget has been modified to be a single button
401 that is only used to change the selected color.
402 * src/color-swatch.c: (gl_color_swatch_init), (expose_event_cb):
403 Draw on parent containers window to allow an effective
405 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
406 * src/object-editor-fill-page.c:
407 (gl_object_editor_prepare_fill_page):
408 * src/object-editor-line-page.c:
409 (gl_object_editor_prepare_line_page):
410 * src/object-editor-shadow-page.c:
411 (gl_object_editor_prepare_shadow_page):
412 * src/object-editor-text-page.c:
413 (gl_object_editor_prepare_text_page):
414 * src/prefs-dialog.c: (construct_object_page):
415 Change how ColorCombos are packed so that they don't
417 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
418 (reset_to_default_properties), (update_text_properties),
419 (update_fill_color), (update_line_color), (text_color_changed_cb),
420 (fill_color_changed_cb), (line_color_changed_cb),
421 (set_doc_items_sensitive), (set_text_items_sensitive),
422 (set_fill_items_sensitive), (set_line_color_items_sensitive):
423 The property bar now uses the new glColorButton instead of
426 2009-09-02 Jim Evins <evins@snaught.com>
429 * src/wdgt-mini-preview.c:
430 * src/wdgt-mini-preview.h:
431 * src/mini-preview.h:
432 * src/mini-preview.c:
433 - Renamed WdgtMiniPreview to MiniPreview.
435 - Modified to draw to parent window to be effectively transparent.
436 - Updated license notification to gpl3+.
437 * src/template-designer.c: (construct_layout_page),
438 (layout_page_prepare_cb), (layout_page_changed_cb):
439 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct),
440 (sheets_radio_cb), (first_spin_cb), (last_spin_cb),
442 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct),
443 (spin_cb), (preview_clicked), (gl_wdgt_print_merge_set_copies):
444 - Reconciled with rename above.
446 2009-09-01 Jim Evins <evins@snaught.com>
448 * data/builder/object-editor.builder:
449 Fixed errant expansion of tab.
450 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
451 * src/bc-postnet.c: (gl_barcode_postnet_new):
452 * src/bc.c: (id_to_index), (name_to_index):
453 * src/label-barcode.c: (gl_label_barcode_set_props):
454 * src/label-text.c: (set_font_family):
455 * src/merge-properties-dialog.c:
456 (gl_merge_properties_dialog_construct):
457 * src/merge.c: (gl_merge_description_to_name):
458 * src/new-label-dialog.c:
459 * src/object-editor-edit-page.c:
460 * src/object-editor-image-page.c: (update_preview_cb):
461 * src/object-editor-lsize-page.c:
462 * src/object-editor-position-page.c:
463 * src/object-editor-size-page.c:
464 * src/object-editor.c: (gl_object_editor_new):
465 * src/prefs-dialog.c: (update_locale_page_from_prefs):
466 * src/prefs-model.c: (string_to_units):
467 * src/print-op.c: (create_custom_widget_cb):
468 * src/template-designer.c: (gl_template_designer_init),
469 (pg_size_page_changed_cb), (build_template):
470 * src/ui-commands.c: (gl_ui_cmd_help_about):
471 * src/xml-label.c: (xml_parse_pixdata):
472 Fixed various deprecations as of Gtk-2.16.
474 2009-08-31 Jim Evins <evins@snaught.com>
477 Updated french translation (Claude Paroz)
479 2009-08-31 Jim Evins <evins@snaught.com>
481 * data/builder/property-bar.builder:
482 Make sure event box does not obscure tool bar background.
484 * src/color-swatch.c:
485 * src/color-swatch.h:
486 New color swatch widget.
487 * src/color-combo-color-menu-item.c:
488 (gl_color_combo_color_menu_item_init),
489 (gl_color_combo_color_menu_item_new),
490 (gl_color_combo_color_menu_item_set_color):
491 * src/color-combo.c: (gl_color_combo_init),
492 (gl_color_combo_finalize), (gl_color_combo_new),
493 (gl_color_combo_set_color), (menu_color_changed_cb):
494 Updated to use new color swatch widget.
496 2009-08-26 Jim Evins <evins@snaught.com>
499 Explicitely mark file types. Removed unneeded file from
502 2009-08-23 Jim Evins <evins@snaught.com>
504 * data/builder/Makefile.am:
505 * data/builder/merge-properties-dialog.builder:
506 * data/builder/merge-properties-dialog.glade:
507 * data/builder/new-label-dialog.builder:
508 * data/builder/new-label-dialog.glade:
509 * data/builder/object-editor.builder:
510 * data/builder/object-editor.glade:
511 * data/builder/prefs-dialog.builder:
512 * data/builder/prefs-dialog.glade:
513 * data/builder/print-custom-widget.builder:
514 * data/builder/print-custom-widget.glade:
515 * data/builder/property-bar.builder:
516 * data/builder/property-bar.glade:
517 * data/builder/template-designer.builder:
518 * data/builder/template-designer.glade:
519 * data/builder/wdgt-media-select.builder:
520 * data/builder/wdgt-media-select.glade:
522 * src/merge-properties-dialog.c:
523 (gl_merge_properties_dialog_finalize),
524 (gl_merge_properties_dialog_construct):
525 * src/new-label-dialog.c: (gl_new_label_dialog_finalize),
526 (gl_new_label_dialog_construct):
527 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
528 * src/object-editor-data-page.c:
529 (gl_object_editor_prepare_data_page):
530 * src/object-editor-edit-page.c:
531 (gl_object_editor_prepare_edit_page):
532 * src/object-editor-fill-page.c:
533 (gl_object_editor_prepare_fill_page):
534 * src/object-editor-image-page.c:
535 (gl_object_editor_prepare_image_page):
536 * src/object-editor-line-page.c:
537 (gl_object_editor_prepare_line_page):
538 * src/object-editor-lsize-page.c:
539 (gl_object_editor_prepare_lsize_page):
540 * src/object-editor-position-page.c:
541 (gl_object_editor_prepare_position_page):
542 * src/object-editor-private.h:
543 * src/object-editor-shadow-page.c:
544 (gl_object_editor_prepare_shadow_page):
545 * src/object-editor-size-page.c:
546 (gl_object_editor_prepare_size_page):
547 * src/object-editor-text-page.c:
548 (gl_object_editor_prepare_text_page):
549 * src/object-editor.c: (gl_object_editor_init),
550 (gl_object_editor_finalize):
551 * src/prefs-dialog.c: (gl_prefs_dialog_init),
552 (gl_prefs_dialog_finalize), (gl_prefs_dialog_construct),
553 (construct_locale_page), (construct_object_page):
554 * src/print-op.c: (gl_print_op_finalize),
555 (gl_print_op_set_settings), (create_custom_widget_cb):
556 * src/template-designer.c: (gl_template_designer_init),
557 (gl_template_designer_finalize), (construct_start_page),
558 (construct_name_page), (construct_pg_size_page),
559 (construct_shape_page), (construct_rect_size_page),
560 (construct_round_size_page), (construct_cd_size_page),
561 (construct_nlayouts_page), (construct_layout_page),
562 (construct_finish_page):
563 * src/ui-property-bar.c: (gl_ui_property_bar_finalize),
564 (gl_ui_property_bar_construct):
565 * src/wdgt-media-select.c: (gl_wdgt_media_select_finalize),
566 (gl_wdgt_media_select_construct):
567 Builder files no longer built from glade files. Also did some
568 cleanup on formatting and update license notifications to GPL3+.
570 2009-08-13 Jim Evins <evins@snaught.com>
572 * src/color-combo-color-menu-item.c:
573 (gl_color_combo_color_menu_item_init),
574 (gl_color_combo_color_menu_item_new),
575 (gl_color_combo_color_menu_item_set_color):
576 Explicitly request size of menu item and enlarge color swatch.
578 2009-08-12 Jim Evins <evins@snaught.com>
580 * src/label-text.c: (buffer_changed_cb), (draw_object),
581 (draw_shadow), (draw_text_real):
583 Moved common code from draw_object() and draw_shadow() to
584 draw_text_real(). Also cleaned up formatting and updated
585 license notification to GPL3+.
587 2009-07-29 Alexandre Prokoudine <alexandre.prokoudine@gmail.com>
589 * po/ru.po: Updated and fixed Russian translation
591 2009-07-26 Jim Evins <evins@snaught.com>
594 * COPYING.README_FIRST:
598 Added 3rd party qrencode library.
600 * src/bc-iec18004.c: (gl_barcode_iec18004_new), (render_iec18004):
603 Added IEC18004 (QRCode) 2 dimensional barcode backend.
604 Patch provided by Daniel Mueller <daniel@danm.de>.
606 2009-07-25 Jim Evins <evins@snaught.com>
608 * src/xml-label.c: (gl_xml_label_open):
609 Relax limits when parsing file. Allows large embedded image
612 2009-05-19 Jim Evins <evins@snaught.com>
616 Moved translation list from configure.in to po/LINGUAS.
618 2009-05-19 Jim Evins <evins@snaught.com>
622 New Chinese translation (Careon <zzbusagain@yahoo.com.cn>).
624 Added above translation to acknowledgements.
626 2009-05-18 Jim Evins <evins@snaught.com>
628 * src/prefs-model.c: (gl_prefs_model_load_settings):
629 Make an educated guess at locale settings when run for the
632 2009-05-17 Jim Evins <evins@snaught.com>
635 * help/glabels.omf.in:
636 Adding missing files from last checkin.
638 2009-05-17 Jim Evins <evins@snaught.com>
642 * help/C/glabels-C.omf:
643 * help/C/glabels.xml:
646 Updated german translation, gnome-doc-utils support and
647 german translation of glabels manual (Mario Blättermann).
649 2009-05-01 Jim Evins <evins@snaught.com>
654 Added catalan translation (David Planella).
656 2009-04-29 Jim Evins <evins@snaught.com>
658 * data/templates/avery-iso-templates.xml:
659 * data/templates/misc-iso-templates.xml:
660 * data/templates/misc-us-templates.xml:
661 Caught up on user submitted templates.
663 Acknowledgements for above templates.
665 2009-04-29 Jim Evins <evins@snaught.com>
669 Updated german translation (Mario Blättermann).
671 2009-03-23 Jim Evins <evins@snaught.com>
673 * src/glabels-batch.c: (main):
674 * src/glabels.c: (main):
675 Tidy up help option output.
677 2009-02-28 Jim Evins <evins@snaught.com>
682 Deleted base64 module.
683 * src/xml-label.c: (xml_parse_pixdata), (xml_create_pixdata):
684 Use base64 encode/decode from glib.
686 2009-02-22 Jim Evins <evins@snaught.com>
688 * src/merge-properties-dialog.h:
689 * src/new-label-dialog.h:
690 * src/object-editor.h:
691 * src/prefs-dialog.h:
693 * src/template-designer.h:
694 Corrected cut&paste errors.
696 2009-02-21 JimEvins <evins@snaught.com>
698 * src/prefs-model.c: (gl_prefs_model_save_settings),
699 (gl_prefs_model_load_settings):
702 * src/ui-property-bar.c:
703 * src/ui.c: (view_ui_item_toggled_cb),
704 (set_app_main_toolbar_style), (set_app_drawing_toolbar_style):
705 Removed tooltip toggling capability, which wasn't working
708 2009-02-21 JimEvins <evins@snaught.com>
712 * data/builder/object-editor.glade:
713 * data/builder/prefs-dialog.glade:
714 * data/builder/property-bar.glade:
715 * data/builder/template-designer.glade:
717 * src/color-combo-color-menu-item.c:
718 * src/color-combo-color-menu-item.h:
719 * src/color-combo-menu.h:
720 * src/glabels-batch.c: (main):
721 * src/glabels.c: (main):
722 * src/merge-properties-dialog.h:
723 * src/new-label-dialog.h:
724 * src/object-editor-lsize-page.c:
725 (gl_object_editor_prepare_lsize_page), (lsize_prefs_changed_cb):
726 * src/object-editor.h:
727 * src/prefs-dialog.h:
729 * src/template-designer.h:
730 * src/ui-commands.c: (gl_ui_cmd_view_property_bar_tips_toggle),
731 (gl_ui_cmd_help_contents), (gl_ui_cmd_help_about):
732 * src/ui-property-bar.c:
733 * src/ui-property-bar.h:
734 * src/ui-sidebar.c: (gl_ui_sidebar_construct),
735 (selection_changed_cb):
738 * src/wdgt-media-select.h:
739 * src/wdgt-merge-menu.h:
740 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_class_init):
741 * src/wdgt-mini-preview.h:
742 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
743 * src/wdgt-print-copies.h:
744 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
745 * src/wdgt-print-merge.h:
746 * src/wdgt-rotate-label.h:
748 Removed final dependencies on libgnome and libgnomeui.
749 Removed all currently deprecated symbols as of GTK 2.14.
751 2009-01-07 Jim Evins <evins@snaught.com>
753 * src/critical-error-handler.c: (critical_error_handler):
754 * src/ui-commands.c: (gl_ui_cmd_help_contents):
755 * src/warning-handler.c: (warning_handler):
756 * src/view.c: (selection_received_cb):
757 Compile without warning with additional CFLAGS of
758 -O1 -Wall -Wformat=2.
760 2009-01-02 Jim Evins <evins@snaught.com>
762 * COPYING.README_FIRST:
765 2008-12-27 Jim Evins <evins@snaught.com>
767 * data/templates/avery-iso-templates.xml:
768 * data/templates/avery-other-templates.xml:
769 * data/templates/avery-us-templates.xml:
770 * data/templates/brother-other-templates.xml:
771 * data/templates/misc-iso-templates.xml:
772 * data/templates/misc-other-templates.xml:
773 * data/templates/zweckform-iso-templates.xml:
774 Make sure all descriptions are marked as translatable.
776 2008-12-27 Jim Evins <evins@snaught.com>
779 Updated german translation (Mario Blättermann)
781 Updated credits to reflect above translation.
782 * data/builder/object-editor.glade:
783 * data/builder/prefs-dialog.glade:
784 * data/builder/template-designer.glade:
785 Removed "translatable" attribute from whitespace strings,
786 which are used only to help layout.
788 2008-12-21 Jim Evins <evins@snaught.com>
790 * data/templates/avery-us-templates.xml:
791 * data/templates/misc-iso-templates.xml:
792 A couple of recent template submissions.
794 Acknowledgements for above templates.
796 2008-12-21 Jim Evins <evins@snaught.com>
798 * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
799 Don't check for handles on aggregate selections.
801 2008-12-20 Jim Evins <evins@snaught.com>
804 Updated prerequisite library versions required.
806 2008-12-18 Jim Evins <evins@snaught.com>
808 * src/view.c: (selection_received_cb):
809 Fixed paste bug that caused a duplicate phantom view_object to be created for
810 each new label_object. This is because the view now (as of r673) the view
811 monitiors the label for new objects and creates view_objects automatically.
813 2008-12-14 Jim Evins <evins@snaught.com>
815 * src/ui.c: (gl_ui_new):
816 Bug #2395628. Fixed i18n for application shell.
818 Bug #2395628. Reconciled POTFILES.in with current files.
820 2008-12-14 Jim Evins <evins@snaught.com>
823 Bug #2316013. Added PKG_PROG_PKG_CONFIG.
825 2008-11-15 Jim Evins <evins@snaught.com>
827 * libglabels/db.c: (lgl_db_register_template):
828 * libglabels/xml-template.c:
829 (lgl_xml_template_parse_template_node):
830 * src/glabels-batch.c:
831 * src/view-text.c: (gl_view_text_create_button_press_event):
832 Fixed several issues such as possible use of uninitialized variables found with "-O1 -Wall".
834 2008-11-09 Jim Evins <evins@snaught.com>
836 * data/templates/misc-iso-templates.xml:
837 Another user submitted template.
839 2008-10-27 Jim Evins <evins@snaught.com>
841 * data/templates/avery-us-templates.xml:
842 * data/templates/misc-iso-templates.xml:
843 * data/templates/zweckform-iso-templates.xml:
844 Caught up on user submitted templates.
846 Acknowledgements for above templates.
848 2008-10-23 Jim Evins <evins@snaught.com>
850 * src/label-text.c: (set_font_family):
851 * src/object-editor-text-page.c:
852 (gl_object_editor_prepare_text_page),
853 (gl_object_editor_set_font_family):
854 * src/prefs-dialog.c: (construct_object_page),
855 (update_object_page_from_prefs):
856 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
857 (reset_to_default_properties):
858 * src/util.c: (gl_util_get_font_family_list):
860 Bug #1902275 and Bug #2186214. Cache font list so that it is not re-created
861 everytime the list is requested.
862 * src/object-editor-text-page.c:
863 (gl_object_editor_set_font_family):
864 Don't change font-family if it hasn't actually changed.
866 2008-10-19 Jim Evins <evins@snaught.com>
868 * data/builder/object-editor.glade:
869 Some tweaking of builder/glade widgets.
871 2008-10-18 Jim Evins <evins@snaught.com>
873 Migrated all use of libglade to GtkBuilder.
875 * data/glade/Makefile.am:
876 * data/glade/merge-properties-dialog.glade:
877 * data/glade/new-label-dialog.glade:
878 * data/glade/object-editor.glade:
879 * data/glade/prefs-dialog.glade:
880 * data/glade/print-custom-widget.glade:
881 * data/glade/property-bar.glade:
882 * data/glade/template-designer.glade:
883 * data/glade/wdgt-media-select.glade:
884 Removed data/glade directory.
885 * data/builder/Makefile.am:
886 * data/builder/merge-properties-dialog.glade:
887 * data/builder/new-label-dialog.glade:
888 * data/builder/object-editor.glade:
889 * data/builder/prefs-dialog.glade:
890 * data/builder/print-custom-widget.glade:
891 * data/builder/property-bar.glade:
892 * data/builder/template-designer.glade:
893 * data/builder/wdgt-media-select.glade:
894 Added data/builder directory.
898 Change glade to builder.
899 * src/merge-properties-dialog.c:
900 (gl_merge_properties_dialog_finalize),
901 (gl_merge_properties_dialog_construct):
902 * src/new-label-dialog.c: (gl_new_label_dialog_finalize),
903 (gl_new_label_dialog_construct):
904 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
905 * src/object-editor-data-page.c:
906 (gl_object_editor_prepare_data_page):
907 * src/object-editor-edit-page.c:
908 (gl_object_editor_prepare_edit_page):
909 * src/object-editor-fill-page.c:
910 (gl_object_editor_prepare_fill_page):
911 * src/object-editor-image-page.c:
912 (gl_object_editor_prepare_image_page):
913 * src/object-editor-line-page.c:
914 (gl_object_editor_prepare_line_page):
915 * src/object-editor-lsize-page.c:
916 (gl_object_editor_prepare_lsize_page):
917 * src/object-editor-position-page.c:
918 (gl_object_editor_prepare_position_page):
919 * src/object-editor-private.h:
920 * src/object-editor-shadow-page.c:
921 (gl_object_editor_prepare_shadow_page):
922 * src/object-editor-size-page.c:
923 (gl_object_editor_prepare_size_page):
924 * src/object-editor-text-page.c:
925 (gl_object_editor_prepare_text_page):
926 * src/object-editor.c: (gl_object_editor_init):
927 * src/prefs-dialog.c: (gl_prefs_dialog_init),
928 (gl_prefs_dialog_construct), (construct_locale_page),
929 (construct_object_page):
930 * src/print-op.c: (gl_print_op_finalize),
931 (create_custom_widget_cb):
932 * src/template-designer.c: (gl_template_designer_class_init),
933 (gl_template_designer_finalize), (gl_template_designer_construct),
934 (construct_start_page), (construct_name_page),
935 (construct_pg_size_page), (construct_shape_page),
936 (construct_rect_size_page), (construct_round_size_page),
937 (construct_cd_size_page), (construct_nlayouts_page),
938 (construct_layout_page), (construct_finish_page):
939 * src/template-designer.h:
940 * src/ui-property-bar.c: (gl_ui_property_bar_init),
941 (gl_ui_property_bar_finalize), (gl_ui_property_bar_new),
942 (gl_ui_property_bar_construct), (reset_to_default_properties),
943 (gl_ui_property_bar_set_view), (gl_ui_property_bar_set_tooltips),
944 (update_text_properties), (update_fill_color), (update_line_color),
945 (update_line_width), (selection_changed_cb),
946 (font_family_changed_cb), (font_size_changed_cb),
947 (text_color_changed_cb), (fill_color_changed_cb),
948 (line_color_changed_cb), (line_width_changed_cb),
949 (font_bold_toggled_cb), (font_italic_toggled_cb),
950 (text_align_toggled_cb), (set_doc_items_sensitive),
951 (set_text_items_sensitive), (set_fill_items_sensitive),
952 (set_line_color_items_sensitive), (set_line_width_items_sensitive):
953 * src/ui-property-bar.h:
954 * src/util.c: (gl_util_get_builder_widgets):
956 * src/wdgt-media-select.c: (gl_wdgt_media_select_finalize),
957 (gl_wdgt_media_select_construct):
958 Migration of glade to builder.
960 New macros for color combo initialization.
962 Added idea for internal merge database.
963 * docs/libglabels/libglabels-undocumented.txt:
964 * docs/libglabels/tmpl/paper.sgml:
968 2008-10-12 Jim Evins <evins@snaught.com>
970 * src/mygal/Makefile.am:
971 * src/mygal/color-group.c:
972 * src/mygal/color-group.h:
973 * src/mygal/color-palette.c:
974 * src/mygal/color-palette.h:
975 * src/mygal/e-colors.c:
976 * src/mygal/e-colors.h:
977 * src/mygal/e-marshal.list:
978 * src/mygal/e-util.h:
979 * src/mygal/mygal-combo-box.c:
980 * src/mygal/mygal-combo-box.h:
981 * src/mygal/widget-color-combo.c:
982 * src/mygal/widget-color-combo.h:
988 * src/color-combo-color-menu-item.c:
989 * src/color-combo-color-menu-item.h:
990 * src/color-combo-history.c:
991 * src/color-combo-history.h:
992 * src/color-combo-menu.c:
993 * src/color-combo-menu.h:
998 Created new glColorCombo widget.
999 * src/object-editor-bc-page.c:
1000 * src/object-editor-edit-page.c:
1001 * src/object-editor-fill-page.c:
1002 * src/object-editor-line-page.c:
1003 * src/object-editor-shadow-page.c:
1004 * src/object-editor-text-page.c:
1005 * src/object-editor.c:
1006 * src/prefs-dialog.c:
1007 * src/ui-property-bar.c:
1008 Replaced use of mygal color combo with new glColorCombo widget.
1010 2008-08-29 Jim Evins <evins@snaught.com>
1012 * src/file.c: (gl_file_open), (gl_file_save_as):
1013 Bug #2069668. Corrected button order in Open and "Save as"
1016 2008-08-17 Jim Evins <evins@snaught.com>
1018 * data/dtd/glabels-2.2.dtd:
1019 * data/templates/paper-sizes.xml:
1020 * libglabels/db.c: (lgl_db_init):
1021 * libglabels/paper.c: (lgl_paper_new), (lgl_paper_dup), (lgl_paper_free):
1022 * libglabels/paper.h:
1023 * libglabels/xml-paper.c: (lgl_xml_paper_parse_paper_node):
1024 * src/print-op.c: (set_page_size):
1025 Bug #2049431. Always explicitely set page size. Added pwg_size field (PWG 5101.1-2002
1026 size specification) to the libglabels paper database to allow the page size to be
1027 communicated to GtkPrintOp un-ambiguously.
1029 2008-07-25 Jim Evins <evins@snaught.com>
1031 * src/object-editor-size-page.c: (size_reset_cb),
1032 (gl_object_editor_set_max_size):
1033 Bug #1993550. Set size limits based on longest side of label.
1035 2008-07-19 Jim Evins <evins@snaught.com>
1038 * src/mygal/Makefile.am:
1039 Make sure libtool handles library dependencies for mygal
1042 2008-05-21 Jim Evins <evins@snaught.com>
1044 * src/glabels-batch.c: (main):
1045 Bug #1968653. Initialize prefs subsystem.
1047 2008-05-09 Jim Evins <evins@snaught.com>
1049 * data/glade/object-editor.glade:
1050 Bug #1959135. A couple of radio buttons somehow became
1053 2008-04-07 Jim Evins <evins@snaught.com>
1055 * src/wdgt-rotate-label.h:
1056 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_init),
1057 (gl_wdgt_rotate_label_new), (toggled_cb), (create_pixbuf),
1058 (gl_wdgt_rotate_label_get_state), (gl_wdgt_rotate_label_set_state),
1059 (gl_wdgt_rotate_label_set_template_name):
1060 Modified wdgt-rotate-label to better indicate the rotation choices.
1061 * data/glade/Makefile.am:
1062 * data/glade/wdgt-rotate-label.glade:
1063 Deleted wdgt-rotate-label.glade.
1065 2008-04-04 Jim Evins <evins@snaught.com>
1067 * data/templates/brother-other-templates.xml:
1068 Added categories to existing templates.
1069 * data/templates/misc-other-templates.xml:
1070 Moved dymo templates to their own file.
1071 * data/templates/Makefile.am:
1072 * data/templates/dymo-other-templates.xml:
1073 Additional dymo templates provided by Harald Welte <laforge@gnumonks.org>.
1075 Acknowledgement for above templates.
1077 2008-03-24 Jim Evins <evins@snaught.com>
1079 * src/xml-label.c: (xml_doc_to_label):
1080 Bug #1872584. Don't refuse to parse label file if namespace is
1081 unrecognized -- it may be from a newer version of glabels.
1083 2008-03-15 Jim Evins <evins@snaught.com>
1085 * data/templates/Makefile.am:
1086 * data/templates/brother-other-templates.xml:
1087 Added brother templates.
1088 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
1089 (gl_cairo_markup_margin_cd_path):
1090 * src/view.c: (draw_markup_layer):
1091 Fixed markup drawing errors when label is rotated.
1093 2008-03-03 Jim Evins <evins@snaught.com>
1097 Added korean translation provided by xein@naver.com.
1099 2008-02-21 Jim Evins <evins@snaught.com>
1102 Fixed typo that prevented "Save" from being deactivated when
1103 document is not modified.
1105 2008-02-18 Jim Evins <evins@snaught.com>
1107 * src/prefs-model.c: (gl_prefs_model_save_settings),
1108 (gl_prefs_model_load_settings):
1109 Set default units for file output.
1111 2008-02-18 Jim Evins <evins@snaught.com>
1113 * help/C/glabels.xml:
1114 Fixed example template.
1116 2008-02-16 Jim Evins <evins@snaught.com>
1119 * data/templates/avery-iso-templates.xml:
1120 * data/templates/avery-us-templates.xml:
1121 * data/templates/misc-iso-templates.xml:
1122 * data/templates/misc-us-templates.xml:
1123 Caught up on user submitted templates.
1125 2008-02-04 Jim Evins <evins@snaught.com>
1127 * src/view-image.c: (update_object_from_editor_cb):
1128 Bug #1886438. Don't update the image size unless it is actually
1129 triggered by a change in image source. The result of this bug
1130 was that any attempt to edit the size spinboxes, immediately
1133 2008-02-03 Jim Evins <evins@snaught.com>
1135 * src/label-image.c: (gl_label_image_class_init), (set_size):
1136 Enforce minimum size for images.
1138 2008-02-03 Jim Evins <evins@snaught.com>
1140 * src/object-editor-edit-page.c: (field_selected_cb):
1141 * src/object-editor-lsize-page.c: (gl_object_editor_set_max_lsize):
1142 * src/object-editor-private.h:
1143 * src/object-editor-shadow-page.c:
1144 (gl_object_editor_set_max_shadow_offset):
1145 * src/object-editor-size-page.c: (gl_object_editor_set_max_size):
1146 * src/object-editor.c: (gl_object_editor_finalize),
1147 (gl_object_editor_new), (gl_object_notebook_construct_valist),
1149 * src/object-editor.h:
1150 * src/ui-sidebar.c: (gl_ui_sidebar_construct):
1151 * src/view-barcode.c: (construct_properties_editor):
1152 * src/view-box.c: (construct_properties_editor):
1153 * src/view-ellipse.c: (construct_properties_editor):
1154 * src/view-image.c: (construct_properties_editor):
1155 * src/view-line.c: (construct_properties_editor):
1156 * src/view-object.c: (gl_view_object_finalize):
1157 * src/view-text.c: (construct_properties_editor),
1158 Move update_editor_from_label callback from individual view objects
1159 to the object editor, so that signals can be disconnected when
1160 object editor is finalized.
1161 * src/view-text.c: (gl_view_text_create_button_press_event):
1162 Fixed bug that caused multiple view objects to be created for a
1163 single text object. This bug would manifest itself as a crash
1164 when deleting multi-object selections which included text objects.
1166 2008-02-02 Jim Evins <evins@snaught.com>
1169 * src/wdgt-merge-menu.c:
1170 * src/wdgt-merge-menu.h:
1171 * src/debug.c: (gl_debug_init):
1174 New merge menu widget.
1175 * data/glade/object-editor.glade:
1176 * src/object-editor-private.h:
1177 * src/object-editor.c: (gl_object_editor_set_key_names):
1178 * src/object-editor-edit-page.c:
1179 (gl_object_editor_prepare_edit_page), (field_selected_cb),
1181 Simplified UI for inserting fields into text objects by launching
1182 a merge menu and directly inserting fields from the menu. No more
1183 selecting field in combobox, then pressing insert button.
1185 2008-01-31 Jim Evins <evins@snaught.com>
1187 * src/label-barcode.c: (draw_object):
1188 Fixed rendering problem when "Invalid data" is displayed when text
1189 object is lower in stacking order.
1191 2008-01-30 Jim Evins <evins@snaught.com>
1193 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
1194 Don't turn off cairo_hint_metrics. This causes serious issues with
1197 2008-01-29 Jim Evins <evins@snaught.com>
1199 * src/print-op.c: (gl_print_op_construct),
1200 (gl_print_op_construct_batch), (set_page_size):
1201 Explicitly set page size for "other" page sizes.
1203 2008-01-25 Jim Evins <evins@snaught.com>
1206 Fixed Code128C backend parameters.
1207 * src/label-barcode.c: (get_size):
1208 Bug #1766425. If barcode is not renderable with either
1209 input data or default data, use a default size. Also
1212 2008-01-16 Jim Evins <evins@snaught.com>
1214 * src/print.c: (print_label):
1215 Bug #1872568. Don't apply special transforms (rotate and
1216 mirror) to clipping region or outline.
1218 2008-01-01 Jim Evins <evins@snaught.com>
1221 Sort font lists alphabetically.
1223 2008-01-01 Jim Evins <evins@snaught.com>
1225 * src/merge-evolution.c:
1226 Do a case-insensitive sort.
1228 2008-01-01 Jim Evins <evins@snaught.com>
1230 * src/merge-evolution.c:
1231 Sort evolution by "file_under" field. Original patch provided
1232 by Peter Cherriman <glabels-devel2712@bubieyehyeh.me.uk> in
1235 Added acknowledgement for above patch.
1237 2008-01-01 Jim Evins <evins@snaught.com>
1242 Reconcile with 2.2 branch.
1245 2007-12-21 Jim Evins <evins@snaught.com>
1247 * COPYING.LIBGLABELS:
1248 * COPYING.README_FIRST:
1250 Updating license information to make more complete and understandable.
1252 2007-12-16 Jim Evins <evins@snaught.com>
1255 Updated version to 2.pre2.
1256 * help/C/glabels.xml:
1257 Updated documentation.
1258 * src/ui-commands.c: (gl_ui_cmd_help_about):
1259 Updated copyright string.
1261 2007-12-15 Jim Evins <evins@snaught.com>
1263 * data/glade/object-editor.glade:
1264 Removed any GtkTable that contained a GtkComboBox because the size of
1265 the combo box was not constrained properly. This sacrifices the nice
1266 orderly labels for combo boxes that don't extend beyond the edge of the
1269 2007-12-15 Jim Evins <evins@snaught.com>
1271 * libglabels/db.c: (lgl_db_lookup_template_from_name):
1272 * src/object-editor.c: (gl_object_editor_finalize):
1273 * src/wdgt-media-select.c: (gl_wdgt_media_select_finalize):
1274 Fixed several small memory leaks.
1276 2007-12-14 Jim Evins <evins@snaught.com>
1279 Optimize template search by name by using a GHashTable.
1280 * src/mini-preview-pixbuf-cache.c:
1281 * src/mini-preview-pixbuf-cache.h:
1282 Store one pixbuf per template, but use a key for each alias.
1283 * src/wdgt-media-select.c:
1284 Optimize loading of tree data, thus optimizing the "new label" dialog.
1286 2007-12-12 Jim Evins <evins@snaught.com>
1288 * data/templates/avery-us-templates.xml:
1289 More templates and aliases.
1291 2007-12-08 Jim Evins <evins@snaught.com>
1294 More prep for 2.1.5/2.2.0.
1296 2007-12-08 Jim Evins <evins@snaught.com>
1302 Preparation for 2.1.5.
1304 2007-12-08 Jim Evins <evins@snaught.com>
1306 * docs/libglabels/libglabels-decl-list.txt:
1307 * docs/libglabels/libglabels-docs.sgml:
1308 * docs/libglabels/libglabels-sections.txt:
1309 * docs/libglabels/libglabels-undocumented.txt:
1310 * docs/libglabels/tmpl/db.sgml:
1311 * docs/libglabels/tmpl/str.sgml:
1313 Documentation cleanup for libglabels.
1315 2007-11-29 Jim Evins <evins@snaught.com>
1319 Added lgl_db_does_template_name_exist().
1320 In lgl_db_lookup_template_from_name() substitute brand/part of new template from
1322 * src/prefs-model.c:
1323 Proof read recent templates -- make sure they still exist.
1324 * src/wdgt-media-select.c:
1325 Default to "search all templates" tab if no recent templates found.
1327 2007-11-28 Jim Evins <evins@snaught.com>
1329 * data/glade/wdgt-media-select.glade:
1330 * src/wdgt-media-select.c:
1331 Added tabbed notebook to allow selection of recent template versus searching the
1335 2007-11-26 Jim Evins <evins@snaught.com>
1337 * libglabels/Makefile.am:
1338 * libglabels/libglabels.h:
1341 * src/prefs-dialog.c:
1342 * src/prefs-model.c:
1343 * src/prefs-model.h:
1346 Added tracking of recently used templates.
1348 2007-11-20 Jim Evins <evins@snaught.com>
1350 * data/glade/template-designer.glade:
1351 * src/template-designer.c:
1352 Added warning icon when match brand and part match an existing template.
1354 2007-11-18 Jim Evins <evins@snaught.com>
1356 * libglabels/Makefile.am:
1359 Added lgl_str_utf8_casecmp().
1360 * libglabels/libglabels-private.h:
1361 Use lgl_str_utf8_casecmp() for UTF8_EQUAL macro -- do case insensitive comparisons.
1362 * libglabels/db.c: (lgl_db_get_brand_list):
1363 Use lgl_str_utf8_casecmp() to determine if we have seen brand before when building
1366 2007-11-18 Jim Evins <evins@snaught.com>
1368 * data/glade/template-designer.glade:
1369 * src/template-designer.c:
1370 Don't advance past name page, if brand and part match an existing template.
1372 2007-11-18 Jim Evins <evins@snaught.com>
1374 * libglabels/db.c: (lgl_db_register_template), (read_templates):
1375 When registering a new template, don't add to "User defined" category before
1376 writing to file. Add to "User defined" category when reading from "~/.glabels"
1377 directory instead. This will allow legacy templates (and manually created
1378 templates) to be automatically added to the "user defined" category.
1379 * libglabels/xml-template.c:
1380 (lgl_xml_template_create_template_node):
1381 Fixed typo/bug causing brand to be wrong.
1383 2007-11-16 Jim Evins <evins@snaught.com>
1387 Added return codes to lgl_db_register_template(). Added lgl_db_does_template_exist()
1388 function. Automatically create "User defined" category and add to all user
1389 registered templates.
1390 * libglabels/xml-template.c:
1391 * libglabels/xml-template.h:
1392 Return number of bytes written from lgl_xml_template_write_templates_to_file() and
1393 lgl_xml_template_write_template_to_file().
1394 * docs/libglabels/libglabels-decl-list.txt:
1395 * docs/libglabels/libglabels-sections.txt:
1396 * docs/libglabels/libglabels-undocumented.txt:
1397 * docs/libglabels/tmpl/db.sgml:
1398 * docs/libglabels/tmpl/xml-template.sgml:
1399 Update documentation to reflect above changes.
1401 2007-10-28 Jim Evins <evins@snaught.com>
1403 * libglabels/xml-template.c:
1404 Remove any leading white space from part #s when parsing old names.
1405 * src/mini-preview-pixbuf-cache.c:
1406 If name isn't in cache add it.
1408 2007-10-26 Jim Evins <evins@snaught.com>
1410 * libglabels/Makefile.am:
1411 * libglabels/category.c:
1412 * libglabels/category.h:
1415 * libglabels/libglabels-private.h:
1416 * libglabels/libglabels.h:
1417 * libglabels/paper.c:
1418 * libglabels/paper.h:
1419 * libglabels/template.c:
1420 * libglabels/template.h:
1421 * libglabels/xml-template.c:
1422 Another pass at screwing with the libglabels API. Moved all
1423 database related stuff to db.[ch].
1424 * docs/libglabels/libglabels-decl-list.txt:
1425 * docs/libglabels/libglabels-docs.sgml:
1426 * docs/libglabels/libglabels-sections.txt:
1427 * docs/libglabels/libglabels-undocumented.txt:
1428 * docs/libglabels/tmpl/category.sgml:
1429 * docs/libglabels/tmpl/db.sgml:
1430 * docs/libglabels/tmpl/init.sgml:
1431 * docs/libglabels/tmpl/libglabels-unused.sgml:
1432 * docs/libglabels/tmpl/paper.sgml:
1433 * docs/libglabels/tmpl/template-construction.sgml:
1434 * docs/libglabels/tmpl/template-db.sgml:
1435 * docs/libglabels/tmpl/template-misc.sgml:
1436 * docs/libglabels/tmpl/template-struct.sgml:
1437 * docs/libglabels/tmpl/template.sgml:
1438 Updated documentation to reflect above changes to libglabels API.
1440 * src/glabels-batch.c:
1442 * src/mini-preview-pixbuf-cache.c:
1443 * src/prefs-model.c:
1445 * src/template-designer.c:
1446 * src/wdgt-media-select.c:
1447 * src/wdgt-mini-preview.c:
1448 * src/wdgt-rotate-label.c:
1449 * src/xml-label-04.c:
1451 Reconciled usage with above libglabels API changes.
1453 2007-10-21 Jim Evins <evins@snaught.com>
1455 * data/glade/wdgt-media-select.glade:
1456 * src/wdgt-media-select.c:
1457 Added brand to filter settings.
1459 2007-10-21 Jim Evins <evins@snaught.com>
1461 * data/dtd/glabels-2.2.dtd:
1462 Forgot to replace Alias name attribute with brand and part attributes.
1463 * data/templates/avery-iso-templates.xml:
1464 * data/templates/avery-other-templates.xml:
1465 * data/templates/avery-us-templates.xml:
1466 * data/templates/misc-iso-templates.xml:
1467 * data/templates/misc-other-templates.xml:
1468 * data/templates/misc-us-templates.xml:
1469 * data/templates/zweckform-iso-templates.xml:
1470 Replaced all name attributes with brand/part attribute pairs.
1472 2007-10-20 Jim Evins <evins@snaught.com>
1474 * src/stock-pixmaps/*.png
1475 Updated icons to use Tango color palette.
1477 2007-10-20 Jim Evins <evins@snaught.com>
1479 * data/dtd/Makefile.am:
1480 * data/dtd/glabels-2.0.dtd:
1481 * data/dtd/glabels-2.2.dtd:
1482 Rename glabels-2.0.dtd to glabels-2.2.dtd. Added brand and part attributes to
1484 * libglabels/template.c:
1485 * libglabels/template.h:
1486 * libglabels/xml-template.c:
1488 Added brand and part attributes to template and alias structures and nodes.
1491 * src/mini-preview-pixbuf-cache.c:
1492 * src/template-designer.c:
1493 * src/wdgt-media-select.c:
1494 Use modified libglabels API.
1495 * docs/libglabels/libglabels-decl-list.txt:
1496 * docs/libglabels/libglabels-sections.txt:
1497 * docs/libglabels/libglabels-undocumented.txt:
1498 * docs/libglabels/tmpl/template-construction.sgml:
1499 * docs/libglabels/tmpl/template-db.sgml:
1500 * docs/libglabels/tmpl/template-struct.sgml:
1501 Update libglabels documentation to reflect above modifications.
1503 2007-10-14 Jim Evins <evins@snaught.com>
1505 * docs/libglabels/libglabels-decl-list.txt:
1506 * docs/libglabels/libglabels-sections.txt:
1507 * docs/libglabels/libglabels-undocumented.txt:
1508 * docs/libglabels/tmpl/category.sgml:
1509 * libglabels/category.c:
1510 * libglabels/category.h:
1511 Added lgl_category_get_id_list() and lgl_category_free_id_list() to have
1512 parity with paper functions.
1514 2007-10-12 Jim Evins <evins@snaught.com>
1516 * docs/libglabels/libglabels-decl-list.txt:
1517 * docs/libglabels/libglabels-sections.txt:
1518 * docs/libglabels/libglabels-undocumented.txt:
1519 * docs/libglabels/tmpl/category.sgml:
1520 * docs/libglabels/tmpl/enums.sgml:
1521 * docs/libglabels/tmpl/libglabels-unused.sgml:
1522 * docs/libglabels/tmpl/paper.sgml:
1523 * docs/libglabels/tmpl/template-struct.sgml:
1524 * libglabels/init.c:
1525 * libglabels/template.c:
1526 * libglabels/template.h:
1527 Another pass at fleshing out the libglabels documentation.
1528 * src/cairo-label-path.c:
1529 * src/cairo-markup-path.c:
1531 * src/mini-preview-pixbuf.c:
1535 * src/wdgt-media-select.c:
1536 * src/wdgt-mini-preview.c:
1537 * src/wdgt-print-copies.c:
1538 * src/wdgt-print-merge.c:
1539 * src/wdgt-rotate-label.c:
1540 Removed lgl_template_get_first_frame() from libglabels API and all references.
1542 2007-10-11 Jim Evins <evins@snaught.com>
1544 Extended checks for deprecated symbols.
1545 * libglabels/template.c:
1546 Removed g_strcasecmp references, which are deprecated.
1548 2007-10-09 Jim Evins <evins@snaught.com>
1550 * src/merge-evolution.c:
1551 Create address book if it does not exist. Also, be more robust about handling
1552 error conditions -- don't just assume GError has been set.
1554 2007-10-08 Jim Evins <evins@snaught.com>
1556 * libglabels/template.c:
1557 * libglabels/xml-template.c:
1558 * src/template-designer.c:
1559 Missed some symbols with libglabels API work.
1561 2007-10-01 Jim Evins <evins@snaught.com>
1563 * docs/libglabels/libglabels-decl-list.txt:
1564 * docs/libglabels/libglabels-docs.sgml:
1565 * docs/libglabels/libglabels-sections.txt:
1566 * docs/libglabels/libglabels-undocumented.txt:
1567 * docs/libglabels/tmpl/category.sgml:
1568 * docs/libglabels/tmpl/enums.sgml:
1569 * docs/libglabels/tmpl/init.sgml:
1570 * docs/libglabels/tmpl/libglabels-unused.sgml:
1571 * docs/libglabels/tmpl/paper.sgml:
1572 * docs/libglabels/tmpl/template-construction.sgml:
1573 * docs/libglabels/tmpl/template-db.sgml:
1574 * docs/libglabels/tmpl/template-misc.sgml:
1575 * docs/libglabels/tmpl/template-struct.sgml:
1576 * docs/libglabels/tmpl/template.sgml:
1577 * docs/libglabels/tmpl/xml-category.sgml:
1578 * docs/libglabels/tmpl/xml-template.sgml:
1579 * libglabels/category.h:
1580 * libglabels/init.c:
1581 * libglabels/libglabels-private.h:
1582 * libglabels/paper.h:
1583 * libglabels/template.c:
1584 * libglabels/template.h:
1585 * libglabels/xml-template.h:
1586 Basic documentation framework for libglabels updated. This still needs some
1589 2007-09-27 Jim Evins <evins@snaught.com>
1591 * docs/libglabels/libglabels-decl-list.txt:
1592 * docs/libglabels/libglabels-docs.sgml:
1593 * docs/libglabels/libglabels-sections.txt:
1594 * docs/libglabels/libglabels-undocumented.txt:
1595 * docs/libglabels/tmpl/enums.sgml:
1596 * docs/libglabels/tmpl/init.sgml:
1597 * docs/libglabels/tmpl/libglabels-unused.sgml:
1598 * docs/libglabels/tmpl/paper.sgml:
1599 * docs/libglabels/tmpl/template.sgml:
1600 * docs/libglabels/tmpl/xml-paper.sgml:
1601 * docs/libglabels/tmpl/xml-template.sgml:
1602 * docs/libglabels/tmpl/xml.sgml:
1603 * libglabels/Makefile.am:
1604 * libglabels/category.c:
1605 * libglabels/category.h:
1606 * libglabels/enums.h:
1607 * libglabels/init.c:
1608 * libglabels/init.h:
1609 * libglabels/libglabels-private.h:
1610 * libglabels/libglabels.h:
1611 * libglabels/paper.c:
1612 * libglabels/paper.h:
1613 * libglabels/template.c:
1614 * libglabels/template.h:
1615 * libglabels/xml-category.c:
1616 * libglabels/xml-category.h:
1617 * libglabels/xml-paper.c:
1618 * libglabels/xml-paper.h:
1619 * libglabels/xml-template.c:
1620 * libglabels/xml-template.h:
1623 * src/cairo-label-path.c:
1624 * src/cairo-label-path.h:
1625 * src/cairo-markup-path.c:
1626 * src/cairo-markup-path.h:
1628 * src/glabels-batch.c:
1630 * src/label-object.c:
1633 * src/mini-preview-pixbuf-cache.c:
1634 * src/mini-preview-pixbuf.c:
1635 * src/mini-preview-pixbuf.h:
1636 * src/prefs-dialog.c:
1637 * src/prefs-model.c:
1638 * src/prefs-model.h:
1643 * src/template-designer.c:
1644 * src/view-barcode.c:
1646 * src/view-ellipse.c:
1650 * src/wdgt-media-select.c:
1651 * src/wdgt-mini-preview.c:
1652 * src/wdgt-mini-preview.h:
1653 * src/wdgt-print-copies.c:
1654 * src/wdgt-print-merge.c:
1655 * src/wdgt-rotate-label.c:
1656 * src/xml-label-04.c:
1658 Major cleanup of libglabels API -- this breaks API compatibility with older
1659 development and stable versions -- as far as I know, there are currently
1660 no external users of this library yet.
1662 2007-09-14 Jim Evins <evins@snaught.com>
1667 * src/label-object.c:
1668 * src/label-object.h:
1669 * src/label-barcode.c:
1670 * src/label-ellipse.c:
1672 * src/view-object.c:
1673 * src/view-barcode.c:
1675 * src/view-ellipse.c:
1679 Better separation of model from view.
1681 2007-08-21 Jim Evins <evins@snaught.com>
1683 * src/print-op.c: (create_custom_widget_cb):
1684 Fix problem with force_outline_flag -- don't override with default.
1686 2007-08-21 Jim Evins <evins@snaught.com>
1688 * data/dtd/glabels-2.0.dtd:
1689 * libglabels/template.c:
1690 * libglabels/template.h:
1691 * libglabels/xml-template.c:
1692 * src/cairo-markup-path.c:
1693 Added "Markup-rect" element to template format.
1695 2007-08-21 Jim Evins <evins@snaught.com>
1698 Changed version to 2.1.pre5svn.
1699 * src/view.c: (draw_markup_layer):
1700 Do a stroke for each markup path, otherwise multiple markups
1703 2007-08-17 Jim Evins <evins@snaught.com>
1706 Bump libglabels revision numbers for 2.1.4 release.
1708 2007-08-16 Jim Evins <evins@snaught.com>
1711 Include subdir iec16022-0.2.1.
1715 Preparation for 2.1.4.
1718 2007-08-11 Jim Evins <evins@snaught.com>
1724 Added Esperanto translation. Provided by Antonio C.
1725 Codazzi "la Filozofo" <f_sophia@libero.it>.
1727 Updated French translation. Provided by Claude Paroz
1728 <claude@2xlibre.net>.
1730 Updated to reflect above translations.
1732 2007-08-11 Jim Evins <evins@snaught.com>
1735 * data/templates/avery-iso-templates.xml:
1736 * data/templates/avery-us-templates.xml:
1737 * data/templates/misc-iso-templates.xml:
1738 * data/templates/misc-other-templates.xml:
1739 * data/templates/misc-us-templates.xml:
1740 * data/templates/zweckform-iso-templates.xml:
1741 Caught up with backlog of template submissions.
1743 2007-08-10 Jim Evins <evins@snaught.com>
1745 * src/bc-postnet.c: (gl_barcode_postnet_new):
1747 Added support for Brazilian CEPNet barcodes. This is simply an
1748 instance of the US POSTNET format with 8 digits. Patch supplied
1749 by Mário Meyer in bug # 1768792.
1751 Updated acknowledgments to reflect above patch and recent shuffling
1752 of underlying technology.
1754 2007-05-13 Jim Evins <evins@snaught.com>
1756 * src/merge-text.c: (parse_line), (parse_field):
1757 Remove leading and trailing spaces from CSV fields, unless quoted.
1759 2007-05-09 Jim Evins <evins@snaught.com>
1761 * src/object-editor-bc-page.c:
1762 * src/object-editor-data-page.c:
1763 * src/object-editor-fill-page.c:
1764 * src/object-editor-image-page.c:
1765 * src/object-editor-line-page.c:
1766 * src/object-editor-lsize-page.c:
1767 * src/object-editor-position-page.c:
1768 * src/object-editor-private.h:
1769 * src/object-editor-shadow-page.c:
1770 * src/object-editor-size-page.c:
1771 * src/object-editor-text-page.c:
1772 * src/object-editor.c:
1773 * src/prefs-dialog.c:
1774 * src/template-designer.c:
1775 * src/ui-property-bar.c:
1776 * src/wdgt-media-select.c:
1777 Replaced signal block/unblock pairs with simple flags. This reduces
1778 some code clutter, hopefully making it easier to read.
1780 2007-05-05 Jim Evins <evins@snaught.com>
1782 * src/template-designer.c: (apply_cb):
1783 Add new template to mini-preview pixbuf cache.
1785 2007-05-03 Jim Evins <evins@snaught.com>
1787 * src/label-image.c: (gl_label_image_init), (draw_object):
1788 Scale default pixbuf up, to prevent bluring. Use cairo_fill to
1791 2007-05-02 Jim Evins <evins@snaught.com>
1793 * src/view.c: (draw_select_region_layer), (motion_notify_event_cb),
1794 (button_release_event_cb):
1795 Removed attempt at rendering optimization by clipping the updates
1796 to areas affected -- this actually seemed to hurt update performance.
1798 2007-04-30 Jim Evins <evins@snaught.com>
1801 * src/color.c: (gl_color_shadow), (gl_color_node_new_default),
1802 (gl_color_node_equal), (gl_color_node_expand):
1803 * src/label-barcode.c: (draw_object):
1804 * src/label-box.c: (draw_object), (draw_shadow):
1805 * src/label-ellipse.c: (draw_object), (draw_shadow):
1806 * src/label-line.c: (draw_object), (draw_shadow):
1807 * src/label-text.c: (draw_object), (draw_shadow):
1808 * src/wdgt-mini-preview.c: (draw_shadow), (draw_labels):
1809 * src/wdgt-rotate-label.c: (drawingarea_update):
1810 Some cleanup to color related code.
1812 2007-04-30 Jim Evins <evins@snaught.com>
1815 Added glLabelRegion structure type.
1816 * src/label-object.c: (gl_label_object_get_extent):
1817 * src/label-object.h:
1818 Modified gl_label_object_get_extent() to fill in a glLabelRegion struct.
1820 * src/view.c: (gl_view_update_region), (draw_select_region_layer),
1821 (gl_view_select_region), (gl_view_align_selection_left),
1822 (gl_view_align_selection_right), (gl_view_align_selection_hcenter),
1823 (gl_view_align_selection_top), (gl_view_align_selection_bottom),
1824 (gl_view_align_selection_vcenter),
1825 (gl_view_center_selection_horiz), (gl_view_center_selection_vert),
1826 (gl_view_move_selection), (gl_view_can_selection_text),
1827 (motion_notify_event_cb), (button_press_event_cb),
1828 (button_release_event_cb):
1829 - Reconcile with new gl_label_object_get_extent() API.
1830 - Use glLabelRegion for view->select_region.
1831 - Added gl_view_update_region() to clip updates to region.
1832 - Use gl_view_update_region() during manipulation of view->select_region.
1834 2007-04-26 Jim Evins <evins@snaught.com>
1836 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
1837 (draw_label_outline):
1838 * src/print.c: (print_crop_marks), (draw_outline):
1839 * src/view-object.c: (gl_view_object_draw_handles):
1840 * src/view.c: (draw_bg_layer), (draw_grid_layer),
1841 (draw_markup_layer), (draw_fg_layer), (draw_select_region_layer):
1842 * src/wdgt-mini-preview.c: (draw_paper), (draw_labels):
1843 * src/wdgt-rotate-label.c: (drawingarea_update):
1844 Added defines for various magic numbers.
1846 2007-04-25 Jim Evins <evins@snaught.com>
1848 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
1849 Scale text down. Cairo seems to render text too large.
1851 2007-04-25 Jim Evins <evins@snaught.com>
1854 * src/view.c: (gl_view_update), (expose_cb),
1855 (motion_notify_event_cb), (button_press_event_cb),
1856 (button_release_event_cb):
1857 - Try not to let updates get backed up.
1858 - Grab pointer when doing any drag operations.
1860 2007-04-11 Jim Evins <evins@snaught.com>
1862 * src/cairo-label-path.c: (gl_cairo_label_path),
1863 (gl_cairo_rect_label_path), (gl_cairo_round_label_path),
1864 (gl_cairo_cd_label_path):
1865 * src/cairo-label-path.h:
1866 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
1867 (draw_label_outline):
1868 * src/print.c: (draw_outline), (clip_to_outline):
1869 * src/view.c: (draw_bg_layer), (draw_fg_layer):
1870 * src/wdgt-mini-preview.c: (draw_labels):
1871 * src/wdgt-rotate-label.c: (drawingarea_update):
1872 Modified to universally use gl_cairo_label_path() to create paths
1873 for labels. Added shadow to mini preview in rotate widget.
1875 2007-04-10 Jim Evins <evins@snaught.com>
1877 * libglabels/template.h:
1878 * libglabels/template.c: (gl_template_get_name_list_unique),
1879 (gl_template_get_name_list_all), (gl_template_from_name):
1880 Modified libglabels to allow you to get a list of all template names
1881 including all aliases or just a list of primary names of each unique
1884 * src/file.c: (gl_file_properties):
1885 * src/glabels.c: (main):
1886 * src/mini-preview-pixbuf-cache.h:
1887 * src/mini-preview-pixbuf-cache.c:
1888 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
1889 (filter_changed_cb), (load_list):
1890 Added mini-preview pixbuf cache, so that only one mini-preview is
1891 needed for a unique template and gets reused for all aliases. These
1892 pixbufs will also live for the life of the program so they are not
1893 rebuilt everytime a new label dialog is invoked.
1894 * src/mini-preview-pixbuf.c: (draw_paper),
1895 (draw_rect_label_outline), (draw_round_label_outline),
1896 (draw_cd_label_outline):
1897 Removed some comment artifacts.
1899 2007-04-04 Jim Evins <evins@snaught.com>
1901 * src/mini-preview-pixbuf.c: (gl_mini_preview_pixbuf_new),
1902 (draw_paper), (draw_label_outlines), (draw_rect_label_outline),
1903 (draw_round_label_outline), (draw_cd_label_outline):
1904 * src/wdgt-media-select.c: (load_list):
1905 * src/wdgt-rotate-label.c: (draw_cd_label_outline):
1906 Cosmetic enhancments to mini previews.
1908 2007-04-04 Jim Evins <evins@snaught.com>
1910 * src/ui-property-bar.c: (gl_ui_property_bar_finalize),
1911 (gl_ui_property_bar_construct):
1912 Save copy of GladeXML tree so that we don't lose tooltips.
1914 2007-04-02 Jim Evins <evins@snaught.com>
1916 * src/merge-properties-dialog.c:
1917 * src/new-label-dialog.c:
1918 * src/object-editor.c:
1919 * src/prefs-dialog.c:
1921 * src/template-designer.c:
1922 * src/ui-property-bar.c:
1923 * src/wdgt-media-select.c:
1924 * src/wdgt-rotate-label.c:
1925 Fixed several memory leaks.
1927 2007-04-01 Jim Evins <evins@snaught.com>
1929 * src/label-text.c: (gl_label_text_init), (copy),
1930 (gl_label_text_set_lines), (buffer_changed_cb), (get_size),
1931 (set_font_family), (set_font_size), (set_font_weight),
1932 (set_font_italic_flag), (set_text_alignment),
1933 (set_text_line_spacing):
1934 Cache object size, so that expensive extent calculations are only done
1937 2007-03-30 Jim Evins <evins@snaught.com>
1939 * src/prefs-model.c: (gl_prefs_model_load_settings):
1940 Default to an unlimited list of recent documents, since this parameter
1941 seems to be pre-filter anyway.
1943 2007-03-30 Jim Evins <evins@snaught.com>
1945 * src/label-box.c: (draw_shadow):
1946 * src/label-ellipse.c: (draw_shadow):
1947 Added missing shadow fill.
1949 2007-03-28 Jim Evins <evins@snaught.com>
1951 * src/ui-commands.c: (gl_ui_cmd_file_print):
1952 Unreferencing the print operation sometimes crashes. Just don't do it
1955 2007-03-28 Jim Evins <evins@snaught.com>
1957 * src/print-op.c: (gl_print_op_construct),
1958 (gl_print_op_get_settings), (gl_print_op_set_settings),
1959 (gl_print_op_free_settings), (create_custom_widget_cb):
1961 * src/ui-commands.c: (gl_ui_cmd_file_print):
1962 * src/window.c: (gl_window_init):
1964 Save print settings and custom settings between print operations
1967 2007-03-24 Jim Evins <evins@snaught.com>
1969 * src/object-editor-image-page.c:
1970 (gl_object_editor_prepare_image_page),
1971 (gl_object_editor_set_image), (img_selection_changed_cb):
1972 Workaround for GtkFileChooserButton bug # 327243. This the root
1973 cause for gLabels bug # 1192884. I have actually observed 3 delayed
1974 "selection-changed" signals -- the first 2 return NULL -- this is
1975 what caused the image to reset to the default followed by setting
1976 it back to the original image, trying to fit it into a new bounding
1977 box. This sequence of events is much more evident with the new
1980 2007-03-23 Jim Evins <evins@snaught.com>
1982 Merged all changes from experimental cairo branch to trunk.
1983 Trunk no longer depends on libgnomecanvas or libgnomeprint[ui].
1985 2007-03-23 Jim Evins <evins@snaught.com>
1987 * src/label-object.h:
1988 * src/label-object.c: (gl_label_object_class_init),
1989 (gl_label_object_get_raw_size), (gl_label_object_get_size):
1990 Created "get_raw_size" method.
1991 * src/label-barcode.c: (get_size):
1992 * src/xml-label.c: (xml_create_object_text),
1993 (xml_create_object_barcode):
1994 Use new "get_raw_size" method on label-objects when apropos.
1996 * src/label-text.c: (get_size), (draw_object), (draw_shadow),
1997 (auto_shrink_font_size):
1998 Added "auto shrink" functionality back.
2000 2007-03-19 Jim Evins <evins@snaught.com>
2002 * src/label-text.c: (draw_object), (draw_shadow):
2003 Don't use negative scales in workaround from previous commit.
2006 2007-03-18 Jim Evins <evins@snaught.com>
2009 Forgot to remove include of xml-lable-191 in previous commit.
2010 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
2011 Workaround for pango Bug #341481. Render text at device scale,
2012 and scale font size accordingly. Also, don't do any hinting.
2014 2007-03-18 Jim Evins <evins@snaught.com>
2016 * src/cairo-ellipse-path.c:
2017 * src/cairo-ellipse-path.h:
2018 Forgot to add these new files during last mass commit.
2020 2007-03-18 Jim Evins <evins@snaught.com>
2023 * src/xml-label-191.c:
2024 * src/xml-label-191.h:
2025 Removed -- Very buggy. Version 1.91 is a very old "unstable" version,
2026 so there is no need to keep compatability.
2028 * src/bc-iec16022.c:
2029 * src/cairo-label-path.c:
2030 * src/cairo-label-path.h:
2031 * src/cairo-markup-path.c:
2035 * src/glabels-batch.c:
2037 * src/label-barcode.c:
2039 * src/label-ellipse.c:
2040 * src/label-image.c:
2042 * src/label-object.c:
2043 * src/label-object.h:
2047 * src/merge-properties-dialog.c:
2049 * src/new-label-dialog.c:
2050 * src/object-editor-bc-page.c:
2051 * src/object-editor-data-page.c:
2052 * src/object-editor-edit-page.c:
2053 * src/object-editor-fill-page.c:
2054 * src/object-editor-image-page.c:
2055 * src/object-editor-line-page.c:
2056 * src/object-editor-private.h:
2057 * src/object-editor-shadow-page.c:
2058 * src/object-editor-text-page.c:
2059 * src/object-editor.c:
2060 * src/pixbuf-cache.c:
2065 * src/template-designer.c:
2067 * src/ui-property-bar.c:
2069 * src/view-barcode.c:
2071 * src/view-ellipse.c:
2074 * src/view-object.c:
2075 * src/view-object.h:
2078 * src/wdgt-media-select.c:
2079 * src/wdgt-print-copies.c:
2080 * src/wdgt-print-merge.c:
2082 * src/xml-label-04.c:
2084 Many changes, including:
2085 - Move draw methods from view-*() to label-*().
2086 - Use same drawing code for on screen view and printing.
2087 - Fix all issues exposed with '-Wall -Werror'.
2089 2007-03-14 Jim Evins <evins@snaught.com>
2092 * src/cairo-handle-path.c:
2093 * src/cairo-handle-path.h:
2094 * src/cairo-object-path.c:
2095 * src/cairo-object-path.h:
2096 Removed cairo-handle-path.[ch] and cairo-object-path.[ch].
2097 * src/view-barcode.c: (gl_view_barcode_class_init), (draw_object),
2099 * src/view-box.c: (gl_view_box_class_init), (draw_object),
2100 (draw_shadow), (object_at):
2101 * src/view-ellipse.c: (gl_view_ellipse_class_init),
2102 (create_ellipse_path), (draw_object), (draw_shadow), (object_at):
2103 * src/view-image.c: (gl_view_image_class_init), (draw_object),
2105 * src/view-line.c: (gl_view_line_class_init), (draw_object),
2106 (draw_shadow), (object_at):
2107 * src/view-object.c: (gl_view_object_draw), (gl_view_object_at),
2108 (create_handle_path), (gl_view_object_draw_handles),
2109 (gl_view_object_handle_at):
2110 * src/view-object.h:
2111 * src/view-text.c: (gl_view_text_class_init), (draw_object),
2112 (draw_shadow), (object_at):
2113 * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
2114 Some restructuring of new code.
2116 2007-03-12 Jim Evins <evins@snaught.com>
2119 * src/cairo-object-path.c:
2120 * src/view-barcode.c:
2121 * src/view-barcode.h:
2123 Added barcode object support to view.
2125 2007-03-12 Jim Evins <evins@snaught.com>
2131 * src/cairo-object-path.c:
2132 * src/cairo-object-path.h:
2134 * src/view-ellipse.c:
2137 * src/view-object.c:
2138 * src/view-object.h:
2139 Added text object support to view. Added object_at method to all
2142 2007-03-11 Jim Evins <evins@snaught.com>
2145 * src/cairo-object-path.c: (gl_cairo_object_path),
2146 (gl_cairo_image_object_path):
2147 * src/view-image.c: (gl_view_image_class_init),
2148 (gl_view_image_finalize), (gl_view_image_new),
2149 (update_editor_from_label_cb), (draw),
2150 (gl_view_image_get_create_cursor),
2151 (gl_view_image_create_button_press_event),
2152 (gl_view_image_create_motion_event),
2153 (gl_view_image_create_button_release_event):
2155 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
2156 (selection_received_cb), (motion_notify_event_cb),
2157 (button_press_event_cb), (button_release_event_cb):
2158 Added image object support to view.
2160 2007-03-11 Jim Evins <evins@snaught.com>
2163 * src/cairo-object-path.c: (gl_cairo_object_path),
2164 (gl_cairo_line_object_path):
2165 * src/view-line.c: (gl_view_line_class_init), (gl_view_line_new),
2166 (update_object_from_editor_cb), (update_editor_from_object_cb),
2167 (update_editor_from_label_cb), (draw),
2168 (gl_view_line_get_create_cursor),
2169 (gl_view_line_create_button_press_event),
2170 (gl_view_line_create_motion_event),
2171 (gl_view_line_create_button_release_event):
2173 * src/view-object.c: (gl_view_object_resize_event):
2174 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
2175 (selection_received_cb), (motion_notify_event_cb),
2176 (button_press_event_cb), (button_release_event_cb):
2177 Added line object support to view.
2178 * src/cairo-handle-path.c:
2179 Made handles slightly larger.
2182 2007-03-11 Jim Evins <evins@snaught.com>
2185 * src/cairo-handle-path.c:
2186 * src/cairo-label-path.c: (gl_cairo_rect_label_path),
2187 (gl_cairo_round_label_path), (gl_cairo_cd_label_path):
2188 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
2189 (gl_cairo_markup_margin_round_path),
2190 (gl_cairo_markup_margin_cd_path), (gl_cairo_markup_circle_path):
2191 * src/cairo-object-path.c: (gl_cairo_object_path),
2192 (gl_cairo_ellipse_object_path):
2193 * src/label-object.c: (gl_label_object_rotate):
2196 * src/view-ellipse.c: (gl_view_ellipse_class_init),
2197 (gl_view_ellipse_new), (update_object_from_editor_cb),
2198 (update_editor_from_object_cb), (update_editor_from_label_cb),
2199 (draw), (gl_view_ellipse_get_create_cursor),
2200 (gl_view_ellipse_create_button_press_event),
2201 (gl_view_ellipse_create_motion_event),
2202 (gl_view_ellipse_create_button_release_event):
2203 * src/view-ellipse.h:
2204 * src/view-object.c:
2205 * src/view-object.h:
2206 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
2207 (select_object_real), (selection_received_cb),
2208 (motion_notify_event_cb), (button_press_event_cb),
2209 (button_release_event_cb):
2211 Added ellipse object support to view. Plus other cleanup.
2213 2007-03-11 Jim Evins <evins@snaught.com>
2216 * src/view-box.c: (gl_view_box_get_create_cursor),
2217 (gl_view_box_create_button_press_event),
2218 (gl_view_box_create_motion_event),
2219 (gl_view_box_create_button_release_event):
2220 * src/view-object.c: (gl_view_object_set_view),
2221 (gl_view_object_handle_at):
2223 * src/view.c: (gl_view_arrow_mode), (gl_view_object_create_mode),
2224 (motion_notify_event_cb), (button_press_event_cb),
2225 (button_release_event_cb), (key_press_event_cb):
2226 Added creation code for box object.
2228 2007-03-09 Jim Evins <evins@snaught.com>
2230 * src/view-object.c: (gl_view_object_resize_event):
2231 * src/view-object.h:
2232 * src/view.c: (motion_notify_event_cb):
2233 Fix bugs with resizing transformed objects.
2234 * src/cairo-handle-path.c: (gl_cairo_handle_path):
2235 * src/cairo-object-path.c: (gl_cairo_object_path):
2236 * src/cairo-object-path.h:
2237 * src/label-object.c: (gl_label_object_init),
2238 (gl_label_object_dup), (gl_label_object_get_extent),
2239 (gl_label_object_flip_horiz), (gl_label_object_flip_vert),
2240 (gl_label_object_rotate), (gl_label_object_set_matrix),
2241 (gl_label_object_get_matrix):
2242 * src/label-object.h:
2243 * src/print.c: (draw_object):
2245 * src/view-highlight.c:
2246 * src/view-highlight.h:
2247 * src/xml-label-191.c: (xml191_parse_object):
2248 * src/xml-label.c: (xml_parse_affine_attrs),
2249 (xml_create_affine_attrs):
2250 Replace libart affine matrices with cairo matrices.
2252 2007-03-08 Jim Evins <evins@snaught.com>
2254 * src/view-object.h:
2255 * src/view.c: (gl_view_update), (motion_notify_event_cb):
2256 * src/view-object.c: (gl_view_object_handle_at),
2257 (gl_view_object_resize_event):
2258 Added resize code -- still a bit buggy.
2260 2007-03-07 Jim Evins <evins@snaught.com>
2263 * src/cairo-handle-path.c:
2264 * src/cairo-handle-path.h:
2265 * src/view-box.c: (gl_view_box_new):
2266 * src/view-object.c: (gl_view_object_set_object),
2267 (gl_view_object_draw_handles), (gl_view_object_handle_at):
2268 * src/view-object.h:
2269 * src/view.c: (draw_highlight_layer), (select_object_real),
2270 (unselect_object_real), (view_handle_at), (motion_notify_event_cb),
2271 (button_press_event_cb), (button_release_event_cb),
2272 (key_press_event_cb):
2274 Added beginnings of object resize handles.
2276 2007-03-07 Jim Evins <evins@snaught.com>
2279 * src/view.c: (gl_view_init), (gl_view_arrow_mode),
2280 (gl_view_object_create_mode), (motion_notify_event_cb),
2281 (button_press_event_cb), (button_release_event_cb),
2282 (key_press_event_cb):
2283 Added move selection support.
2285 2007-03-05 Jim Evins <evins@snaught.com>
2287 * src/cairo-object-path.c: (gl_cairo_object_path):
2288 * src/view-object.c: (gl_view_object_draw),
2289 (gl_view_object_draw_highlight):
2290 * src/view.c: (view_object_at), (motion_notify_event_cb),
2291 (button_press_event_cb), (button_release_event_cb):
2292 Additional refinements to select logic.
2294 2007-03-05 Jim Evins <evins@snaught.com>
2297 * src/view.c: (gl_view_init), (gl_view_construct),
2298 (label_changed_cb), (draw_layers), (draw_select_region_layer),
2299 (gl_view_select_region), (object_at), (motion_notify_event_cb),
2300 (button_press_event_cb), (button_release_event_cb):
2301 Added initial select region support and context menu.
2303 2007-03-04 Jim Evins <evins@snaught.com>
2314 * src/ui-commands.c:
2317 * src/view-object.c:
2318 * src/view-object.h:
2321 * src/wdgt-print-copies.c:
2322 * src/wdgt-print-merge.c:
2324 Initial port to a raw Cairo canvas. This removes all remaining
2325 dependencies on libgnomecanvas and libgnomeprint[ui]. Basically
2326 the view is becoming a canvas widget in its own right. Still needs
2328 * src/cairo-label-path.c:
2329 * src/cairo-label-path.h:
2330 * src/cairo-markup-path.c:
2331 * src/cairo-markup-path.h:
2332 * src/cairo-object-path.c:
2333 * src/cairo-object-path.h:
2334 New files to support cairo canvas.
2335 * src/canvas-hacktext.c:
2336 * src/canvas-hacktext.h:
2339 2007-02-18 Jim Evins <evins@snaught.com>
2342 GNOME_FONT_BOOK changed to PANGO_WEIGHT_NORMAL.
2344 2007-02-14 Jim Evins <evins@snaught.com>
2348 * src/bc-gnubarcode.c:
2349 * src/bc-gnubarcode.h:
2354 * src/canvas-hacktext.c:
2355 * src/canvas-hacktext.h:
2362 * src/label-barcode.c:
2363 * src/label-barcode.h:
2366 * src/label-ellipse.c:
2367 * src/label-ellipse.h:
2368 * src/label-image.c:
2369 * src/label-image.h:
2372 * src/label-object.c:
2373 * src/label-object.h:
2378 * src/merge-evolution.c:
2379 * src/merge-evolution.h:
2382 * src/merge-properties-dialog.c:
2383 * src/merge-properties-dialog.h:
2386 * src/merge-vcard.c:
2387 * src/merge-vcard.h:
2390 * src/mini-preview-pixbuf.h:
2391 * src/new-label-dialog.c:
2392 * src/new-label-dialog.h:
2393 * src/object-editor-bc-page.c:
2394 * src/object-editor-data-page.c:
2395 * src/object-editor-edit-page.c:
2396 * src/object-editor-fill-page.c:
2397 * src/object-editor-image-page.c:
2398 * src/object-editor-line-page.c:
2399 * src/object-editor-lsize-page.c:
2400 * src/object-editor-position-page.c:
2401 * src/object-editor-private.h:
2402 * src/object-editor-size-page.c:
2403 * src/object-editor-text-page.c:
2404 * src/object-editor.c:
2405 * src/object-editor.h:
2406 * src/pixbuf-cache.c:
2407 * src/pixbuf-cache.h:
2408 * src/prefs-dialog.c:
2409 * src/prefs-dialog.h:
2410 * src/prefs-model.c:
2411 * src/prefs-model.h:
2417 * src/template-designer.c:
2420 * src/ui-commands.c:
2421 * src/ui-commands.h:
2422 * src/ui-property-bar.c:
2423 * src/ui-property-bar.h:
2432 * src/view-barcode.c:
2433 * src/view-barcode.h:
2436 * src/view-ellipse.c:
2437 * src/view-ellipse.h:
2438 * src/view-highlight.c:
2439 * src/view-highlight.h:
2444 * src/view-object.c:
2445 * src/view-object.h:
2450 * src/wdgt-chain-button.c:
2451 * src/wdgt-chain-button.h:
2452 * src/wdgt-media-select.c:
2453 * src/wdgt-mini-preview.c:
2454 * src/wdgt-print-copies.c:
2455 * src/wdgt-print-copies.h:
2456 * src/wdgt-print-merge.c:
2457 * src/wdgt-print-merge.h:
2458 * src/wdgt-rotate-label.c:
2460 * src/xml-label-04.c:
2461 * src/xml-label-04.h:
2462 * src/xml-label-191.c:
2463 * src/xml-label-191.h:
2467 Assorted superficial cleanup. Including:
2468 - Use G_DEFINE_TYPE for all objects.
2469 - Reconcile style of all class initializer functions
2470 - Reconcile style of all finalize functions
2471 - Add emacs mode line to all source files
2473 2007-02-06 Jim Evins <evins@snaught.com>
2475 Assorted cleanup and removal of deprecated items.
2480 Removed annoying splash screen.
2481 * src/glabels-batch.c: (main):
2482 * src/glabels.c: (main):
2483 Converted from popt to GOption.
2484 * src/object-editor-shadow-page.c:
2485 (gl_object_editor_set_shadow_state):
2486 Removed deprecated method on GtkToggleButton.
2487 * src/ui-commands.c: (gl_ui_cmd_help_about):
2488 Removed dependency on libgnomui/qnome-url.h.
2489 * src/template-designer.c:
2490 Removed dependency on libgnome/gnome-program.h.
2493 2007-02-04 Jim Evins <evins@snaught.com>
2497 * src/prefs-model.c:
2498 * src/print.c: (draw_text_object):
2499 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_construct):
2500 Removed GnomeCanvas artifacts from color.[ch] and related modules.
2502 2007-02-04 Jim Evins <evins@snaught.com>
2504 * src/wdgt-mini-preview.c:
2505 * src/wdgt-mini-preview.h:
2506 Ported widget from GnomeCanvas to Cairo.
2508 2007-02-03 Jim Evins <evins@snaught.com>
2510 * data/glade/template-designer.glade:
2511 * src/template-designer.c:
2512 * src/template-designer.h:
2513 Ported GnomeDruid to GtkAssistant. Since libglade does not
2514 yet support the GtkAssistant and we derive directly from
2515 the Assistant, the pages are layed out in a GtkNotebook in
2516 the glade description -- we then append each page to the
2519 2007-01-25 Jim Evins <evins@snaught.com>
2521 * data/glade/object-editor.glade:
2522 Added dummy page to notebook, to prevent shadow page from
2523 becoming the default current page at creation.
2524 * src/view-box.c: (construct_properties_editor):
2525 * src/view-ellipse.c: (construct_properties_editor):
2526 * src/view-line.c: (construct_properties_editor):
2527 * src/view-text.c: (construct_properties_editor):
2528 Reconciled order of params.
2530 2007-01-19 Jim Evins <evins@snaught.com>
2532 * src/label-barcode.h:
2533 * src/label-object.c: (gl_label_object_set_font_weight),
2534 (gl_label_object_set_text_alignment),
2535 (gl_label_object_get_font_weight),
2536 (gl_label_object_get_text_alignment):
2537 * src/label-object.h:
2538 * src/label-text.c: (gl_label_text_instance_init), (copy),
2539 (get_size), (set_font_family), (set_font_weight),
2540 (set_text_alignment), (get_font_weight), (get_text_alignment):
2542 * src/object-editor-text-page.c:
2543 (gl_object_editor_prepare_text_page),
2544 (gl_object_editor_set_font_family),
2545 (gl_object_editor_set_font_weight),
2546 (gl_object_editor_get_font_weight),
2547 (gl_object_editor_set_text_alignment),
2548 (gl_object_editor_get_text_alignment),
2549 (gl_object_editor_set_text_color):
2550 * src/object-editor.h:
2551 * src/prefs-dialog.c: (construct_object_page),
2552 (update_object_page_from_prefs), (update_prefs_from_object_page):
2553 * src/prefs-model.c: (gl_prefs_model_save_settings),
2554 (gl_prefs_model_load_settings):
2555 * src/prefs-model.h:
2556 * src/print.c: (draw_text_object):
2557 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
2558 (reset_to_default_properties), (update_text_properties),
2559 (font_bold_toggled_cb), (text_align_toggled_cb):
2561 * src/util.c: (gl_util_align_to_string), (gl_util_string_to_align),
2562 (gl_util_weight_to_string), (gl_util_string_to_weight),
2563 (gl_util_get_font_family_list), (gl_util_font_family_list_free):
2565 * src/view-text.c: (update_object_from_editor_cb),
2566 (update_editor_from_object_cb), (draw_hacktext), (draw_cursor):
2567 * src/view.c: (gl_view_set_selection_text_alignment),
2568 (gl_view_set_default_text_alignment),
2569 (gl_view_get_default_text_alignment):
2571 * src/xml-label-04.c: (xml04_parse_text_props):
2572 * src/xml-label-191.c: (xml191_parse_text_props):
2573 * src/xml-label.c: (xml_parse_object_text),
2574 (xml_parse_toplevel_span), (xml_create_object_text),
2575 (xml_create_toplevel_span):
2576 Converted all model internals to Pango. GnomeFont remains in
2577 view until GnomeCanvas can be replaced with a cairo-based canvas.
2579 2007-01-17 Jim Evins <evins@snaught.com>
2585 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type),
2586 (gl_wdgt_print_copies_construct):
2587 * src/wdgt-print-copies.h:
2588 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type),
2589 (gl_wdgt_print_merge_construct):
2590 * src/wdgt-print-merge.h:
2591 Removed all remaining HIG wrapper widgets.
2593 2007-01-16 Jim Evins <evins@snaught.com>
2596 * src/print-dialog.c:
2597 * src/print-dialog.h:
2600 * src/template-designer.c: (print_test_cb):
2601 * src/ui-commands.c: (gl_ui_cmd_file_print):
2603 Renamed PrintDialog to PrintOp. Added constructor for batch
2605 * src/glabels-batch.c: (main):
2606 Converted to use new PrintOp object for printing.
2608 2007-01-15 Jim Evins <evins@snaught.com>
2610 * data/glade/Makefile.am:
2611 * data/glade/print-custom-widget.glade:
2612 * src/print-dialog.c:
2613 * src/print-dialog.h:
2616 * src/template-designer.c: (print_test_cb):
2617 * src/ui-commands.c: (gl_ui_cmd_file_print):
2618 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_copies):
2619 * src/wdgt-print-merge.h:
2620 * src/window.c: (gl_window_init):
2622 Initial conversion to GtkPrintOperation.
2624 - Remove font and other libgnomeprint[ui] from elsewhere
2625 - Add batch initialization of print operation
2627 2007-01-08 Jim Evins <evins@snaught.com>
2629 Updated dependencies. Set version to 2.1.pre4cvs.
2631 2007-01-03 Jim Evins <evins@snaught.com>
2633 * src/recent-files/*
2634 Removed EggRecent stuff.
2640 * src/ui-commands.c:
2641 * src/ui-commands.h:
2643 Ported from EggRecent to GtkRecentManager.
2646 2007-01-02 Jim Evins <evins@snaught.com>
2649 * iec16022-0.2.1/BUGS:
2650 * iec16022-0.2.1/CHANGELOG:
2651 * iec16022-0.2.1/CREDITS:
2652 * iec16022-0.2.1/INSTALL:
2653 * iec16022-0.2.1/LICENSE:
2654 * iec16022-0.2.1/Makefile.am:
2655 * iec16022-0.2.1/Makefile.dist:
2656 * iec16022-0.2.1/README:
2657 * iec16022-0.2.1/README.glabels:
2658 * iec16022-0.2.1/TODO:
2659 * iec16022-0.2.1/iec16022.1:
2660 * iec16022-0.2.1/iec16022.c:
2661 * iec16022-0.2.1/iec16022ecc200.c:
2662 * iec16022-0.2.1/iec16022ecc200.h:
2663 * iec16022-0.2.1/image.c:
2664 * iec16022-0.2.1/image.h:
2665 * iec16022-0.2.1/reedsol.c:
2666 * iec16022-0.2.1/reedsol.h:
2667 * iec16022-0.2.1/test/testsuite-example.bin:
2668 * iec16022-0.2.1/test/testsuite-example.eps:
2669 * iec16022-0.2.1/test/testsuite-example.hex:
2670 * iec16022-0.2.1/test/testsuite-example.png:
2671 * iec16022-0.2.1/test/testsuite-example.text:
2672 * iec16022-0.2.1/test/testsuite.sh:
2673 Include modified copy of iec16022-0.2.1 to provide encoding
2674 support for datamatrix 2D barcodes.
2676 * src/bc-iec16022.c:
2677 * src/bc-iec16022.h:
2679 Added initial datamatrix 2D barcode backend to barcode code.
2682 Automatic updates to later versions of these files.
2684 2006-11-28 Jim Evins <evins@snaught.com>
2686 * data/templates/avery-iso-templates.xml:
2687 * data/templates/avery-us-templates.xml:
2688 * data/templates/categories.xml:
2689 * data/templates/misc-iso-templates.xml:
2690 * data/templates/misc-us-templates.xml:
2691 * data/templates/zweckform-iso-templates.xml:
2692 More categorization.
2694 2006-09-12 Jim Evins <evins@snaught.com>
2696 * data/dtd/glabels-2.0.dtd:
2697 * data/templates/Makefile.am:
2698 * data/templates/avery-iso-templates.xml:
2699 * data/templates/avery-other-templates.xml:
2700 * data/templates/avery-us-templates.xml:
2701 * data/templates/categories.xml:
2702 * data/templates/misc-iso-templates.xml:
2703 * data/templates/misc-other-templates.xml:
2704 * data/templates/zweckform-iso-templates.xml:
2705 * data/glade/Makefile.am:
2706 * data/glade/new-label-dialog.glade:
2707 * data/glade/wdgt-media-select.glade:
2708 * data/glade/wdgt-rotate-label.glade:
2709 * libglabels/Makefile.am:
2710 * libglabels/category.c:
2711 * libglabels/category.h:
2712 * libglabels/libglabels.h:
2713 * libglabels/paper.c:
2714 * libglabels/template.c:
2715 * libglabels/template.h:
2716 * libglabels/xml-category.c:
2717 * libglabels/xml-category.h:
2718 * libglabels/xml-template.c:
2719 Added support for category meta data.
2722 * src/mini-preview-pixbuf.c:
2723 * src/mini-preview-pixbuf.h:
2724 * src/new-label-dialog.c:
2725 * src/new-label-dialog.h:
2726 * src/wdgt-media-select.c:
2727 * src/wdgt-media-select.h:
2728 * src/wdgt-rotate-label.c:
2729 * src/wdgt-rotate-label.h:
2730 New "new label" dialog.
2732 2006-05-27 Jim Evins <evins@snaught.com>
2737 Preparation for 2.1.3.
2743 2006-05-22 Jim Evins <evins@snaught.com>
2745 * src/print.c: (draw_barcode_object):
2746 Don't print "Invalid barcode data" if data field is empty. Patch provided
2747 by Darren Warner <warnerd@users.sourceforge.net>. Fixes Bug #1479839.
2749 Added acknowledgment for above patch.
2750 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
2751 * src/bc-postnet.c: (postnet_code):
2752 Removed "Invalid barcode data" warnings from stderr.
2753 * src/view-barcode.c: (draw_barcode):
2754 Draw box around barcode extent if data empty or invalid. Center a
2755 message whether the data is empty or invalid in box.
2757 2006-05-22 Jim Evins <evins@snaught.com>
2759 * src/print.c: (draw_text_object):
2760 Check shadow state when printing text.
2762 2006-05-20 Jim Evins <evins@snaught.com>
2764 * src/ui-commands.c: (gl_ui_cmd_view_grid_toggle),
2765 (gl_ui_cmd_view_markup_toggle):
2766 Fixed crash when grid or markup have been toggled off during
2767 a previous session. Bug #1434324.
2769 2006-04-05 Jim Evins <evins@snaught.com>
2771 * src/object-editor.c: (gl_object_editor_set_key_names):
2772 Fixed potential crash when freeing empty key list.
2774 2006-03-11 Jim Evins <evins@snaught.com>
2776 * src/print.c: (draw_text_object):
2777 * src/view-text.c: (gl_view_text_new),
2778 (construct_properties_editor), (update_object_from_editor_cb),
2779 (update_editor_from_object_cb), (update_editor_from_label_cb),
2781 Added shadow support to text object.
2783 2006-02-18 Jim Evins <evins@snaught.com>
2785 * src/print.c: (draw_line_object):
2786 * src/view-line.c: (gl_view_line_new),
2787 (construct_properties_editor), (update_canvas_item_from_object_cb),
2788 (update_object_from_editor_cb), (update_editor_from_object_cb),
2789 (update_editor_from_label_cb):
2790 Added shadow support to line object.
2792 2006-02-16 Jim Evins <evins@snaught.com>
2796 * src/print.c: (draw_ellipse_object):
2797 * src/view-ellipse.c: (gl_view_ellipse_new),
2798 (construct_properties_editor), (update_canvas_item_from_object_cb),
2799 (update_object_from_editor_cb), (update_editor_from_object_cb),
2800 (update_editor_from_label_cb):
2801 Added shadow support to ellipse object.
2803 2006-02-15 Jim Evins <evins@snaught.com>
2805 * src/label-object.c:
2806 Changed default shadow offsets.
2807 * src/view-box.c: (gl_view_box_new):
2808 Simplified gl_view_box_new() so that is does not duplicate code
2809 in update_canvas_item_from_object_cb().
2811 2006-02-07 Jim Evins <evins@snaught.com>
2813 * data/glade/object-editor.glade:
2814 Fixed color groups of color combos.
2816 Added default shadow color.
2817 * src/object-editor.c: (gl_object_editor_construct_color_combo):
2818 Added shadow color group.
2820 2006-02-06 Jim Evins <evins@snaught.com>
2822 * src/object-editor-shadow-page.c:
2823 Forgot to add this file.
2824 * src/view-box.c: (gl_view_box_new),
2825 (update_canvas_item_from_object_cb), (update_editor_from_label_cb):
2826 Update limits on shadow offset spinbuttons.
2828 2006-01-19 Jim Evins <evins@snaught.com>
2830 * src/merge-evolution.c: (gl_merge_evolution_get_key_list):
2831 Initialize key_list to NULL.
2832 * data/glade/object-editor.glade:
2836 * src/label-object.c:
2837 * src/label-object.h:
2838 * src/object-editor-fill-page.c:
2839 * src/object-editor-private.h:
2840 * src/object-editor.c:
2841 * src/object-editor.h:
2843 Created infrastructure for shadow support.
2846 Initial shadow support in box object only.
2848 2006-01-05 Jim Evins <evins@snaught.com>
2850 * src/merge-properties-dialog.c: (src_changed_cb):
2851 Be extra paranoid before calling strcmp().
2852 * src/merge.c: (gl_merge_set_src):
2853 Don't make (merge == NULL) a critical error.
2855 2005-12-22 Jim Evins <evins@snaught.com>
2857 * src/glabels-batch.c: (main):
2858 Compile warning free with gcc 4.0.
2860 2005-12-21 Jim Evins <evins@snaught.com>
2863 Updated example RPM spec file.
2865 2005-12-21 Jim Evins <evins@snaught.com>
2869 Preparation for 2.1.2.
2871 2005-12-20 Jim Evins <evins@snaught.com>
2874 Define unique G_LOG_DOMAIN for glabels.
2875 * src/critical-error-handler.c: (gl_critical_error_handler_init):
2876 * src/warning-handler.c: (gl_warning_handler_init),
2878 Register for G_LOG_DOMAIN instead of NULL.
2880 2005-12-10 Jim Evins <evins@snaught.com>
2882 * src/merge-evolution.c:
2883 * src/merge-vcard.c:
2886 2005-12-08 Jim Evins <evins@snaught.com>
2888 * libglabels/paper.c: (read_paper_files_from_dir):
2889 * libglabels/template.c: (gl_template_register),
2890 (read_template_files_from_dir):
2891 * libglabels/xml-paper.c: (gl_xml_paper_read_papers_from_file),
2892 (gl_xml_paper_parse_papers_doc):
2893 * libglabels/xml-template.c:
2894 (gl_xml_template_read_templates_from_file),
2895 (gl_xml_template_parse_templates_doc),
2896 (gl_xml_template_parse_template_node),
2897 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
2898 (xml_parse_label_cd_node), (xml_parse_layout_node),
2899 (xml_parse_markup_margin_node), (xml_parse_markup_line_node),
2900 (xml_parse_markup_circle_node),
2901 (gl_xml_template_write_templates_to_file), (xml_create_label_node):
2902 * libglabels/xml.c: (gl_xml_get_prop_length):
2903 Re-classified g_warnings to g_messages.
2905 * src/glabels.c: (main):
2906 * src/warning-handler.c: (gl_warning_handler_init),
2908 * src/warning-handler.h:
2909 Added warning message handler to make sure the user is
2910 presented with appropriate non-fatal errors.
2911 * src/critical-error-handler.c: (critical_error_handler):
2912 Changed exit to abort.
2913 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new), (render_pass1):
2914 * src/bc-postnet.c: (postnet_code):
2915 * src/bc.c: (id_to_index), (name_to_index):
2916 * src/merge.c: (gl_merge_register_backend), (gl_merge_new):
2917 * src/object-editor.c: (gl_object_notebook_construct_valist):
2918 * src/prefs-dialog.c: (update_locale_page_from_prefs):
2919 * src/prefs.c: (gl_prefs_get_units_per_point),
2920 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
2921 (gl_prefs_get_units_string):
2922 * src/print.c: (draw_outline), (clip_to_outline), (clip_punchouts):
2923 * src/splash.c: (gl_splash):
2924 * src/ui-commands.c: (gl_ui_cmd_help_contents):
2925 * src/view-highlight.c: (gl_view_highlight_new),
2926 (highlight_resizable_box_construct), (object_changed_cb),
2927 (view_scale_changed_cb):
2928 * src/view.c: (draw_label_layer), (draw_bg_fg_layers),
2929 (draw_markup_layer), (draw_markup_margin),
2930 (gl_view_object_create_mode), (canvas_event),
2931 (selection_received_cb):
2932 * src/wdgt-mini-preview.c: (mini_outline_list_new):
2933 * src/wdgt-rotate-label.c: (mini_preview_canvas_update):
2934 * src/xml-label-04.c: (gl_xml_label_04_parse),
2935 (xml04_parse_media_description), (xml04_parse_text_props),
2936 (xml04_parse_barcode_props):
2937 * src/xml-label-191.c: (gl_xml_label_191_parse),
2938 (xml191_parse_objects), (xml191_parse_object),
2939 (xml191_parse_text_props), (xml191_parse_image_props),
2940 (xml191_parse_barcode_props), (xml191_parse_data),
2941 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
2942 (xml191_parse_markup):
2943 * src/xml-label.c: (gl_xml_label_open), (gl_xml_label_open_buffer),
2944 (xml_doc_to_label), (xml_parse_label), (xml_parse_objects),
2945 (xml_parse_object_text), (xml_parse_object_image),
2946 (xml_parse_object_barcode), (xml_parse_data),
2947 (xml_parse_toplevel_span), (gl_xml_label_save),
2948 (xml_create_objects):
2949 Re-classified g_warnings to g_messages.
2950 * src/merge-evolution.c: (gl_merge_evolution_open),
2951 (gl_merge_evolution_close), (gl_merge_evolution_get_record):
2952 Use g_warning to output errors encountered while
2953 communicating with the evolution data server
2954 instead of embedding them in the data.
2956 2005-12-08 Jim Evins <evins@snaught.com>
2958 * libglabels/libglabels-private.h:
2960 * libglabels/paper.c: (read_papers):
2961 * libglabels/template.c: (read_templates):
2962 Made appropriate warnings critical.
2964 * src/critical-error-handler.h:
2965 * src/critical-error-handler.c: (gl_critical_error_handler_init),
2966 (critical_error_handler):
2967 Created critical error handler.
2968 * src/glabels.c: (main):
2969 Register critical error handler.
2970 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
2971 * src/object-editor.c: (gl_object_editor_init):
2972 * src/prefs-dialog.c: (gl_prefs_dialog_init):
2973 * src/template-designer.c: (gl_template_designer_init):
2974 * src/ui-property-bar.c: (gl_ui_property_bar_instance_init):
2975 Made appropriate warnings critical.
2977 2005-11-27 Jim Evins <evins@snaught.com>
2979 * src/merge-evolution.c: (gl_merge_evolution_get_key_list),
2980 (gl_merge_evolution_get_primary_key),
2981 (gl_merge_evolution_get_record):
2982 Don't create "record_key" pseudo-key. Don't populate
2983 fields with null data.
2985 2005-11-25 Jim Evins <evins@snaught.com>
2987 * src/merge-evolution.c: (gl_merge_evolution_finalize),
2988 (gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
2989 (gl_merge_evolution_get_record), (gl_merge_evolution_copy),
2991 Query EDS for all supported fields. Patch provided by
2992 Austin Henry <ahenry@users.sourceforge.net>.
2994 2005-10-29 Jim Evins <evins@snaught.com>
2996 * src/glabels.c: (main):
2997 * src/label-barcode.c: (gl_label_barcode_finalize):
2998 * src/label-text.c: (gl_label_text_finalize), (set_font_family):
2999 * src/label.c: (gl_label_instance_init), (gl_label_finalize):
3000 * src/object-editor.c: (gl_object_editor_finalize):
3001 Another pass at valgrinding -- plugged several memory leaks.
3002 * src/view-text.c: (gl_view_text_new),
3003 (update_canvas_item_from_object_cb), (draw_hacktext):
3004 Commented out artifacts of edit-in-place code.
3006 2005-10-28 Jim Evins <evins@snaught.com>
3008 * src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
3009 Fixed use of uninitialized variable. Caught by
3010 d binderman <dcb314@hotmail.com>.
3012 2005-10-27 Jim Evins <evins@snaught.com>
3014 * src/merge-evolution.c: (gl_merge_evolution_get_record):
3015 * src/merge-vcard.c: (gl_merge_vcard_get_record),
3017 Additional cleanup of EDS and vcard backends. Provided by
3018 Austin Henry <ahenry@users.sourceforge.net>.
3020 2005-10-24 Jim Evins <evins@snaught.com>
3024 * src/merge-evolution.c:
3025 * src/merge-evolution.h:
3026 * src/merge-init.c: (gl_merge_init):
3027 * src/merge-properties-dialog.c: (type_changed_cb):
3028 * src/merge-vcard.c:
3029 * src/merge-vcard.h:
3030 * src/ui-commands.c: (gl_ui_cmd_help_about):
3031 Added Evolution Data Server and VCard merge backends. Original patch
3032 provided by Austin Henry <ahenry@users.sourceforge.net>.
3034 Only support EDS and VCard backends if libebook is installed. Allow
3035 user to disable support, even if installed.
3037 2005-10-24 Jim Evins <evins@snaught.com>
3040 * data/templates/avery-iso-templates.xml:
3041 * data/templates/avery-us-templates.xml:
3042 * data/templates/misc-iso-templates.xml:
3043 * data/templates/zweckform-iso-templates.xml:
3044 Collected all template changes and submissions since last
3047 2005-10-23 Jim Evins <evins@snaught.com>
3050 * data/mime/Makefile.am:
3051 Added configure options to disable update-mime-database and
3052 update-desktop-database as part of the install. Patch
3053 provided by Leonardo Boshell (qhoracio@sourceforge.net).
3055 2005-10-23 Jim Evins <evins@snaught.com>
3058 * libglabels/xml.c: (gl_xml_get_prop_string),
3059 (gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
3060 (gl_xml_is_node), (gl_xml_get_node_content):
3061 Added new XML utility functions.
3062 * libglabels/xml-paper.c:
3063 * libglabels/xml-template.c:
3065 Cleanup by using new xml utilities created above.
3066 * libglabels/paper.c: (gl_paper_free):
3067 * src/file.c: (new_response):
3068 * src/object-editor-image-page.c: (add_image_filters_to_chooser):
3069 * src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
3070 (gl_pixbuf_cache_get_pixbuf):
3071 * src/ui-property-bar.c:
3072 (gl_ui_property_bar_construct_color_combo):
3073 * src/view-highlight.c: (gl_view_highlight_finalize):
3074 * src/view-image.c: (update_object_from_editor_cb):
3075 * src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
3076 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
3077 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
3078 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
3079 (draw_markup_margin_round), (draw_markup_margin_cd),
3080 (draw_markup_margin_cd_bc):
3081 * src/wdgt-mini-preview.c: (mini_outline_list_new):
3082 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
3083 Plugged various memory leaks located with valgrind.
3084 * src/view-image.c: (update_canvas_item_from_object_cb):
3085 Don't allow a width or height of zero when drawing pixbuf.
3087 2005-10-22 Jim Evins <evins@snaught.com>
3089 * libglabels/xml-paper.c:
3090 * libglabels/xml-template.c:
3093 * src/bc-gnubarcode.c:
3094 * src/canvas-hacktext.c:
3096 * src/object-editor-data-page.c:
3097 * src/print-dialog.c:
3100 * src/template-designer.c:
3102 * src/ui-property-bar.c:
3104 * src/view-barcode.c:
3106 * src/view-ellipse.c:
3111 * src/wdgt-media-select.c:
3112 * src/xml-label-04.c:
3113 * src/xml-label-191.c:
3115 Modified to compile warning free with gcc-4.0. Mostly
3116 casting to change signedness of characters. Did not
3117 attack gnu-barcode library yet.
3119 2005-10-22 Jim Evins <evins@snaught.com>
3121 * src/glabels.c: (main):
3122 * src/splash.c: (gl_splash):
3123 Removed some small memory leaks.
3127 2005-09-19 Jim Evins <evins@snaught.com>
3129 * data/glade/property-bar.glade:
3130 Remove items from font_family_combo. This prevents the
3131 double entry after adding text model and list of fonts.
3132 * src/ui-property-bar.c: (reset_to_default_properties):
3133 Free font_family_list.
3135 2005-07-01 Jim Evins <evins@snaught.com>
3138 Updated italian translation (Daniele Medri)
3140 2005-06-26 Jim Evins <evins@snaught.com>
3142 * docs/libglabels/libglabels-decl-list.txt:
3143 Somehow never got checked in before.
3144 * docs/libglabels/libglabels.types:
3145 Removed -- don't need it afterall.
3147 2005-06-20 Jim Evins <evins@snaught.com>
3150 Final prep for 2.1.1 release.
3152 2005-06-20 Jim Evins <evins@snaught.com>
3155 Final preps for 2.1.1 release.
3156 * docs/libglabels/libglabels.types:
3157 Somehow never got checked in before.
3159 Bring up-to-date with recent reorg of ui code.
3162 2005-06-19 Jim Evins <evins@snaught.com>
3164 * src/template-designer.c: (construct_layout_page):
3165 Removed attempt to match background color of mini preview widget to
3168 2005-06-17 Jim Evins <evins@snaught.com>
3170 * help/C/figures/merge-ex2-4.png:
3171 * help/C/glabels.xml:
3172 Fixed spelling error.
3174 2005-06-13 Jim Evins <evins@snaught.com>
3176 * help/C/figures/merge-ex1-1.png:
3177 * help/C/figures/merge-ex1-2.png:
3178 * help/C/figures/merge-ex1-3.png:
3179 * help/C/figures/merge-ex1-4.png:
3180 * help/C/figures/merge-ex2-1.png:
3181 * help/C/figures/merge-ex2-2.png:
3182 * help/C/figures/merge-ex2-3.png:
3183 * help/C/figures/merge-ex2-4.png:
3184 Added figures for document merge tutorial.
3185 * help/C/glabels.xml:
3186 Added document merge tutorial.
3188 2005-05-19 Jim Evins <evins@snaught.com>
3190 * data/glade/merge-properties-dialog.glade:
3191 Fixed irregular spacing.
3192 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
3193 (gl_merge_properties_dialog_construct):
3194 Set outer padding and remove separator.
3196 2005-05-18 Jim Evins <evins@snaught.com>
3200 Removed glHigDialog class.
3201 * src/file.c: (gl_file_new), (create_new_dialog_widgets),
3202 (gl_file_properties), (create_properties_dialog_widgets):
3203 * src/prefs-dialog.h:
3204 * src/prefs-dialog.c: (gl_prefs_dialog_get_type),
3205 (gl_prefs_dialog_init), (gl_prefs_dialog_construct):
3206 * src/print-dialog.h:
3207 * src/prefs-dialog.h:
3208 * src/print-dialog.c: (gl_print_dialog_get_type),
3209 (gl_print_dialog_init), (gl_print_dialog_construct):
3210 Replaced all instances of glHigDialog with GtkDialog.
3212 2005-05-17 Jim Evins <evins@snaught.com>
3216 Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
3217 * src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
3218 (save_as_response), (gl_file_close):
3219 Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.
3221 2005-05-15 Jim Evins <evins@snaught.com>
3223 * src/ui-commands.h:
3231 A little code reformatting -- no functional changes.
3233 2005-05-14 Jim Evins <evins@snaught.com>
3236 Removed obsolete macros.
3238 Added marshalling template to support new view signal: "context_menu_activate."
3240 * src/view.c: (gl_view_class_init), (gl_view_construct),
3241 (canvas_event_arrow_mode):
3242 - Removed hardcoded context menus and added new signal "context_menu_activate"
3243 to push this up to the uimanager.
3244 - Removed merge properties and print dialogs so that they can be managed with
3245 the window by the uimanager.
3246 * src/merge-properties-dialog.h:
3247 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
3248 (gl_merge_properties_dialog_construct):
3249 Changed calling convention of gl_merge_properties_dialog_new() to use
3250 glLabel and GtkWindow instead of view to make more consistent with other
3252 * src/print-dialog.h:
3253 * src/print-dialog.c: (gl_print_dialog_new),
3254 (gl_print_dialog_construct):
3255 Removed last artifact of libbonoboui.
3256 * src/ui-commands.c: (gl_ui_cmd_file_print),
3257 (gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
3258 Reconciled style for launching dialogs.
3259 * src/ui.c: (gl_ui_new):
3260 Added context menus to ui manager.
3261 * src/view-object.c: (item_event_arrow_mode):
3262 No longer try to select objects with right-click.
3264 * src/window.c: (gl_window_init), (gl_window_set_label),
3265 (context_menu_activate_cb):
3266 Context menus and all dialogs are now managed in a consistent way in window
3269 2005-05-11 Jim Evins <evins@snaught.com>
3272 * src/window.c: (gl_window_init), (gl_window_destroy):
3273 * src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
3274 * src/ui-commands.c: (gl_ui_cmd_file_open_recent):
3275 Moved management of recent_view back from window.c to ui.c -- it just feels
3278 2005-05-10 Jim Evins <evins@snaught.com>
3281 * src/window.c: (gl_window_init):
3283 * src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
3284 (menu_item_select_cb), (menu_item_deselect_cb):
3285 Added GtkStatusbar which displays menu tooltips.
3287 2005-05-09 Jim Evins <evins@snaught.com>
3289 Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
3294 Removed dependencies on libbonoboui.
3296 * data/ui/Makefile.am:
3297 * data/ui/glabels-ui.xml:
3298 Removed data/ui directory.
3299 * data/glade/Makefile.am:
3300 * data/property-bar.glade:
3301 Added glade description of property-bar for new libglade implementation
3308 * src/ui-commands.h:
3309 * src/ui-commands.c:
3310 Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
3311 since the distinction between "commands" and "tools" is no longer that clear.
3314 Modified to expect glWindow instead of GtkWindow. gl_file_open_recent()
3315 no longer has knowledge of eggRecent*.
3316 * src/glabels.c: (main):
3317 Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
3319 * src/object-editor.c: (gl_object_editor_init):
3320 Make sure notebook does not respond to a "show_all" on the parent.
3321 * src/recent-files/Makefile.am:
3322 * src/recent-files/*.[ch]
3323 Updated from latest version of libegg which now has a view based on
3324 GtkUIManager. Removed unused bonobo and gtk views.
3325 * src/ui-property-bar.h:
3326 * src/ui-property-bar.c:
3327 New implementation based on libglade.
3330 Sidebar is now simply a GtkWidget and does not expect to be a part of
3331 a libbonoboui interface.
3336 Converted for use with GtkUIManager.
3339 Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
3340 to create menus and toolbars.
3342 2005-04-25 Jim Evins <evins@snaught.com>
3344 * data/templates/misc-iso-templates.xml:
3345 Added Fellows 04715 template provided by Steve Saxon.
3347 Updated acknowledgement for above.
3349 2005-04-23 Jim Evins <evins@snaught.com>
3351 * src/util.c: (gl_util_combo_box_set_strings):
3352 Make sure to clear model before loading a new list of strings.
3353 * src/wdgt-media-select.h:
3354 * src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
3355 (gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
3356 (template_combo_changed_cb), (prefs_changed_cb),
3357 (gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
3358 (gl_wdgt_media_select_get_page_size),
3359 (gl_wdgt_media_select_set_page_size):
3360 Replaced the deprecated GtkCombo widget with the new
3363 2005-04-21 Jim Evins <evins@snaught.com>
3365 * data/glade/template-designer.glade:
3366 * src/template-designer.c: (construct_pg_size_page),
3367 (pg_size_page_changed_cb), (build_template):
3368 Replaced the deprecated GtkCombo widget with the new
3371 2005-04-20 Jim Evins <evins@snaught.com>
3373 * data/glade/prefs-dialog.glade:
3374 * src/prefs-dialog.c: (construct_object_page),
3375 (update_object_page_from_prefs), (update_prefs_from_object_page):
3376 Replaced the deprecated GtkCombo widget with the new
3379 2005-04-19 Jim Evins <evins@snaught.com>
3381 * data/glade/object-editor.glade:
3382 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
3383 (style_changed_cb), (gl_object_editor_set_bc_style),
3384 (gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
3385 (gl_object_editor_get_bc_color):
3386 * src/object-editor-data-page.c:
3387 (gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
3388 (gl_object_editor_get_data):
3389 * src/object-editor-edit-page.c:
3390 (gl_object_editor_prepare_edit_page), (insert_button_cb):
3391 * src/object-editor-fill-page.c:
3392 (gl_object_editor_prepare_fill_page),
3393 (gl_object_editor_set_fill_color),
3394 (gl_object_editor_get_fill_color):
3395 * src/object-editor-image-page.c:
3396 (gl_object_editor_prepare_image_page),
3397 (gl_object_editor_set_image), (gl_object_editor_get_image):
3398 * src/object-editor-line-page.c:
3399 (gl_object_editor_prepare_line_page),
3400 (gl_object_editor_set_line_color),
3401 (gl_object_editor_get_line_color):
3402 * src/object-editor-private.h:
3403 * src/object-editor-text-page.c:
3404 (gl_object_editor_prepare_text_page),
3405 (gl_object_editor_set_font_family),
3406 (gl_object_editor_get_font_family),
3407 (gl_object_editor_set_text_color),
3408 (gl_object_editor_get_text_color):
3409 * src/object-editor.c: (gl_object_editor_set_key_names):
3411 In the object editor: replaced all instances of the deprecated
3412 GtkCombo widget with the new GtkComboBox.
3414 2005-04-18 Jim Evins <evins@snaught.com>
3417 Neglected to save this one in previous checkin to support
3420 2005-04-17 Jim Evins <evins@snaught.com>
3422 * libglabels/libglabels-private.h:
3423 * libglabels/paper.c:
3424 * libglabels/paper.h:
3425 * libglabels/template.c:
3426 * libglabels/template.h:
3427 * libglabels/xml-paper.c:
3428 * libglabels/xml-paper.h:
3429 * libglabels/xml-template.c:
3434 * src/bc-gnubarcode.c:
3445 * src/label-barcode.c:
3447 * src/label-ellipse.c:
3448 * src/label-image.c:
3449 * src/label-image.h:
3451 * src/label-object.c:
3455 * src/merge-properties-dialog.c:
3456 * src/object-editor-bc-page.c:
3457 * src/object-editor-data-page.c:
3458 * src/object-editor-edit-page.c:
3459 * src/object-editor-fill-page.c:
3460 * src/object-editor-image-page.c:
3461 * src/object-editor-line-page.c:
3462 * src/object-editor-lsize-page.c:
3463 * src/object-editor-position-page.c:
3464 * src/object-editor-private.h:
3465 * src/object-editor-size-page.c:
3466 * src/object-editor-text-page.c:
3467 * src/object-editor.c:
3468 * src/object-editor.h:
3469 * src/pixbuf-cache.h:
3470 * src/prefs-dialog.c:
3471 * src/prefs-dialog.h:
3472 * src/prefs-model.c:
3473 * src/prefs-model.h:
3475 * src/print-dialog.c:
3476 * src/print-dialog.h:
3484 * src/template-designer.c:
3485 * src/template-designer.h:
3488 * src/ui-property-bar.c: (gl_ui_property_bar_construct):
3494 * src/view-barcode.c:
3496 * src/view-ellipse.c:
3497 * src/view-highlight.c:
3498 * src/view-highlight.h:
3501 * src/view-object.c:
3502 * src/view-object.h:
3506 * src/wdgt-chain-button.c:
3507 * src/wdgt-media-select.c:
3508 * src/wdgt-media-select.h:
3509 * src/wdgt-mini-preview.c:
3510 * src/wdgt-mini-preview.h:
3511 * src/wdgt-print-copies.c:
3512 * src/wdgt-print-copies.h:
3513 * src/wdgt-print-merge.c:
3514 * src/wdgt-print-merge.h:
3515 * src/wdgt-rotate-label.c:
3516 * src/wdgt-rotate-label.h:
3519 * src/xml-label-04.c:
3520 * src/xml-label-191.c:
3522 Cleanup of header files:
3523 - all header files are now stand-alone, verified by including
3524 first in corresponding "c" files
3525 - replaced blanket includes of gnome, gtk, and glib with
3528 2005-04-16 Jim Evins <evins@snaught.com>
3530 * data/glade/Makefile.am:
3531 * data/glade/merge-properties-dialog.glade:
3532 Added merge properties dialog glade description file.
3533 * src/merge-properties-dialog.h:
3534 * src/merge-properties-dialog.c:
3535 (gl_merge_properties_dialog_get_type),
3536 (gl_merge_properties_dialog_init),
3537 (gl_merge_properties_dialog_finalize),
3538 (gl_merge_properties_dialog_new),
3539 (gl_merge_properties_dialog_construct), (type_changed_cb),
3540 (src_changed_cb), (response_cb), (load_tree),
3541 (record_select_toggled_cb), (select_all_button_clicked_cb),
3542 (unselect_all_button_clicked_cb):
3543 Modified merge properties dialog to use libglade. Added
3544 "select all" and "unselect all" buttons.
3545 * src/merge-text.c: (parse_line):
3546 Handle empty lines better.
3547 * src/merge.c: (gl_merge_eval_key):
3548 Evaluate the key whether the record is selected or not.
3550 * src/util.c: (gl_util_combo_box_add_text_model):
3551 Since libglade does not use the gtk_combo_box_new_text()
3552 constructor for GtkComboBoxes, a utility function was created
3553 to add an appropriate text model to a GtkComboBox.
3554 * src/view.c: (gl_view_edit_merge_props):
3555 Removed unnecessary "show all's".
3557 2005-04-15 Jim Evins <evins@snaught.com>
3560 Updated russian translation (Vitaly Lipatov)
3561 * data/templates/misc-iso-templates.xml:
3562 Added templates for russian business cards provided by Vitaly Lipatov.
3564 Updated acknowledgements for above.
3566 2005-04-15 Jim Evins <evins@snaught.com>
3568 * data/templates/avery-us-templates.xml:
3569 Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
3570 * data/templates/misc-iso-templates.xml:
3571 Added Ryman standard CD/DVD template, provided by Dan Clark.
3573 Added acknowledgements for above.
3575 2005-04-10 Jim Evins <evins@snaught.com>
3577 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
3578 * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
3579 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
3580 (xml_parse_label_cd_node), (xml_parse_alias_node):
3581 * libglabels/xml.c: (gl_xml_get_prop_double),
3582 (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
3583 (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
3584 * src/xml-label-04.c: (xml04_parse_media_description),
3585 (xml04_parse_text_props), (xml04_parse_barcode_props),
3586 (xml04_parse_merge_properties):
3587 * src/xml-label-191.c: (xml191_parse_object),
3588 (xml191_parse_text_props), (xml191_parse_barcode_props),
3589 (xml191_parse_merge_fields), (xml191_parse_pixdata),
3590 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
3591 (xml191_parse_alias):
3592 * src/xml-label.c: (xml_parse_object_text),
3593 (xml_parse_object_barcode), (xml_parse_merge_fields),
3594 (xml_parse_pixdata), (xml_parse_toplevel_span):
3595 Make sure to use xmlFree for anything obtained from libxml
3596 in case libxml and glib use different memory management
3599 2005-04-08 Jim Evins <evins@snaught.com>
3602 * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
3603 (gl_util_combo_box_set_active_text):
3604 Added utility functions to simplify working with GtkComboBox
3606 * src/ui-property-bar.h:
3607 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
3608 (reset_to_default_properties), (update_text_properties),
3609 (font_family_changed_cb):
3610 Replaced deprecated GtkCombo with GtkComboBox.
3613 2005-04-03 Jim Evins <evins@snaught.com>
3616 * src/wdgt-image-select.h:
3617 * src/wdgt-image-select.c:
3618 Removed obsolete wdgt-image-select.[ch] files.
3619 * libglabels/paper.c: (gl_paper_dup):
3620 Fixed rename of parameter introduced during documentation
3622 * data/glade/object-editor.glade:
3623 * src/object-editor-image-page.c:
3624 (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
3625 (gl_object_editor_set_image), (gl_object_editor_get_image),
3626 (update_preview_cb), (add_image_filters_to_chooser):
3627 * src/object-editor-private.h:
3628 Replaced deprecated GnomePixmapEntry with
3629 GtkFileChooserButton.
3631 2005-04-02 Jim Evins <evins@snaught.com>
3633 * src/mygal/mygal-combo-box.c: (deactivate_arrow),
3634 (mygal_combo_box_popup_hide_unconditional),
3635 (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
3636 (mygal_combo_toggle_pressed), (mygal_combo_box_init),
3637 (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
3638 (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
3639 (cb_tearable_button_release), (mygal_combo_box_set_tearable):
3640 Renamed all internal gtk_combo functions to mygal_combo
3641 to prevent namespace confusion.
3643 2005-04-02 Jim Evins <evins@snaught.com>
3645 * src/mygal/color-palette.c: (color_palette_change_custom_color),
3646 (cust_color_set), (color_palette_setup):
3647 * src/mygal/color-palette.h:
3648 Replaced deprecated GnomeColorPicker with GtkColorButton.
3650 2005-04-02 Jim Evins <evins@snaught.com>
3652 * docs/libglabels/libglabels-sections.txt:
3653 * docs/libglabels/libglabels-undocumented.txt:
3654 * docs/libglabels/tmpl/enums.sgml:
3655 * docs/libglabels/tmpl/paper.sgml:
3656 * docs/libglabels/tmpl/xml-paper.sgml:
3657 * docs/libglabels/tmpl/xml-template.sgml:
3658 * libglabels/enums.h:
3659 * libglabels/paper.c: (gl_paper_dup):
3660 * libglabels/paper.h:
3661 * libglabels/xml-paper.c:
3662 * libglabels/xml-template.c:
3663 More documentation updates for libglabels.
3665 2005-03-23 Jim Evins <evins@snaught.com>
3668 Automatically updated.
3673 * docs/libglabels/Makefile.am:
3674 * docs/libglabels/libglabels-docs.sgml:
3675 * docs/libglabels/libglabels-sections.txt:
3676 * docs/libglabels/libglabels-undocumented.txt:
3677 * docs/libglabels/tmpl/enums.sgml:
3678 * docs/libglabels/tmpl/libglabels-unused.sgml:
3679 * docs/libglabels/tmpl/libglabels.sgml:
3680 * docs/libglabels/tmpl/paper.sgml:
3681 * docs/libglabels/tmpl/template.sgml:
3682 * docs/libglabels/tmpl/xml-paper.sgml:
3683 * docs/libglabels/tmpl/xml-template.sgml:
3684 * docs/libglabels/tmpl/xml.sgml:
3685 Added basic gtk-doc stuff to support documenting libglabels
3688 Updated function comments with gtk-doc markup.
3692 2005-03-22 Jim Evins <evins@snaught.com>
3694 Since the development version now requires gtk-2.6/gnome-2.10, I
3695 have made a first pass at removing deprecations.
3698 * libglabels/Makefile.am:
3700 Added configure option to turn on X_DISABLE_DEPRECATED flags.
3701 Also removed all remnants of HAVE_FILECHOOSER.
3702 * src/file.c: (gl_file_open_real):
3703 Removed code for old GtkFileSelection.
3704 * libglabels/libglabels-private.h:
3705 * libglabels/paper.c:
3706 * libglabels/template.c:
3707 * libglabels/xml-paper.c:
3708 * libglabels/xml-template.c:
3712 * src/glabels-batch.c:
3716 * src/merge-properties-dialog.c:
3718 * src/object-editor.c:
3719 * src/prefs-dialog.c:
3721 * src/print-dialog.c:
3724 * src/template-designer.c:
3725 * src/ui-property-bar.c:
3727 * src/view-barcode.c:
3729 * src/view-ellipse.c:
3734 * src/wdgt-image-select.c:
3735 * src/wdgt-media-select.c:
3736 * src/wdgt-print-copies.c:
3737 * src/wdgt-print-merge.c:
3738 * src/wdgt-rotate-label.c:
3740 * src/xml-label-04.c:
3741 * src/xml-label-191.c:
3743 Added '#include <glib/gi18n.h>" where needed.
3744 Removed any unused '#include <gnome.h>"s.
3746 2005-03-22 Jim Evins <evins@snaught.com>
3748 * src/commands.c: (activate_url), (gl_cmd_help_about):
3749 Replaced GnomeAbout with GtkAboutDialog. Therefore the
3750 development version of glabels now depends on GTK 2.6 and
3753 Updated library dependencies.
3755 2005-02-28 Jim Evins <evins@snaught.com>
3758 * data/templates/misc-iso-templates.xml:
3759 Added 'Ednet 45021' template provided by Ali Akcaagac
3762 2005-02-14 Jim Evins <evins@snaught.com>
3764 * data/templates/avery-us-templates.xml:
3765 Updated templates to use inches instead of points.
3766 * src/print-dialog.c: (printer_page_new):
3767 Changed packing style when adding printer selector widget. This fixes
3770 2005-02-13 Jim Evins <evins@snaught.com>
3774 Updated spanish translations. (sergio rivadero)
3776 2005-02-05 Jim Evins <evins@snaught.com>
3778 Some cleanup to libglabels.
3781 Updated version to 2.1.1cvs. Added generation of libglabels.pc.
3782 * libglabels/libglabels.pc.in
3784 * libglabels/enums.h
3785 Created. Currently only contains glUnitsType which provides enumerations
3786 for all possible units of distance.
3787 * libglabels/Makefile.am:
3788 Incorporated new files enums.h and libglabels.pc[.in].
3789 * libglabels/libglabels.h:
3791 * libglabels/template.h:
3792 * libglabels/template.c: (gl_template_layout_new):
3793 Changed parameters nx and ny to gint from gdouble.
3795 * libglabels/xml.c: (gl_xml_get_prop_length),
3796 (gl_xml_set_prop_length), (gl_xml_set_default_units):
3797 Added support for different output units.
3798 * src/prefs-dialog.c: (update_locale_page_from_prefs),
3799 (update_prefs_from_locale_page):
3800 * src/prefs-model.c: (string_to_units), (units_to_string):
3801 * src/prefs-model.h:
3802 * src/prefs.c: (gl_prefs_get_units_per_point),
3803 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
3804 (gl_prefs_get_units_string):
3806 * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
3807 Reconciled all length enumerations with the new enumerations provided
3808 in libglabels/enums.h.
3810 2005-02-03 Jim Evins <evins@snaught.com>
3813 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
3815 Updated Italian translations. (Daniele Medri)
3817 Updated credits to reflect above translations.
3820 2005-01-22 Jim Evins <evins@snaught.com>
3825 Added MESSAGE-OF-DOOM to EXTRA_DIST.
3827 Final prep for 2.1.0.
3829 Set version to 2.1.0. Output MESSAGE-OF-DOOM.
3831 Added '--remove-original' flag to desktop-file-install, so that there is
3832 only one menu entry.
3834 2005-01-20 Jim Evins <evins@snaught.com>
3836 * data/glade/object-editor.glade:
3837 - Font family entry should not be editable.
3838 - img_key_entry should have sensitivity=YES, so that it follows the
3839 sensitivity of img_key_combo.
3841 2005-01-19 Jim Evins <evins@snaught.com>
3844 Give credit to Frederic Ruaudel for the color merge patches.
3846 2005-01-18 Frederic Ruaudel <grumz@users.sf.net>
3848 Add support to merge color for all other color attribute (Feature
3849 Requests item #1008635. If the data is invalid, the color used is transparent
3850 (GL_COLOR_NONE). The format for color in merge data file are those accepted
3851 by gdk_color_parse() these include name for a color from rgb.txt, such as
3852 DarkSlateGray, or a hex specification such as #305050. File format has been
3853 changed but backward compatibility is preserved for all format. For
3854 box/ellipse/line, keep attribute "line_color" for static color or replace by
3855 "line_color_field" for merge data. For text/barcode objects, keep attribute
3856 "color" for static color or replace by "color_field" for merge data. In the
3857 edit canvas window, merged color are represented by half-transparent black
3860 * data/dtd/glabels-2.0.dtd:
3861 Added line_color_field to line_attrs. Added color_field to
3862 Object-barcode and Span.
3863 * data/glade/object-editor.glade:
3864 Modify the layout of the editor to add merge possibility to color options
3866 Fix a copy/paste error in a comment
3868 Add default color for merge color representation in the editor canvas.
3869 * src/label-barcode.c:
3870 * src/object-editor-bc-page.c:
3871 * src/view-barcode.c:
3872 Add merge color support for barcode color.
3875 Add merge color support for box border color.
3876 * src/label-ellipse.c:
3877 * src/view-ellipse.c:
3878 Add merge color support for ellipse border color.
3881 Add merge color support for line color.
3882 * src/label-object.c:
3883 * src/label-object.h:
3884 * src/object-editor.c:
3885 * src/object-editor.h:
3886 * src/ui-property-bar.c:
3889 * src/xml-label-04.c:
3890 * src/xml-label-191.c:
3891 Add support for merging to other color attribute.
3893 * src/object-editor-text-page.c:
3895 Add merge color support for text color.
3896 * src/object-editor-fill-page.c:
3897 Change a blocked handler that didn't match the good widget. Fix the type
3898 of some debug message.
3899 * src/object-editor-line-page.c:
3900 Add merging support to line color option.
3901 * src/object-editor-private.h:
3902 Add variables for new widget.
3904 Modify the draw functions to get merge data if needed.
3906 Change the default size of the window in order to see all widget in the
3907 "text style tab" of the editor.
3909 Modify the parser to record/retreive the field value for objects that need
3910 "color" attribute. For box/ellipse/line, keep attribute "line_color" for
3911 static color or replace by "line_color_field" for merge data. For
3912 text/barcode objects, keep attribute "color" for static color or replace
3913 by "color_field" for merge data.
3915 2005-01-17 Jim Evins <evins@snaught.com>
3917 * src/view.c: (screen_changed_cb):
3918 Don't do anything if we don't have a screen.
3920 2005-01-06 Jim Evins <evins@snaught.com>
3922 * src/view.c: (get_home_scale):
3923 Fixed bad call to gtk_widget_has_screen() -- huh?.
3925 2005-01-06 Jim Evins <evins@snaught.com>
3927 * data/dtd/glabels-2.0.dtd:
3928 Added fill_color_field to fill_attrs. Also added xmlns attribute to all
3931 2005-01-06 Jim Evins <evins@snaught.com>
3933 * data/glade/object-editor.glade:
3934 Set entries for fill and data field key dropdowns to NOT editable.
3935 * src/view-box.c: (construct_properties_editor):
3936 * src/view-ellipse.c: (construct_properties_editor):
3937 Update object editor when label's merge property has changed.
3938 * src/xml-label.c: (xml_parse_object_ellipse):
3939 Completed the merge color support for the ellipse item.
3941 2005-01-06 Frederic Ruaudel <grumz@users.sf.net>
3943 Add support to merge color for object that have a "Fill color" attribute (Feature
3944 Requests item #1008635. If the data is invalid, the color used is transparent
3945 (GL_COLOR_NONE). The format for color in merge data file are those accepted
3946 by gdk_color_parse() these include name for a color from rgb.txt, such as
3947 DarkSlateGray, or a hex specification such as #305050. File format has been
3948 changed but backward compatibility is preserved for all format. For box/ellipse,
3949 keep attribute "fill_color" for static color or replace by "fill_color_field"
3952 * data/glade/object-editor.glade:
3953 Modify "Fill" tab to add the merge key combo and convert the labels into
3957 Add "glColorNode" structure and associated functions to manage it. This
3958 structure is equivalent for color than the "glTextNode". It holds the color
3960 * src/label-object.h:
3961 * src/label-object.c:
3963 * src/label-ellipse.c:
3964 * src/ui-property-bar.c:
3968 * src/view-ellipse.c:
3969 * src/xml-label-04.c:
3970 * src/xml-label-191.c:
3971 Change functions of objects that have a "fill color" attribute to use the
3972 new "glColorNode" structure. Use barcode code as example.
3974 Add the color.[ch] file to glabels_batch binary that now need support for
3976 * src/object-editor.h:
3977 * src/object-editor.c:
3978 * src/object-editor-fill-page.c:
3979 Manage the new widget of the editor's "Fill" tab : key combo and radio button
3980 to choose between static color or merge key. Use barcode code as example.
3981 * src/object-editor-private.h:
3982 Add new widget in the "_glObjectEditorPrivate" structure.
3984 Modify the draw functions to get merge data if needed.
3986 Modify the parser to record/retreive the field value for objects that need
3987 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
3988 color or "fill_color_field" for merge data.
3990 2005-01-04 Jim Evins <evins@snaught.com>
3993 * data/templates/avery-iso-templates.xml:
3994 * data/templates/misc-iso-templates.xml:
3995 * data/templates/misc-us-templates.xml:
3996 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
3999 2004-11-26 Jim Evins <evins@snaught.com>
4003 Updated french translations provided by Florent Morel <florent@taket.org>.
4004 * src/view-barcode.c:
4006 * src/view-ellipse.c:
4010 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
4011 thus _() strings were not being translated.
4013 2004-11-14 Jim Evins <evins@snaught.com>
4016 * src/debug.c: (gl_debug_init), (gl_debug):
4017 Borrowed from gedit: use environmental variables to select debug
4020 Removed unused include of debug.h.
4021 * src/glabels.c: (main):
4022 Added call to gl_debug_init(), and removed debug clutter from command line
4024 * src/glabels-batch.c: (main):
4025 Added call to gl_debug_init().
4027 2004-11-13 Jim Evins <evins@snaught.com>
4029 Drawing and property toolbars were being initialized with the "icons and text"
4030 look in Fedora Core 3. Even though none of the buttons had any text attached to
4031 them, the buttons were being sized as if they were. This led to less real estate
4032 for the property editor, leading to Bug #1064630. The
4034 * data/ui/glabels-ui.xml:
4035 Added explicit "look" property to both drawing and property toolbars.
4036 * src/prefs-model.c: (gl_prefs_model_save_settings),
4037 (gl_prefs_model_load_settings):
4038 * src/prefs-model.h:
4039 Removed drawing_toolbar_button_style configuration parameter.
4040 * src/ui.c: (view_menu_item_toggled_cb),
4041 (set_app_drawing_toolbar_style):
4042 Do not attempt to adjust look property of the drawing toolbar.
4044 2004-10-28 Jim Evins <evins@snaught.com>
4046 * data/pixmaps/glabels-about-logo.png:
4049 2004-10-28 Jim Evins <evins@snaught.com>
4051 * data/man/glabels.1:
4052 * src/glabels-batch.c: (main):
4054 * src/print.c: (gl_print_batch):
4056 Added option to glabels-batch to select the first label to begin
4059 2004-09-26 Jim Evins <evins@snaught.com>
4061 * data/desktop/glabels.desktop.in:
4062 Point to app icon, "glabels.png"
4063 * data/mime/glabels.keys.in:
4064 Point at mime icon, "glabels-application-x-glabels.png"
4065 * data/pixmaps/Makefile.am:
4066 Added glabels_app_icondir. Renamed icons.
4067 * data/pixmaps/glabels.png:
4068 New cleaned up app icon. Deleted glabels-icon.png.
4069 * data/pixmaps/glabels-application-x-glabels.png:
4071 * data/pixmaps/glabels-splash.png:
4072 Renamed glabels-logo to glabels-splash to be more correct about role.
4074 * src/template-designer.c:
4075 Point at app icon, "glabels.png"
4077 Point at renamed splash image, "glabels-splash.png"
4079 2004-08-22 Jim Evins <evins@snaught.com>
4082 * src/glabels-batch.c: (main):
4083 Applied patch with minor mods to allow selecting merge source and
4084 crop-marks on glabels-batch's command line. Original patch provided by
4085 José Dapena Paz <jdapena@igalia.com>.
4087 2004-08-15 Jim Evins <evins@snaught.com>
4089 * data/desktop/glabels.desktop.in:
4090 - Added encoding line
4091 - Removed period from comment
4092 - Fixed Terminal line, changed "0" to "false"
4093 - Added semicolen to Categories line
4095 - Made sure desktop.in comment string above still translated properly
4097 2004-08-14 Jim Evins <evins@snaught.com>
4099 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
4100 * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
4101 * src/xml-label-191.c: (xml191_parse_sheet):
4102 Fixed improper freeing of gettext strings. Merged from 2.0.1.
4104 Reconciled libglabels versioning with 2.0.1.
4107 2004-08-14 Jim Evins <evins@snaught.com>
4110 Updated version to 2.1cvs.
4112 2004-08-14 Jim Evins <evins@snaught.com>
4115 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
4117 2004-08-14 Jim Evins <evins@snaught.com>
4119 Fixes for Bug #1008181.
4121 * src/bc.c: (gl_barcode_default_digits):
4122 Make a format of zero digits, harmless.
4123 * src/xml-label.c: (xml_parse_object_barcode):
4124 Set default value of the format property of barcode objects to 10, not
4125 zero. This will prevent crashes when reading pre 2.0.x files.
4127 2004-08-09 Jim Evins <evins@snaught.com>
4131 * help/C/glabels-C.omf:
4132 * help/C/glabels.xml:
4133 Brought documentation up-to-date for 2.0.0 release.
4135 2004-08-09 Jim Evins <evins@snaught.com>
4137 These are hopefully the final preparations for 2.0.0.
4139 * data/mime/Makefile.am:
4140 Include glabels.xml in EXTRA_DIST.
4142 - Updated comment style.
4143 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
4144 - Added package and version info to configuration printout
4145 - Update version to 2.0.0
4146 * libglabels/Makefile.am:
4147 Use the new LIBGLABELS_VERSION_INFO macro.
4149 2004-08-09 Jim Evins <evins@snaught.com>
4153 Cleanup of required library macros.
4155 2004-08-08 Jim Evins <evins@snaught.com>
4159 - More specific of what to install in /usr/bin and /usr/lib
4160 - Remove built mime registration files from staging directory
4162 2004-08-08 Jim Evins <evins@snaught.com>
4164 * data/mime/Makefile.am:
4165 Fixed typo: key_files should have been keys_files.
4167 2004-08-08 Jim Evins <evins@snaught.com>
4169 Reorganization of runtime data files. Also added registration of mimetype with
4170 new freedesktop.org mime database if available.
4173 Moved files to appropriate subdirectories, creating local Makefile.am
4174 in each subdirectory.
4175 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
4176 These are now installed at $datadir/glabels/templates.
4177 - Moved glabels.1 to man subdirectory.
4178 - Moved glabels-2.0.dtd to dtd subdirectory.
4179 - Moved glabels.desktop.in to desktop subdirectory.
4180 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
4182 Moved "./pixmaps" to "./data/pixmaps"
4184 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
4186 Moved libglade files from src to data/glade. Created Makefile.am.
4188 Removed pixmaps from SUBDIRS.
4190 - Removed pixmaps from makefiles.
4191 - Added makefiles for new subdirs of data.
4192 - Added tests for freedesktop.org mime database.
4194 - Added tests for freedesktop.org mime database for post install and
4195 post un-install actions.
4196 * libglabels/Makefile.am:
4197 Moved system template files to $(datadir)/glabels/templates.
4198 * libglabels/libglabels-private.h:
4199 Moved system template files to $(datadir)/glabels/templates.
4201 - Accounted for movement of ui and libglade files.
4202 - Added missing .in files.
4203 - Reorganized by directory.
4205 Accounted for movement of ui and libglade files.
4206 * data/mime/glabels.xml.in:
4207 New file for registering with freedesktop.org mime database.
4209 2004-08-07 Jim Evins <evins@snaught.com>
4211 * src/recent-files/*:
4212 Re-synced to latest libegg/recent-files.
4214 2004-08-07 Jim Evins <evins@snaught.com>
4219 Renamed "./doc" directory to "./help" which contains user documentation,
4220 to be more consistent with other GNOME applications.
4223 2004-07-26 Jim Evins <evins@snaught.com>
4225 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
4226 Corrected button order of merge properties dialog.
4228 2004-07-18 Jim Evins <evins@snaught.com>
4230 * data/glabels-2.0.dtd:
4231 * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
4232 (gl_barcode_get_prefered_n):
4234 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
4235 (gl_label_barcode_get_props), (get_size):
4236 * src/label-barcode.h:
4237 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
4238 (style_changed_cb), (gl_object_editor_set_bc_style),
4239 (gl_object_editor_get_bc_style):
4240 * src/object-editor-data-page.c: (data_radio_toggled_cb),
4241 (gl_object_editor_set_data), (gl_object_editor_get_data):
4242 * src/object-editor-private.h:
4243 * src/object-editor.c: (gl_object_editor_set_key_names):
4244 * src/object-editor.glade:
4245 * src/object-editor.h:
4246 * src/print.c: (draw_barcode_object):
4247 * src/view-barcode.c: (update_object_from_editor_cb),
4248 (update_editor_from_object_cb),
4249 (gl_view_barcode_create_event_handler), (draw_barcode):
4250 * src/xml-label-04.c: (xml04_parse_barcode_props):
4251 * src/xml-label-191.c: (xml191_parse_barcode_props):
4252 * src/xml-label.c: (xml_parse_object_barcode),
4253 (xml_create_object_barcode):
4254 Added "format" attribute to barcode objects. This attribute is used
4255 to properly format freeform barcodes barcodes prior to merge data is
4256 applied, so that barcodes can be accurately layed out. This addresses
4257 remaining issues of feature request #824787. Also added an example of
4258 the format in the object editor.
4260 2004-07-12 Jim Evins <evins@snaught.com>
4262 Various code cleanups.
4264 * src/label-barcode.c:
4265 Removed unneeded include of gnome-glyphlist.h.
4267 * src/label-text.c: (get_size):
4268 Fixed memory leak: unref glyphlists when done with them.
4270 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
4271 * src/object-editor-data-page.c:
4272 (gl_object_editor_prepare_data_page):
4273 * src/object-editor-image-page.c:
4274 (gl_object_editor_prepare_image_page):
4275 * src/object-editor-line-page.c:
4276 (gl_object_editor_prepare_line_page):
4277 * src/object-editor-lsize-page.c:
4278 (gl_object_editor_prepare_lsize_page):
4279 * src/object-editor-position-page.c:
4280 (gl_object_editor_prepare_position_page):
4281 * src/object-editor-size-page.c:
4282 (gl_object_editor_prepare_size_page):
4283 * src/object-editor-text-page.c:
4284 (gl_object_editor_prepare_text_page):
4285 Removed unneeded size groups, originally intended to keep widgets aligned.
4286 Now use tables to lay these out in object-editor.glade.
4288 * src/print.c: (draw_text_object):
4289 Fixed memory leak: unref glyphlists when done with them.
4291 * src/view-barcode.c: (draw_barcode):
4292 Fixed memory leak: unref glyphlists when done with them.
4294 * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
4295 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
4297 - Fixed memory leak: unref glyphlists when done with them.
4299 2004-07-11 Jim Evins <evins@snaught.com>
4301 * data/glabels-2.0.dtd:
4302 * src/label-text.c: (gl_label_text_instance_init), (copy),
4303 (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
4305 * src/object-editor-private.h:
4306 * src/object-editor-text-page.c:
4307 (gl_object_editor_prepare_text_page),
4308 (gl_object_editor_set_text_auto_shrink),
4309 (gl_object_editor_get_text_auto_shrink):
4310 * src/object-editor.c: (gl_object_editor_set_key_names):
4311 * src/object-editor.glade:
4312 * src/object-editor.h:
4313 * src/print.c: (draw_text_object):
4314 * src/view-text.c: (update_object_from_editor_cb),
4315 (update_editor_from_object_cb):
4316 * src/xml-label.c: (xml_parse_object_text),
4317 (xml_create_object_text):
4318 Added option to allow document merge to auto shrink text size to fit
4319 within the text box. The code in print.c that actually shrinks the
4320 text is loosely based on a patch submitted by Mark Harrison
4321 <mark.harrison@velocitynet.com.au>. This addresses feature request
4324 2004-07-11 Jim Evins <evins@snaught.com>
4326 * data/glabels-2.0.dtd:
4327 * libglabels/template.c: (gl_template_rect_label_type_new),
4328 (gl_template_round_label_type_new),
4329 (gl_template_cd_label_type_new), (gl_template_label_type_dup),
4330 (template_full_page):
4331 * libglabels/template.h:
4332 * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
4333 (xml_create_label_node):
4334 * pixmaps/ex-rect-size.png:
4335 * src/print.c: (clip_to_outline), (clip_punchouts):
4336 * src/template-designer.c: (construct_rect_size_page),
4337 (rect_size_page_prepare_cb), (layout_page_prepare_cb),
4339 * src/template-designer.glade:
4340 * src/xml-label-191.c: (xml191_parse_label):
4341 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
4342 properties for rectangular labels. Templates remain backwards compatible,
4343 but this breaks the libglabels API (I don't know of anyone outside of
4344 glabels using libglabels at this time -- what can I say, the program is
4345 is still "unstable"). This addresses the suggestion in Feature Request
4348 2004-07-05 Jim Evins <evins@snaught.com>
4349 * src/print.c: (print_crop_marks), (draw_outline):
4350 Changed crop marks and label outlines to black, instead of 25% gray.
4351 This addresses debian Bug #257460.
4353 2004-07-05 Jim Evins <evins@snaught.com>
4355 * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
4356 * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
4357 Preserve "is_default" of fill and line color_combos when creating from
4360 2004-07-02 Jim Evins <evins@snaught.com>
4363 Created man page. Based on page submitted by Matthew J. Lockner, however
4364 it has been severely edited.
4366 * data/avery-other-templates.xml
4367 * data/misc-other-templates.xml:
4368 Started new files for predefined templates with non-standard sheet sizes.
4369 These have been initially populated with the Avery 06141 and
4370 OfficeMax #86112, both provided by Matthew J. Lockner.
4373 Install above manpage and template files.
4376 Make sure we install man pages.
4378 * src/glabels-batch.c:
4379 Changed short form of help option to '-?' to be consistent with glabels.
4382 Added acknowledgement for above labels.
4384 2004-07-02 Jim Evins <evins@snaught.com>
4386 * src/glabels.c: (main), (save_session_cb):
4387 - Now include libbonoboui.h, recent.h, and file.h to provide missing
4389 - save_session_cb() now returns gboolean.
4390 - Minor formatting changes.
4394 - Now include file.h to provide missing prototype.
4395 - gl_window_get_type() now returns GType, not guint. I believe this may
4396 ultimately be cause of the segfault reported in Bug #982287, since
4397 GType is actually a gulong, which may not be compatible on other
4398 architectures (64bit) -- I cannot personally test this at this time.
4399 I was sloppy in several other xxx_get_type() functions which also
4400 returned guint -- see next group of files:
4402 * src/window.c: (gl_window_get_type):
4403 * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
4404 * src/canvas-hacktext.h:
4405 * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
4406 (gl_hig_category_get_type), (gl_hig_vbox_get_type),
4407 (gl_hig_hbox_get_type):
4409 * src/label-barcode.c: (gl_label_barcode_get_type):
4410 * src/label-barcode.h:
4411 * src/label-box.c: (gl_label_box_get_type):
4413 * src/label-ellipse.c: (gl_label_ellipse_get_type):
4414 * src/label-ellipse.h:
4415 * src/label-image.c: (gl_label_image_get_type):
4416 * src/label-image.h:
4417 * src/label-line.c: (gl_label_line_get_type):
4419 * src/label-object.c: (gl_label_object_get_type):
4420 * src/label-object.h:
4421 * src/label-text.c: (gl_label_text_get_type):
4423 * src/label.c: (gl_label_get_type):
4425 * src/merge-properties-dialog.c:
4426 (gl_merge_properties_dialog_get_type):
4427 * src/merge-properties-dialog.h:
4428 * src/merge-text.c: (gl_merge_text_get_type):
4430 * src/merge.c: (gl_merge_get_type):
4432 * src/object-editor.c: (gl_object_editor_get_type):
4433 * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
4434 * src/prefs-dialog.h:
4435 * src/prefs-model.c: (gl_prefs_model_get_type):
4436 * src/prefs-model.h:
4437 * src/print-dialog.c: (gl_print_dialog_get_type):
4438 * src/print-dialog.h:
4439 * src/template-designer.c: (gl_template_designer_get_type):
4440 * src/template-designer.h:
4441 * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
4442 * src/ui-property-bar.h:
4443 * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
4445 * src/view-barcode.c: (gl_view_barcode_get_type):
4446 * src/view-barcode.h:
4447 * src/view-box.c: (gl_view_box_get_type):
4449 * src/view-ellipse.c: (gl_view_ellipse_get_type):
4450 * src/view-ellipse.h:
4451 * src/view-highlight.c: (gl_view_highlight_get_type):
4452 * src/view-highlight.h:
4453 * src/view-image.c: (gl_view_image_get_type):
4455 * src/view-line.c: (gl_view_line_get_type):
4457 * src/view-object.c: (gl_view_object_get_type):
4458 * src/view-object.h:
4459 * src/view-text.c: (gl_view_text_get_type):
4461 * src/view.c: (gl_view_get_type):
4463 * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
4464 * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
4465 * src/wdgt-image-select.h:
4466 * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
4467 * src/wdgt-media-select.h:
4468 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
4469 * src/wdgt-mini-preview.h:
4470 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
4471 * src/wdgt-print-copies.h:
4472 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
4473 * src/wdgt-print-merge.h:
4474 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
4475 * src/wdgt-rotate-label.h:
4476 - Made sure all xxx_get_type functions returned GType, not guint. This
4477 was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
4478 ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
4479 wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
4480 wdt-print-merge.[ch], and wdgt-rotate-label.[ch]. See separate
4481 window.[ch] details above for more info.
4482 - Reconciled various coding style differences in all xxx_get_type()
4484 * All prototypes include G_GNUC_CONST.
4485 * All prototypes specify the return value as GType, not GtkType
4487 * Info structures are all declared as "static const."
4488 * Generalized the names of type and info variables.
4489 * Miscelaneous formatting.
4491 2004-06-08 Jim Evins <evins@snaught.com>
4497 Don't touch compression of original file -- still defaults to 9 for
4498 new files. Original patch provided by Javier Donaire Segarra
4499 (#912252 in patch tracker).
4501 2004-05-05 Jim Evins <evins@snaught.com>
4503 * data/glabels-2.0.dtd:
4504 Broke DTD previously when adding new barcode types that contain a
4505 plus sign (+). Simply changed the BC_STYLE_TYPE entity to "CDATA"
4506 to avoid the problem.
4507 * data/avery-iso-templates.xml:
4508 * data/zweckform-iso-templates.xml:
4510 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021. Templates
4511 provided by Frank Altpeter.
4512 * libglabels/xml-template.c: (xml_create_label_node):
4513 Reordered markup and layout sub-nodes so that resulting templates will
4514 validate against DTD.
4516 2004-03-13 Jim Evins <evins@snaught.com>
4518 * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
4519 Changed spin callback signals from "value-changed" back to "changed."
4520 This was accidentally introduced in a previous revision, and can cause
4521 size changes just by selecting the size tab.
4523 2004-03-06 Jim Evins <evins@snaught.com>
4525 * src/view.c: (draw_grid_layer):
4526 For round labels (round and cd) adjust grid so that it lines up with
4527 center of label. Also, no longer draw box around label in the grid layer,
4528 it is hidden by he fg layer anyway. Feature suggested by
4529 nemolivier@free.fr. Although the grid is aligned with the center of the
4530 label, the coordinate system is still relative to the upper left corner
4531 of the rectangle containing the label.
4533 2004-02-25 Jim Evins <evins@snaught.com>
4536 Changed version to 2.0pre1cvs
4538 * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
4539 Removed extra xmlFreeDoc() calls upon error. Also print the doc->URL
4540 instead of doc->name fields when errors encountered.
4542 2004-02-21 Jim Evins <evins@snaught.com>
4544 * data/avery-iso-templates.xml:
4545 Added aliases for Avery 8651. Patch provided by Wayne Schuller.
4548 Added libglabels library and include file to installed files.
4551 Final prep for 1.93.3.
4553 2004-02-20 Jim Evins <evins@snaught.com>
4555 * src/glabels-batch.c: (main):
4556 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
4557 as suggested by Javier Donaire Segarra. This addresses bug #901063.
4559 2004-02-16 Jim Evins <evins@snaught.com>
4562 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
4565 Added HAVE_FILE_CHOOSER to INCLUDES.
4567 * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
4568 (gl_file_save_as), (save_as_response):
4569 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
4571 2004-02-16 Jim Evins <evins@snaught.com>
4573 * src/xml-label-04.c: (xml04_parse_image_props):
4574 * src/xml-label-191.c: (xml191_parse_image_props):
4575 * src/xml-label.c: (xml_parse_object_image):
4576 Delay setting image size until after image has been applied to new
4579 2004-02-15 Jim Evins <evins@snaught.com>
4581 * src/label-barcode.c: (gl_label_barcode_set_data),
4582 (gl_label_barcode_set_props):
4583 Don't emit "changed" signal, if no change actually made for these
4584 methods. Reduces number of unnecessary redraws of barcodes.
4586 * src/label-object.h:
4587 * src/label-object.c: (gl_label_object_set_position),
4588 (gl_label_object_set_position_relative), (set_size),
4589 (gl_label_object_set_size),
4590 (gl_label_object_set_size_honor_aspect):
4591 Don't emit "changed" signal, if no change actually made for these
4594 2004-02-15 Jim Evins <evins@snaught.com>
4596 * data/glabels-2.0.dtd:
4597 Added specific subtypes for various barcode types.
4600 * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
4601 (gl_barcode_get_styles_list), (gl_barcode_default_digits),
4602 (gl_barcode_can_text), (gl_barcode_text_optional),
4603 (gl_barcode_can_csum), (gl_barcode_csum_optional),
4604 (gl_barcode_id_to_name), (gl_barcode_name_to_id):
4605 Changed API to use a string id, rather than a fixed enumeration. Id and
4606 name are separate strings. Added entries to backend table for specific
4607 subtypes for various barcode types.
4610 * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
4612 Modified to conform to above API. Now more stringent with data length
4613 for various subtypes.
4615 * src/bc-gnubarcode.h:
4616 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
4617 (is_length_valid), (is_length1_valid), (is_length2_valid):
4618 Modified to conform to above API. Now more stringent with data length
4619 for various subtypes.
4621 * src/label-barcode.h:
4622 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
4623 (gl_label_barcode_get_props), (get_size):
4624 Modified to use above API for storing barcode type.
4626 * src/object-editor.h:
4627 * src/object-editor-bc-page.c: (style_changed_cb),
4628 (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
4629 Modified to use above API for storing barcode type.
4631 * src/object-editor-size-page.c:
4632 (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
4633 (w_spin_cb), (h_spin_cb), (size_reset_cb):
4634 Added debug markers.
4636 * src/object-editor.glade:
4637 Made barcode style combo's text entry non-editable.
4639 * src/print.c: (draw_barcode_object):
4640 Modified to use above API for barcode type.
4642 * src/view-barcode.c: (update_object_from_editor_cb),
4643 (update_editor_from_object_cb),
4644 (gl_view_barcode_create_event_handler), (draw_barcode):
4645 Modified to use above API for barcode type.
4647 * src/xml-label-04.c: (xml04_parse_barcode_props):
4648 * src/xml-label-191.c: (xml191_parse_barcode_props):
4649 * src/xml-label.c: (xml_parse_object_barcode),
4650 (xml_create_object_barcode):
4651 Modified to use above API for barcode type.
4653 2004-02-07 Jim Evins <evins@snaught.com>
4655 * src/stock-pixmaps/Makefile.am:
4656 * src/stock-pixmaps/stock_hchain_24.png:
4657 * src/stock-pixmaps/stock_hchain_broken_24.png:
4658 * src/stock-pixmaps/stock_vchain_24.png:
4659 * src/stock-pixmaps/stock_vchain_broken_24.png:
4660 Added chain pixmaps borrowed from the gimp's default theme.
4663 * src/stock.c: (gl_stock_init), (add_button_icon):
4664 Added above pixmaps to stock icon sets. Created add_button_icon() to
4665 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
4667 * src/wdgt-chain-button.h
4668 * src/wdgt-chain-button.c
4671 Added this Modified version of gimpchainbutton widget, borrowed from
4675 Added acknowledgements of the above borrowing from the gimp.
4677 * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
4679 * src/object-editor.c: (gl_object_editor_construct_chain_button):
4680 * src/object-editor.glade:
4681 Replaced the keep aspect ratio check box with the above chain-button
4684 * src/text-node.c: (gl_text_node_equal):
4686 Added function gl_text_node_equal() to compare text_nodes.
4688 * src/label-image.c: (gl_label_image_set_filename):
4689 Replaced incomplete text_node comparison code with invocation of
4690 gl_text_node_equal. This fixed the problem of not being able to
4691 resize an image using the object_editor if the aspect ratio is not
4694 2004-02-04 Jim Evins <evins@snaught.com>
4696 * src/object-editor-image-page.c:
4697 (gl_object_editor_prepare_image_page):
4698 Track "changed" signal of pixmap entry's GtkEntry rather than its
4699 "activate" signal -- this catches all changes to the entry rather than
4700 just changes resulting from a browse, so one can easily pull previous
4701 entries from the history. (This change is marked below on 2004-02-03,
4702 but somehow never got checked in.)
4704 * src/view-highlight.c: (sl_resize_event_handler),
4705 (sr_resize_event_handler), (st_resize_event_handler),
4706 (sb_resize_event_handler):
4707 Side resize handles will now confirm the actual resize that the object
4708 accepted before adjusting position parameters. Previously some interesting
4709 things happened when resizing a barcode to its minimum size.
4711 2004-02-03 Jim Evins <evins@snaught.com>
4713 * src/object-editor-image-page.c:
4714 (gl_object_editor_prepare_image_page):
4715 Track "changed" signal of pixmap entry's GtkEntry rather than its
4716 "activate" signal -- this catches all changes to the entry rather than
4717 just changes resulting from a browse, so one can easily pull previous
4718 entries from the history.
4720 * src/view-highlight.c: (tl_resize_event_handler),
4721 (tr_resize_event_handler), (bl_resize_event_handler),
4722 (br_resize_event_handler):
4723 Allow control key to be dropped while dragging a corner resize handle
4724 without losing the aspect ratio lock.
4726 2004-02-02 Jim Evins <evins@snaught.com>
4728 * src/label-image.c: (gl_label_image_set_filename):
4729 When setting a new filename adjust size such that the aspect ratio of
4730 the image is preserved using the current size as a bounding box.
4732 * src/view-image.c: (update_object_from_editor_cb):
4733 When updating object from editor, feed back possible size changes to
4734 editor as a result of a possible change in image.
4736 * src/object-editor-size-page.c: (size_reset_cb):
4737 Fixed typo when blocking spin handlers. If the base size is larger than
4738 the max size, treat max size as a bounding box while keeping aspect
4742 2004-02-02 Jim Evins <evins@snaught.com>
4744 * src/label-object.h:
4745 * src/label-object.c: (gl_label_object_set_size),
4746 (gl_label_object_set_size_honor_aspect):
4747 Added gl_label_object_set_size_honor_aspect() which will maintain the
4748 current aspect ratio by modifying the supplied w or h apropriately.
4750 * src/view-highlight.c: (tl_resize_event_handler),
4751 (tr_resize_event_handler), (bl_resize_event_handler),
4752 (br_resize_event_handler):
4753 Corner handles will now maintain the current aspect ratio if the
4754 control key is pressed while resizing. This addresses feature
4758 2004-01-31 Jim Evins <evins@snaught.com>
4761 * data/avery-us-templates.xml:
4762 Added entries for "LSK-3," "LSK-5," and "LSK-8." Submitted by JBadger.
4764 * libglabels/template.c: (read_template_files_from_dir):
4765 Corrected problem with testing for extensions.
4767 * src/object-editor.glade:
4768 Corrected grouping of radio buttons in barcode data page.
4770 * src/print.c: (draw_barcode_object):
4771 * src/view-barcode.c: (draw_barcode):
4772 Corrected problem with calculation of y_offset for locating characters.
4774 2004-01-24 Jim Evins <evins@snaught.com>
4777 * data/avery-us-templates.xml:
4778 Added Avery 5824, submitted by Fred Bacon.
4780 2004-01-20 Jim Evins <evins@snaught.com>
4782 Catching up on a couple of backlogged user template submissions.
4784 * data/avery-iso-templates.xml:
4785 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
4786 Suggested by Linas Jakucionis.
4788 * data/zweckform-iso-templates.xml:
4789 Added Zweckform 4760, submitted by Thomas Vill.
4792 Updated to reflect above submissions.
4794 2004-01-06 Jim Evins <evins@snaught.com>
4796 Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
4797 xml.[ch] into a separate library called libglabels, to facilitate third
4798 party use of glabels template files. This was suggested by Wayne Schuller.
4799 Once split-out, some modifications to the structures and functions to
4800 make a cleaner more useful API, hopefully. Rather extensive changes have
4801 propogated to other modules.
4809 * src/xml-template.h:
4810 * src/xml-template.c:
4813 These files have been moved to libglabels/. API cleanup performed.
4815 * libglabels/libglabels.h:
4816 * libglabels/libglabels-private.h:
4817 * libglabels/Makefile.am:
4818 These files have been added to finish out libglabels.
4825 Modified to reflect new sets of files in src/ and libglabels/.
4827 * COPYING.LIBGLABELS:
4829 Added copy of the LGPL for libglabels, and a copy the GFDL for
4832 * src/glabels-batch.c:
4834 * src/label.c: (gl_label_finalize), (gl_label_set_template),
4835 (gl_label_get_size):
4837 * src/prefs-model.c: (gl_prefs_model_load_settings):
4838 * src/print-dialog.c:
4839 * src/print.c: (gl_print_simple), (gl_print_merge_collated),
4840 (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
4841 (print_crop_marks), (print_label), (draw_outline),
4842 (clip_to_outline), (clip_punchouts):
4843 * src/template-designer.c: (construct_pg_size_page),
4844 (pg_size_page_changed_cb), (layout_page_changed_cb),
4845 (print_test_cb), (build_template):
4846 * src/util.c: (gl_util_fraction):
4848 * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
4849 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
4850 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
4851 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
4852 (draw_markup_margin_round), (draw_markup_margin_cd),
4853 (draw_markup_margin_cd_bc), (draw_markup_line),
4854 (draw_markup_circle), (gl_view_copy):
4855 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
4856 (page_size_entry_changed_cb), (details_update), (get_layout_desc),
4857 (get_label_size_desc):
4858 * src/wdgt-mini-preview.c:
4859 (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
4861 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
4862 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
4863 * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
4864 (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
4865 * src/wdgt-rotate-label.h:
4866 * src/xml-label-04.c: (xml04_parse_media_description):
4867 * src/xml-label-191.c: (gl_xml_label_191_parse),
4868 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
4869 (xml191_parse_markup), (xml191_parse_alias):
4870 * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
4872 Various changes to accomodate new libglabels API.
4874 2004-01-03 Jim Evins <evins@snaught.com>
4879 2004-01-03 Jim Evins <evins@snaught.com>
4882 Added acknowledgement of contributions by Wayne Schuller.
4884 * src/commands.c: (gl_cmd_file_print):
4885 Create extra reference to print dialog, so that it can be properly re-used.
4887 * src/mygal/mygal-combo-box.h:
4888 * src/mygal/mygal-combo-box.c:
4889 (mygal_combo_box_popup_hide_unconditional),
4890 (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
4891 (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
4892 (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
4893 (mygal_combo_box_set_tearable):
4894 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
4895 complete the rename of this widget to prevent namespace collisions
4898 * src/prefs-dialog.glade:
4899 Fixed alignment of Fill/Color widgets.
4901 2004-01-03 Jim Evins <evins@snaught.com>
4903 * data/avery-iso-templates.xml:
4904 Added user submitted templates.
4905 Avery 8435A & 8435B, submitted by Ludger Solbach.
4907 * doc/C/glabels.xml:
4908 Added minimal documentation, noting the new template designer.
4910 2004-01-03 Jim Evins <evins@snaught.com>
4912 * pixmaps/ex-rect-size.png:
4913 * pixmaps/ex-round-size.png:
4914 * pixmaps/ex-cd-size.png:
4915 * pixmaps/Makefile.am:
4916 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
4917 files to be used as illustrations/examples in the template-designer.
4919 * src/template-designer.c: (construct_rect_size_page),
4920 (construct_round_size_page), (construct_cd_size_page),
4921 (construct_nlayouts_page), (rect_size_page_prepare_cb),
4922 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
4923 (layout_page_prepare_cb), (build_template):
4924 * src/template-designer.glade:
4925 Added illustrations for rectangle, round, and cd label size pages.
4926 Added margin spinboxes to these pages, and now add a margin markup
4927 to the constructed template. Added realistic default values for
4928 some of the size spinboxes. Cleaned up the code for setting spinbox
4929 ranges on the layouts page.
4931 2004-01-02 Jim Evins <evins@snaught.com>
4933 * src/object-editor-size-page.c: (h_spin_cb):
4934 Fixed cut-n-paste error in h_spin_cb that loaded h from
4935 the wrong spinbutton.
4937 * src/object-editor.h:
4938 * src/object-editor.c: (gl_object_editor_class_init),
4939 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
4940 * src/object-editor-private.h:
4941 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
4943 Added "size_changed" signal.
4945 * src/view-text.c: (construct_properties_editor),
4946 (update_object_from_editor_cb),
4947 (update_object_from_editor_size_cb):
4948 Track size changes from object editor separately from other
4949 properties. This is so the default size (0,0) of a text
4950 object is not modified unintentionally.
4952 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
4954 Added feature: line spacing - allows you to comfortably space a text box to
4955 fit a label perfectly.
4957 * data/glabels-2.0.dtd:
4958 * src/label-object.c: (gl_label_object_set_text_line_spacing),
4959 (gl_label_object_get_text_alignment),
4960 (gl_label_object_get_text_line_spacing):
4961 * src/label-object.h:
4962 * src/label-text.c: (gl_label_text_class_init),
4963 (gl_label_text_instance_init), (copy), (get_size),
4964 (set_text_line_spacing), (get_text_alignment),
4965 (get_text_line_spacing):
4966 * src/object-editor-private.h:
4967 * src/object-editor-text-page.c:
4968 (gl_object_editor_prepare_text_page),
4969 (gl_object_editor_set_text_line_spacing),
4970 (gl_object_editor_get_text_line_spacing):
4971 * src/object-editor.glade:
4972 * src/object-editor.h:
4973 * src/prefs-dialog.c: (construct_object_page),
4974 (update_object_page_from_prefs), (update_prefs_from_object_page):
4975 * src/prefs-dialog.glade:
4976 * src/prefs-model.c: (gl_prefs_model_save_settings),
4977 (gl_prefs_model_load_settings), (get_float):
4978 * src/prefs-model.h:
4979 * src/print.c: (draw_text_object):
4981 * src/view-text.c: (update_object_from_editor_cb),
4982 (update_editor_from_object_cb),
4983 (gl_view_text_create_event_handler), (draw_hacktext):
4984 * src/view.c: (gl_view_construct),
4985 (gl_view_set_selection_text_line_spacing),
4986 (gl_view_set_default_text_line_spacing),
4987 (gl_view_get_default_text_line_spacing):
4989 * src/xml-label.c: (xml_parse_toplevel_span),
4990 (xml_create_toplevel_span):
4992 2003-12-30 Jim Evins <evins@snaught.com>
4994 * src/template-designer.c:
4995 * src/template-designer.h:
4996 * src/template-designer.glade:
4997 New template designer assistant.
5001 Added entries for src/template-designer.* files.
5003 * pixmaps/ex-1layout.png
5004 * pixmaps/ex-2layouts.png
5005 * pixmaps/Makefile.am:
5006 Added the new image files ex-*.png used as illustrations in the
5007 template designer assistant.
5009 * src/print-dialog.h:
5010 * src/print-dialog.c: (gl_print_dialog_finalize),
5011 (gl_print_dialog_new), (gl_print_dialog_construct),
5012 (gl_print_dialog_force_outline_flag):
5013 Changed first argument of gl_print_dialog_new() from glView to glLabel,
5014 to support printing from the template designer assistant which does not
5015 have a full-fledged view. Nothing else from the view object was being
5016 used by the dialog anyway.
5018 Added the gl_print_dialog_force_outline_flag() method, for better
5019 integration with the template designer assistant.
5023 * src/commands.c: (gl_cmd_file_template_designer),
5024 (gl_cmd_file_print):
5025 Modified print command to provide label instead of view to dialog.
5026 Added the gl_cmd_file_template_designer() command to invoke the
5027 template designer assistant.
5030 * src/glabels-ui.xml:
5031 Added support for template designer assistant.
5033 * src/wdgt-mini-preview.h:
5034 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
5035 (gl_wdgt_mini_preview_set_bg_color):
5036 Preview is now centered in canvas. Added
5037 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
5038 assistant to match the background color with its own.
5040 * src/print.c: (clip_to_outline):
5041 Fixed really stupid bug when adding waste to clip region of rectangular
5042 labels/cards. Each side of the clip region needs to be extended by
5043 twice the waste margin, as well as negatively offset by the waste
5046 2003-12-28 Jim Evins <evins@snaught.com>
5048 * src/prefs-dialog.c: (update_object_page_from_prefs):
5049 Block intermediary function align_toggle_cb() instead of
5050 update_prefs_from_object_page() for the three alignment
5053 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
5055 * src/file.c: (gl_file_new), (gl_file_properties):
5056 Swap button order and set default for higificatory pleasure.
5058 2003-12-27 Jim Evins <evins@snaught.com>
5060 * barcode-0.98/Makefile.am:
5061 One last time: removed doc/Makefile and po/Makefile.in.in from
5064 2003-12-27 Jim Evins <evins@snaught.com>
5066 * barcode-0.98/Makefile.am:
5067 Removed config.stat entry from EXTRA_DIST files.
5069 * barcode-0.98/Makefile.in:
5072 2003-12-27 Jim Evins <evins@snaught.com>
5075 Updated to work with latest gnome-common package from CVS.
5076 Removed recursive configuration of barcode-0.98.
5083 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
5085 * barcode-0.98/Makefile.in:
5086 * barcode-0.98/configure.in:
5087 * barcode-0.98/Makefile.am:
5088 * barcode-0.98/README.glabels:
5089 Modified to ignore the barcode package's build system, and build
5090 as a part of glabels.
5091 Renamed Makefile.in to Makefile.in.dist.
5092 Renamed configure.in to configure.in.dist.
5093 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
5096 * src/mygal/Makefile.am:
5097 * src/recent-files/Makefile.am:
5098 In order to build against the GNOME 2.5 platform,
5099 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
5101 * src/mygal/Makefile.am:
5102 * src/mygal/mygal-combo-box.c:
5103 * src/mygal/mygal-combo-box.h:
5104 * src/mygal/widget-color-combo.c:
5105 * src/mygal/widget-color-combo.h:
5107 In order to build against the GNOME 2.5 platform,
5108 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
5109 collisions with the real gtk_combo_box widget, now a part of gtk.
5111 2003-12-26 Jim Evins <evins@snaught.com>
5117 Moved local versions of get_home_data_dir() in paper.c and
5118 template.c to util package. Cleaned up formatting in
5122 In gl_template_register() save a copy of the template in
5123 ~/.glabels if the template is not known. Still need to
5124 handle duplicate filename case and duplicate name but
5125 different template case.
5129 Moved local definition of NAME_SPACE macro from xml-label.c
5132 * src/xml-template.c:
5133 * src/xml-template.h:
5134 Added function gl_xml_template_write_template_to_file(), used
5135 in gl_template_register().