1 2009-09-17 Jim Evins <evins@snaught.com>
3 * src/stock.c: (add_icons), (add_button_icon):
4 Use proper free function for GtkIconSource (gtk_icon_source_free() not g_free()).
5 Patch provided by Christian Persch <chpe@gnome.org>.
7 2009-09-17 Jim Evins <evins@snaught.com>
9 * libglabels/category.h:
12 * libglabels/template.h:
13 * libglabels/xml-category.h:
14 * libglabels/xml-paper.h:
16 Cleaned up GTK/GLIB includes.
17 * src/bc-gnubarcode.c:
18 * src/bc-gnubarcode.h:
27 * src/cairo-ellipse-path.c:
28 * src/cairo-ellipse-path.h:
29 * src/cairo-label-path.c:
30 * src/cairo-label-path.h:
31 * src/cairo-markup-path.c:
32 * src/cairo-markup-path.h:
33 * src/color-combo-button.c:
34 * src/color-combo-button.h:
35 * src/color-combo-color-menu-item.c:
36 * src/color-combo-color-menu-item.h:
37 * src/color-combo-history.c:
38 * src/color-combo-menu.c:
39 * src/color-combo-menu.h:
46 * src/critical-error-handler.c:
47 * src/critical-error-handler.h:
52 * src/font-combo-menu-item.c:
53 * src/font-combo-menu-item.h:
54 * src/font-combo-menu.c:
55 * src/font-combo-menu.h:
61 * src/glabels-batch.c:
64 * src/label-barcode.c:
65 * src/label-barcode.h:
68 * src/label-ellipse.c:
69 * src/label-ellipse.h:
80 * src/merge-evolution.c:
81 * src/merge-evolution.h:
84 * src/merge-properties-dialog.c:
85 * src/merge-properties-dialog.h:
92 * src/mini-label-preview.c:
93 * src/mini-label-preview.h:
94 * src/mini-preview-pixbuf-cache.c:
95 * src/mini-preview-pixbuf-cache.h:
96 * src/mini-preview-pixbuf.c:
97 * src/mini-preview-pixbuf.h:
99 * src/new-label-dialog.c:
100 * src/new-label-dialog.h:
101 * src/object-editor-bc-page.c:
102 * src/object-editor-data-page.c:
103 * src/object-editor-fill-page.c:
104 * src/object-editor-image-page.c:
105 * src/object-editor-line-page.c:
106 * src/object-editor-lsize-page.c:
107 * src/object-editor-position-page.c:
108 * src/object-editor-private.h:
109 * src/object-editor-shadow-page.c:
110 * src/object-editor-size-page.c:
111 * src/object-editor-text-page.c:
112 * src/object-editor.c:
113 * src/object-editor.h:
114 * src/pixbuf-cache.c:
115 * src/pixbuf-cache.h:
116 * src/prefs-dialog.c:
117 * src/prefs-dialog.h:
122 * src/print-op-dialog.c:
129 * src/rotate-label-button.c:
130 * src/rotate-label-button.h:
133 * src/template-designer.c:
134 * src/template-designer.h:
139 * src/ui-property-bar.c:
140 * src/ui-property-bar.h:
149 * src/view-barcode.c:
150 * src/view-barcode.h:
153 * src/view-ellipse.c:
154 * src/view-ellipse.h:
165 * src/warning-handler.c:
166 * src/warning-handler.h:
167 * src/wdgt-chain-button.c:
168 * src/wdgt-chain-button.h:
169 * src/wdgt-media-select.c:
170 * src/wdgt-media-select.h:
171 * src/wdgt-merge-menu.c:
172 * src/wdgt-merge-menu.h:
175 * src/xml-label-04.c:
176 * src/xml-label-04.h:
179 Cleaned up GTK/GLIB includes.
180 Updated remainder of notices to GPL3+.
181 Simple formatting cleanup.
183 2009-09-13 Jim Evins <evins@snaught.com>
185 Refactored print operation subsystem.
189 Basic GtkPrintOperation based class. Does not instantiate
190 custom widgets, so it can be used by glabels-batch without
191 the additional overhead.
192 * src/print-op-dialog.c:
193 * src/print-op-dialog.h:
194 New object derived from glPrintOp. This one is intended
195 to be used as a dialog and installs custom widgets.
196 glWdgtPrintCopies and glWdgtPrintMerge have been merged
198 * src/wdgt-print-copies.c:
199 * src/wdgt-print-copies.h:
200 * src/wdgt-print-merge.c:
201 * src/wdgt-print-merge.h:
204 Modified to reflect above additions and deletions.
205 * src/mini-preview.c: (gl_mini_preview_construct),
206 (gl_mini_preview_set_template), (set_transform_and_get_scale),
207 (button_press_event_cb), (motion_notify_event_cb), (draw):
208 Now scales with allocation.
209 * src/glabels-batch.c: (main):
210 * src/template-designer.c: (print_test_cb):
211 * src/ui-commands.c: (gl_ui_cmd_file_print):
212 Use above modifications.
213 * data/builder/print-op-dialog-custom-widget.builder:
214 New builder file for glPrintOpDialog custom widgets.
215 * data/builder/print-custom-widget.builder:
217 * data/builder/Makefile.am:
218 Modified to reflect above addition and deletion.
220 2009-09-10 Jim Evins <evins@snaught.com>
223 * src/mini-label-preview.c:
224 * src/mini-label-preview.h:
225 Created new glMiniLabelPreview widget to support glRotateLabelButton.
226 * src/rotate-label-button.c:
227 * src/rotate-label-button.h:
228 Renamed glWdgtRotateLabel to glRotateLabelButton.
229 * src/new-label-dialog.c: (gl_new_label_dialog_construct),
230 (template_changed_cb), (gl_new_label_dialog_get_rotate_state),
231 (gl_new_label_dialog_set_rotate_state):
232 Propogated above renaming.
233 * src/mini-preview.c: (gl_mini_preview_set_template), (draw),
234 (draw_shadow), (draw_paper), (draw_labels):
235 Use GtkStyle for colors instead of hardcoded ones.
237 2009-09-09 Jim Evins <evins@snaught.com>
242 * src/stock-pixmaps/Makefile.am:
243 * qrencode-3.1.0/Makefile.am
244 * data/desktop/glabels.desktop.in:
245 * docs/libglabels/libglabels-decl-list.txt:
246 Various build system fixes and cleanup.
248 2009-09-08 Jim Evins <evins@snaught.com>
250 * src/font-util.c: (gl_font_util_validate_family):
252 Added gl_font_util_validate_family().
253 * src/font-combo.c: (gl_font_combo_class_init),
254 (gl_font_combo_new), (gl_font_combo_set_family):
255 Use gl_font_util_validate_family() when setting family.
256 * src/label-text.c: (set_font_family):
257 * src/prefs-dialog.c: (construct_object_page),
258 (update_object_page_from_prefs):
259 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
260 (reset_to_default_properties):
261 * src/object-editor-text-page.c:
262 (gl_object_editor_prepare_text_page),
263 (gl_object_editor_set_font_family):
264 Removed code obsoleted by the addition of gl_font_util_validate_family().
265 * src/color-swatch.c: (gl_color_swatch_class_init), (style_set_cb),
267 * src/font-sample.c: (gl_font_sample_class_init), (style_set_cb),
269 Added handler for style_set event.
270 * src/color-combo-button.c: (gl_color_combo_button_class_init):
271 * src/color-combo-color-menu-item.c:
272 (gl_color_combo_color_menu_item_class_init):
273 * src/color-combo-history.c: (gl_color_combo_history_class_init):
274 * src/color-combo-menu.c: (map_event_cb):
275 * src/color-combo.c: (gl_color_combo_class_init),
276 (gl_color_combo_new):
277 * src/font-combo-menu-item.c: (gl_font_combo_menu_item_class_init):
278 * src/font-combo-menu.c: (gl_font_combo_menu_class_init):
279 * src/wdgt-rotate-label.c: (create_pixbuf):
280 Various cleanups -- mostly removing unused variables.
282 2009-09-07 Jim Evins <evins@snaught.com>
284 Created new glFontCombo widget family subsystem + minor refinements to glColorCombo
287 * src/color-combo-button.c:
288 * src/color-combo-button.h:
289 Renamed ColorButton to ColorComboButton.
291 Added GL_COLOR_WHITE macro.
292 * src/color-combo.c: (gl_color_combo_init):
297 * src/font-combo-menu.c:
298 * src/font-combo-menu.h:
299 * src/font-combo-menu-item.c:
300 * src/font-combo-menu-item.h:
305 New FontCombo subsystem.
308 Moved font functions to font-util.[ch].
309 * data/builder/object-editor.builder:
310 * data/builder/prefs-dialog.builder:
311 * data/builder/property-bar.builder:
312 * src/label-text.c: (set_font_family):
313 * src/object-editor-private.h:
314 * src/object-editor-text-page.c:
315 (gl_object_editor_prepare_text_page),
316 (gl_object_editor_set_font_family),
317 (gl_object_editor_get_font_family):
318 * src/prefs-dialog.c: (construct_object_page),
319 (update_object_page_from_prefs), (update_prefs_from_object_page):
320 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
321 (reset_to_default_properties), (update_text_properties),
322 (update_fill_color), (update_line_color), (font_family_changed_cb),
323 (text_color_changed_cb), (fill_color_changed_cb),
324 (line_color_changed_cb):
325 Incorporated new FontCombo subsystem.
327 Reconciled with above changes/additions.
329 2009-09-06 Jim Evins <evins@snaught.com>
331 * src/color-button.c: (gl_color_button_finalize):
332 Unreference menu in finalize.
334 2009-09-06 Jim Evins <evins@snaught.com>
336 Some major refinements to the glColorCombo family of widgets.
339 * src/color-button.c:
340 * src/color-button.h:
341 New widget: glColorButton. This widget is a button that applies
342 the currently selected color with a ColorCombo type dropdown button
343 to change that selected color. This is basically the old
345 * src/color-combo.c: (gl_color_combo_init),
346 (gl_color_combo_finalize), (gl_color_combo_new),
347 (button_press_event_cb), (menu_color_changed_cb),
348 (menu_selection_done_cb):
350 The glColorCombo widget has been modified to be a single button
351 that is only used to change the selected color.
352 * src/color-swatch.c: (gl_color_swatch_init), (expose_event_cb):
353 Draw on parent containers window to allow an effective
355 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
356 * src/object-editor-fill-page.c:
357 (gl_object_editor_prepare_fill_page):
358 * src/object-editor-line-page.c:
359 (gl_object_editor_prepare_line_page):
360 * src/object-editor-shadow-page.c:
361 (gl_object_editor_prepare_shadow_page):
362 * src/object-editor-text-page.c:
363 (gl_object_editor_prepare_text_page):
364 * src/prefs-dialog.c: (construct_object_page):
365 Change how ColorCombos are packed so that they don't
367 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
368 (reset_to_default_properties), (update_text_properties),
369 (update_fill_color), (update_line_color), (text_color_changed_cb),
370 (fill_color_changed_cb), (line_color_changed_cb),
371 (set_doc_items_sensitive), (set_text_items_sensitive),
372 (set_fill_items_sensitive), (set_line_color_items_sensitive):
373 The property bar now uses the new glColorButton instead of
376 2009-09-02 Jim Evins <evins@snaught.com>
379 * src/wdgt-mini-preview.c:
380 * src/wdgt-mini-preview.h:
381 * src/mini-preview.h:
382 * src/mini-preview.c:
383 - Renamed WdgtMiniPreview to MiniPreview.
385 - Modified to draw to parent window to be effectively transparent.
386 - Updated license notification to gpl3+.
387 * src/template-designer.c: (construct_layout_page),
388 (layout_page_prepare_cb), (layout_page_changed_cb):
389 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct),
390 (sheets_radio_cb), (first_spin_cb), (last_spin_cb),
392 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct),
393 (spin_cb), (preview_clicked), (gl_wdgt_print_merge_set_copies):
394 - Reconciled with rename above.
396 2009-09-01 Jim Evins <evins@snaught.com>
398 * data/builder/object-editor.builder:
399 Fixed errant expansion of tab.
400 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
401 * src/bc-postnet.c: (gl_barcode_postnet_new):
402 * src/bc.c: (id_to_index), (name_to_index):
403 * src/label-barcode.c: (gl_label_barcode_set_props):
404 * src/label-text.c: (set_font_family):
405 * src/merge-properties-dialog.c:
406 (gl_merge_properties_dialog_construct):
407 * src/merge.c: (gl_merge_description_to_name):
408 * src/new-label-dialog.c:
409 * src/object-editor-edit-page.c:
410 * src/object-editor-image-page.c: (update_preview_cb):
411 * src/object-editor-lsize-page.c:
412 * src/object-editor-position-page.c:
413 * src/object-editor-size-page.c:
414 * src/object-editor.c: (gl_object_editor_new):
415 * src/prefs-dialog.c: (update_locale_page_from_prefs):
416 * src/prefs-model.c: (string_to_units):
417 * src/print-op.c: (create_custom_widget_cb):
418 * src/template-designer.c: (gl_template_designer_init),
419 (pg_size_page_changed_cb), (build_template):
420 * src/ui-commands.c: (gl_ui_cmd_help_about):
421 * src/xml-label.c: (xml_parse_pixdata):
422 Fixed various deprecations as of Gtk-2.16.
424 2009-08-31 Jim Evins <evins@snaught.com>
427 Updated french translation (Claude Paroz)
429 2009-08-31 Jim Evins <evins@snaught.com>
431 * data/builder/property-bar.builder:
432 Make sure event box does not obscure tool bar background.
434 * src/color-swatch.c:
435 * src/color-swatch.h:
436 New color swatch widget.
437 * src/color-combo-color-menu-item.c:
438 (gl_color_combo_color_menu_item_init),
439 (gl_color_combo_color_menu_item_new),
440 (gl_color_combo_color_menu_item_set_color):
441 * src/color-combo.c: (gl_color_combo_init),
442 (gl_color_combo_finalize), (gl_color_combo_new),
443 (gl_color_combo_set_color), (menu_color_changed_cb):
444 Updated to use new color swatch widget.
446 2009-08-26 Jim Evins <evins@snaught.com>
449 Explicitely mark file types. Removed unneeded file from
452 2009-08-23 Jim Evins <evins@snaught.com>
454 * data/builder/Makefile.am:
455 * data/builder/merge-properties-dialog.builder:
456 * data/builder/merge-properties-dialog.glade:
457 * data/builder/new-label-dialog.builder:
458 * data/builder/new-label-dialog.glade:
459 * data/builder/object-editor.builder:
460 * data/builder/object-editor.glade:
461 * data/builder/prefs-dialog.builder:
462 * data/builder/prefs-dialog.glade:
463 * data/builder/print-custom-widget.builder:
464 * data/builder/print-custom-widget.glade:
465 * data/builder/property-bar.builder:
466 * data/builder/property-bar.glade:
467 * data/builder/template-designer.builder:
468 * data/builder/template-designer.glade:
469 * data/builder/wdgt-media-select.builder:
470 * data/builder/wdgt-media-select.glade:
472 * src/merge-properties-dialog.c:
473 (gl_merge_properties_dialog_finalize),
474 (gl_merge_properties_dialog_construct):
475 * src/new-label-dialog.c: (gl_new_label_dialog_finalize),
476 (gl_new_label_dialog_construct):
477 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
478 * src/object-editor-data-page.c:
479 (gl_object_editor_prepare_data_page):
480 * src/object-editor-edit-page.c:
481 (gl_object_editor_prepare_edit_page):
482 * src/object-editor-fill-page.c:
483 (gl_object_editor_prepare_fill_page):
484 * src/object-editor-image-page.c:
485 (gl_object_editor_prepare_image_page):
486 * src/object-editor-line-page.c:
487 (gl_object_editor_prepare_line_page):
488 * src/object-editor-lsize-page.c:
489 (gl_object_editor_prepare_lsize_page):
490 * src/object-editor-position-page.c:
491 (gl_object_editor_prepare_position_page):
492 * src/object-editor-private.h:
493 * src/object-editor-shadow-page.c:
494 (gl_object_editor_prepare_shadow_page):
495 * src/object-editor-size-page.c:
496 (gl_object_editor_prepare_size_page):
497 * src/object-editor-text-page.c:
498 (gl_object_editor_prepare_text_page):
499 * src/object-editor.c: (gl_object_editor_init),
500 (gl_object_editor_finalize):
501 * src/prefs-dialog.c: (gl_prefs_dialog_init),
502 (gl_prefs_dialog_finalize), (gl_prefs_dialog_construct),
503 (construct_locale_page), (construct_object_page):
504 * src/print-op.c: (gl_print_op_finalize),
505 (gl_print_op_set_settings), (create_custom_widget_cb):
506 * src/template-designer.c: (gl_template_designer_init),
507 (gl_template_designer_finalize), (construct_start_page),
508 (construct_name_page), (construct_pg_size_page),
509 (construct_shape_page), (construct_rect_size_page),
510 (construct_round_size_page), (construct_cd_size_page),
511 (construct_nlayouts_page), (construct_layout_page),
512 (construct_finish_page):
513 * src/ui-property-bar.c: (gl_ui_property_bar_finalize),
514 (gl_ui_property_bar_construct):
515 * src/wdgt-media-select.c: (gl_wdgt_media_select_finalize),
516 (gl_wdgt_media_select_construct):
517 Builder files no longer built from glade files. Also did some
518 cleanup on formatting and update license notifications to GPL3+.
520 2009-08-13 Jim Evins <evins@snaught.com>
522 * src/color-combo-color-menu-item.c:
523 (gl_color_combo_color_menu_item_init),
524 (gl_color_combo_color_menu_item_new),
525 (gl_color_combo_color_menu_item_set_color):
526 Explicitly request size of menu item and enlarge color swatch.
528 2009-08-12 Jim Evins <evins@snaught.com>
530 * src/label-text.c: (buffer_changed_cb), (draw_object),
531 (draw_shadow), (draw_text_real):
533 Moved common code from draw_object() and draw_shadow() to
534 draw_text_real(). Also cleaned up formatting and updated
535 license notification to GPL3+.
537 2009-07-29 Alexandre Prokoudine <alexandre.prokoudine@gmail.com>
539 * po/ru.po: Updated and fixed Russian translation
541 2009-07-26 Jim Evins <evins@snaught.com>
544 * COPYING.README_FIRST:
548 Added 3rd party qrencode library.
550 * src/bc-iec18004.c: (gl_barcode_iec18004_new), (render_iec18004):
553 Added IEC18004 (QRCode) 2 dimensional barcode backend.
554 Patch provided by Daniel Mueller <daniel@danm.de>.
556 2009-07-25 Jim Evins <evins@snaught.com>
558 * src/xml-label.c: (gl_xml_label_open):
559 Relax limits when parsing file. Allows large embedded image
562 2009-05-19 Jim Evins <evins@snaught.com>
566 Moved translation list from configure.in to po/LINGUAS.
568 2009-05-19 Jim Evins <evins@snaught.com>
572 New Chinese translation (Careon <zzbusagain@yahoo.com.cn>).
574 Added above translation to acknowledgements.
576 2009-05-18 Jim Evins <evins@snaught.com>
578 * src/prefs-model.c: (gl_prefs_model_load_settings):
579 Make an educated guess at locale settings when run for the
582 2009-05-17 Jim Evins <evins@snaught.com>
585 * help/glabels.omf.in:
586 Adding missing files from last checkin.
588 2009-05-17 Jim Evins <evins@snaught.com>
592 * help/C/glabels-C.omf:
593 * help/C/glabels.xml:
596 Updated german translation, gnome-doc-utils support and
597 german translation of glabels manual (Mario Blättermann).
599 2009-05-01 Jim Evins <evins@snaught.com>
604 Added catalan translation (David Planella).
606 2009-04-29 Jim Evins <evins@snaught.com>
608 * data/templates/avery-iso-templates.xml:
609 * data/templates/misc-iso-templates.xml:
610 * data/templates/misc-us-templates.xml:
611 Caught up on user submitted templates.
613 Acknowledgements for above templates.
615 2009-04-29 Jim Evins <evins@snaught.com>
619 Updated german translation (Mario Blättermann).
621 2009-03-23 Jim Evins <evins@snaught.com>
623 * src/glabels-batch.c: (main):
624 * src/glabels.c: (main):
625 Tidy up help option output.
627 2009-02-28 Jim Evins <evins@snaught.com>
632 Deleted base64 module.
633 * src/xml-label.c: (xml_parse_pixdata), (xml_create_pixdata):
634 Use base64 encode/decode from glib.
636 2009-02-22 Jim Evins <evins@snaught.com>
638 * src/merge-properties-dialog.h:
639 * src/new-label-dialog.h:
640 * src/object-editor.h:
641 * src/prefs-dialog.h:
643 * src/template-designer.h:
644 Corrected cut&paste errors.
646 2009-02-21 JimEvins <evins@snaught.com>
648 * src/prefs-model.c: (gl_prefs_model_save_settings),
649 (gl_prefs_model_load_settings):
652 * src/ui-property-bar.c:
653 * src/ui.c: (view_ui_item_toggled_cb),
654 (set_app_main_toolbar_style), (set_app_drawing_toolbar_style):
655 Removed tooltip toggling capability, which wasn't working
658 2009-02-21 JimEvins <evins@snaught.com>
662 * data/builder/object-editor.glade:
663 * data/builder/prefs-dialog.glade:
664 * data/builder/property-bar.glade:
665 * data/builder/template-designer.glade:
667 * src/color-combo-color-menu-item.c:
668 * src/color-combo-color-menu-item.h:
669 * src/color-combo-menu.h:
670 * src/glabels-batch.c: (main):
671 * src/glabels.c: (main):
672 * src/merge-properties-dialog.h:
673 * src/new-label-dialog.h:
674 * src/object-editor-lsize-page.c:
675 (gl_object_editor_prepare_lsize_page), (lsize_prefs_changed_cb):
676 * src/object-editor.h:
677 * src/prefs-dialog.h:
679 * src/template-designer.h:
680 * src/ui-commands.c: (gl_ui_cmd_view_property_bar_tips_toggle),
681 (gl_ui_cmd_help_contents), (gl_ui_cmd_help_about):
682 * src/ui-property-bar.c:
683 * src/ui-property-bar.h:
684 * src/ui-sidebar.c: (gl_ui_sidebar_construct),
685 (selection_changed_cb):
688 * src/wdgt-media-select.h:
689 * src/wdgt-merge-menu.h:
690 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_class_init):
691 * src/wdgt-mini-preview.h:
692 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
693 * src/wdgt-print-copies.h:
694 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
695 * src/wdgt-print-merge.h:
696 * src/wdgt-rotate-label.h:
698 Removed final dependencies on libgnome and libgnomeui.
699 Removed all currently deprecated symbols as of GTK 2.14.
701 2009-01-07 Jim Evins <evins@snaught.com>
703 * src/critical-error-handler.c: (critical_error_handler):
704 * src/ui-commands.c: (gl_ui_cmd_help_contents):
705 * src/warning-handler.c: (warning_handler):
706 * src/view.c: (selection_received_cb):
707 Compile without warning with additional CFLAGS of
708 -O1 -Wall -Wformat=2.
710 2009-01-02 Jim Evins <evins@snaught.com>
712 * COPYING.README_FIRST:
715 2008-12-27 Jim Evins <evins@snaught.com>
717 * data/templates/avery-iso-templates.xml:
718 * data/templates/avery-other-templates.xml:
719 * data/templates/avery-us-templates.xml:
720 * data/templates/brother-other-templates.xml:
721 * data/templates/misc-iso-templates.xml:
722 * data/templates/misc-other-templates.xml:
723 * data/templates/zweckform-iso-templates.xml:
724 Make sure all descriptions are marked as translatable.
726 2008-12-27 Jim Evins <evins@snaught.com>
729 Updated german translation (Mario Blättermann)
731 Updated credits to reflect above translation.
732 * data/builder/object-editor.glade:
733 * data/builder/prefs-dialog.glade:
734 * data/builder/template-designer.glade:
735 Removed "translatable" attribute from whitespace strings,
736 which are used only to help layout.
738 2008-12-21 Jim Evins <evins@snaught.com>
740 * data/templates/avery-us-templates.xml:
741 * data/templates/misc-iso-templates.xml:
742 A couple of recent template submissions.
744 Acknowledgements for above templates.
746 2008-12-21 Jim Evins <evins@snaught.com>
748 * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
749 Don't check for handles on aggregate selections.
751 2008-12-20 Jim Evins <evins@snaught.com>
754 Updated prerequisite library versions required.
756 2008-12-18 Jim Evins <evins@snaught.com>
758 * src/view.c: (selection_received_cb):
759 Fixed paste bug that caused a duplicate phantom view_object to be created for
760 each new label_object. This is because the view now (as of r673) the view
761 monitiors the label for new objects and creates view_objects automatically.
763 2008-12-14 Jim Evins <evins@snaught.com>
765 * src/ui.c: (gl_ui_new):
766 Bug #2395628. Fixed i18n for application shell.
768 Bug #2395628. Reconciled POTFILES.in with current files.
770 2008-12-14 Jim Evins <evins@snaught.com>
773 Bug #2316013. Added PKG_PROG_PKG_CONFIG.
775 2008-11-15 Jim Evins <evins@snaught.com>
777 * libglabels/db.c: (lgl_db_register_template):
778 * libglabels/xml-template.c:
779 (lgl_xml_template_parse_template_node):
780 * src/glabels-batch.c:
781 * src/view-text.c: (gl_view_text_create_button_press_event):
782 Fixed several issues such as possible use of uninitialized variables found with "-O1 -Wall".
784 2008-11-09 Jim Evins <evins@snaught.com>
786 * data/templates/misc-iso-templates.xml:
787 Another user submitted template.
789 2008-10-27 Jim Evins <evins@snaught.com>
791 * data/templates/avery-us-templates.xml:
792 * data/templates/misc-iso-templates.xml:
793 * data/templates/zweckform-iso-templates.xml:
794 Caught up on user submitted templates.
796 Acknowledgements for above templates.
798 2008-10-23 Jim Evins <evins@snaught.com>
800 * src/label-text.c: (set_font_family):
801 * src/object-editor-text-page.c:
802 (gl_object_editor_prepare_text_page),
803 (gl_object_editor_set_font_family):
804 * src/prefs-dialog.c: (construct_object_page),
805 (update_object_page_from_prefs):
806 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
807 (reset_to_default_properties):
808 * src/util.c: (gl_util_get_font_family_list):
810 Bug #1902275 and Bug #2186214. Cache font list so that it is not re-created
811 everytime the list is requested.
812 * src/object-editor-text-page.c:
813 (gl_object_editor_set_font_family):
814 Don't change font-family if it hasn't actually changed.
816 2008-10-19 Jim Evins <evins@snaught.com>
818 * data/builder/object-editor.glade:
819 Some tweaking of builder/glade widgets.
821 2008-10-18 Jim Evins <evins@snaught.com>
823 Migrated all use of libglade to GtkBuilder.
825 * data/glade/Makefile.am:
826 * data/glade/merge-properties-dialog.glade:
827 * data/glade/new-label-dialog.glade:
828 * data/glade/object-editor.glade:
829 * data/glade/prefs-dialog.glade:
830 * data/glade/print-custom-widget.glade:
831 * data/glade/property-bar.glade:
832 * data/glade/template-designer.glade:
833 * data/glade/wdgt-media-select.glade:
834 Removed data/glade directory.
835 * data/builder/Makefile.am:
836 * data/builder/merge-properties-dialog.glade:
837 * data/builder/new-label-dialog.glade:
838 * data/builder/object-editor.glade:
839 * data/builder/prefs-dialog.glade:
840 * data/builder/print-custom-widget.glade:
841 * data/builder/property-bar.glade:
842 * data/builder/template-designer.glade:
843 * data/builder/wdgt-media-select.glade:
844 Added data/builder directory.
848 Change glade to builder.
849 * src/merge-properties-dialog.c:
850 (gl_merge_properties_dialog_finalize),
851 (gl_merge_properties_dialog_construct):
852 * src/new-label-dialog.c: (gl_new_label_dialog_finalize),
853 (gl_new_label_dialog_construct):
854 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
855 * src/object-editor-data-page.c:
856 (gl_object_editor_prepare_data_page):
857 * src/object-editor-edit-page.c:
858 (gl_object_editor_prepare_edit_page):
859 * src/object-editor-fill-page.c:
860 (gl_object_editor_prepare_fill_page):
861 * src/object-editor-image-page.c:
862 (gl_object_editor_prepare_image_page):
863 * src/object-editor-line-page.c:
864 (gl_object_editor_prepare_line_page):
865 * src/object-editor-lsize-page.c:
866 (gl_object_editor_prepare_lsize_page):
867 * src/object-editor-position-page.c:
868 (gl_object_editor_prepare_position_page):
869 * src/object-editor-private.h:
870 * src/object-editor-shadow-page.c:
871 (gl_object_editor_prepare_shadow_page):
872 * src/object-editor-size-page.c:
873 (gl_object_editor_prepare_size_page):
874 * src/object-editor-text-page.c:
875 (gl_object_editor_prepare_text_page):
876 * src/object-editor.c: (gl_object_editor_init):
877 * src/prefs-dialog.c: (gl_prefs_dialog_init),
878 (gl_prefs_dialog_construct), (construct_locale_page),
879 (construct_object_page):
880 * src/print-op.c: (gl_print_op_finalize),
881 (create_custom_widget_cb):
882 * src/template-designer.c: (gl_template_designer_class_init),
883 (gl_template_designer_finalize), (gl_template_designer_construct),
884 (construct_start_page), (construct_name_page),
885 (construct_pg_size_page), (construct_shape_page),
886 (construct_rect_size_page), (construct_round_size_page),
887 (construct_cd_size_page), (construct_nlayouts_page),
888 (construct_layout_page), (construct_finish_page):
889 * src/template-designer.h:
890 * src/ui-property-bar.c: (gl_ui_property_bar_init),
891 (gl_ui_property_bar_finalize), (gl_ui_property_bar_new),
892 (gl_ui_property_bar_construct), (reset_to_default_properties),
893 (gl_ui_property_bar_set_view), (gl_ui_property_bar_set_tooltips),
894 (update_text_properties), (update_fill_color), (update_line_color),
895 (update_line_width), (selection_changed_cb),
896 (font_family_changed_cb), (font_size_changed_cb),
897 (text_color_changed_cb), (fill_color_changed_cb),
898 (line_color_changed_cb), (line_width_changed_cb),
899 (font_bold_toggled_cb), (font_italic_toggled_cb),
900 (text_align_toggled_cb), (set_doc_items_sensitive),
901 (set_text_items_sensitive), (set_fill_items_sensitive),
902 (set_line_color_items_sensitive), (set_line_width_items_sensitive):
903 * src/ui-property-bar.h:
904 * src/util.c: (gl_util_get_builder_widgets):
906 * src/wdgt-media-select.c: (gl_wdgt_media_select_finalize),
907 (gl_wdgt_media_select_construct):
908 Migration of glade to builder.
910 New macros for color combo initialization.
912 Added idea for internal merge database.
913 * docs/libglabels/libglabels-undocumented.txt:
914 * docs/libglabels/tmpl/paper.sgml:
918 2008-10-12 Jim Evins <evins@snaught.com>
920 * src/mygal/Makefile.am:
921 * src/mygal/color-group.c:
922 * src/mygal/color-group.h:
923 * src/mygal/color-palette.c:
924 * src/mygal/color-palette.h:
925 * src/mygal/e-colors.c:
926 * src/mygal/e-colors.h:
927 * src/mygal/e-marshal.list:
928 * src/mygal/e-util.h:
929 * src/mygal/mygal-combo-box.c:
930 * src/mygal/mygal-combo-box.h:
931 * src/mygal/widget-color-combo.c:
932 * src/mygal/widget-color-combo.h:
938 * src/color-combo-color-menu-item.c:
939 * src/color-combo-color-menu-item.h:
940 * src/color-combo-history.c:
941 * src/color-combo-history.h:
942 * src/color-combo-menu.c:
943 * src/color-combo-menu.h:
948 Created new glColorCombo widget.
949 * src/object-editor-bc-page.c:
950 * src/object-editor-edit-page.c:
951 * src/object-editor-fill-page.c:
952 * src/object-editor-line-page.c:
953 * src/object-editor-shadow-page.c:
954 * src/object-editor-text-page.c:
955 * src/object-editor.c:
956 * src/prefs-dialog.c:
957 * src/ui-property-bar.c:
958 Replaced use of mygal color combo with new glColorCombo widget.
960 2008-08-29 Jim Evins <evins@snaught.com>
962 * src/file.c: (gl_file_open), (gl_file_save_as):
963 Bug #2069668. Corrected button order in Open and "Save as"
966 2008-08-17 Jim Evins <evins@snaught.com>
968 * data/dtd/glabels-2.2.dtd:
969 * data/templates/paper-sizes.xml:
970 * libglabels/db.c: (lgl_db_init):
971 * libglabels/paper.c: (lgl_paper_new), (lgl_paper_dup), (lgl_paper_free):
972 * libglabels/paper.h:
973 * libglabels/xml-paper.c: (lgl_xml_paper_parse_paper_node):
974 * src/print-op.c: (set_page_size):
975 Bug #2049431. Always explicitely set page size. Added pwg_size field (PWG 5101.1-2002
976 size specification) to the libglabels paper database to allow the page size to be
977 communicated to GtkPrintOp un-ambiguously.
979 2008-07-25 Jim Evins <evins@snaught.com>
981 * src/object-editor-size-page.c: (size_reset_cb),
982 (gl_object_editor_set_max_size):
983 Bug #1993550. Set size limits based on longest side of label.
985 2008-07-19 Jim Evins <evins@snaught.com>
988 * src/mygal/Makefile.am:
989 Make sure libtool handles library dependencies for mygal
992 2008-05-21 Jim Evins <evins@snaught.com>
994 * src/glabels-batch.c: (main):
995 Bug #1968653. Initialize prefs subsystem.
997 2008-05-09 Jim Evins <evins@snaught.com>
999 * data/glade/object-editor.glade:
1000 Bug #1959135. A couple of radio buttons somehow became
1003 2008-04-07 Jim Evins <evins@snaught.com>
1005 * src/wdgt-rotate-label.h:
1006 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_init),
1007 (gl_wdgt_rotate_label_new), (toggled_cb), (create_pixbuf),
1008 (gl_wdgt_rotate_label_get_state), (gl_wdgt_rotate_label_set_state),
1009 (gl_wdgt_rotate_label_set_template_name):
1010 Modified wdgt-rotate-label to better indicate the rotation choices.
1011 * data/glade/Makefile.am:
1012 * data/glade/wdgt-rotate-label.glade:
1013 Deleted wdgt-rotate-label.glade.
1015 2008-04-04 Jim Evins <evins@snaught.com>
1017 * data/templates/brother-other-templates.xml:
1018 Added categories to existing templates.
1019 * data/templates/misc-other-templates.xml:
1020 Moved dymo templates to their own file.
1021 * data/templates/Makefile.am:
1022 * data/templates/dymo-other-templates.xml:
1023 Additional dymo templates provided by Harald Welte <laforge@gnumonks.org>.
1025 Acknowledgement for above templates.
1027 2008-03-24 Jim Evins <evins@snaught.com>
1029 * src/xml-label.c: (xml_doc_to_label):
1030 Bug #1872584. Don't refuse to parse label file if namespace is
1031 unrecognized -- it may be from a newer version of glabels.
1033 2008-03-15 Jim Evins <evins@snaught.com>
1035 * data/templates/Makefile.am:
1036 * data/templates/brother-other-templates.xml:
1037 Added brother templates.
1038 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
1039 (gl_cairo_markup_margin_cd_path):
1040 * src/view.c: (draw_markup_layer):
1041 Fixed markup drawing errors when label is rotated.
1043 2008-03-03 Jim Evins <evins@snaught.com>
1047 Added korean translation provided by xein@naver.com.
1049 2008-02-21 Jim Evins <evins@snaught.com>
1052 Fixed typo that prevented "Save" from being deactivated when
1053 document is not modified.
1055 2008-02-18 Jim Evins <evins@snaught.com>
1057 * src/prefs-model.c: (gl_prefs_model_save_settings),
1058 (gl_prefs_model_load_settings):
1059 Set default units for file output.
1061 2008-02-18 Jim Evins <evins@snaught.com>
1063 * help/C/glabels.xml:
1064 Fixed example template.
1066 2008-02-16 Jim Evins <evins@snaught.com>
1069 * data/templates/avery-iso-templates.xml:
1070 * data/templates/avery-us-templates.xml:
1071 * data/templates/misc-iso-templates.xml:
1072 * data/templates/misc-us-templates.xml:
1073 Caught up on user submitted templates.
1075 2008-02-04 Jim Evins <evins@snaught.com>
1077 * src/view-image.c: (update_object_from_editor_cb):
1078 Bug #1886438. Don't update the image size unless it is actually
1079 triggered by a change in image source. The result of this bug
1080 was that any attempt to edit the size spinboxes, immediately
1083 2008-02-03 Jim Evins <evins@snaught.com>
1085 * src/label-image.c: (gl_label_image_class_init), (set_size):
1086 Enforce minimum size for images.
1088 2008-02-03 Jim Evins <evins@snaught.com>
1090 * src/object-editor-edit-page.c: (field_selected_cb):
1091 * src/object-editor-lsize-page.c: (gl_object_editor_set_max_lsize):
1092 * src/object-editor-private.h:
1093 * src/object-editor-shadow-page.c:
1094 (gl_object_editor_set_max_shadow_offset):
1095 * src/object-editor-size-page.c: (gl_object_editor_set_max_size):
1096 * src/object-editor.c: (gl_object_editor_finalize),
1097 (gl_object_editor_new), (gl_object_notebook_construct_valist),
1099 * src/object-editor.h:
1100 * src/ui-sidebar.c: (gl_ui_sidebar_construct):
1101 * src/view-barcode.c: (construct_properties_editor):
1102 * src/view-box.c: (construct_properties_editor):
1103 * src/view-ellipse.c: (construct_properties_editor):
1104 * src/view-image.c: (construct_properties_editor):
1105 * src/view-line.c: (construct_properties_editor):
1106 * src/view-object.c: (gl_view_object_finalize):
1107 * src/view-text.c: (construct_properties_editor),
1108 Move update_editor_from_label callback from individual view objects
1109 to the object editor, so that signals can be disconnected when
1110 object editor is finalized.
1111 * src/view-text.c: (gl_view_text_create_button_press_event):
1112 Fixed bug that caused multiple view objects to be created for a
1113 single text object. This bug would manifest itself as a crash
1114 when deleting multi-object selections which included text objects.
1116 2008-02-02 Jim Evins <evins@snaught.com>
1119 * src/wdgt-merge-menu.c:
1120 * src/wdgt-merge-menu.h:
1121 * src/debug.c: (gl_debug_init):
1124 New merge menu widget.
1125 * data/glade/object-editor.glade:
1126 * src/object-editor-private.h:
1127 * src/object-editor.c: (gl_object_editor_set_key_names):
1128 * src/object-editor-edit-page.c:
1129 (gl_object_editor_prepare_edit_page), (field_selected_cb),
1131 Simplified UI for inserting fields into text objects by launching
1132 a merge menu and directly inserting fields from the menu. No more
1133 selecting field in combobox, then pressing insert button.
1135 2008-01-31 Jim Evins <evins@snaught.com>
1137 * src/label-barcode.c: (draw_object):
1138 Fixed rendering problem when "Invalid data" is displayed when text
1139 object is lower in stacking order.
1141 2008-01-30 Jim Evins <evins@snaught.com>
1143 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
1144 Don't turn off cairo_hint_metrics. This causes serious issues with
1147 2008-01-29 Jim Evins <evins@snaught.com>
1149 * src/print-op.c: (gl_print_op_construct),
1150 (gl_print_op_construct_batch), (set_page_size):
1151 Explicitly set page size for "other" page sizes.
1153 2008-01-25 Jim Evins <evins@snaught.com>
1156 Fixed Code128C backend parameters.
1157 * src/label-barcode.c: (get_size):
1158 Bug #1766425. If barcode is not renderable with either
1159 input data or default data, use a default size. Also
1162 2008-01-16 Jim Evins <evins@snaught.com>
1164 * src/print.c: (print_label):
1165 Bug #1872568. Don't apply special transforms (rotate and
1166 mirror) to clipping region or outline.
1168 2008-01-01 Jim Evins <evins@snaught.com>
1171 Sort font lists alphabetically.
1173 2008-01-01 Jim Evins <evins@snaught.com>
1175 * src/merge-evolution.c:
1176 Do a case-insensitive sort.
1178 2008-01-01 Jim Evins <evins@snaught.com>
1180 * src/merge-evolution.c:
1181 Sort evolution by "file_under" field. Original patch provided
1182 by Peter Cherriman <glabels-devel2712@bubieyehyeh.me.uk> in
1185 Added acknowledgement for above patch.
1187 2008-01-01 Jim Evins <evins@snaught.com>
1192 Reconcile with 2.2 branch.
1195 2007-12-21 Jim Evins <evins@snaught.com>
1197 * COPYING.LIBGLABELS:
1198 * COPYING.README_FIRST:
1200 Updating license information to make more complete and understandable.
1202 2007-12-16 Jim Evins <evins@snaught.com>
1205 Updated version to 2.pre2.
1206 * help/C/glabels.xml:
1207 Updated documentation.
1208 * src/ui-commands.c: (gl_ui_cmd_help_about):
1209 Updated copyright string.
1211 2007-12-15 Jim Evins <evins@snaught.com>
1213 * data/glade/object-editor.glade:
1214 Removed any GtkTable that contained a GtkComboBox because the size of
1215 the combo box was not constrained properly. This sacrifices the nice
1216 orderly labels for combo boxes that don't extend beyond the edge of the
1219 2007-12-15 Jim Evins <evins@snaught.com>
1221 * libglabels/db.c: (lgl_db_lookup_template_from_name):
1222 * src/object-editor.c: (gl_object_editor_finalize):
1223 * src/wdgt-media-select.c: (gl_wdgt_media_select_finalize):
1224 Fixed several small memory leaks.
1226 2007-12-14 Jim Evins <evins@snaught.com>
1229 Optimize template search by name by using a GHashTable.
1230 * src/mini-preview-pixbuf-cache.c:
1231 * src/mini-preview-pixbuf-cache.h:
1232 Store one pixbuf per template, but use a key for each alias.
1233 * src/wdgt-media-select.c:
1234 Optimize loading of tree data, thus optimizing the "new label" dialog.
1236 2007-12-12 Jim Evins <evins@snaught.com>
1238 * data/templates/avery-us-templates.xml:
1239 More templates and aliases.
1241 2007-12-08 Jim Evins <evins@snaught.com>
1244 More prep for 2.1.5/2.2.0.
1246 2007-12-08 Jim Evins <evins@snaught.com>
1252 Preparation for 2.1.5.
1254 2007-12-08 Jim Evins <evins@snaught.com>
1256 * docs/libglabels/libglabels-decl-list.txt:
1257 * docs/libglabels/libglabels-docs.sgml:
1258 * docs/libglabels/libglabels-sections.txt:
1259 * docs/libglabels/libglabels-undocumented.txt:
1260 * docs/libglabels/tmpl/db.sgml:
1261 * docs/libglabels/tmpl/str.sgml:
1263 Documentation cleanup for libglabels.
1265 2007-11-29 Jim Evins <evins@snaught.com>
1269 Added lgl_db_does_template_name_exist().
1270 In lgl_db_lookup_template_from_name() substitute brand/part of new template from
1272 * src/prefs-model.c:
1273 Proof read recent templates -- make sure they still exist.
1274 * src/wdgt-media-select.c:
1275 Default to "search all templates" tab if no recent templates found.
1277 2007-11-28 Jim Evins <evins@snaught.com>
1279 * data/glade/wdgt-media-select.glade:
1280 * src/wdgt-media-select.c:
1281 Added tabbed notebook to allow selection of recent template versus searching the
1285 2007-11-26 Jim Evins <evins@snaught.com>
1287 * libglabels/Makefile.am:
1288 * libglabels/libglabels.h:
1291 * src/prefs-dialog.c:
1292 * src/prefs-model.c:
1293 * src/prefs-model.h:
1296 Added tracking of recently used templates.
1298 2007-11-20 Jim Evins <evins@snaught.com>
1300 * data/glade/template-designer.glade:
1301 * src/template-designer.c:
1302 Added warning icon when match brand and part match an existing template.
1304 2007-11-18 Jim Evins <evins@snaught.com>
1306 * libglabels/Makefile.am:
1309 Added lgl_str_utf8_casecmp().
1310 * libglabels/libglabels-private.h:
1311 Use lgl_str_utf8_casecmp() for UTF8_EQUAL macro -- do case insensitive comparisons.
1312 * libglabels/db.c: (lgl_db_get_brand_list):
1313 Use lgl_str_utf8_casecmp() to determine if we have seen brand before when building
1316 2007-11-18 Jim Evins <evins@snaught.com>
1318 * data/glade/template-designer.glade:
1319 * src/template-designer.c:
1320 Don't advance past name page, if brand and part match an existing template.
1322 2007-11-18 Jim Evins <evins@snaught.com>
1324 * libglabels/db.c: (lgl_db_register_template), (read_templates):
1325 When registering a new template, don't add to "User defined" category before
1326 writing to file. Add to "User defined" category when reading from "~/.glabels"
1327 directory instead. This will allow legacy templates (and manually created
1328 templates) to be automatically added to the "user defined" category.
1329 * libglabels/xml-template.c:
1330 (lgl_xml_template_create_template_node):
1331 Fixed typo/bug causing brand to be wrong.
1333 2007-11-16 Jim Evins <evins@snaught.com>
1337 Added return codes to lgl_db_register_template(). Added lgl_db_does_template_exist()
1338 function. Automatically create "User defined" category and add to all user
1339 registered templates.
1340 * libglabels/xml-template.c:
1341 * libglabels/xml-template.h:
1342 Return number of bytes written from lgl_xml_template_write_templates_to_file() and
1343 lgl_xml_template_write_template_to_file().
1344 * docs/libglabels/libglabels-decl-list.txt:
1345 * docs/libglabels/libglabels-sections.txt:
1346 * docs/libglabels/libglabels-undocumented.txt:
1347 * docs/libglabels/tmpl/db.sgml:
1348 * docs/libglabels/tmpl/xml-template.sgml:
1349 Update documentation to reflect above changes.
1351 2007-10-28 Jim Evins <evins@snaught.com>
1353 * libglabels/xml-template.c:
1354 Remove any leading white space from part #s when parsing old names.
1355 * src/mini-preview-pixbuf-cache.c:
1356 If name isn't in cache add it.
1358 2007-10-26 Jim Evins <evins@snaught.com>
1360 * libglabels/Makefile.am:
1361 * libglabels/category.c:
1362 * libglabels/category.h:
1365 * libglabels/libglabels-private.h:
1366 * libglabels/libglabels.h:
1367 * libglabels/paper.c:
1368 * libglabels/paper.h:
1369 * libglabels/template.c:
1370 * libglabels/template.h:
1371 * libglabels/xml-template.c:
1372 Another pass at screwing with the libglabels API. Moved all
1373 database related stuff to db.[ch].
1374 * docs/libglabels/libglabels-decl-list.txt:
1375 * docs/libglabels/libglabels-docs.sgml:
1376 * docs/libglabels/libglabels-sections.txt:
1377 * docs/libglabels/libglabels-undocumented.txt:
1378 * docs/libglabels/tmpl/category.sgml:
1379 * docs/libglabels/tmpl/db.sgml:
1380 * docs/libglabels/tmpl/init.sgml:
1381 * docs/libglabels/tmpl/libglabels-unused.sgml:
1382 * docs/libglabels/tmpl/paper.sgml:
1383 * docs/libglabels/tmpl/template-construction.sgml:
1384 * docs/libglabels/tmpl/template-db.sgml:
1385 * docs/libglabels/tmpl/template-misc.sgml:
1386 * docs/libglabels/tmpl/template-struct.sgml:
1387 * docs/libglabels/tmpl/template.sgml:
1388 Updated documentation to reflect above changes to libglabels API.
1390 * src/glabels-batch.c:
1392 * src/mini-preview-pixbuf-cache.c:
1393 * src/prefs-model.c:
1395 * src/template-designer.c:
1396 * src/wdgt-media-select.c:
1397 * src/wdgt-mini-preview.c:
1398 * src/wdgt-rotate-label.c:
1399 * src/xml-label-04.c:
1401 Reconciled usage with above libglabels API changes.
1403 2007-10-21 Jim Evins <evins@snaught.com>
1405 * data/glade/wdgt-media-select.glade:
1406 * src/wdgt-media-select.c:
1407 Added brand to filter settings.
1409 2007-10-21 Jim Evins <evins@snaught.com>
1411 * data/dtd/glabels-2.2.dtd:
1412 Forgot to replace Alias name attribute with brand and part attributes.
1413 * data/templates/avery-iso-templates.xml:
1414 * data/templates/avery-other-templates.xml:
1415 * data/templates/avery-us-templates.xml:
1416 * data/templates/misc-iso-templates.xml:
1417 * data/templates/misc-other-templates.xml:
1418 * data/templates/misc-us-templates.xml:
1419 * data/templates/zweckform-iso-templates.xml:
1420 Replaced all name attributes with brand/part attribute pairs.
1422 2007-10-20 Jim Evins <evins@snaught.com>
1424 * src/stock-pixmaps/*.png
1425 Updated icons to use Tango color palette.
1427 2007-10-20 Jim Evins <evins@snaught.com>
1429 * data/dtd/Makefile.am:
1430 * data/dtd/glabels-2.0.dtd:
1431 * data/dtd/glabels-2.2.dtd:
1432 Rename glabels-2.0.dtd to glabels-2.2.dtd. Added brand and part attributes to
1434 * libglabels/template.c:
1435 * libglabels/template.h:
1436 * libglabels/xml-template.c:
1438 Added brand and part attributes to template and alias structures and nodes.
1441 * src/mini-preview-pixbuf-cache.c:
1442 * src/template-designer.c:
1443 * src/wdgt-media-select.c:
1444 Use modified libglabels API.
1445 * docs/libglabels/libglabels-decl-list.txt:
1446 * docs/libglabels/libglabels-sections.txt:
1447 * docs/libglabels/libglabels-undocumented.txt:
1448 * docs/libglabels/tmpl/template-construction.sgml:
1449 * docs/libglabels/tmpl/template-db.sgml:
1450 * docs/libglabels/tmpl/template-struct.sgml:
1451 Update libglabels documentation to reflect above modifications.
1453 2007-10-14 Jim Evins <evins@snaught.com>
1455 * docs/libglabels/libglabels-decl-list.txt:
1456 * docs/libglabels/libglabels-sections.txt:
1457 * docs/libglabels/libglabels-undocumented.txt:
1458 * docs/libglabels/tmpl/category.sgml:
1459 * libglabels/category.c:
1460 * libglabels/category.h:
1461 Added lgl_category_get_id_list() and lgl_category_free_id_list() to have
1462 parity with paper functions.
1464 2007-10-12 Jim Evins <evins@snaught.com>
1466 * docs/libglabels/libglabels-decl-list.txt:
1467 * docs/libglabels/libglabels-sections.txt:
1468 * docs/libglabels/libglabels-undocumented.txt:
1469 * docs/libglabels/tmpl/category.sgml:
1470 * docs/libglabels/tmpl/enums.sgml:
1471 * docs/libglabels/tmpl/libglabels-unused.sgml:
1472 * docs/libglabels/tmpl/paper.sgml:
1473 * docs/libglabels/tmpl/template-struct.sgml:
1474 * libglabels/init.c:
1475 * libglabels/template.c:
1476 * libglabels/template.h:
1477 Another pass at fleshing out the libglabels documentation.
1478 * src/cairo-label-path.c:
1479 * src/cairo-markup-path.c:
1481 * src/mini-preview-pixbuf.c:
1485 * src/wdgt-media-select.c:
1486 * src/wdgt-mini-preview.c:
1487 * src/wdgt-print-copies.c:
1488 * src/wdgt-print-merge.c:
1489 * src/wdgt-rotate-label.c:
1490 Removed lgl_template_get_first_frame() from libglabels API and all references.
1492 2007-10-11 Jim Evins <evins@snaught.com>
1494 Extended checks for deprecated symbols.
1495 * libglabels/template.c:
1496 Removed g_strcasecmp references, which are deprecated.
1498 2007-10-09 Jim Evins <evins@snaught.com>
1500 * src/merge-evolution.c:
1501 Create address book if it does not exist. Also, be more robust about handling
1502 error conditions -- don't just assume GError has been set.
1504 2007-10-08 Jim Evins <evins@snaught.com>
1506 * libglabels/template.c:
1507 * libglabels/xml-template.c:
1508 * src/template-designer.c:
1509 Missed some symbols with libglabels API work.
1511 2007-10-01 Jim Evins <evins@snaught.com>
1513 * docs/libglabels/libglabels-decl-list.txt:
1514 * docs/libglabels/libglabels-docs.sgml:
1515 * docs/libglabels/libglabels-sections.txt:
1516 * docs/libglabels/libglabels-undocumented.txt:
1517 * docs/libglabels/tmpl/category.sgml:
1518 * docs/libglabels/tmpl/enums.sgml:
1519 * docs/libglabels/tmpl/init.sgml:
1520 * docs/libglabels/tmpl/libglabels-unused.sgml:
1521 * docs/libglabels/tmpl/paper.sgml:
1522 * docs/libglabels/tmpl/template-construction.sgml:
1523 * docs/libglabels/tmpl/template-db.sgml:
1524 * docs/libglabels/tmpl/template-misc.sgml:
1525 * docs/libglabels/tmpl/template-struct.sgml:
1526 * docs/libglabels/tmpl/template.sgml:
1527 * docs/libglabels/tmpl/xml-category.sgml:
1528 * docs/libglabels/tmpl/xml-template.sgml:
1529 * libglabels/category.h:
1530 * libglabels/init.c:
1531 * libglabels/libglabels-private.h:
1532 * libglabels/paper.h:
1533 * libglabels/template.c:
1534 * libglabels/template.h:
1535 * libglabels/xml-template.h:
1536 Basic documentation framework for libglabels updated. This still needs some
1539 2007-09-27 Jim Evins <evins@snaught.com>
1541 * docs/libglabels/libglabels-decl-list.txt:
1542 * docs/libglabels/libglabels-docs.sgml:
1543 * docs/libglabels/libglabels-sections.txt:
1544 * docs/libglabels/libglabels-undocumented.txt:
1545 * docs/libglabels/tmpl/enums.sgml:
1546 * docs/libglabels/tmpl/init.sgml:
1547 * docs/libglabels/tmpl/libglabels-unused.sgml:
1548 * docs/libglabels/tmpl/paper.sgml:
1549 * docs/libglabels/tmpl/template.sgml:
1550 * docs/libglabels/tmpl/xml-paper.sgml:
1551 * docs/libglabels/tmpl/xml-template.sgml:
1552 * docs/libglabels/tmpl/xml.sgml:
1553 * libglabels/Makefile.am:
1554 * libglabels/category.c:
1555 * libglabels/category.h:
1556 * libglabels/enums.h:
1557 * libglabels/init.c:
1558 * libglabels/init.h:
1559 * libglabels/libglabels-private.h:
1560 * libglabels/libglabels.h:
1561 * libglabels/paper.c:
1562 * libglabels/paper.h:
1563 * libglabels/template.c:
1564 * libglabels/template.h:
1565 * libglabels/xml-category.c:
1566 * libglabels/xml-category.h:
1567 * libglabels/xml-paper.c:
1568 * libglabels/xml-paper.h:
1569 * libglabels/xml-template.c:
1570 * libglabels/xml-template.h:
1573 * src/cairo-label-path.c:
1574 * src/cairo-label-path.h:
1575 * src/cairo-markup-path.c:
1576 * src/cairo-markup-path.h:
1578 * src/glabels-batch.c:
1580 * src/label-object.c:
1583 * src/mini-preview-pixbuf-cache.c:
1584 * src/mini-preview-pixbuf.c:
1585 * src/mini-preview-pixbuf.h:
1586 * src/prefs-dialog.c:
1587 * src/prefs-model.c:
1588 * src/prefs-model.h:
1593 * src/template-designer.c:
1594 * src/view-barcode.c:
1596 * src/view-ellipse.c:
1600 * src/wdgt-media-select.c:
1601 * src/wdgt-mini-preview.c:
1602 * src/wdgt-mini-preview.h:
1603 * src/wdgt-print-copies.c:
1604 * src/wdgt-print-merge.c:
1605 * src/wdgt-rotate-label.c:
1606 * src/xml-label-04.c:
1608 Major cleanup of libglabels API -- this breaks API compatibility with older
1609 development and stable versions -- as far as I know, there are currently
1610 no external users of this library yet.
1612 2007-09-14 Jim Evins <evins@snaught.com>
1617 * src/label-object.c:
1618 * src/label-object.h:
1619 * src/label-barcode.c:
1620 * src/label-ellipse.c:
1622 * src/view-object.c:
1623 * src/view-barcode.c:
1625 * src/view-ellipse.c:
1629 Better separation of model from view.
1631 2007-08-21 Jim Evins <evins@snaught.com>
1633 * src/print-op.c: (create_custom_widget_cb):
1634 Fix problem with force_outline_flag -- don't override with default.
1636 2007-08-21 Jim Evins <evins@snaught.com>
1638 * data/dtd/glabels-2.0.dtd:
1639 * libglabels/template.c:
1640 * libglabels/template.h:
1641 * libglabels/xml-template.c:
1642 * src/cairo-markup-path.c:
1643 Added "Markup-rect" element to template format.
1645 2007-08-21 Jim Evins <evins@snaught.com>
1648 Changed version to 2.1.pre5svn.
1649 * src/view.c: (draw_markup_layer):
1650 Do a stroke for each markup path, otherwise multiple markups
1653 2007-08-17 Jim Evins <evins@snaught.com>
1656 Bump libglabels revision numbers for 2.1.4 release.
1658 2007-08-16 Jim Evins <evins@snaught.com>
1661 Include subdir iec16022-0.2.1.
1665 Preparation for 2.1.4.
1668 2007-08-11 Jim Evins <evins@snaught.com>
1674 Added Esperanto translation. Provided by Antonio C.
1675 Codazzi "la Filozofo" <f_sophia@libero.it>.
1677 Updated French translation. Provided by Claude Paroz
1678 <claude@2xlibre.net>.
1680 Updated to reflect above translations.
1682 2007-08-11 Jim Evins <evins@snaught.com>
1685 * data/templates/avery-iso-templates.xml:
1686 * data/templates/avery-us-templates.xml:
1687 * data/templates/misc-iso-templates.xml:
1688 * data/templates/misc-other-templates.xml:
1689 * data/templates/misc-us-templates.xml:
1690 * data/templates/zweckform-iso-templates.xml:
1691 Caught up with backlog of template submissions.
1693 2007-08-10 Jim Evins <evins@snaught.com>
1695 * src/bc-postnet.c: (gl_barcode_postnet_new):
1697 Added support for Brazilian CEPNet barcodes. This is simply an
1698 instance of the US POSTNET format with 8 digits. Patch supplied
1699 by Mário Meyer in bug # 1768792.
1701 Updated acknowledgments to reflect above patch and recent shuffling
1702 of underlying technology.
1704 2007-05-13 Jim Evins <evins@snaught.com>
1706 * src/merge-text.c: (parse_line), (parse_field):
1707 Remove leading and trailing spaces from CSV fields, unless quoted.
1709 2007-05-09 Jim Evins <evins@snaught.com>
1711 * src/object-editor-bc-page.c:
1712 * src/object-editor-data-page.c:
1713 * src/object-editor-fill-page.c:
1714 * src/object-editor-image-page.c:
1715 * src/object-editor-line-page.c:
1716 * src/object-editor-lsize-page.c:
1717 * src/object-editor-position-page.c:
1718 * src/object-editor-private.h:
1719 * src/object-editor-shadow-page.c:
1720 * src/object-editor-size-page.c:
1721 * src/object-editor-text-page.c:
1722 * src/object-editor.c:
1723 * src/prefs-dialog.c:
1724 * src/template-designer.c:
1725 * src/ui-property-bar.c:
1726 * src/wdgt-media-select.c:
1727 Replaced signal block/unblock pairs with simple flags. This reduces
1728 some code clutter, hopefully making it easier to read.
1730 2007-05-05 Jim Evins <evins@snaught.com>
1732 * src/template-designer.c: (apply_cb):
1733 Add new template to mini-preview pixbuf cache.
1735 2007-05-03 Jim Evins <evins@snaught.com>
1737 * src/label-image.c: (gl_label_image_init), (draw_object):
1738 Scale default pixbuf up, to prevent bluring. Use cairo_fill to
1741 2007-05-02 Jim Evins <evins@snaught.com>
1743 * src/view.c: (draw_select_region_layer), (motion_notify_event_cb),
1744 (button_release_event_cb):
1745 Removed attempt at rendering optimization by clipping the updates
1746 to areas affected -- this actually seemed to hurt update performance.
1748 2007-04-30 Jim Evins <evins@snaught.com>
1751 * src/color.c: (gl_color_shadow), (gl_color_node_new_default),
1752 (gl_color_node_equal), (gl_color_node_expand):
1753 * src/label-barcode.c: (draw_object):
1754 * src/label-box.c: (draw_object), (draw_shadow):
1755 * src/label-ellipse.c: (draw_object), (draw_shadow):
1756 * src/label-line.c: (draw_object), (draw_shadow):
1757 * src/label-text.c: (draw_object), (draw_shadow):
1758 * src/wdgt-mini-preview.c: (draw_shadow), (draw_labels):
1759 * src/wdgt-rotate-label.c: (drawingarea_update):
1760 Some cleanup to color related code.
1762 2007-04-30 Jim Evins <evins@snaught.com>
1765 Added glLabelRegion structure type.
1766 * src/label-object.c: (gl_label_object_get_extent):
1767 * src/label-object.h:
1768 Modified gl_label_object_get_extent() to fill in a glLabelRegion struct.
1770 * src/view.c: (gl_view_update_region), (draw_select_region_layer),
1771 (gl_view_select_region), (gl_view_align_selection_left),
1772 (gl_view_align_selection_right), (gl_view_align_selection_hcenter),
1773 (gl_view_align_selection_top), (gl_view_align_selection_bottom),
1774 (gl_view_align_selection_vcenter),
1775 (gl_view_center_selection_horiz), (gl_view_center_selection_vert),
1776 (gl_view_move_selection), (gl_view_can_selection_text),
1777 (motion_notify_event_cb), (button_press_event_cb),
1778 (button_release_event_cb):
1779 - Reconcile with new gl_label_object_get_extent() API.
1780 - Use glLabelRegion for view->select_region.
1781 - Added gl_view_update_region() to clip updates to region.
1782 - Use gl_view_update_region() during manipulation of view->select_region.
1784 2007-04-26 Jim Evins <evins@snaught.com>
1786 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
1787 (draw_label_outline):
1788 * src/print.c: (print_crop_marks), (draw_outline):
1789 * src/view-object.c: (gl_view_object_draw_handles):
1790 * src/view.c: (draw_bg_layer), (draw_grid_layer),
1791 (draw_markup_layer), (draw_fg_layer), (draw_select_region_layer):
1792 * src/wdgt-mini-preview.c: (draw_paper), (draw_labels):
1793 * src/wdgt-rotate-label.c: (drawingarea_update):
1794 Added defines for various magic numbers.
1796 2007-04-25 Jim Evins <evins@snaught.com>
1798 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
1799 Scale text down. Cairo seems to render text too large.
1801 2007-04-25 Jim Evins <evins@snaught.com>
1804 * src/view.c: (gl_view_update), (expose_cb),
1805 (motion_notify_event_cb), (button_press_event_cb),
1806 (button_release_event_cb):
1807 - Try not to let updates get backed up.
1808 - Grab pointer when doing any drag operations.
1810 2007-04-11 Jim Evins <evins@snaught.com>
1812 * src/cairo-label-path.c: (gl_cairo_label_path),
1813 (gl_cairo_rect_label_path), (gl_cairo_round_label_path),
1814 (gl_cairo_cd_label_path):
1815 * src/cairo-label-path.h:
1816 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
1817 (draw_label_outline):
1818 * src/print.c: (draw_outline), (clip_to_outline):
1819 * src/view.c: (draw_bg_layer), (draw_fg_layer):
1820 * src/wdgt-mini-preview.c: (draw_labels):
1821 * src/wdgt-rotate-label.c: (drawingarea_update):
1822 Modified to universally use gl_cairo_label_path() to create paths
1823 for labels. Added shadow to mini preview in rotate widget.
1825 2007-04-10 Jim Evins <evins@snaught.com>
1827 * libglabels/template.h:
1828 * libglabels/template.c: (gl_template_get_name_list_unique),
1829 (gl_template_get_name_list_all), (gl_template_from_name):
1830 Modified libglabels to allow you to get a list of all template names
1831 including all aliases or just a list of primary names of each unique
1834 * src/file.c: (gl_file_properties):
1835 * src/glabels.c: (main):
1836 * src/mini-preview-pixbuf-cache.h:
1837 * src/mini-preview-pixbuf-cache.c:
1838 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
1839 (filter_changed_cb), (load_list):
1840 Added mini-preview pixbuf cache, so that only one mini-preview is
1841 needed for a unique template and gets reused for all aliases. These
1842 pixbufs will also live for the life of the program so they are not
1843 rebuilt everytime a new label dialog is invoked.
1844 * src/mini-preview-pixbuf.c: (draw_paper),
1845 (draw_rect_label_outline), (draw_round_label_outline),
1846 (draw_cd_label_outline):
1847 Removed some comment artifacts.
1849 2007-04-04 Jim Evins <evins@snaught.com>
1851 * src/mini-preview-pixbuf.c: (gl_mini_preview_pixbuf_new),
1852 (draw_paper), (draw_label_outlines), (draw_rect_label_outline),
1853 (draw_round_label_outline), (draw_cd_label_outline):
1854 * src/wdgt-media-select.c: (load_list):
1855 * src/wdgt-rotate-label.c: (draw_cd_label_outline):
1856 Cosmetic enhancments to mini previews.
1858 2007-04-04 Jim Evins <evins@snaught.com>
1860 * src/ui-property-bar.c: (gl_ui_property_bar_finalize),
1861 (gl_ui_property_bar_construct):
1862 Save copy of GladeXML tree so that we don't lose tooltips.
1864 2007-04-02 Jim Evins <evins@snaught.com>
1866 * src/merge-properties-dialog.c:
1867 * src/new-label-dialog.c:
1868 * src/object-editor.c:
1869 * src/prefs-dialog.c:
1871 * src/template-designer.c:
1872 * src/ui-property-bar.c:
1873 * src/wdgt-media-select.c:
1874 * src/wdgt-rotate-label.c:
1875 Fixed several memory leaks.
1877 2007-04-01 Jim Evins <evins@snaught.com>
1879 * src/label-text.c: (gl_label_text_init), (copy),
1880 (gl_label_text_set_lines), (buffer_changed_cb), (get_size),
1881 (set_font_family), (set_font_size), (set_font_weight),
1882 (set_font_italic_flag), (set_text_alignment),
1883 (set_text_line_spacing):
1884 Cache object size, so that expensive extent calculations are only done
1887 2007-03-30 Jim Evins <evins@snaught.com>
1889 * src/prefs-model.c: (gl_prefs_model_load_settings):
1890 Default to an unlimited list of recent documents, since this parameter
1891 seems to be pre-filter anyway.
1893 2007-03-30 Jim Evins <evins@snaught.com>
1895 * src/label-box.c: (draw_shadow):
1896 * src/label-ellipse.c: (draw_shadow):
1897 Added missing shadow fill.
1899 2007-03-28 Jim Evins <evins@snaught.com>
1901 * src/ui-commands.c: (gl_ui_cmd_file_print):
1902 Unreferencing the print operation sometimes crashes. Just don't do it
1905 2007-03-28 Jim Evins <evins@snaught.com>
1907 * src/print-op.c: (gl_print_op_construct),
1908 (gl_print_op_get_settings), (gl_print_op_set_settings),
1909 (gl_print_op_free_settings), (create_custom_widget_cb):
1911 * src/ui-commands.c: (gl_ui_cmd_file_print):
1912 * src/window.c: (gl_window_init):
1914 Save print settings and custom settings between print operations
1917 2007-03-24 Jim Evins <evins@snaught.com>
1919 * src/object-editor-image-page.c:
1920 (gl_object_editor_prepare_image_page),
1921 (gl_object_editor_set_image), (img_selection_changed_cb):
1922 Workaround for GtkFileChooserButton bug # 327243. This the root
1923 cause for gLabels bug # 1192884. I have actually observed 3 delayed
1924 "selection-changed" signals -- the first 2 return NULL -- this is
1925 what caused the image to reset to the default followed by setting
1926 it back to the original image, trying to fit it into a new bounding
1927 box. This sequence of events is much more evident with the new
1930 2007-03-23 Jim Evins <evins@snaught.com>
1932 Merged all changes from experimental cairo branch to trunk.
1933 Trunk no longer depends on libgnomecanvas or libgnomeprint[ui].
1935 2007-03-23 Jim Evins <evins@snaught.com>
1937 * src/label-object.h:
1938 * src/label-object.c: (gl_label_object_class_init),
1939 (gl_label_object_get_raw_size), (gl_label_object_get_size):
1940 Created "get_raw_size" method.
1941 * src/label-barcode.c: (get_size):
1942 * src/xml-label.c: (xml_create_object_text),
1943 (xml_create_object_barcode):
1944 Use new "get_raw_size" method on label-objects when apropos.
1946 * src/label-text.c: (get_size), (draw_object), (draw_shadow),
1947 (auto_shrink_font_size):
1948 Added "auto shrink" functionality back.
1950 2007-03-19 Jim Evins <evins@snaught.com>
1952 * src/label-text.c: (draw_object), (draw_shadow):
1953 Don't use negative scales in workaround from previous commit.
1956 2007-03-18 Jim Evins <evins@snaught.com>
1959 Forgot to remove include of xml-lable-191 in previous commit.
1960 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
1961 Workaround for pango Bug #341481. Render text at device scale,
1962 and scale font size accordingly. Also, don't do any hinting.
1964 2007-03-18 Jim Evins <evins@snaught.com>
1966 * src/cairo-ellipse-path.c:
1967 * src/cairo-ellipse-path.h:
1968 Forgot to add these new files during last mass commit.
1970 2007-03-18 Jim Evins <evins@snaught.com>
1973 * src/xml-label-191.c:
1974 * src/xml-label-191.h:
1975 Removed -- Very buggy. Version 1.91 is a very old "unstable" version,
1976 so there is no need to keep compatability.
1978 * src/bc-iec16022.c:
1979 * src/cairo-label-path.c:
1980 * src/cairo-label-path.h:
1981 * src/cairo-markup-path.c:
1985 * src/glabels-batch.c:
1987 * src/label-barcode.c:
1989 * src/label-ellipse.c:
1990 * src/label-image.c:
1992 * src/label-object.c:
1993 * src/label-object.h:
1997 * src/merge-properties-dialog.c:
1999 * src/new-label-dialog.c:
2000 * src/object-editor-bc-page.c:
2001 * src/object-editor-data-page.c:
2002 * src/object-editor-edit-page.c:
2003 * src/object-editor-fill-page.c:
2004 * src/object-editor-image-page.c:
2005 * src/object-editor-line-page.c:
2006 * src/object-editor-private.h:
2007 * src/object-editor-shadow-page.c:
2008 * src/object-editor-text-page.c:
2009 * src/object-editor.c:
2010 * src/pixbuf-cache.c:
2015 * src/template-designer.c:
2017 * src/ui-property-bar.c:
2019 * src/view-barcode.c:
2021 * src/view-ellipse.c:
2024 * src/view-object.c:
2025 * src/view-object.h:
2028 * src/wdgt-media-select.c:
2029 * src/wdgt-print-copies.c:
2030 * src/wdgt-print-merge.c:
2032 * src/xml-label-04.c:
2034 Many changes, including:
2035 - Move draw methods from view-*() to label-*().
2036 - Use same drawing code for on screen view and printing.
2037 - Fix all issues exposed with '-Wall -Werror'.
2039 2007-03-14 Jim Evins <evins@snaught.com>
2042 * src/cairo-handle-path.c:
2043 * src/cairo-handle-path.h:
2044 * src/cairo-object-path.c:
2045 * src/cairo-object-path.h:
2046 Removed cairo-handle-path.[ch] and cairo-object-path.[ch].
2047 * src/view-barcode.c: (gl_view_barcode_class_init), (draw_object),
2049 * src/view-box.c: (gl_view_box_class_init), (draw_object),
2050 (draw_shadow), (object_at):
2051 * src/view-ellipse.c: (gl_view_ellipse_class_init),
2052 (create_ellipse_path), (draw_object), (draw_shadow), (object_at):
2053 * src/view-image.c: (gl_view_image_class_init), (draw_object),
2055 * src/view-line.c: (gl_view_line_class_init), (draw_object),
2056 (draw_shadow), (object_at):
2057 * src/view-object.c: (gl_view_object_draw), (gl_view_object_at),
2058 (create_handle_path), (gl_view_object_draw_handles),
2059 (gl_view_object_handle_at):
2060 * src/view-object.h:
2061 * src/view-text.c: (gl_view_text_class_init), (draw_object),
2062 (draw_shadow), (object_at):
2063 * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
2064 Some restructuring of new code.
2066 2007-03-12 Jim Evins <evins@snaught.com>
2069 * src/cairo-object-path.c:
2070 * src/view-barcode.c:
2071 * src/view-barcode.h:
2073 Added barcode object support to view.
2075 2007-03-12 Jim Evins <evins@snaught.com>
2081 * src/cairo-object-path.c:
2082 * src/cairo-object-path.h:
2084 * src/view-ellipse.c:
2087 * src/view-object.c:
2088 * src/view-object.h:
2089 Added text object support to view. Added object_at method to all
2092 2007-03-11 Jim Evins <evins@snaught.com>
2095 * src/cairo-object-path.c: (gl_cairo_object_path),
2096 (gl_cairo_image_object_path):
2097 * src/view-image.c: (gl_view_image_class_init),
2098 (gl_view_image_finalize), (gl_view_image_new),
2099 (update_editor_from_label_cb), (draw),
2100 (gl_view_image_get_create_cursor),
2101 (gl_view_image_create_button_press_event),
2102 (gl_view_image_create_motion_event),
2103 (gl_view_image_create_button_release_event):
2105 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
2106 (selection_received_cb), (motion_notify_event_cb),
2107 (button_press_event_cb), (button_release_event_cb):
2108 Added image object support to view.
2110 2007-03-11 Jim Evins <evins@snaught.com>
2113 * src/cairo-object-path.c: (gl_cairo_object_path),
2114 (gl_cairo_line_object_path):
2115 * src/view-line.c: (gl_view_line_class_init), (gl_view_line_new),
2116 (update_object_from_editor_cb), (update_editor_from_object_cb),
2117 (update_editor_from_label_cb), (draw),
2118 (gl_view_line_get_create_cursor),
2119 (gl_view_line_create_button_press_event),
2120 (gl_view_line_create_motion_event),
2121 (gl_view_line_create_button_release_event):
2123 * src/view-object.c: (gl_view_object_resize_event):
2124 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
2125 (selection_received_cb), (motion_notify_event_cb),
2126 (button_press_event_cb), (button_release_event_cb):
2127 Added line object support to view.
2128 * src/cairo-handle-path.c:
2129 Made handles slightly larger.
2132 2007-03-11 Jim Evins <evins@snaught.com>
2135 * src/cairo-handle-path.c:
2136 * src/cairo-label-path.c: (gl_cairo_rect_label_path),
2137 (gl_cairo_round_label_path), (gl_cairo_cd_label_path):
2138 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
2139 (gl_cairo_markup_margin_round_path),
2140 (gl_cairo_markup_margin_cd_path), (gl_cairo_markup_circle_path):
2141 * src/cairo-object-path.c: (gl_cairo_object_path),
2142 (gl_cairo_ellipse_object_path):
2143 * src/label-object.c: (gl_label_object_rotate):
2146 * src/view-ellipse.c: (gl_view_ellipse_class_init),
2147 (gl_view_ellipse_new), (update_object_from_editor_cb),
2148 (update_editor_from_object_cb), (update_editor_from_label_cb),
2149 (draw), (gl_view_ellipse_get_create_cursor),
2150 (gl_view_ellipse_create_button_press_event),
2151 (gl_view_ellipse_create_motion_event),
2152 (gl_view_ellipse_create_button_release_event):
2153 * src/view-ellipse.h:
2154 * src/view-object.c:
2155 * src/view-object.h:
2156 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
2157 (select_object_real), (selection_received_cb),
2158 (motion_notify_event_cb), (button_press_event_cb),
2159 (button_release_event_cb):
2161 Added ellipse object support to view. Plus other cleanup.
2163 2007-03-11 Jim Evins <evins@snaught.com>
2166 * src/view-box.c: (gl_view_box_get_create_cursor),
2167 (gl_view_box_create_button_press_event),
2168 (gl_view_box_create_motion_event),
2169 (gl_view_box_create_button_release_event):
2170 * src/view-object.c: (gl_view_object_set_view),
2171 (gl_view_object_handle_at):
2173 * src/view.c: (gl_view_arrow_mode), (gl_view_object_create_mode),
2174 (motion_notify_event_cb), (button_press_event_cb),
2175 (button_release_event_cb), (key_press_event_cb):
2176 Added creation code for box object.
2178 2007-03-09 Jim Evins <evins@snaught.com>
2180 * src/view-object.c: (gl_view_object_resize_event):
2181 * src/view-object.h:
2182 * src/view.c: (motion_notify_event_cb):
2183 Fix bugs with resizing transformed objects.
2184 * src/cairo-handle-path.c: (gl_cairo_handle_path):
2185 * src/cairo-object-path.c: (gl_cairo_object_path):
2186 * src/cairo-object-path.h:
2187 * src/label-object.c: (gl_label_object_init),
2188 (gl_label_object_dup), (gl_label_object_get_extent),
2189 (gl_label_object_flip_horiz), (gl_label_object_flip_vert),
2190 (gl_label_object_rotate), (gl_label_object_set_matrix),
2191 (gl_label_object_get_matrix):
2192 * src/label-object.h:
2193 * src/print.c: (draw_object):
2195 * src/view-highlight.c:
2196 * src/view-highlight.h:
2197 * src/xml-label-191.c: (xml191_parse_object):
2198 * src/xml-label.c: (xml_parse_affine_attrs),
2199 (xml_create_affine_attrs):
2200 Replace libart affine matrices with cairo matrices.
2202 2007-03-08 Jim Evins <evins@snaught.com>
2204 * src/view-object.h:
2205 * src/view.c: (gl_view_update), (motion_notify_event_cb):
2206 * src/view-object.c: (gl_view_object_handle_at),
2207 (gl_view_object_resize_event):
2208 Added resize code -- still a bit buggy.
2210 2007-03-07 Jim Evins <evins@snaught.com>
2213 * src/cairo-handle-path.c:
2214 * src/cairo-handle-path.h:
2215 * src/view-box.c: (gl_view_box_new):
2216 * src/view-object.c: (gl_view_object_set_object),
2217 (gl_view_object_draw_handles), (gl_view_object_handle_at):
2218 * src/view-object.h:
2219 * src/view.c: (draw_highlight_layer), (select_object_real),
2220 (unselect_object_real), (view_handle_at), (motion_notify_event_cb),
2221 (button_press_event_cb), (button_release_event_cb),
2222 (key_press_event_cb):
2224 Added beginnings of object resize handles.
2226 2007-03-07 Jim Evins <evins@snaught.com>
2229 * src/view.c: (gl_view_init), (gl_view_arrow_mode),
2230 (gl_view_object_create_mode), (motion_notify_event_cb),
2231 (button_press_event_cb), (button_release_event_cb),
2232 (key_press_event_cb):
2233 Added move selection support.
2235 2007-03-05 Jim Evins <evins@snaught.com>
2237 * src/cairo-object-path.c: (gl_cairo_object_path):
2238 * src/view-object.c: (gl_view_object_draw),
2239 (gl_view_object_draw_highlight):
2240 * src/view.c: (view_object_at), (motion_notify_event_cb),
2241 (button_press_event_cb), (button_release_event_cb):
2242 Additional refinements to select logic.
2244 2007-03-05 Jim Evins <evins@snaught.com>
2247 * src/view.c: (gl_view_init), (gl_view_construct),
2248 (label_changed_cb), (draw_layers), (draw_select_region_layer),
2249 (gl_view_select_region), (object_at), (motion_notify_event_cb),
2250 (button_press_event_cb), (button_release_event_cb):
2251 Added initial select region support and context menu.
2253 2007-03-04 Jim Evins <evins@snaught.com>
2264 * src/ui-commands.c:
2267 * src/view-object.c:
2268 * src/view-object.h:
2271 * src/wdgt-print-copies.c:
2272 * src/wdgt-print-merge.c:
2274 Initial port to a raw Cairo canvas. This removes all remaining
2275 dependencies on libgnomecanvas and libgnomeprint[ui]. Basically
2276 the view is becoming a canvas widget in its own right. Still needs
2278 * src/cairo-label-path.c:
2279 * src/cairo-label-path.h:
2280 * src/cairo-markup-path.c:
2281 * src/cairo-markup-path.h:
2282 * src/cairo-object-path.c:
2283 * src/cairo-object-path.h:
2284 New files to support cairo canvas.
2285 * src/canvas-hacktext.c:
2286 * src/canvas-hacktext.h:
2289 2007-02-18 Jim Evins <evins@snaught.com>
2292 GNOME_FONT_BOOK changed to PANGO_WEIGHT_NORMAL.
2294 2007-02-14 Jim Evins <evins@snaught.com>
2298 * src/bc-gnubarcode.c:
2299 * src/bc-gnubarcode.h:
2304 * src/canvas-hacktext.c:
2305 * src/canvas-hacktext.h:
2312 * src/label-barcode.c:
2313 * src/label-barcode.h:
2316 * src/label-ellipse.c:
2317 * src/label-ellipse.h:
2318 * src/label-image.c:
2319 * src/label-image.h:
2322 * src/label-object.c:
2323 * src/label-object.h:
2328 * src/merge-evolution.c:
2329 * src/merge-evolution.h:
2332 * src/merge-properties-dialog.c:
2333 * src/merge-properties-dialog.h:
2336 * src/merge-vcard.c:
2337 * src/merge-vcard.h:
2340 * src/mini-preview-pixbuf.h:
2341 * src/new-label-dialog.c:
2342 * src/new-label-dialog.h:
2343 * src/object-editor-bc-page.c:
2344 * src/object-editor-data-page.c:
2345 * src/object-editor-edit-page.c:
2346 * src/object-editor-fill-page.c:
2347 * src/object-editor-image-page.c:
2348 * src/object-editor-line-page.c:
2349 * src/object-editor-lsize-page.c:
2350 * src/object-editor-position-page.c:
2351 * src/object-editor-private.h:
2352 * src/object-editor-size-page.c:
2353 * src/object-editor-text-page.c:
2354 * src/object-editor.c:
2355 * src/object-editor.h:
2356 * src/pixbuf-cache.c:
2357 * src/pixbuf-cache.h:
2358 * src/prefs-dialog.c:
2359 * src/prefs-dialog.h:
2360 * src/prefs-model.c:
2361 * src/prefs-model.h:
2367 * src/template-designer.c:
2370 * src/ui-commands.c:
2371 * src/ui-commands.h:
2372 * src/ui-property-bar.c:
2373 * src/ui-property-bar.h:
2382 * src/view-barcode.c:
2383 * src/view-barcode.h:
2386 * src/view-ellipse.c:
2387 * src/view-ellipse.h:
2388 * src/view-highlight.c:
2389 * src/view-highlight.h:
2394 * src/view-object.c:
2395 * src/view-object.h:
2400 * src/wdgt-chain-button.c:
2401 * src/wdgt-chain-button.h:
2402 * src/wdgt-media-select.c:
2403 * src/wdgt-mini-preview.c:
2404 * src/wdgt-print-copies.c:
2405 * src/wdgt-print-copies.h:
2406 * src/wdgt-print-merge.c:
2407 * src/wdgt-print-merge.h:
2408 * src/wdgt-rotate-label.c:
2410 * src/xml-label-04.c:
2411 * src/xml-label-04.h:
2412 * src/xml-label-191.c:
2413 * src/xml-label-191.h:
2417 Assorted superficial cleanup. Including:
2418 - Use G_DEFINE_TYPE for all objects.
2419 - Reconcile style of all class initializer functions
2420 - Reconcile style of all finalize functions
2421 - Add emacs mode line to all source files
2423 2007-02-06 Jim Evins <evins@snaught.com>
2425 Assorted cleanup and removal of deprecated items.
2430 Removed annoying splash screen.
2431 * src/glabels-batch.c: (main):
2432 * src/glabels.c: (main):
2433 Converted from popt to GOption.
2434 * src/object-editor-shadow-page.c:
2435 (gl_object_editor_set_shadow_state):
2436 Removed deprecated method on GtkToggleButton.
2437 * src/ui-commands.c: (gl_ui_cmd_help_about):
2438 Removed dependency on libgnomui/qnome-url.h.
2439 * src/template-designer.c:
2440 Removed dependency on libgnome/gnome-program.h.
2443 2007-02-04 Jim Evins <evins@snaught.com>
2447 * src/prefs-model.c:
2448 * src/print.c: (draw_text_object):
2449 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_construct):
2450 Removed GnomeCanvas artifacts from color.[ch] and related modules.
2452 2007-02-04 Jim Evins <evins@snaught.com>
2454 * src/wdgt-mini-preview.c:
2455 * src/wdgt-mini-preview.h:
2456 Ported widget from GnomeCanvas to Cairo.
2458 2007-02-03 Jim Evins <evins@snaught.com>
2460 * data/glade/template-designer.glade:
2461 * src/template-designer.c:
2462 * src/template-designer.h:
2463 Ported GnomeDruid to GtkAssistant. Since libglade does not
2464 yet support the GtkAssistant and we derive directly from
2465 the Assistant, the pages are layed out in a GtkNotebook in
2466 the glade description -- we then append each page to the
2469 2007-01-25 Jim Evins <evins@snaught.com>
2471 * data/glade/object-editor.glade:
2472 Added dummy page to notebook, to prevent shadow page from
2473 becoming the default current page at creation.
2474 * src/view-box.c: (construct_properties_editor):
2475 * src/view-ellipse.c: (construct_properties_editor):
2476 * src/view-line.c: (construct_properties_editor):
2477 * src/view-text.c: (construct_properties_editor):
2478 Reconciled order of params.
2480 2007-01-19 Jim Evins <evins@snaught.com>
2482 * src/label-barcode.h:
2483 * src/label-object.c: (gl_label_object_set_font_weight),
2484 (gl_label_object_set_text_alignment),
2485 (gl_label_object_get_font_weight),
2486 (gl_label_object_get_text_alignment):
2487 * src/label-object.h:
2488 * src/label-text.c: (gl_label_text_instance_init), (copy),
2489 (get_size), (set_font_family), (set_font_weight),
2490 (set_text_alignment), (get_font_weight), (get_text_alignment):
2492 * src/object-editor-text-page.c:
2493 (gl_object_editor_prepare_text_page),
2494 (gl_object_editor_set_font_family),
2495 (gl_object_editor_set_font_weight),
2496 (gl_object_editor_get_font_weight),
2497 (gl_object_editor_set_text_alignment),
2498 (gl_object_editor_get_text_alignment),
2499 (gl_object_editor_set_text_color):
2500 * src/object-editor.h:
2501 * src/prefs-dialog.c: (construct_object_page),
2502 (update_object_page_from_prefs), (update_prefs_from_object_page):
2503 * src/prefs-model.c: (gl_prefs_model_save_settings),
2504 (gl_prefs_model_load_settings):
2505 * src/prefs-model.h:
2506 * src/print.c: (draw_text_object):
2507 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
2508 (reset_to_default_properties), (update_text_properties),
2509 (font_bold_toggled_cb), (text_align_toggled_cb):
2511 * src/util.c: (gl_util_align_to_string), (gl_util_string_to_align),
2512 (gl_util_weight_to_string), (gl_util_string_to_weight),
2513 (gl_util_get_font_family_list), (gl_util_font_family_list_free):
2515 * src/view-text.c: (update_object_from_editor_cb),
2516 (update_editor_from_object_cb), (draw_hacktext), (draw_cursor):
2517 * src/view.c: (gl_view_set_selection_text_alignment),
2518 (gl_view_set_default_text_alignment),
2519 (gl_view_get_default_text_alignment):
2521 * src/xml-label-04.c: (xml04_parse_text_props):
2522 * src/xml-label-191.c: (xml191_parse_text_props):
2523 * src/xml-label.c: (xml_parse_object_text),
2524 (xml_parse_toplevel_span), (xml_create_object_text),
2525 (xml_create_toplevel_span):
2526 Converted all model internals to Pango. GnomeFont remains in
2527 view until GnomeCanvas can be replaced with a cairo-based canvas.
2529 2007-01-17 Jim Evins <evins@snaught.com>
2535 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type),
2536 (gl_wdgt_print_copies_construct):
2537 * src/wdgt-print-copies.h:
2538 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type),
2539 (gl_wdgt_print_merge_construct):
2540 * src/wdgt-print-merge.h:
2541 Removed all remaining HIG wrapper widgets.
2543 2007-01-16 Jim Evins <evins@snaught.com>
2546 * src/print-dialog.c:
2547 * src/print-dialog.h:
2550 * src/template-designer.c: (print_test_cb):
2551 * src/ui-commands.c: (gl_ui_cmd_file_print):
2553 Renamed PrintDialog to PrintOp. Added constructor for batch
2555 * src/glabels-batch.c: (main):
2556 Converted to use new PrintOp object for printing.
2558 2007-01-15 Jim Evins <evins@snaught.com>
2560 * data/glade/Makefile.am:
2561 * data/glade/print-custom-widget.glade:
2562 * src/print-dialog.c:
2563 * src/print-dialog.h:
2566 * src/template-designer.c: (print_test_cb):
2567 * src/ui-commands.c: (gl_ui_cmd_file_print):
2568 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_copies):
2569 * src/wdgt-print-merge.h:
2570 * src/window.c: (gl_window_init):
2572 Initial conversion to GtkPrintOperation.
2574 - Remove font and other libgnomeprint[ui] from elsewhere
2575 - Add batch initialization of print operation
2577 2007-01-08 Jim Evins <evins@snaught.com>
2579 Updated dependencies. Set version to 2.1.pre4cvs.
2581 2007-01-03 Jim Evins <evins@snaught.com>
2583 * src/recent-files/*
2584 Removed EggRecent stuff.
2590 * src/ui-commands.c:
2591 * src/ui-commands.h:
2593 Ported from EggRecent to GtkRecentManager.
2596 2007-01-02 Jim Evins <evins@snaught.com>
2599 * iec16022-0.2.1/BUGS:
2600 * iec16022-0.2.1/CHANGELOG:
2601 * iec16022-0.2.1/CREDITS:
2602 * iec16022-0.2.1/INSTALL:
2603 * iec16022-0.2.1/LICENSE:
2604 * iec16022-0.2.1/Makefile.am:
2605 * iec16022-0.2.1/Makefile.dist:
2606 * iec16022-0.2.1/README:
2607 * iec16022-0.2.1/README.glabels:
2608 * iec16022-0.2.1/TODO:
2609 * iec16022-0.2.1/iec16022.1:
2610 * iec16022-0.2.1/iec16022.c:
2611 * iec16022-0.2.1/iec16022ecc200.c:
2612 * iec16022-0.2.1/iec16022ecc200.h:
2613 * iec16022-0.2.1/image.c:
2614 * iec16022-0.2.1/image.h:
2615 * iec16022-0.2.1/reedsol.c:
2616 * iec16022-0.2.1/reedsol.h:
2617 * iec16022-0.2.1/test/testsuite-example.bin:
2618 * iec16022-0.2.1/test/testsuite-example.eps:
2619 * iec16022-0.2.1/test/testsuite-example.hex:
2620 * iec16022-0.2.1/test/testsuite-example.png:
2621 * iec16022-0.2.1/test/testsuite-example.text:
2622 * iec16022-0.2.1/test/testsuite.sh:
2623 Include modified copy of iec16022-0.2.1 to provide encoding
2624 support for datamatrix 2D barcodes.
2626 * src/bc-iec16022.c:
2627 * src/bc-iec16022.h:
2629 Added initial datamatrix 2D barcode backend to barcode code.
2632 Automatic updates to later versions of these files.
2634 2006-11-28 Jim Evins <evins@snaught.com>
2636 * data/templates/avery-iso-templates.xml:
2637 * data/templates/avery-us-templates.xml:
2638 * data/templates/categories.xml:
2639 * data/templates/misc-iso-templates.xml:
2640 * data/templates/misc-us-templates.xml:
2641 * data/templates/zweckform-iso-templates.xml:
2642 More categorization.
2644 2006-09-12 Jim Evins <evins@snaught.com>
2646 * data/dtd/glabels-2.0.dtd:
2647 * data/templates/Makefile.am:
2648 * data/templates/avery-iso-templates.xml:
2649 * data/templates/avery-other-templates.xml:
2650 * data/templates/avery-us-templates.xml:
2651 * data/templates/categories.xml:
2652 * data/templates/misc-iso-templates.xml:
2653 * data/templates/misc-other-templates.xml:
2654 * data/templates/zweckform-iso-templates.xml:
2655 * data/glade/Makefile.am:
2656 * data/glade/new-label-dialog.glade:
2657 * data/glade/wdgt-media-select.glade:
2658 * data/glade/wdgt-rotate-label.glade:
2659 * libglabels/Makefile.am:
2660 * libglabels/category.c:
2661 * libglabels/category.h:
2662 * libglabels/libglabels.h:
2663 * libglabels/paper.c:
2664 * libglabels/template.c:
2665 * libglabels/template.h:
2666 * libglabels/xml-category.c:
2667 * libglabels/xml-category.h:
2668 * libglabels/xml-template.c:
2669 Added support for category meta data.
2672 * src/mini-preview-pixbuf.c:
2673 * src/mini-preview-pixbuf.h:
2674 * src/new-label-dialog.c:
2675 * src/new-label-dialog.h:
2676 * src/wdgt-media-select.c:
2677 * src/wdgt-media-select.h:
2678 * src/wdgt-rotate-label.c:
2679 * src/wdgt-rotate-label.h:
2680 New "new label" dialog.
2682 2006-05-27 Jim Evins <evins@snaught.com>
2687 Preparation for 2.1.3.
2693 2006-05-22 Jim Evins <evins@snaught.com>
2695 * src/print.c: (draw_barcode_object):
2696 Don't print "Invalid barcode data" if data field is empty. Patch provided
2697 by Darren Warner <warnerd@users.sourceforge.net>. Fixes Bug #1479839.
2699 Added acknowledgment for above patch.
2700 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
2701 * src/bc-postnet.c: (postnet_code):
2702 Removed "Invalid barcode data" warnings from stderr.
2703 * src/view-barcode.c: (draw_barcode):
2704 Draw box around barcode extent if data empty or invalid. Center a
2705 message whether the data is empty or invalid in box.
2707 2006-05-22 Jim Evins <evins@snaught.com>
2709 * src/print.c: (draw_text_object):
2710 Check shadow state when printing text.
2712 2006-05-20 Jim Evins <evins@snaught.com>
2714 * src/ui-commands.c: (gl_ui_cmd_view_grid_toggle),
2715 (gl_ui_cmd_view_markup_toggle):
2716 Fixed crash when grid or markup have been toggled off during
2717 a previous session. Bug #1434324.
2719 2006-04-05 Jim Evins <evins@snaught.com>
2721 * src/object-editor.c: (gl_object_editor_set_key_names):
2722 Fixed potential crash when freeing empty key list.
2724 2006-03-11 Jim Evins <evins@snaught.com>
2726 * src/print.c: (draw_text_object):
2727 * src/view-text.c: (gl_view_text_new),
2728 (construct_properties_editor), (update_object_from_editor_cb),
2729 (update_editor_from_object_cb), (update_editor_from_label_cb),
2731 Added shadow support to text object.
2733 2006-02-18 Jim Evins <evins@snaught.com>
2735 * src/print.c: (draw_line_object):
2736 * src/view-line.c: (gl_view_line_new),
2737 (construct_properties_editor), (update_canvas_item_from_object_cb),
2738 (update_object_from_editor_cb), (update_editor_from_object_cb),
2739 (update_editor_from_label_cb):
2740 Added shadow support to line object.
2742 2006-02-16 Jim Evins <evins@snaught.com>
2746 * src/print.c: (draw_ellipse_object):
2747 * src/view-ellipse.c: (gl_view_ellipse_new),
2748 (construct_properties_editor), (update_canvas_item_from_object_cb),
2749 (update_object_from_editor_cb), (update_editor_from_object_cb),
2750 (update_editor_from_label_cb):
2751 Added shadow support to ellipse object.
2753 2006-02-15 Jim Evins <evins@snaught.com>
2755 * src/label-object.c:
2756 Changed default shadow offsets.
2757 * src/view-box.c: (gl_view_box_new):
2758 Simplified gl_view_box_new() so that is does not duplicate code
2759 in update_canvas_item_from_object_cb().
2761 2006-02-07 Jim Evins <evins@snaught.com>
2763 * data/glade/object-editor.glade:
2764 Fixed color groups of color combos.
2766 Added default shadow color.
2767 * src/object-editor.c: (gl_object_editor_construct_color_combo):
2768 Added shadow color group.
2770 2006-02-06 Jim Evins <evins@snaught.com>
2772 * src/object-editor-shadow-page.c:
2773 Forgot to add this file.
2774 * src/view-box.c: (gl_view_box_new),
2775 (update_canvas_item_from_object_cb), (update_editor_from_label_cb):
2776 Update limits on shadow offset spinbuttons.
2778 2006-01-19 Jim Evins <evins@snaught.com>
2780 * src/merge-evolution.c: (gl_merge_evolution_get_key_list):
2781 Initialize key_list to NULL.
2782 * data/glade/object-editor.glade:
2786 * src/label-object.c:
2787 * src/label-object.h:
2788 * src/object-editor-fill-page.c:
2789 * src/object-editor-private.h:
2790 * src/object-editor.c:
2791 * src/object-editor.h:
2793 Created infrastructure for shadow support.
2796 Initial shadow support in box object only.
2798 2006-01-05 Jim Evins <evins@snaught.com>
2800 * src/merge-properties-dialog.c: (src_changed_cb):
2801 Be extra paranoid before calling strcmp().
2802 * src/merge.c: (gl_merge_set_src):
2803 Don't make (merge == NULL) a critical error.
2805 2005-12-22 Jim Evins <evins@snaught.com>
2807 * src/glabels-batch.c: (main):
2808 Compile warning free with gcc 4.0.
2810 2005-12-21 Jim Evins <evins@snaught.com>
2813 Updated example RPM spec file.
2815 2005-12-21 Jim Evins <evins@snaught.com>
2819 Preparation for 2.1.2.
2821 2005-12-20 Jim Evins <evins@snaught.com>
2824 Define unique G_LOG_DOMAIN for glabels.
2825 * src/critical-error-handler.c: (gl_critical_error_handler_init):
2826 * src/warning-handler.c: (gl_warning_handler_init),
2828 Register for G_LOG_DOMAIN instead of NULL.
2830 2005-12-10 Jim Evins <evins@snaught.com>
2832 * src/merge-evolution.c:
2833 * src/merge-vcard.c:
2836 2005-12-08 Jim Evins <evins@snaught.com>
2838 * libglabels/paper.c: (read_paper_files_from_dir):
2839 * libglabels/template.c: (gl_template_register),
2840 (read_template_files_from_dir):
2841 * libglabels/xml-paper.c: (gl_xml_paper_read_papers_from_file),
2842 (gl_xml_paper_parse_papers_doc):
2843 * libglabels/xml-template.c:
2844 (gl_xml_template_read_templates_from_file),
2845 (gl_xml_template_parse_templates_doc),
2846 (gl_xml_template_parse_template_node),
2847 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
2848 (xml_parse_label_cd_node), (xml_parse_layout_node),
2849 (xml_parse_markup_margin_node), (xml_parse_markup_line_node),
2850 (xml_parse_markup_circle_node),
2851 (gl_xml_template_write_templates_to_file), (xml_create_label_node):
2852 * libglabels/xml.c: (gl_xml_get_prop_length):
2853 Re-classified g_warnings to g_messages.
2855 * src/glabels.c: (main):
2856 * src/warning-handler.c: (gl_warning_handler_init),
2858 * src/warning-handler.h:
2859 Added warning message handler to make sure the user is
2860 presented with appropriate non-fatal errors.
2861 * src/critical-error-handler.c: (critical_error_handler):
2862 Changed exit to abort.
2863 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new), (render_pass1):
2864 * src/bc-postnet.c: (postnet_code):
2865 * src/bc.c: (id_to_index), (name_to_index):
2866 * src/merge.c: (gl_merge_register_backend), (gl_merge_new):
2867 * src/object-editor.c: (gl_object_notebook_construct_valist):
2868 * src/prefs-dialog.c: (update_locale_page_from_prefs):
2869 * src/prefs.c: (gl_prefs_get_units_per_point),
2870 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
2871 (gl_prefs_get_units_string):
2872 * src/print.c: (draw_outline), (clip_to_outline), (clip_punchouts):
2873 * src/splash.c: (gl_splash):
2874 * src/ui-commands.c: (gl_ui_cmd_help_contents):
2875 * src/view-highlight.c: (gl_view_highlight_new),
2876 (highlight_resizable_box_construct), (object_changed_cb),
2877 (view_scale_changed_cb):
2878 * src/view.c: (draw_label_layer), (draw_bg_fg_layers),
2879 (draw_markup_layer), (draw_markup_margin),
2880 (gl_view_object_create_mode), (canvas_event),
2881 (selection_received_cb):
2882 * src/wdgt-mini-preview.c: (mini_outline_list_new):
2883 * src/wdgt-rotate-label.c: (mini_preview_canvas_update):
2884 * src/xml-label-04.c: (gl_xml_label_04_parse),
2885 (xml04_parse_media_description), (xml04_parse_text_props),
2886 (xml04_parse_barcode_props):
2887 * src/xml-label-191.c: (gl_xml_label_191_parse),
2888 (xml191_parse_objects), (xml191_parse_object),
2889 (xml191_parse_text_props), (xml191_parse_image_props),
2890 (xml191_parse_barcode_props), (xml191_parse_data),
2891 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
2892 (xml191_parse_markup):
2893 * src/xml-label.c: (gl_xml_label_open), (gl_xml_label_open_buffer),
2894 (xml_doc_to_label), (xml_parse_label), (xml_parse_objects),
2895 (xml_parse_object_text), (xml_parse_object_image),
2896 (xml_parse_object_barcode), (xml_parse_data),
2897 (xml_parse_toplevel_span), (gl_xml_label_save),
2898 (xml_create_objects):
2899 Re-classified g_warnings to g_messages.
2900 * src/merge-evolution.c: (gl_merge_evolution_open),
2901 (gl_merge_evolution_close), (gl_merge_evolution_get_record):
2902 Use g_warning to output errors encountered while
2903 communicating with the evolution data server
2904 instead of embedding them in the data.
2906 2005-12-08 Jim Evins <evins@snaught.com>
2908 * libglabels/libglabels-private.h:
2910 * libglabels/paper.c: (read_papers):
2911 * libglabels/template.c: (read_templates):
2912 Made appropriate warnings critical.
2914 * src/critical-error-handler.h:
2915 * src/critical-error-handler.c: (gl_critical_error_handler_init),
2916 (critical_error_handler):
2917 Created critical error handler.
2918 * src/glabels.c: (main):
2919 Register critical error handler.
2920 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
2921 * src/object-editor.c: (gl_object_editor_init):
2922 * src/prefs-dialog.c: (gl_prefs_dialog_init):
2923 * src/template-designer.c: (gl_template_designer_init):
2924 * src/ui-property-bar.c: (gl_ui_property_bar_instance_init):
2925 Made appropriate warnings critical.
2927 2005-11-27 Jim Evins <evins@snaught.com>
2929 * src/merge-evolution.c: (gl_merge_evolution_get_key_list),
2930 (gl_merge_evolution_get_primary_key),
2931 (gl_merge_evolution_get_record):
2932 Don't create "record_key" pseudo-key. Don't populate
2933 fields with null data.
2935 2005-11-25 Jim Evins <evins@snaught.com>
2937 * src/merge-evolution.c: (gl_merge_evolution_finalize),
2938 (gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
2939 (gl_merge_evolution_get_record), (gl_merge_evolution_copy),
2941 Query EDS for all supported fields. Patch provided by
2942 Austin Henry <ahenry@users.sourceforge.net>.
2944 2005-10-29 Jim Evins <evins@snaught.com>
2946 * src/glabels.c: (main):
2947 * src/label-barcode.c: (gl_label_barcode_finalize):
2948 * src/label-text.c: (gl_label_text_finalize), (set_font_family):
2949 * src/label.c: (gl_label_instance_init), (gl_label_finalize):
2950 * src/object-editor.c: (gl_object_editor_finalize):
2951 Another pass at valgrinding -- plugged several memory leaks.
2952 * src/view-text.c: (gl_view_text_new),
2953 (update_canvas_item_from_object_cb), (draw_hacktext):
2954 Commented out artifacts of edit-in-place code.
2956 2005-10-28 Jim Evins <evins@snaught.com>
2958 * src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
2959 Fixed use of uninitialized variable. Caught by
2960 d binderman <dcb314@hotmail.com>.
2962 2005-10-27 Jim Evins <evins@snaught.com>
2964 * src/merge-evolution.c: (gl_merge_evolution_get_record):
2965 * src/merge-vcard.c: (gl_merge_vcard_get_record),
2967 Additional cleanup of EDS and vcard backends. Provided by
2968 Austin Henry <ahenry@users.sourceforge.net>.
2970 2005-10-24 Jim Evins <evins@snaught.com>
2974 * src/merge-evolution.c:
2975 * src/merge-evolution.h:
2976 * src/merge-init.c: (gl_merge_init):
2977 * src/merge-properties-dialog.c: (type_changed_cb):
2978 * src/merge-vcard.c:
2979 * src/merge-vcard.h:
2980 * src/ui-commands.c: (gl_ui_cmd_help_about):
2981 Added Evolution Data Server and VCard merge backends. Original patch
2982 provided by Austin Henry <ahenry@users.sourceforge.net>.
2984 Only support EDS and VCard backends if libebook is installed. Allow
2985 user to disable support, even if installed.
2987 2005-10-24 Jim Evins <evins@snaught.com>
2990 * data/templates/avery-iso-templates.xml:
2991 * data/templates/avery-us-templates.xml:
2992 * data/templates/misc-iso-templates.xml:
2993 * data/templates/zweckform-iso-templates.xml:
2994 Collected all template changes and submissions since last
2997 2005-10-23 Jim Evins <evins@snaught.com>
3000 * data/mime/Makefile.am:
3001 Added configure options to disable update-mime-database and
3002 update-desktop-database as part of the install. Patch
3003 provided by Leonardo Boshell (qhoracio@sourceforge.net).
3005 2005-10-23 Jim Evins <evins@snaught.com>
3008 * libglabels/xml.c: (gl_xml_get_prop_string),
3009 (gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
3010 (gl_xml_is_node), (gl_xml_get_node_content):
3011 Added new XML utility functions.
3012 * libglabels/xml-paper.c:
3013 * libglabels/xml-template.c:
3015 Cleanup by using new xml utilities created above.
3016 * libglabels/paper.c: (gl_paper_free):
3017 * src/file.c: (new_response):
3018 * src/object-editor-image-page.c: (add_image_filters_to_chooser):
3019 * src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
3020 (gl_pixbuf_cache_get_pixbuf):
3021 * src/ui-property-bar.c:
3022 (gl_ui_property_bar_construct_color_combo):
3023 * src/view-highlight.c: (gl_view_highlight_finalize):
3024 * src/view-image.c: (update_object_from_editor_cb):
3025 * src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
3026 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
3027 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
3028 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
3029 (draw_markup_margin_round), (draw_markup_margin_cd),
3030 (draw_markup_margin_cd_bc):
3031 * src/wdgt-mini-preview.c: (mini_outline_list_new):
3032 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
3033 Plugged various memory leaks located with valgrind.
3034 * src/view-image.c: (update_canvas_item_from_object_cb):
3035 Don't allow a width or height of zero when drawing pixbuf.
3037 2005-10-22 Jim Evins <evins@snaught.com>
3039 * libglabels/xml-paper.c:
3040 * libglabels/xml-template.c:
3043 * src/bc-gnubarcode.c:
3044 * src/canvas-hacktext.c:
3046 * src/object-editor-data-page.c:
3047 * src/print-dialog.c:
3050 * src/template-designer.c:
3052 * src/ui-property-bar.c:
3054 * src/view-barcode.c:
3056 * src/view-ellipse.c:
3061 * src/wdgt-media-select.c:
3062 * src/xml-label-04.c:
3063 * src/xml-label-191.c:
3065 Modified to compile warning free with gcc-4.0. Mostly
3066 casting to change signedness of characters. Did not
3067 attack gnu-barcode library yet.
3069 2005-10-22 Jim Evins <evins@snaught.com>
3071 * src/glabels.c: (main):
3072 * src/splash.c: (gl_splash):
3073 Removed some small memory leaks.
3077 2005-09-19 Jim Evins <evins@snaught.com>
3079 * data/glade/property-bar.glade:
3080 Remove items from font_family_combo. This prevents the
3081 double entry after adding text model and list of fonts.
3082 * src/ui-property-bar.c: (reset_to_default_properties):
3083 Free font_family_list.
3085 2005-07-01 Jim Evins <evins@snaught.com>
3088 Updated italian translation (Daniele Medri)
3090 2005-06-26 Jim Evins <evins@snaught.com>
3092 * docs/libglabels/libglabels-decl-list.txt:
3093 Somehow never got checked in before.
3094 * docs/libglabels/libglabels.types:
3095 Removed -- don't need it afterall.
3097 2005-06-20 Jim Evins <evins@snaught.com>
3100 Final prep for 2.1.1 release.
3102 2005-06-20 Jim Evins <evins@snaught.com>
3105 Final preps for 2.1.1 release.
3106 * docs/libglabels/libglabels.types:
3107 Somehow never got checked in before.
3109 Bring up-to-date with recent reorg of ui code.
3112 2005-06-19 Jim Evins <evins@snaught.com>
3114 * src/template-designer.c: (construct_layout_page):
3115 Removed attempt to match background color of mini preview widget to
3118 2005-06-17 Jim Evins <evins@snaught.com>
3120 * help/C/figures/merge-ex2-4.png:
3121 * help/C/glabels.xml:
3122 Fixed spelling error.
3124 2005-06-13 Jim Evins <evins@snaught.com>
3126 * help/C/figures/merge-ex1-1.png:
3127 * help/C/figures/merge-ex1-2.png:
3128 * help/C/figures/merge-ex1-3.png:
3129 * help/C/figures/merge-ex1-4.png:
3130 * help/C/figures/merge-ex2-1.png:
3131 * help/C/figures/merge-ex2-2.png:
3132 * help/C/figures/merge-ex2-3.png:
3133 * help/C/figures/merge-ex2-4.png:
3134 Added figures for document merge tutorial.
3135 * help/C/glabels.xml:
3136 Added document merge tutorial.
3138 2005-05-19 Jim Evins <evins@snaught.com>
3140 * data/glade/merge-properties-dialog.glade:
3141 Fixed irregular spacing.
3142 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
3143 (gl_merge_properties_dialog_construct):
3144 Set outer padding and remove separator.
3146 2005-05-18 Jim Evins <evins@snaught.com>
3150 Removed glHigDialog class.
3151 * src/file.c: (gl_file_new), (create_new_dialog_widgets),
3152 (gl_file_properties), (create_properties_dialog_widgets):
3153 * src/prefs-dialog.h:
3154 * src/prefs-dialog.c: (gl_prefs_dialog_get_type),
3155 (gl_prefs_dialog_init), (gl_prefs_dialog_construct):
3156 * src/print-dialog.h:
3157 * src/prefs-dialog.h:
3158 * src/print-dialog.c: (gl_print_dialog_get_type),
3159 (gl_print_dialog_init), (gl_print_dialog_construct):
3160 Replaced all instances of glHigDialog with GtkDialog.
3162 2005-05-17 Jim Evins <evins@snaught.com>
3166 Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
3167 * src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
3168 (save_as_response), (gl_file_close):
3169 Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.
3171 2005-05-15 Jim Evins <evins@snaught.com>
3173 * src/ui-commands.h:
3181 A little code reformatting -- no functional changes.
3183 2005-05-14 Jim Evins <evins@snaught.com>
3186 Removed obsolete macros.
3188 Added marshalling template to support new view signal: "context_menu_activate."
3190 * src/view.c: (gl_view_class_init), (gl_view_construct),
3191 (canvas_event_arrow_mode):
3192 - Removed hardcoded context menus and added new signal "context_menu_activate"
3193 to push this up to the uimanager.
3194 - Removed merge properties and print dialogs so that they can be managed with
3195 the window by the uimanager.
3196 * src/merge-properties-dialog.h:
3197 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
3198 (gl_merge_properties_dialog_construct):
3199 Changed calling convention of gl_merge_properties_dialog_new() to use
3200 glLabel and GtkWindow instead of view to make more consistent with other
3202 * src/print-dialog.h:
3203 * src/print-dialog.c: (gl_print_dialog_new),
3204 (gl_print_dialog_construct):
3205 Removed last artifact of libbonoboui.
3206 * src/ui-commands.c: (gl_ui_cmd_file_print),
3207 (gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
3208 Reconciled style for launching dialogs.
3209 * src/ui.c: (gl_ui_new):
3210 Added context menus to ui manager.
3211 * src/view-object.c: (item_event_arrow_mode):
3212 No longer try to select objects with right-click.
3214 * src/window.c: (gl_window_init), (gl_window_set_label),
3215 (context_menu_activate_cb):
3216 Context menus and all dialogs are now managed in a consistent way in window
3219 2005-05-11 Jim Evins <evins@snaught.com>
3222 * src/window.c: (gl_window_init), (gl_window_destroy):
3223 * src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
3224 * src/ui-commands.c: (gl_ui_cmd_file_open_recent):
3225 Moved management of recent_view back from window.c to ui.c -- it just feels
3228 2005-05-10 Jim Evins <evins@snaught.com>
3231 * src/window.c: (gl_window_init):
3233 * src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
3234 (menu_item_select_cb), (menu_item_deselect_cb):
3235 Added GtkStatusbar which displays menu tooltips.
3237 2005-05-09 Jim Evins <evins@snaught.com>
3239 Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
3244 Removed dependencies on libbonoboui.
3246 * data/ui/Makefile.am:
3247 * data/ui/glabels-ui.xml:
3248 Removed data/ui directory.
3249 * data/glade/Makefile.am:
3250 * data/property-bar.glade:
3251 Added glade description of property-bar for new libglade implementation
3258 * src/ui-commands.h:
3259 * src/ui-commands.c:
3260 Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
3261 since the distinction between "commands" and "tools" is no longer that clear.
3264 Modified to expect glWindow instead of GtkWindow. gl_file_open_recent()
3265 no longer has knowledge of eggRecent*.
3266 * src/glabels.c: (main):
3267 Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
3269 * src/object-editor.c: (gl_object_editor_init):
3270 Make sure notebook does not respond to a "show_all" on the parent.
3271 * src/recent-files/Makefile.am:
3272 * src/recent-files/*.[ch]
3273 Updated from latest version of libegg which now has a view based on
3274 GtkUIManager. Removed unused bonobo and gtk views.
3275 * src/ui-property-bar.h:
3276 * src/ui-property-bar.c:
3277 New implementation based on libglade.
3280 Sidebar is now simply a GtkWidget and does not expect to be a part of
3281 a libbonoboui interface.
3286 Converted for use with GtkUIManager.
3289 Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
3290 to create menus and toolbars.
3292 2005-04-25 Jim Evins <evins@snaught.com>
3294 * data/templates/misc-iso-templates.xml:
3295 Added Fellows 04715 template provided by Steve Saxon.
3297 Updated acknowledgement for above.
3299 2005-04-23 Jim Evins <evins@snaught.com>
3301 * src/util.c: (gl_util_combo_box_set_strings):
3302 Make sure to clear model before loading a new list of strings.
3303 * src/wdgt-media-select.h:
3304 * src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
3305 (gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
3306 (template_combo_changed_cb), (prefs_changed_cb),
3307 (gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
3308 (gl_wdgt_media_select_get_page_size),
3309 (gl_wdgt_media_select_set_page_size):
3310 Replaced the deprecated GtkCombo widget with the new
3313 2005-04-21 Jim Evins <evins@snaught.com>
3315 * data/glade/template-designer.glade:
3316 * src/template-designer.c: (construct_pg_size_page),
3317 (pg_size_page_changed_cb), (build_template):
3318 Replaced the deprecated GtkCombo widget with the new
3321 2005-04-20 Jim Evins <evins@snaught.com>
3323 * data/glade/prefs-dialog.glade:
3324 * src/prefs-dialog.c: (construct_object_page),
3325 (update_object_page_from_prefs), (update_prefs_from_object_page):
3326 Replaced the deprecated GtkCombo widget with the new
3329 2005-04-19 Jim Evins <evins@snaught.com>
3331 * data/glade/object-editor.glade:
3332 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
3333 (style_changed_cb), (gl_object_editor_set_bc_style),
3334 (gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
3335 (gl_object_editor_get_bc_color):
3336 * src/object-editor-data-page.c:
3337 (gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
3338 (gl_object_editor_get_data):
3339 * src/object-editor-edit-page.c:
3340 (gl_object_editor_prepare_edit_page), (insert_button_cb):
3341 * src/object-editor-fill-page.c:
3342 (gl_object_editor_prepare_fill_page),
3343 (gl_object_editor_set_fill_color),
3344 (gl_object_editor_get_fill_color):
3345 * src/object-editor-image-page.c:
3346 (gl_object_editor_prepare_image_page),
3347 (gl_object_editor_set_image), (gl_object_editor_get_image):
3348 * src/object-editor-line-page.c:
3349 (gl_object_editor_prepare_line_page),
3350 (gl_object_editor_set_line_color),
3351 (gl_object_editor_get_line_color):
3352 * src/object-editor-private.h:
3353 * src/object-editor-text-page.c:
3354 (gl_object_editor_prepare_text_page),
3355 (gl_object_editor_set_font_family),
3356 (gl_object_editor_get_font_family),
3357 (gl_object_editor_set_text_color),
3358 (gl_object_editor_get_text_color):
3359 * src/object-editor.c: (gl_object_editor_set_key_names):
3361 In the object editor: replaced all instances of the deprecated
3362 GtkCombo widget with the new GtkComboBox.
3364 2005-04-18 Jim Evins <evins@snaught.com>
3367 Neglected to save this one in previous checkin to support
3370 2005-04-17 Jim Evins <evins@snaught.com>
3372 * libglabels/libglabels-private.h:
3373 * libglabels/paper.c:
3374 * libglabels/paper.h:
3375 * libglabels/template.c:
3376 * libglabels/template.h:
3377 * libglabels/xml-paper.c:
3378 * libglabels/xml-paper.h:
3379 * libglabels/xml-template.c:
3384 * src/bc-gnubarcode.c:
3395 * src/label-barcode.c:
3397 * src/label-ellipse.c:
3398 * src/label-image.c:
3399 * src/label-image.h:
3401 * src/label-object.c:
3405 * src/merge-properties-dialog.c:
3406 * src/object-editor-bc-page.c:
3407 * src/object-editor-data-page.c:
3408 * src/object-editor-edit-page.c:
3409 * src/object-editor-fill-page.c:
3410 * src/object-editor-image-page.c:
3411 * src/object-editor-line-page.c:
3412 * src/object-editor-lsize-page.c:
3413 * src/object-editor-position-page.c:
3414 * src/object-editor-private.h:
3415 * src/object-editor-size-page.c:
3416 * src/object-editor-text-page.c:
3417 * src/object-editor.c:
3418 * src/object-editor.h:
3419 * src/pixbuf-cache.h:
3420 * src/prefs-dialog.c:
3421 * src/prefs-dialog.h:
3422 * src/prefs-model.c:
3423 * src/prefs-model.h:
3425 * src/print-dialog.c:
3426 * src/print-dialog.h:
3434 * src/template-designer.c:
3435 * src/template-designer.h:
3438 * src/ui-property-bar.c: (gl_ui_property_bar_construct):
3444 * src/view-barcode.c:
3446 * src/view-ellipse.c:
3447 * src/view-highlight.c:
3448 * src/view-highlight.h:
3451 * src/view-object.c:
3452 * src/view-object.h:
3456 * src/wdgt-chain-button.c:
3457 * src/wdgt-media-select.c:
3458 * src/wdgt-media-select.h:
3459 * src/wdgt-mini-preview.c:
3460 * src/wdgt-mini-preview.h:
3461 * src/wdgt-print-copies.c:
3462 * src/wdgt-print-copies.h:
3463 * src/wdgt-print-merge.c:
3464 * src/wdgt-print-merge.h:
3465 * src/wdgt-rotate-label.c:
3466 * src/wdgt-rotate-label.h:
3469 * src/xml-label-04.c:
3470 * src/xml-label-191.c:
3472 Cleanup of header files:
3473 - all header files are now stand-alone, verified by including
3474 first in corresponding "c" files
3475 - replaced blanket includes of gnome, gtk, and glib with
3478 2005-04-16 Jim Evins <evins@snaught.com>
3480 * data/glade/Makefile.am:
3481 * data/glade/merge-properties-dialog.glade:
3482 Added merge properties dialog glade description file.
3483 * src/merge-properties-dialog.h:
3484 * src/merge-properties-dialog.c:
3485 (gl_merge_properties_dialog_get_type),
3486 (gl_merge_properties_dialog_init),
3487 (gl_merge_properties_dialog_finalize),
3488 (gl_merge_properties_dialog_new),
3489 (gl_merge_properties_dialog_construct), (type_changed_cb),
3490 (src_changed_cb), (response_cb), (load_tree),
3491 (record_select_toggled_cb), (select_all_button_clicked_cb),
3492 (unselect_all_button_clicked_cb):
3493 Modified merge properties dialog to use libglade. Added
3494 "select all" and "unselect all" buttons.
3495 * src/merge-text.c: (parse_line):
3496 Handle empty lines better.
3497 * src/merge.c: (gl_merge_eval_key):
3498 Evaluate the key whether the record is selected or not.
3500 * src/util.c: (gl_util_combo_box_add_text_model):
3501 Since libglade does not use the gtk_combo_box_new_text()
3502 constructor for GtkComboBoxes, a utility function was created
3503 to add an appropriate text model to a GtkComboBox.
3504 * src/view.c: (gl_view_edit_merge_props):
3505 Removed unnecessary "show all's".
3507 2005-04-15 Jim Evins <evins@snaught.com>
3510 Updated russian translation (Vitaly Lipatov)
3511 * data/templates/misc-iso-templates.xml:
3512 Added templates for russian business cards provided by Vitaly Lipatov.
3514 Updated acknowledgements for above.
3516 2005-04-15 Jim Evins <evins@snaught.com>
3518 * data/templates/avery-us-templates.xml:
3519 Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
3520 * data/templates/misc-iso-templates.xml:
3521 Added Ryman standard CD/DVD template, provided by Dan Clark.
3523 Added acknowledgements for above.
3525 2005-04-10 Jim Evins <evins@snaught.com>
3527 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
3528 * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
3529 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
3530 (xml_parse_label_cd_node), (xml_parse_alias_node):
3531 * libglabels/xml.c: (gl_xml_get_prop_double),
3532 (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
3533 (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
3534 * src/xml-label-04.c: (xml04_parse_media_description),
3535 (xml04_parse_text_props), (xml04_parse_barcode_props),
3536 (xml04_parse_merge_properties):
3537 * src/xml-label-191.c: (xml191_parse_object),
3538 (xml191_parse_text_props), (xml191_parse_barcode_props),
3539 (xml191_parse_merge_fields), (xml191_parse_pixdata),
3540 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
3541 (xml191_parse_alias):
3542 * src/xml-label.c: (xml_parse_object_text),
3543 (xml_parse_object_barcode), (xml_parse_merge_fields),
3544 (xml_parse_pixdata), (xml_parse_toplevel_span):
3545 Make sure to use xmlFree for anything obtained from libxml
3546 in case libxml and glib use different memory management
3549 2005-04-08 Jim Evins <evins@snaught.com>
3552 * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
3553 (gl_util_combo_box_set_active_text):
3554 Added utility functions to simplify working with GtkComboBox
3556 * src/ui-property-bar.h:
3557 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
3558 (reset_to_default_properties), (update_text_properties),
3559 (font_family_changed_cb):
3560 Replaced deprecated GtkCombo with GtkComboBox.
3563 2005-04-03 Jim Evins <evins@snaught.com>
3566 * src/wdgt-image-select.h:
3567 * src/wdgt-image-select.c:
3568 Removed obsolete wdgt-image-select.[ch] files.
3569 * libglabels/paper.c: (gl_paper_dup):
3570 Fixed rename of parameter introduced during documentation
3572 * data/glade/object-editor.glade:
3573 * src/object-editor-image-page.c:
3574 (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
3575 (gl_object_editor_set_image), (gl_object_editor_get_image),
3576 (update_preview_cb), (add_image_filters_to_chooser):
3577 * src/object-editor-private.h:
3578 Replaced deprecated GnomePixmapEntry with
3579 GtkFileChooserButton.
3581 2005-04-02 Jim Evins <evins@snaught.com>
3583 * src/mygal/mygal-combo-box.c: (deactivate_arrow),
3584 (mygal_combo_box_popup_hide_unconditional),
3585 (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
3586 (mygal_combo_toggle_pressed), (mygal_combo_box_init),
3587 (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
3588 (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
3589 (cb_tearable_button_release), (mygal_combo_box_set_tearable):
3590 Renamed all internal gtk_combo functions to mygal_combo
3591 to prevent namespace confusion.
3593 2005-04-02 Jim Evins <evins@snaught.com>
3595 * src/mygal/color-palette.c: (color_palette_change_custom_color),
3596 (cust_color_set), (color_palette_setup):
3597 * src/mygal/color-palette.h:
3598 Replaced deprecated GnomeColorPicker with GtkColorButton.
3600 2005-04-02 Jim Evins <evins@snaught.com>
3602 * docs/libglabels/libglabels-sections.txt:
3603 * docs/libglabels/libglabels-undocumented.txt:
3604 * docs/libglabels/tmpl/enums.sgml:
3605 * docs/libglabels/tmpl/paper.sgml:
3606 * docs/libglabels/tmpl/xml-paper.sgml:
3607 * docs/libglabels/tmpl/xml-template.sgml:
3608 * libglabels/enums.h:
3609 * libglabels/paper.c: (gl_paper_dup):
3610 * libglabels/paper.h:
3611 * libglabels/xml-paper.c:
3612 * libglabels/xml-template.c:
3613 More documentation updates for libglabels.
3615 2005-03-23 Jim Evins <evins@snaught.com>
3618 Automatically updated.
3623 * docs/libglabels/Makefile.am:
3624 * docs/libglabels/libglabels-docs.sgml:
3625 * docs/libglabels/libglabels-sections.txt:
3626 * docs/libglabels/libglabels-undocumented.txt:
3627 * docs/libglabels/tmpl/enums.sgml:
3628 * docs/libglabels/tmpl/libglabels-unused.sgml:
3629 * docs/libglabels/tmpl/libglabels.sgml:
3630 * docs/libglabels/tmpl/paper.sgml:
3631 * docs/libglabels/tmpl/template.sgml:
3632 * docs/libglabels/tmpl/xml-paper.sgml:
3633 * docs/libglabels/tmpl/xml-template.sgml:
3634 * docs/libglabels/tmpl/xml.sgml:
3635 Added basic gtk-doc stuff to support documenting libglabels
3638 Updated function comments with gtk-doc markup.
3642 2005-03-22 Jim Evins <evins@snaught.com>
3644 Since the development version now requires gtk-2.6/gnome-2.10, I
3645 have made a first pass at removing deprecations.
3648 * libglabels/Makefile.am:
3650 Added configure option to turn on X_DISABLE_DEPRECATED flags.
3651 Also removed all remnants of HAVE_FILECHOOSER.
3652 * src/file.c: (gl_file_open_real):
3653 Removed code for old GtkFileSelection.
3654 * libglabels/libglabels-private.h:
3655 * libglabels/paper.c:
3656 * libglabels/template.c:
3657 * libglabels/xml-paper.c:
3658 * libglabels/xml-template.c:
3662 * src/glabels-batch.c:
3666 * src/merge-properties-dialog.c:
3668 * src/object-editor.c:
3669 * src/prefs-dialog.c:
3671 * src/print-dialog.c:
3674 * src/template-designer.c:
3675 * src/ui-property-bar.c:
3677 * src/view-barcode.c:
3679 * src/view-ellipse.c:
3684 * src/wdgt-image-select.c:
3685 * src/wdgt-media-select.c:
3686 * src/wdgt-print-copies.c:
3687 * src/wdgt-print-merge.c:
3688 * src/wdgt-rotate-label.c:
3690 * src/xml-label-04.c:
3691 * src/xml-label-191.c:
3693 Added '#include <glib/gi18n.h>" where needed.
3694 Removed any unused '#include <gnome.h>"s.
3696 2005-03-22 Jim Evins <evins@snaught.com>
3698 * src/commands.c: (activate_url), (gl_cmd_help_about):
3699 Replaced GnomeAbout with GtkAboutDialog. Therefore the
3700 development version of glabels now depends on GTK 2.6 and
3703 Updated library dependencies.
3705 2005-02-28 Jim Evins <evins@snaught.com>
3708 * data/templates/misc-iso-templates.xml:
3709 Added 'Ednet 45021' template provided by Ali Akcaagac
3712 2005-02-14 Jim Evins <evins@snaught.com>
3714 * data/templates/avery-us-templates.xml:
3715 Updated templates to use inches instead of points.
3716 * src/print-dialog.c: (printer_page_new):
3717 Changed packing style when adding printer selector widget. This fixes
3720 2005-02-13 Jim Evins <evins@snaught.com>
3724 Updated spanish translations. (sergio rivadero)
3726 2005-02-05 Jim Evins <evins@snaught.com>
3728 Some cleanup to libglabels.
3731 Updated version to 2.1.1cvs. Added generation of libglabels.pc.
3732 * libglabels/libglabels.pc.in
3734 * libglabels/enums.h
3735 Created. Currently only contains glUnitsType which provides enumerations
3736 for all possible units of distance.
3737 * libglabels/Makefile.am:
3738 Incorporated new files enums.h and libglabels.pc[.in].
3739 * libglabels/libglabels.h:
3741 * libglabels/template.h:
3742 * libglabels/template.c: (gl_template_layout_new):
3743 Changed parameters nx and ny to gint from gdouble.
3745 * libglabels/xml.c: (gl_xml_get_prop_length),
3746 (gl_xml_set_prop_length), (gl_xml_set_default_units):
3747 Added support for different output units.
3748 * src/prefs-dialog.c: (update_locale_page_from_prefs),
3749 (update_prefs_from_locale_page):
3750 * src/prefs-model.c: (string_to_units), (units_to_string):
3751 * src/prefs-model.h:
3752 * src/prefs.c: (gl_prefs_get_units_per_point),
3753 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
3754 (gl_prefs_get_units_string):
3756 * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
3757 Reconciled all length enumerations with the new enumerations provided
3758 in libglabels/enums.h.
3760 2005-02-03 Jim Evins <evins@snaught.com>
3763 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
3765 Updated Italian translations. (Daniele Medri)
3767 Updated credits to reflect above translations.
3770 2005-01-22 Jim Evins <evins@snaught.com>
3775 Added MESSAGE-OF-DOOM to EXTRA_DIST.
3777 Final prep for 2.1.0.
3779 Set version to 2.1.0. Output MESSAGE-OF-DOOM.
3781 Added '--remove-original' flag to desktop-file-install, so that there is
3782 only one menu entry.
3784 2005-01-20 Jim Evins <evins@snaught.com>
3786 * data/glade/object-editor.glade:
3787 - Font family entry should not be editable.
3788 - img_key_entry should have sensitivity=YES, so that it follows the
3789 sensitivity of img_key_combo.
3791 2005-01-19 Jim Evins <evins@snaught.com>
3794 Give credit to Frederic Ruaudel for the color merge patches.
3796 2005-01-18 Frederic Ruaudel <grumz@users.sf.net>
3798 Add support to merge color for all other color attribute (Feature
3799 Requests item #1008635. If the data is invalid, the color used is transparent
3800 (GL_COLOR_NONE). The format for color in merge data file are those accepted
3801 by gdk_color_parse() these include name for a color from rgb.txt, such as
3802 DarkSlateGray, or a hex specification such as #305050. File format has been
3803 changed but backward compatibility is preserved for all format. For
3804 box/ellipse/line, keep attribute "line_color" for static color or replace by
3805 "line_color_field" for merge data. For text/barcode objects, keep attribute
3806 "color" for static color or replace by "color_field" for merge data. In the
3807 edit canvas window, merged color are represented by half-transparent black
3810 * data/dtd/glabels-2.0.dtd:
3811 Added line_color_field to line_attrs. Added color_field to
3812 Object-barcode and Span.
3813 * data/glade/object-editor.glade:
3814 Modify the layout of the editor to add merge possibility to color options
3816 Fix a copy/paste error in a comment
3818 Add default color for merge color representation in the editor canvas.
3819 * src/label-barcode.c:
3820 * src/object-editor-bc-page.c:
3821 * src/view-barcode.c:
3822 Add merge color support for barcode color.
3825 Add merge color support for box border color.
3826 * src/label-ellipse.c:
3827 * src/view-ellipse.c:
3828 Add merge color support for ellipse border color.
3831 Add merge color support for line color.
3832 * src/label-object.c:
3833 * src/label-object.h:
3834 * src/object-editor.c:
3835 * src/object-editor.h:
3836 * src/ui-property-bar.c:
3839 * src/xml-label-04.c:
3840 * src/xml-label-191.c:
3841 Add support for merging to other color attribute.
3843 * src/object-editor-text-page.c:
3845 Add merge color support for text color.
3846 * src/object-editor-fill-page.c:
3847 Change a blocked handler that didn't match the good widget. Fix the type
3848 of some debug message.
3849 * src/object-editor-line-page.c:
3850 Add merging support to line color option.
3851 * src/object-editor-private.h:
3852 Add variables for new widget.
3854 Modify the draw functions to get merge data if needed.
3856 Change the default size of the window in order to see all widget in the
3857 "text style tab" of the editor.
3859 Modify the parser to record/retreive the field value for objects that need
3860 "color" attribute. For box/ellipse/line, keep attribute "line_color" for
3861 static color or replace by "line_color_field" for merge data. For
3862 text/barcode objects, keep attribute "color" for static color or replace
3863 by "color_field" for merge data.
3865 2005-01-17 Jim Evins <evins@snaught.com>
3867 * src/view.c: (screen_changed_cb):
3868 Don't do anything if we don't have a screen.
3870 2005-01-06 Jim Evins <evins@snaught.com>
3872 * src/view.c: (get_home_scale):
3873 Fixed bad call to gtk_widget_has_screen() -- huh?.
3875 2005-01-06 Jim Evins <evins@snaught.com>
3877 * data/dtd/glabels-2.0.dtd:
3878 Added fill_color_field to fill_attrs. Also added xmlns attribute to all
3881 2005-01-06 Jim Evins <evins@snaught.com>
3883 * data/glade/object-editor.glade:
3884 Set entries for fill and data field key dropdowns to NOT editable.
3885 * src/view-box.c: (construct_properties_editor):
3886 * src/view-ellipse.c: (construct_properties_editor):
3887 Update object editor when label's merge property has changed.
3888 * src/xml-label.c: (xml_parse_object_ellipse):
3889 Completed the merge color support for the ellipse item.
3891 2005-01-06 Frederic Ruaudel <grumz@users.sf.net>
3893 Add support to merge color for object that have a "Fill color" attribute (Feature
3894 Requests item #1008635. If the data is invalid, the color used is transparent
3895 (GL_COLOR_NONE). The format for color in merge data file are those accepted
3896 by gdk_color_parse() these include name for a color from rgb.txt, such as
3897 DarkSlateGray, or a hex specification such as #305050. File format has been
3898 changed but backward compatibility is preserved for all format. For box/ellipse,
3899 keep attribute "fill_color" for static color or replace by "fill_color_field"
3902 * data/glade/object-editor.glade:
3903 Modify "Fill" tab to add the merge key combo and convert the labels into
3907 Add "glColorNode" structure and associated functions to manage it. This
3908 structure is equivalent for color than the "glTextNode". It holds the color
3910 * src/label-object.h:
3911 * src/label-object.c:
3913 * src/label-ellipse.c:
3914 * src/ui-property-bar.c:
3918 * src/view-ellipse.c:
3919 * src/xml-label-04.c:
3920 * src/xml-label-191.c:
3921 Change functions of objects that have a "fill color" attribute to use the
3922 new "glColorNode" structure. Use barcode code as example.
3924 Add the color.[ch] file to glabels_batch binary that now need support for
3926 * src/object-editor.h:
3927 * src/object-editor.c:
3928 * src/object-editor-fill-page.c:
3929 Manage the new widget of the editor's "Fill" tab : key combo and radio button
3930 to choose between static color or merge key. Use barcode code as example.
3931 * src/object-editor-private.h:
3932 Add new widget in the "_glObjectEditorPrivate" structure.
3934 Modify the draw functions to get merge data if needed.
3936 Modify the parser to record/retreive the field value for objects that need
3937 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
3938 color or "fill_color_field" for merge data.
3940 2005-01-04 Jim Evins <evins@snaught.com>
3943 * data/templates/avery-iso-templates.xml:
3944 * data/templates/misc-iso-templates.xml:
3945 * data/templates/misc-us-templates.xml:
3946 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
3949 2004-11-26 Jim Evins <evins@snaught.com>
3953 Updated french translations provided by Florent Morel <florent@taket.org>.
3954 * src/view-barcode.c:
3956 * src/view-ellipse.c:
3960 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
3961 thus _() strings were not being translated.
3963 2004-11-14 Jim Evins <evins@snaught.com>
3966 * src/debug.c: (gl_debug_init), (gl_debug):
3967 Borrowed from gedit: use environmental variables to select debug
3970 Removed unused include of debug.h.
3971 * src/glabels.c: (main):
3972 Added call to gl_debug_init(), and removed debug clutter from command line
3974 * src/glabels-batch.c: (main):
3975 Added call to gl_debug_init().
3977 2004-11-13 Jim Evins <evins@snaught.com>
3979 Drawing and property toolbars were being initialized with the "icons and text"
3980 look in Fedora Core 3. Even though none of the buttons had any text attached to
3981 them, the buttons were being sized as if they were. This led to less real estate
3982 for the property editor, leading to Bug #1064630. The
3984 * data/ui/glabels-ui.xml:
3985 Added explicit "look" property to both drawing and property toolbars.
3986 * src/prefs-model.c: (gl_prefs_model_save_settings),
3987 (gl_prefs_model_load_settings):
3988 * src/prefs-model.h:
3989 Removed drawing_toolbar_button_style configuration parameter.
3990 * src/ui.c: (view_menu_item_toggled_cb),
3991 (set_app_drawing_toolbar_style):
3992 Do not attempt to adjust look property of the drawing toolbar.
3994 2004-10-28 Jim Evins <evins@snaught.com>
3996 * data/pixmaps/glabels-about-logo.png:
3999 2004-10-28 Jim Evins <evins@snaught.com>
4001 * data/man/glabels.1:
4002 * src/glabels-batch.c: (main):
4004 * src/print.c: (gl_print_batch):
4006 Added option to glabels-batch to select the first label to begin
4009 2004-09-26 Jim Evins <evins@snaught.com>
4011 * data/desktop/glabels.desktop.in:
4012 Point to app icon, "glabels.png"
4013 * data/mime/glabels.keys.in:
4014 Point at mime icon, "glabels-application-x-glabels.png"
4015 * data/pixmaps/Makefile.am:
4016 Added glabels_app_icondir. Renamed icons.
4017 * data/pixmaps/glabels.png:
4018 New cleaned up app icon. Deleted glabels-icon.png.
4019 * data/pixmaps/glabels-application-x-glabels.png:
4021 * data/pixmaps/glabels-splash.png:
4022 Renamed glabels-logo to glabels-splash to be more correct about role.
4024 * src/template-designer.c:
4025 Point at app icon, "glabels.png"
4027 Point at renamed splash image, "glabels-splash.png"
4029 2004-08-22 Jim Evins <evins@snaught.com>
4032 * src/glabels-batch.c: (main):
4033 Applied patch with minor mods to allow selecting merge source and
4034 crop-marks on glabels-batch's command line. Original patch provided by
4035 José Dapena Paz <jdapena@igalia.com>.
4037 2004-08-15 Jim Evins <evins@snaught.com>
4039 * data/desktop/glabels.desktop.in:
4040 - Added encoding line
4041 - Removed period from comment
4042 - Fixed Terminal line, changed "0" to "false"
4043 - Added semicolen to Categories line
4045 - Made sure desktop.in comment string above still translated properly
4047 2004-08-14 Jim Evins <evins@snaught.com>
4049 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
4050 * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
4051 * src/xml-label-191.c: (xml191_parse_sheet):
4052 Fixed improper freeing of gettext strings. Merged from 2.0.1.
4054 Reconciled libglabels versioning with 2.0.1.
4057 2004-08-14 Jim Evins <evins@snaught.com>
4060 Updated version to 2.1cvs.
4062 2004-08-14 Jim Evins <evins@snaught.com>
4065 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
4067 2004-08-14 Jim Evins <evins@snaught.com>
4069 Fixes for Bug #1008181.
4071 * src/bc.c: (gl_barcode_default_digits):
4072 Make a format of zero digits, harmless.
4073 * src/xml-label.c: (xml_parse_object_barcode):
4074 Set default value of the format property of barcode objects to 10, not
4075 zero. This will prevent crashes when reading pre 2.0.x files.
4077 2004-08-09 Jim Evins <evins@snaught.com>
4081 * help/C/glabels-C.omf:
4082 * help/C/glabels.xml:
4083 Brought documentation up-to-date for 2.0.0 release.
4085 2004-08-09 Jim Evins <evins@snaught.com>
4087 These are hopefully the final preparations for 2.0.0.
4089 * data/mime/Makefile.am:
4090 Include glabels.xml in EXTRA_DIST.
4092 - Updated comment style.
4093 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
4094 - Added package and version info to configuration printout
4095 - Update version to 2.0.0
4096 * libglabels/Makefile.am:
4097 Use the new LIBGLABELS_VERSION_INFO macro.
4099 2004-08-09 Jim Evins <evins@snaught.com>
4103 Cleanup of required library macros.
4105 2004-08-08 Jim Evins <evins@snaught.com>
4109 - More specific of what to install in /usr/bin and /usr/lib
4110 - Remove built mime registration files from staging directory
4112 2004-08-08 Jim Evins <evins@snaught.com>
4114 * data/mime/Makefile.am:
4115 Fixed typo: key_files should have been keys_files.
4117 2004-08-08 Jim Evins <evins@snaught.com>
4119 Reorganization of runtime data files. Also added registration of mimetype with
4120 new freedesktop.org mime database if available.
4123 Moved files to appropriate subdirectories, creating local Makefile.am
4124 in each subdirectory.
4125 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
4126 These are now installed at $datadir/glabels/templates.
4127 - Moved glabels.1 to man subdirectory.
4128 - Moved glabels-2.0.dtd to dtd subdirectory.
4129 - Moved glabels.desktop.in to desktop subdirectory.
4130 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
4132 Moved "./pixmaps" to "./data/pixmaps"
4134 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
4136 Moved libglade files from src to data/glade. Created Makefile.am.
4138 Removed pixmaps from SUBDIRS.
4140 - Removed pixmaps from makefiles.
4141 - Added makefiles for new subdirs of data.
4142 - Added tests for freedesktop.org mime database.
4144 - Added tests for freedesktop.org mime database for post install and
4145 post un-install actions.
4146 * libglabels/Makefile.am:
4147 Moved system template files to $(datadir)/glabels/templates.
4148 * libglabels/libglabels-private.h:
4149 Moved system template files to $(datadir)/glabels/templates.
4151 - Accounted for movement of ui and libglade files.
4152 - Added missing .in files.
4153 - Reorganized by directory.
4155 Accounted for movement of ui and libglade files.
4156 * data/mime/glabels.xml.in:
4157 New file for registering with freedesktop.org mime database.
4159 2004-08-07 Jim Evins <evins@snaught.com>
4161 * src/recent-files/*:
4162 Re-synced to latest libegg/recent-files.
4164 2004-08-07 Jim Evins <evins@snaught.com>
4169 Renamed "./doc" directory to "./help" which contains user documentation,
4170 to be more consistent with other GNOME applications.
4173 2004-07-26 Jim Evins <evins@snaught.com>
4175 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
4176 Corrected button order of merge properties dialog.
4178 2004-07-18 Jim Evins <evins@snaught.com>
4180 * data/glabels-2.0.dtd:
4181 * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
4182 (gl_barcode_get_prefered_n):
4184 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
4185 (gl_label_barcode_get_props), (get_size):
4186 * src/label-barcode.h:
4187 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
4188 (style_changed_cb), (gl_object_editor_set_bc_style),
4189 (gl_object_editor_get_bc_style):
4190 * src/object-editor-data-page.c: (data_radio_toggled_cb),
4191 (gl_object_editor_set_data), (gl_object_editor_get_data):
4192 * src/object-editor-private.h:
4193 * src/object-editor.c: (gl_object_editor_set_key_names):
4194 * src/object-editor.glade:
4195 * src/object-editor.h:
4196 * src/print.c: (draw_barcode_object):
4197 * src/view-barcode.c: (update_object_from_editor_cb),
4198 (update_editor_from_object_cb),
4199 (gl_view_barcode_create_event_handler), (draw_barcode):
4200 * src/xml-label-04.c: (xml04_parse_barcode_props):
4201 * src/xml-label-191.c: (xml191_parse_barcode_props):
4202 * src/xml-label.c: (xml_parse_object_barcode),
4203 (xml_create_object_barcode):
4204 Added "format" attribute to barcode objects. This attribute is used
4205 to properly format freeform barcodes barcodes prior to merge data is
4206 applied, so that barcodes can be accurately layed out. This addresses
4207 remaining issues of feature request #824787. Also added an example of
4208 the format in the object editor.
4210 2004-07-12 Jim Evins <evins@snaught.com>
4212 Various code cleanups.
4214 * src/label-barcode.c:
4215 Removed unneeded include of gnome-glyphlist.h.
4217 * src/label-text.c: (get_size):
4218 Fixed memory leak: unref glyphlists when done with them.
4220 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
4221 * src/object-editor-data-page.c:
4222 (gl_object_editor_prepare_data_page):
4223 * src/object-editor-image-page.c:
4224 (gl_object_editor_prepare_image_page):
4225 * src/object-editor-line-page.c:
4226 (gl_object_editor_prepare_line_page):
4227 * src/object-editor-lsize-page.c:
4228 (gl_object_editor_prepare_lsize_page):
4229 * src/object-editor-position-page.c:
4230 (gl_object_editor_prepare_position_page):
4231 * src/object-editor-size-page.c:
4232 (gl_object_editor_prepare_size_page):
4233 * src/object-editor-text-page.c:
4234 (gl_object_editor_prepare_text_page):
4235 Removed unneeded size groups, originally intended to keep widgets aligned.
4236 Now use tables to lay these out in object-editor.glade.
4238 * src/print.c: (draw_text_object):
4239 Fixed memory leak: unref glyphlists when done with them.
4241 * src/view-barcode.c: (draw_barcode):
4242 Fixed memory leak: unref glyphlists when done with them.
4244 * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
4245 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
4247 - Fixed memory leak: unref glyphlists when done with them.
4249 2004-07-11 Jim Evins <evins@snaught.com>
4251 * data/glabels-2.0.dtd:
4252 * src/label-text.c: (gl_label_text_instance_init), (copy),
4253 (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
4255 * src/object-editor-private.h:
4256 * src/object-editor-text-page.c:
4257 (gl_object_editor_prepare_text_page),
4258 (gl_object_editor_set_text_auto_shrink),
4259 (gl_object_editor_get_text_auto_shrink):
4260 * src/object-editor.c: (gl_object_editor_set_key_names):
4261 * src/object-editor.glade:
4262 * src/object-editor.h:
4263 * src/print.c: (draw_text_object):
4264 * src/view-text.c: (update_object_from_editor_cb),
4265 (update_editor_from_object_cb):
4266 * src/xml-label.c: (xml_parse_object_text),
4267 (xml_create_object_text):
4268 Added option to allow document merge to auto shrink text size to fit
4269 within the text box. The code in print.c that actually shrinks the
4270 text is loosely based on a patch submitted by Mark Harrison
4271 <mark.harrison@velocitynet.com.au>. This addresses feature request
4274 2004-07-11 Jim Evins <evins@snaught.com>
4276 * data/glabels-2.0.dtd:
4277 * libglabels/template.c: (gl_template_rect_label_type_new),
4278 (gl_template_round_label_type_new),
4279 (gl_template_cd_label_type_new), (gl_template_label_type_dup),
4280 (template_full_page):
4281 * libglabels/template.h:
4282 * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
4283 (xml_create_label_node):
4284 * pixmaps/ex-rect-size.png:
4285 * src/print.c: (clip_to_outline), (clip_punchouts):
4286 * src/template-designer.c: (construct_rect_size_page),
4287 (rect_size_page_prepare_cb), (layout_page_prepare_cb),
4289 * src/template-designer.glade:
4290 * src/xml-label-191.c: (xml191_parse_label):
4291 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
4292 properties for rectangular labels. Templates remain backwards compatible,
4293 but this breaks the libglabels API (I don't know of anyone outside of
4294 glabels using libglabels at this time -- what can I say, the program is
4295 is still "unstable"). This addresses the suggestion in Feature Request
4298 2004-07-05 Jim Evins <evins@snaught.com>
4299 * src/print.c: (print_crop_marks), (draw_outline):
4300 Changed crop marks and label outlines to black, instead of 25% gray.
4301 This addresses debian Bug #257460.
4303 2004-07-05 Jim Evins <evins@snaught.com>
4305 * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
4306 * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
4307 Preserve "is_default" of fill and line color_combos when creating from
4310 2004-07-02 Jim Evins <evins@snaught.com>
4313 Created man page. Based on page submitted by Matthew J. Lockner, however
4314 it has been severely edited.
4316 * data/avery-other-templates.xml
4317 * data/misc-other-templates.xml:
4318 Started new files for predefined templates with non-standard sheet sizes.
4319 These have been initially populated with the Avery 06141 and
4320 OfficeMax #86112, both provided by Matthew J. Lockner.
4323 Install above manpage and template files.
4326 Make sure we install man pages.
4328 * src/glabels-batch.c:
4329 Changed short form of help option to '-?' to be consistent with glabels.
4332 Added acknowledgement for above labels.
4334 2004-07-02 Jim Evins <evins@snaught.com>
4336 * src/glabels.c: (main), (save_session_cb):
4337 - Now include libbonoboui.h, recent.h, and file.h to provide missing
4339 - save_session_cb() now returns gboolean.
4340 - Minor formatting changes.
4344 - Now include file.h to provide missing prototype.
4345 - gl_window_get_type() now returns GType, not guint. I believe this may
4346 ultimately be cause of the segfault reported in Bug #982287, since
4347 GType is actually a gulong, which may not be compatible on other
4348 architectures (64bit) -- I cannot personally test this at this time.
4349 I was sloppy in several other xxx_get_type() functions which also
4350 returned guint -- see next group of files:
4352 * src/window.c: (gl_window_get_type):
4353 * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
4354 * src/canvas-hacktext.h:
4355 * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
4356 (gl_hig_category_get_type), (gl_hig_vbox_get_type),
4357 (gl_hig_hbox_get_type):
4359 * src/label-barcode.c: (gl_label_barcode_get_type):
4360 * src/label-barcode.h:
4361 * src/label-box.c: (gl_label_box_get_type):
4363 * src/label-ellipse.c: (gl_label_ellipse_get_type):
4364 * src/label-ellipse.h:
4365 * src/label-image.c: (gl_label_image_get_type):
4366 * src/label-image.h:
4367 * src/label-line.c: (gl_label_line_get_type):
4369 * src/label-object.c: (gl_label_object_get_type):
4370 * src/label-object.h:
4371 * src/label-text.c: (gl_label_text_get_type):
4373 * src/label.c: (gl_label_get_type):
4375 * src/merge-properties-dialog.c:
4376 (gl_merge_properties_dialog_get_type):
4377 * src/merge-properties-dialog.h:
4378 * src/merge-text.c: (gl_merge_text_get_type):
4380 * src/merge.c: (gl_merge_get_type):
4382 * src/object-editor.c: (gl_object_editor_get_type):
4383 * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
4384 * src/prefs-dialog.h:
4385 * src/prefs-model.c: (gl_prefs_model_get_type):
4386 * src/prefs-model.h:
4387 * src/print-dialog.c: (gl_print_dialog_get_type):
4388 * src/print-dialog.h:
4389 * src/template-designer.c: (gl_template_designer_get_type):
4390 * src/template-designer.h:
4391 * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
4392 * src/ui-property-bar.h:
4393 * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
4395 * src/view-barcode.c: (gl_view_barcode_get_type):
4396 * src/view-barcode.h:
4397 * src/view-box.c: (gl_view_box_get_type):
4399 * src/view-ellipse.c: (gl_view_ellipse_get_type):
4400 * src/view-ellipse.h:
4401 * src/view-highlight.c: (gl_view_highlight_get_type):
4402 * src/view-highlight.h:
4403 * src/view-image.c: (gl_view_image_get_type):
4405 * src/view-line.c: (gl_view_line_get_type):
4407 * src/view-object.c: (gl_view_object_get_type):
4408 * src/view-object.h:
4409 * src/view-text.c: (gl_view_text_get_type):
4411 * src/view.c: (gl_view_get_type):
4413 * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
4414 * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
4415 * src/wdgt-image-select.h:
4416 * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
4417 * src/wdgt-media-select.h:
4418 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
4419 * src/wdgt-mini-preview.h:
4420 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
4421 * src/wdgt-print-copies.h:
4422 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
4423 * src/wdgt-print-merge.h:
4424 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
4425 * src/wdgt-rotate-label.h:
4426 - Made sure all xxx_get_type functions returned GType, not guint. This
4427 was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
4428 ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
4429 wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
4430 wdt-print-merge.[ch], and wdgt-rotate-label.[ch]. See separate
4431 window.[ch] details above for more info.
4432 - Reconciled various coding style differences in all xxx_get_type()
4434 * All prototypes include G_GNUC_CONST.
4435 * All prototypes specify the return value as GType, not GtkType
4437 * Info structures are all declared as "static const."
4438 * Generalized the names of type and info variables.
4439 * Miscelaneous formatting.
4441 2004-06-08 Jim Evins <evins@snaught.com>
4447 Don't touch compression of original file -- still defaults to 9 for
4448 new files. Original patch provided by Javier Donaire Segarra
4449 (#912252 in patch tracker).
4451 2004-05-05 Jim Evins <evins@snaught.com>
4453 * data/glabels-2.0.dtd:
4454 Broke DTD previously when adding new barcode types that contain a
4455 plus sign (+). Simply changed the BC_STYLE_TYPE entity to "CDATA"
4456 to avoid the problem.
4457 * data/avery-iso-templates.xml:
4458 * data/zweckform-iso-templates.xml:
4460 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021. Templates
4461 provided by Frank Altpeter.
4462 * libglabels/xml-template.c: (xml_create_label_node):
4463 Reordered markup and layout sub-nodes so that resulting templates will
4464 validate against DTD.
4466 2004-03-13 Jim Evins <evins@snaught.com>
4468 * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
4469 Changed spin callback signals from "value-changed" back to "changed."
4470 This was accidentally introduced in a previous revision, and can cause
4471 size changes just by selecting the size tab.
4473 2004-03-06 Jim Evins <evins@snaught.com>
4475 * src/view.c: (draw_grid_layer):
4476 For round labels (round and cd) adjust grid so that it lines up with
4477 center of label. Also, no longer draw box around label in the grid layer,
4478 it is hidden by he fg layer anyway. Feature suggested by
4479 nemolivier@free.fr. Although the grid is aligned with the center of the
4480 label, the coordinate system is still relative to the upper left corner
4481 of the rectangle containing the label.
4483 2004-02-25 Jim Evins <evins@snaught.com>
4486 Changed version to 2.0pre1cvs
4488 * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
4489 Removed extra xmlFreeDoc() calls upon error. Also print the doc->URL
4490 instead of doc->name fields when errors encountered.
4492 2004-02-21 Jim Evins <evins@snaught.com>
4494 * data/avery-iso-templates.xml:
4495 Added aliases for Avery 8651. Patch provided by Wayne Schuller.
4498 Added libglabels library and include file to installed files.
4501 Final prep for 1.93.3.
4503 2004-02-20 Jim Evins <evins@snaught.com>
4505 * src/glabels-batch.c: (main):
4506 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
4507 as suggested by Javier Donaire Segarra. This addresses bug #901063.
4509 2004-02-16 Jim Evins <evins@snaught.com>
4512 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
4515 Added HAVE_FILE_CHOOSER to INCLUDES.
4517 * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
4518 (gl_file_save_as), (save_as_response):
4519 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
4521 2004-02-16 Jim Evins <evins@snaught.com>
4523 * src/xml-label-04.c: (xml04_parse_image_props):
4524 * src/xml-label-191.c: (xml191_parse_image_props):
4525 * src/xml-label.c: (xml_parse_object_image):
4526 Delay setting image size until after image has been applied to new
4529 2004-02-15 Jim Evins <evins@snaught.com>
4531 * src/label-barcode.c: (gl_label_barcode_set_data),
4532 (gl_label_barcode_set_props):
4533 Don't emit "changed" signal, if no change actually made for these
4534 methods. Reduces number of unnecessary redraws of barcodes.
4536 * src/label-object.h:
4537 * src/label-object.c: (gl_label_object_set_position),
4538 (gl_label_object_set_position_relative), (set_size),
4539 (gl_label_object_set_size),
4540 (gl_label_object_set_size_honor_aspect):
4541 Don't emit "changed" signal, if no change actually made for these
4544 2004-02-15 Jim Evins <evins@snaught.com>
4546 * data/glabels-2.0.dtd:
4547 Added specific subtypes for various barcode types.
4550 * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
4551 (gl_barcode_get_styles_list), (gl_barcode_default_digits),
4552 (gl_barcode_can_text), (gl_barcode_text_optional),
4553 (gl_barcode_can_csum), (gl_barcode_csum_optional),
4554 (gl_barcode_id_to_name), (gl_barcode_name_to_id):
4555 Changed API to use a string id, rather than a fixed enumeration. Id and
4556 name are separate strings. Added entries to backend table for specific
4557 subtypes for various barcode types.
4560 * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
4562 Modified to conform to above API. Now more stringent with data length
4563 for various subtypes.
4565 * src/bc-gnubarcode.h:
4566 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
4567 (is_length_valid), (is_length1_valid), (is_length2_valid):
4568 Modified to conform to above API. Now more stringent with data length
4569 for various subtypes.
4571 * src/label-barcode.h:
4572 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
4573 (gl_label_barcode_get_props), (get_size):
4574 Modified to use above API for storing barcode type.
4576 * src/object-editor.h:
4577 * src/object-editor-bc-page.c: (style_changed_cb),
4578 (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
4579 Modified to use above API for storing barcode type.
4581 * src/object-editor-size-page.c:
4582 (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
4583 (w_spin_cb), (h_spin_cb), (size_reset_cb):
4584 Added debug markers.
4586 * src/object-editor.glade:
4587 Made barcode style combo's text entry non-editable.
4589 * src/print.c: (draw_barcode_object):
4590 Modified to use above API for barcode type.
4592 * src/view-barcode.c: (update_object_from_editor_cb),
4593 (update_editor_from_object_cb),
4594 (gl_view_barcode_create_event_handler), (draw_barcode):
4595 Modified to use above API for barcode type.
4597 * src/xml-label-04.c: (xml04_parse_barcode_props):
4598 * src/xml-label-191.c: (xml191_parse_barcode_props):
4599 * src/xml-label.c: (xml_parse_object_barcode),
4600 (xml_create_object_barcode):
4601 Modified to use above API for barcode type.
4603 2004-02-07 Jim Evins <evins@snaught.com>
4605 * src/stock-pixmaps/Makefile.am:
4606 * src/stock-pixmaps/stock_hchain_24.png:
4607 * src/stock-pixmaps/stock_hchain_broken_24.png:
4608 * src/stock-pixmaps/stock_vchain_24.png:
4609 * src/stock-pixmaps/stock_vchain_broken_24.png:
4610 Added chain pixmaps borrowed from the gimp's default theme.
4613 * src/stock.c: (gl_stock_init), (add_button_icon):
4614 Added above pixmaps to stock icon sets. Created add_button_icon() to
4615 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
4617 * src/wdgt-chain-button.h
4618 * src/wdgt-chain-button.c
4621 Added this Modified version of gimpchainbutton widget, borrowed from
4625 Added acknowledgements of the above borrowing from the gimp.
4627 * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
4629 * src/object-editor.c: (gl_object_editor_construct_chain_button):
4630 * src/object-editor.glade:
4631 Replaced the keep aspect ratio check box with the above chain-button
4634 * src/text-node.c: (gl_text_node_equal):
4636 Added function gl_text_node_equal() to compare text_nodes.
4638 * src/label-image.c: (gl_label_image_set_filename):
4639 Replaced incomplete text_node comparison code with invocation of
4640 gl_text_node_equal. This fixed the problem of not being able to
4641 resize an image using the object_editor if the aspect ratio is not
4644 2004-02-04 Jim Evins <evins@snaught.com>
4646 * src/object-editor-image-page.c:
4647 (gl_object_editor_prepare_image_page):
4648 Track "changed" signal of pixmap entry's GtkEntry rather than its
4649 "activate" signal -- this catches all changes to the entry rather than
4650 just changes resulting from a browse, so one can easily pull previous
4651 entries from the history. (This change is marked below on 2004-02-03,
4652 but somehow never got checked in.)
4654 * src/view-highlight.c: (sl_resize_event_handler),
4655 (sr_resize_event_handler), (st_resize_event_handler),
4656 (sb_resize_event_handler):
4657 Side resize handles will now confirm the actual resize that the object
4658 accepted before adjusting position parameters. Previously some interesting
4659 things happened when resizing a barcode to its minimum size.
4661 2004-02-03 Jim Evins <evins@snaught.com>
4663 * src/object-editor-image-page.c:
4664 (gl_object_editor_prepare_image_page):
4665 Track "changed" signal of pixmap entry's GtkEntry rather than its
4666 "activate" signal -- this catches all changes to the entry rather than
4667 just changes resulting from a browse, so one can easily pull previous
4668 entries from the history.
4670 * src/view-highlight.c: (tl_resize_event_handler),
4671 (tr_resize_event_handler), (bl_resize_event_handler),
4672 (br_resize_event_handler):
4673 Allow control key to be dropped while dragging a corner resize handle
4674 without losing the aspect ratio lock.
4676 2004-02-02 Jim Evins <evins@snaught.com>
4678 * src/label-image.c: (gl_label_image_set_filename):
4679 When setting a new filename adjust size such that the aspect ratio of
4680 the image is preserved using the current size as a bounding box.
4682 * src/view-image.c: (update_object_from_editor_cb):
4683 When updating object from editor, feed back possible size changes to
4684 editor as a result of a possible change in image.
4686 * src/object-editor-size-page.c: (size_reset_cb):
4687 Fixed typo when blocking spin handlers. If the base size is larger than
4688 the max size, treat max size as a bounding box while keeping aspect
4692 2004-02-02 Jim Evins <evins@snaught.com>
4694 * src/label-object.h:
4695 * src/label-object.c: (gl_label_object_set_size),
4696 (gl_label_object_set_size_honor_aspect):
4697 Added gl_label_object_set_size_honor_aspect() which will maintain the
4698 current aspect ratio by modifying the supplied w or h apropriately.
4700 * src/view-highlight.c: (tl_resize_event_handler),
4701 (tr_resize_event_handler), (bl_resize_event_handler),
4702 (br_resize_event_handler):
4703 Corner handles will now maintain the current aspect ratio if the
4704 control key is pressed while resizing. This addresses feature
4708 2004-01-31 Jim Evins <evins@snaught.com>
4711 * data/avery-us-templates.xml:
4712 Added entries for "LSK-3," "LSK-5," and "LSK-8." Submitted by JBadger.
4714 * libglabels/template.c: (read_template_files_from_dir):
4715 Corrected problem with testing for extensions.
4717 * src/object-editor.glade:
4718 Corrected grouping of radio buttons in barcode data page.
4720 * src/print.c: (draw_barcode_object):
4721 * src/view-barcode.c: (draw_barcode):
4722 Corrected problem with calculation of y_offset for locating characters.
4724 2004-01-24 Jim Evins <evins@snaught.com>
4727 * data/avery-us-templates.xml:
4728 Added Avery 5824, submitted by Fred Bacon.
4730 2004-01-20 Jim Evins <evins@snaught.com>
4732 Catching up on a couple of backlogged user template submissions.
4734 * data/avery-iso-templates.xml:
4735 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
4736 Suggested by Linas Jakucionis.
4738 * data/zweckform-iso-templates.xml:
4739 Added Zweckform 4760, submitted by Thomas Vill.
4742 Updated to reflect above submissions.
4744 2004-01-06 Jim Evins <evins@snaught.com>
4746 Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
4747 xml.[ch] into a separate library called libglabels, to facilitate third
4748 party use of glabels template files. This was suggested by Wayne Schuller.
4749 Once split-out, some modifications to the structures and functions to
4750 make a cleaner more useful API, hopefully. Rather extensive changes have
4751 propogated to other modules.
4759 * src/xml-template.h:
4760 * src/xml-template.c:
4763 These files have been moved to libglabels/. API cleanup performed.
4765 * libglabels/libglabels.h:
4766 * libglabels/libglabels-private.h:
4767 * libglabels/Makefile.am:
4768 These files have been added to finish out libglabels.
4775 Modified to reflect new sets of files in src/ and libglabels/.
4777 * COPYING.LIBGLABELS:
4779 Added copy of the LGPL for libglabels, and a copy the GFDL for
4782 * src/glabels-batch.c:
4784 * src/label.c: (gl_label_finalize), (gl_label_set_template),
4785 (gl_label_get_size):
4787 * src/prefs-model.c: (gl_prefs_model_load_settings):
4788 * src/print-dialog.c:
4789 * src/print.c: (gl_print_simple), (gl_print_merge_collated),
4790 (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
4791 (print_crop_marks), (print_label), (draw_outline),
4792 (clip_to_outline), (clip_punchouts):
4793 * src/template-designer.c: (construct_pg_size_page),
4794 (pg_size_page_changed_cb), (layout_page_changed_cb),
4795 (print_test_cb), (build_template):
4796 * src/util.c: (gl_util_fraction):
4798 * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
4799 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
4800 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
4801 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
4802 (draw_markup_margin_round), (draw_markup_margin_cd),
4803 (draw_markup_margin_cd_bc), (draw_markup_line),
4804 (draw_markup_circle), (gl_view_copy):
4805 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
4806 (page_size_entry_changed_cb), (details_update), (get_layout_desc),
4807 (get_label_size_desc):
4808 * src/wdgt-mini-preview.c:
4809 (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
4811 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
4812 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
4813 * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
4814 (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
4815 * src/wdgt-rotate-label.h:
4816 * src/xml-label-04.c: (xml04_parse_media_description):
4817 * src/xml-label-191.c: (gl_xml_label_191_parse),
4818 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
4819 (xml191_parse_markup), (xml191_parse_alias):
4820 * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
4822 Various changes to accomodate new libglabels API.
4824 2004-01-03 Jim Evins <evins@snaught.com>
4829 2004-01-03 Jim Evins <evins@snaught.com>
4832 Added acknowledgement of contributions by Wayne Schuller.
4834 * src/commands.c: (gl_cmd_file_print):
4835 Create extra reference to print dialog, so that it can be properly re-used.
4837 * src/mygal/mygal-combo-box.h:
4838 * src/mygal/mygal-combo-box.c:
4839 (mygal_combo_box_popup_hide_unconditional),
4840 (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
4841 (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
4842 (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
4843 (mygal_combo_box_set_tearable):
4844 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
4845 complete the rename of this widget to prevent namespace collisions
4848 * src/prefs-dialog.glade:
4849 Fixed alignment of Fill/Color widgets.
4851 2004-01-03 Jim Evins <evins@snaught.com>
4853 * data/avery-iso-templates.xml:
4854 Added user submitted templates.
4855 Avery 8435A & 8435B, submitted by Ludger Solbach.
4857 * doc/C/glabels.xml:
4858 Added minimal documentation, noting the new template designer.
4860 2004-01-03 Jim Evins <evins@snaught.com>
4862 * pixmaps/ex-rect-size.png:
4863 * pixmaps/ex-round-size.png:
4864 * pixmaps/ex-cd-size.png:
4865 * pixmaps/Makefile.am:
4866 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
4867 files to be used as illustrations/examples in the template-designer.
4869 * src/template-designer.c: (construct_rect_size_page),
4870 (construct_round_size_page), (construct_cd_size_page),
4871 (construct_nlayouts_page), (rect_size_page_prepare_cb),
4872 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
4873 (layout_page_prepare_cb), (build_template):
4874 * src/template-designer.glade:
4875 Added illustrations for rectangle, round, and cd label size pages.
4876 Added margin spinboxes to these pages, and now add a margin markup
4877 to the constructed template. Added realistic default values for
4878 some of the size spinboxes. Cleaned up the code for setting spinbox
4879 ranges on the layouts page.
4881 2004-01-02 Jim Evins <evins@snaught.com>
4883 * src/object-editor-size-page.c: (h_spin_cb):
4884 Fixed cut-n-paste error in h_spin_cb that loaded h from
4885 the wrong spinbutton.
4887 * src/object-editor.h:
4888 * src/object-editor.c: (gl_object_editor_class_init),
4889 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
4890 * src/object-editor-private.h:
4891 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
4893 Added "size_changed" signal.
4895 * src/view-text.c: (construct_properties_editor),
4896 (update_object_from_editor_cb),
4897 (update_object_from_editor_size_cb):
4898 Track size changes from object editor separately from other
4899 properties. This is so the default size (0,0) of a text
4900 object is not modified unintentionally.
4902 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
4904 Added feature: line spacing - allows you to comfortably space a text box to
4905 fit a label perfectly.
4907 * data/glabels-2.0.dtd:
4908 * src/label-object.c: (gl_label_object_set_text_line_spacing),
4909 (gl_label_object_get_text_alignment),
4910 (gl_label_object_get_text_line_spacing):
4911 * src/label-object.h:
4912 * src/label-text.c: (gl_label_text_class_init),
4913 (gl_label_text_instance_init), (copy), (get_size),
4914 (set_text_line_spacing), (get_text_alignment),
4915 (get_text_line_spacing):
4916 * src/object-editor-private.h:
4917 * src/object-editor-text-page.c:
4918 (gl_object_editor_prepare_text_page),
4919 (gl_object_editor_set_text_line_spacing),
4920 (gl_object_editor_get_text_line_spacing):
4921 * src/object-editor.glade:
4922 * src/object-editor.h:
4923 * src/prefs-dialog.c: (construct_object_page),
4924 (update_object_page_from_prefs), (update_prefs_from_object_page):
4925 * src/prefs-dialog.glade:
4926 * src/prefs-model.c: (gl_prefs_model_save_settings),
4927 (gl_prefs_model_load_settings), (get_float):
4928 * src/prefs-model.h:
4929 * src/print.c: (draw_text_object):
4931 * src/view-text.c: (update_object_from_editor_cb),
4932 (update_editor_from_object_cb),
4933 (gl_view_text_create_event_handler), (draw_hacktext):
4934 * src/view.c: (gl_view_construct),
4935 (gl_view_set_selection_text_line_spacing),
4936 (gl_view_set_default_text_line_spacing),
4937 (gl_view_get_default_text_line_spacing):
4939 * src/xml-label.c: (xml_parse_toplevel_span),
4940 (xml_create_toplevel_span):
4942 2003-12-30 Jim Evins <evins@snaught.com>
4944 * src/template-designer.c:
4945 * src/template-designer.h:
4946 * src/template-designer.glade:
4947 New template designer assistant.
4951 Added entries for src/template-designer.* files.
4953 * pixmaps/ex-1layout.png
4954 * pixmaps/ex-2layouts.png
4955 * pixmaps/Makefile.am:
4956 Added the new image files ex-*.png used as illustrations in the
4957 template designer assistant.
4959 * src/print-dialog.h:
4960 * src/print-dialog.c: (gl_print_dialog_finalize),
4961 (gl_print_dialog_new), (gl_print_dialog_construct),
4962 (gl_print_dialog_force_outline_flag):
4963 Changed first argument of gl_print_dialog_new() from glView to glLabel,
4964 to support printing from the template designer assistant which does not
4965 have a full-fledged view. Nothing else from the view object was being
4966 used by the dialog anyway.
4968 Added the gl_print_dialog_force_outline_flag() method, for better
4969 integration with the template designer assistant.
4973 * src/commands.c: (gl_cmd_file_template_designer),
4974 (gl_cmd_file_print):
4975 Modified print command to provide label instead of view to dialog.
4976 Added the gl_cmd_file_template_designer() command to invoke the
4977 template designer assistant.
4980 * src/glabels-ui.xml:
4981 Added support for template designer assistant.
4983 * src/wdgt-mini-preview.h:
4984 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
4985 (gl_wdgt_mini_preview_set_bg_color):
4986 Preview is now centered in canvas. Added
4987 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
4988 assistant to match the background color with its own.
4990 * src/print.c: (clip_to_outline):
4991 Fixed really stupid bug when adding waste to clip region of rectangular
4992 labels/cards. Each side of the clip region needs to be extended by
4993 twice the waste margin, as well as negatively offset by the waste
4996 2003-12-28 Jim Evins <evins@snaught.com>
4998 * src/prefs-dialog.c: (update_object_page_from_prefs):
4999 Block intermediary function align_toggle_cb() instead of
5000 update_prefs_from_object_page() for the three alignment
5003 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
5005 * src/file.c: (gl_file_new), (gl_file_properties):
5006 Swap button order and set default for higificatory pleasure.
5008 2003-12-27 Jim Evins <evins@snaught.com>
5010 * barcode-0.98/Makefile.am:
5011 One last time: removed doc/Makefile and po/Makefile.in.in from
5014 2003-12-27 Jim Evins <evins@snaught.com>
5016 * barcode-0.98/Makefile.am:
5017 Removed config.stat entry from EXTRA_DIST files.
5019 * barcode-0.98/Makefile.in:
5022 2003-12-27 Jim Evins <evins@snaught.com>
5025 Updated to work with latest gnome-common package from CVS.
5026 Removed recursive configuration of barcode-0.98.
5033 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
5035 * barcode-0.98/Makefile.in:
5036 * barcode-0.98/configure.in:
5037 * barcode-0.98/Makefile.am:
5038 * barcode-0.98/README.glabels:
5039 Modified to ignore the barcode package's build system, and build
5040 as a part of glabels.
5041 Renamed Makefile.in to Makefile.in.dist.
5042 Renamed configure.in to configure.in.dist.
5043 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
5046 * src/mygal/Makefile.am:
5047 * src/recent-files/Makefile.am:
5048 In order to build against the GNOME 2.5 platform,
5049 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
5051 * src/mygal/Makefile.am:
5052 * src/mygal/mygal-combo-box.c:
5053 * src/mygal/mygal-combo-box.h:
5054 * src/mygal/widget-color-combo.c:
5055 * src/mygal/widget-color-combo.h:
5057 In order to build against the GNOME 2.5 platform,
5058 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
5059 collisions with the real gtk_combo_box widget, now a part of gtk.
5061 2003-12-26 Jim Evins <evins@snaught.com>
5067 Moved local versions of get_home_data_dir() in paper.c and
5068 template.c to util package. Cleaned up formatting in
5072 In gl_template_register() save a copy of the template in
5073 ~/.glabels if the template is not known. Still need to
5074 handle duplicate filename case and duplicate name but
5075 different template case.
5079 Moved local definition of NAME_SPACE macro from xml-label.c
5082 * src/xml-template.c:
5083 * src/xml-template.h:
5084 Added function gl_xml_template_write_template_to_file(), used
5085 in gl_template_register().