1 2005-11-25 Jim Evins <evins@snaught.com>
3 * src/merge-evolution.c: (gl_merge_evolution_finalize),
4 (gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
5 (gl_merge_evolution_get_record), (gl_merge_evolution_copy),
7 Query EDS for all supported fields. Patch provided by
8 Austin Henry <ahenry@users.sourceforge.net>.
10 2005-10-29 Jim Evins <evins@snaught.com>
12 * src/glabels.c: (main):
13 * src/label-barcode.c: (gl_label_barcode_finalize):
14 * src/label-text.c: (gl_label_text_finalize), (set_font_family):
15 * src/label.c: (gl_label_instance_init), (gl_label_finalize):
16 * src/object-editor.c: (gl_object_editor_finalize):
17 Another pass at valgrinding -- plugged several memory leaks.
18 * src/view-text.c: (gl_view_text_new),
19 (update_canvas_item_from_object_cb), (draw_hacktext):
20 Commented out artifacts of edit-in-place code.
22 2005-10-28 Jim Evins <evins@snaught.com>
24 * src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
25 Fixed use of uninitialized variable. Caught by
26 d binderman <dcb314@hotmail.com>.
28 2005-10-27 Jim Evins <evins@snaught.com>
30 * src/merge-evolution.c: (gl_merge_evolution_get_record):
31 * src/merge-vcard.c: (gl_merge_vcard_get_record),
33 Additional cleanup of EDS and vcard backends. Provided by
34 Austin Henry <ahenry@users.sourceforge.net>.
36 2005-10-24 Jim Evins <evins@snaught.com>
40 * src/merge-evolution.c:
41 * src/merge-evolution.h:
42 * src/merge-init.c: (gl_merge_init):
43 * src/merge-properties-dialog.c: (type_changed_cb):
46 * src/ui-commands.c: (gl_ui_cmd_help_about):
47 Added Evolution Data Server and VCard merge backends. Original patch
48 provided by Austin Henry <ahenry@users.sourceforge.net>.
50 Only support EDS and VCard backends if libebook is installed. Allow
51 user to disable support, even if installed.
53 2005-10-24 Jim Evins <evins@snaught.com>
56 * data/templates/avery-iso-templates.xml:
57 * data/templates/avery-us-templates.xml:
58 * data/templates/misc-iso-templates.xml:
59 * data/templates/zweckform-iso-templates.xml:
60 Collected all template changes and submissions since last
63 2005-10-23 Jim Evins <evins@snaught.com>
66 * data/mime/Makefile.am:
67 Added configure options to disable update-mime-database and
68 update-desktop-database as part of the install. Patch
69 provided by Leonardo Boshell (qhoracio@sourceforge.net).
71 2005-10-23 Jim Evins <evins@snaught.com>
74 * libglabels/xml.c: (gl_xml_get_prop_string),
75 (gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
76 (gl_xml_is_node), (gl_xml_get_node_content):
77 Added new XML utility functions.
78 * libglabels/xml-paper.c:
79 * libglabels/xml-template.c:
81 Cleanup by using new xml utilities created above.
82 * libglabels/paper.c: (gl_paper_free):
83 * src/file.c: (new_response):
84 * src/object-editor-image-page.c: (add_image_filters_to_chooser):
85 * src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
86 (gl_pixbuf_cache_get_pixbuf):
87 * src/ui-property-bar.c:
88 (gl_ui_property_bar_construct_color_combo):
89 * src/view-highlight.c: (gl_view_highlight_finalize):
90 * src/view-image.c: (update_object_from_editor_cb):
91 * src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
92 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
93 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
94 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
95 (draw_markup_margin_round), (draw_markup_margin_cd),
96 (draw_markup_margin_cd_bc):
97 * src/wdgt-mini-preview.c: (mini_outline_list_new):
98 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
99 Plugged various memory leaks located with valgrind.
100 * src/view-image.c: (update_canvas_item_from_object_cb):
101 Don't allow a width or height of zero when drawing pixbuf.
103 2005-10-22 Jim Evins <evins@snaught.com>
105 * libglabels/xml-paper.c:
106 * libglabels/xml-template.c:
109 * src/bc-gnubarcode.c:
110 * src/canvas-hacktext.c:
112 * src/object-editor-data-page.c:
113 * src/print-dialog.c:
116 * src/template-designer.c:
118 * src/ui-property-bar.c:
120 * src/view-barcode.c:
122 * src/view-ellipse.c:
127 * src/wdgt-media-select.c:
128 * src/xml-label-04.c:
129 * src/xml-label-191.c:
131 Modified to compile warning free with gcc-4.0. Mostly
132 casting to change signedness of characters. Did not
133 attack gnu-barcode library yet.
135 2005-10-22 Jim Evins <evins@snaught.com>
137 * src/glabels.c: (main):
138 * src/splash.c: (gl_splash):
139 Removed some small memory leaks.
143 2005-09-19 Jim Evins <evins@snaught.com>
145 * data/glade/property-bar.glade:
146 Remove items from font_family_combo. This prevents the
147 double entry after adding text model and list of fonts.
148 * src/ui-property-bar.c: (reset_to_default_properties):
149 Free font_family_list.
151 2005-07-01 Jim Evins <evins@snaught.com>
154 Updated italian translation (Daniele Medri)
156 2005-06-26 Jim Evins <evins@snaught.com>
158 * docs/libglabels/libglabels-decl-list.txt:
159 Somehow never got checked in before.
160 * docs/libglabels/libglabels.types:
161 Removed -- don't need it afterall.
163 2005-06-20 Jim Evins <evins@snaught.com>
166 Final prep for 2.1.1 release.
168 2005-06-20 Jim Evins <evins@snaught.com>
171 Final preps for 2.1.1 release.
172 * docs/libglabels/libglabels.types:
173 Somehow never got checked in before.
175 Bring up-to-date with recent reorg of ui code.
178 2005-06-19 Jim Evins <evins@snaught.com>
180 * src/template-designer.c: (construct_layout_page):
181 Removed attempt to match background color of mini preview widget to
184 2005-06-17 Jim Evins <evins@snaught.com>
186 * help/C/figures/merge-ex2-4.png:
187 * help/C/glabels.xml:
188 Fixed spelling error.
190 2005-06-13 Jim Evins <evins@snaught.com>
192 * help/C/figures/merge-ex1-1.png:
193 * help/C/figures/merge-ex1-2.png:
194 * help/C/figures/merge-ex1-3.png:
195 * help/C/figures/merge-ex1-4.png:
196 * help/C/figures/merge-ex2-1.png:
197 * help/C/figures/merge-ex2-2.png:
198 * help/C/figures/merge-ex2-3.png:
199 * help/C/figures/merge-ex2-4.png:
200 Added figures for document merge tutorial.
201 * help/C/glabels.xml:
202 Added document merge tutorial.
204 2005-05-19 Jim Evins <evins@snaught.com>
206 * data/glade/merge-properties-dialog.glade:
207 Fixed irregular spacing.
208 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
209 (gl_merge_properties_dialog_construct):
210 Set outer padding and remove separator.
212 2005-05-18 Jim Evins <evins@snaught.com>
216 Removed glHigDialog class.
217 * src/file.c: (gl_file_new), (create_new_dialog_widgets),
218 (gl_file_properties), (create_properties_dialog_widgets):
219 * src/prefs-dialog.h:
220 * src/prefs-dialog.c: (gl_prefs_dialog_get_type),
221 (gl_prefs_dialog_init), (gl_prefs_dialog_construct):
222 * src/print-dialog.h:
223 * src/prefs-dialog.h:
224 * src/print-dialog.c: (gl_print_dialog_get_type),
225 (gl_print_dialog_init), (gl_print_dialog_construct):
226 Replaced all instances of glHigDialog with GtkDialog.
228 2005-05-17 Jim Evins <evins@snaught.com>
232 Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
233 * src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
234 (save_as_response), (gl_file_close):
235 Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.
237 2005-05-15 Jim Evins <evins@snaught.com>
247 A little code reformatting -- no functional changes.
249 2005-05-14 Jim Evins <evins@snaught.com>
252 Removed obsolete macros.
254 Added marshalling template to support new view signal: "context_menu_activate."
256 * src/view.c: (gl_view_class_init), (gl_view_construct),
257 (canvas_event_arrow_mode):
258 - Removed hardcoded context menus and added new signal "context_menu_activate"
259 to push this up to the uimanager.
260 - Removed merge properties and print dialogs so that they can be managed with
261 the window by the uimanager.
262 * src/merge-properties-dialog.h:
263 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
264 (gl_merge_properties_dialog_construct):
265 Changed calling convention of gl_merge_properties_dialog_new() to use
266 glLabel and GtkWindow instead of view to make more consistent with other
268 * src/print-dialog.h:
269 * src/print-dialog.c: (gl_print_dialog_new),
270 (gl_print_dialog_construct):
271 Removed last artifact of libbonoboui.
272 * src/ui-commands.c: (gl_ui_cmd_file_print),
273 (gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
274 Reconciled style for launching dialogs.
275 * src/ui.c: (gl_ui_new):
276 Added context menus to ui manager.
277 * src/view-object.c: (item_event_arrow_mode):
278 No longer try to select objects with right-click.
280 * src/window.c: (gl_window_init), (gl_window_set_label),
281 (context_menu_activate_cb):
282 Context menus and all dialogs are now managed in a consistent way in window
285 2005-05-11 Jim Evins <evins@snaught.com>
288 * src/window.c: (gl_window_init), (gl_window_destroy):
289 * src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
290 * src/ui-commands.c: (gl_ui_cmd_file_open_recent):
291 Moved management of recent_view back from window.c to ui.c -- it just feels
294 2005-05-10 Jim Evins <evins@snaught.com>
297 * src/window.c: (gl_window_init):
299 * src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
300 (menu_item_select_cb), (menu_item_deselect_cb):
301 Added GtkStatusbar which displays menu tooltips.
303 2005-05-09 Jim Evins <evins@snaught.com>
305 Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
310 Removed dependencies on libbonoboui.
312 * data/ui/Makefile.am:
313 * data/ui/glabels-ui.xml:
314 Removed data/ui directory.
315 * data/glade/Makefile.am:
316 * data/property-bar.glade:
317 Added glade description of property-bar for new libglade implementation
326 Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
327 since the distinction between "commands" and "tools" is no longer that clear.
330 Modified to expect glWindow instead of GtkWindow. gl_file_open_recent()
331 no longer has knowledge of eggRecent*.
332 * src/glabels.c: (main):
333 Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
335 * src/object-editor.c: (gl_object_editor_init):
336 Make sure notebook does not respond to a "show_all" on the parent.
337 * src/recent-files/Makefile.am:
338 * src/recent-files/*.[ch]
339 Updated from latest version of libegg which now has a view based on
340 GtkUIManager. Removed unused bonobo and gtk views.
341 * src/ui-property-bar.h:
342 * src/ui-property-bar.c:
343 New implementation based on libglade.
346 Sidebar is now simply a GtkWidget and does not expect to be a part of
347 a libbonoboui interface.
352 Converted for use with GtkUIManager.
355 Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
356 to create menus and toolbars.
358 2005-04-25 Jim Evins <evins@snaught.com>
360 * data/templates/misc-iso-templates.xml:
361 Added Fellows 04715 template provided by Steve Saxon.
363 Updated acknowledgement for above.
365 2005-04-23 Jim Evins <evins@snaught.com>
367 * src/util.c: (gl_util_combo_box_set_strings):
368 Make sure to clear model before loading a new list of strings.
369 * src/wdgt-media-select.h:
370 * src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
371 (gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
372 (template_combo_changed_cb), (prefs_changed_cb),
373 (gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
374 (gl_wdgt_media_select_get_page_size),
375 (gl_wdgt_media_select_set_page_size):
376 Replaced the deprecated GtkCombo widget with the new
379 2005-04-21 Jim Evins <evins@snaught.com>
381 * data/glade/template-designer.glade:
382 * src/template-designer.c: (construct_pg_size_page),
383 (pg_size_page_changed_cb), (build_template):
384 Replaced the deprecated GtkCombo widget with the new
387 2005-04-20 Jim Evins <evins@snaught.com>
389 * data/glade/prefs-dialog.glade:
390 * src/prefs-dialog.c: (construct_object_page),
391 (update_object_page_from_prefs), (update_prefs_from_object_page):
392 Replaced the deprecated GtkCombo widget with the new
395 2005-04-19 Jim Evins <evins@snaught.com>
397 * data/glade/object-editor.glade:
398 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
399 (style_changed_cb), (gl_object_editor_set_bc_style),
400 (gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
401 (gl_object_editor_get_bc_color):
402 * src/object-editor-data-page.c:
403 (gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
404 (gl_object_editor_get_data):
405 * src/object-editor-edit-page.c:
406 (gl_object_editor_prepare_edit_page), (insert_button_cb):
407 * src/object-editor-fill-page.c:
408 (gl_object_editor_prepare_fill_page),
409 (gl_object_editor_set_fill_color),
410 (gl_object_editor_get_fill_color):
411 * src/object-editor-image-page.c:
412 (gl_object_editor_prepare_image_page),
413 (gl_object_editor_set_image), (gl_object_editor_get_image):
414 * src/object-editor-line-page.c:
415 (gl_object_editor_prepare_line_page),
416 (gl_object_editor_set_line_color),
417 (gl_object_editor_get_line_color):
418 * src/object-editor-private.h:
419 * src/object-editor-text-page.c:
420 (gl_object_editor_prepare_text_page),
421 (gl_object_editor_set_font_family),
422 (gl_object_editor_get_font_family),
423 (gl_object_editor_set_text_color),
424 (gl_object_editor_get_text_color):
425 * src/object-editor.c: (gl_object_editor_set_key_names):
427 In the object editor: replaced all instances of the deprecated
428 GtkCombo widget with the new GtkComboBox.
430 2005-04-18 Jim Evins <evins@snaught.com>
433 Neglected to save this one in previous checkin to support
436 2005-04-17 Jim Evins <evins@snaught.com>
438 * libglabels/libglabels-private.h:
439 * libglabels/paper.c:
440 * libglabels/paper.h:
441 * libglabels/template.c:
442 * libglabels/template.h:
443 * libglabels/xml-paper.c:
444 * libglabels/xml-paper.h:
445 * libglabels/xml-template.c:
450 * src/bc-gnubarcode.c:
461 * src/label-barcode.c:
463 * src/label-ellipse.c:
467 * src/label-object.c:
471 * src/merge-properties-dialog.c:
472 * src/object-editor-bc-page.c:
473 * src/object-editor-data-page.c:
474 * src/object-editor-edit-page.c:
475 * src/object-editor-fill-page.c:
476 * src/object-editor-image-page.c:
477 * src/object-editor-line-page.c:
478 * src/object-editor-lsize-page.c:
479 * src/object-editor-position-page.c:
480 * src/object-editor-private.h:
481 * src/object-editor-size-page.c:
482 * src/object-editor-text-page.c:
483 * src/object-editor.c:
484 * src/object-editor.h:
485 * src/pixbuf-cache.h:
486 * src/prefs-dialog.c:
487 * src/prefs-dialog.h:
491 * src/print-dialog.c:
492 * src/print-dialog.h:
500 * src/template-designer.c:
501 * src/template-designer.h:
504 * src/ui-property-bar.c: (gl_ui_property_bar_construct):
510 * src/view-barcode.c:
512 * src/view-ellipse.c:
513 * src/view-highlight.c:
514 * src/view-highlight.h:
522 * src/wdgt-chain-button.c:
523 * src/wdgt-media-select.c:
524 * src/wdgt-media-select.h:
525 * src/wdgt-mini-preview.c:
526 * src/wdgt-mini-preview.h:
527 * src/wdgt-print-copies.c:
528 * src/wdgt-print-copies.h:
529 * src/wdgt-print-merge.c:
530 * src/wdgt-print-merge.h:
531 * src/wdgt-rotate-label.c:
532 * src/wdgt-rotate-label.h:
535 * src/xml-label-04.c:
536 * src/xml-label-191.c:
538 Cleanup of header files:
539 - all header files are now stand-alone, verified by including
540 first in corresponding "c" files
541 - replaced blanket includes of gnome, gtk, and glib with
544 2005-04-16 Jim Evins <evins@snaught.com>
546 * data/glade/Makefile.am:
547 * data/glade/merge-properties-dialog.glade:
548 Added merge properties dialog glade description file.
549 * src/merge-properties-dialog.h:
550 * src/merge-properties-dialog.c:
551 (gl_merge_properties_dialog_get_type),
552 (gl_merge_properties_dialog_init),
553 (gl_merge_properties_dialog_finalize),
554 (gl_merge_properties_dialog_new),
555 (gl_merge_properties_dialog_construct), (type_changed_cb),
556 (src_changed_cb), (response_cb), (load_tree),
557 (record_select_toggled_cb), (select_all_button_clicked_cb),
558 (unselect_all_button_clicked_cb):
559 Modified merge properties dialog to use libglade. Added
560 "select all" and "unselect all" buttons.
561 * src/merge-text.c: (parse_line):
562 Handle empty lines better.
563 * src/merge.c: (gl_merge_eval_key):
564 Evaluate the key whether the record is selected or not.
566 * src/util.c: (gl_util_combo_box_add_text_model):
567 Since libglade does not use the gtk_combo_box_new_text()
568 constructor for GtkComboBoxes, a utility function was created
569 to add an appropriate text model to a GtkComboBox.
570 * src/view.c: (gl_view_edit_merge_props):
571 Removed unnecessary "show all's".
573 2005-04-15 Jim Evins <evins@snaught.com>
576 Updated russian translation (Vitaly Lipatov)
577 * data/templates/misc-iso-templates.xml:
578 Added templates for russian business cards provided by Vitaly Lipatov.
580 Updated acknowledgements for above.
582 2005-04-15 Jim Evins <evins@snaught.com>
584 * data/templates/avery-us-templates.xml:
585 Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
586 * data/templates/misc-iso-templates.xml:
587 Added Ryman standard CD/DVD template, provided by Dan Clark.
589 Added acknowledgements for above.
591 2005-04-10 Jim Evins <evins@snaught.com>
593 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
594 * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
595 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
596 (xml_parse_label_cd_node), (xml_parse_alias_node):
597 * libglabels/xml.c: (gl_xml_get_prop_double),
598 (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
599 (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
600 * src/xml-label-04.c: (xml04_parse_media_description),
601 (xml04_parse_text_props), (xml04_parse_barcode_props),
602 (xml04_parse_merge_properties):
603 * src/xml-label-191.c: (xml191_parse_object),
604 (xml191_parse_text_props), (xml191_parse_barcode_props),
605 (xml191_parse_merge_fields), (xml191_parse_pixdata),
606 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
607 (xml191_parse_alias):
608 * src/xml-label.c: (xml_parse_object_text),
609 (xml_parse_object_barcode), (xml_parse_merge_fields),
610 (xml_parse_pixdata), (xml_parse_toplevel_span):
611 Make sure to use xmlFree for anything obtained from libxml
612 in case libxml and glib use different memory management
615 2005-04-08 Jim Evins <evins@snaught.com>
618 * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
619 (gl_util_combo_box_set_active_text):
620 Added utility functions to simplify working with GtkComboBox
622 * src/ui-property-bar.h:
623 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
624 (reset_to_default_properties), (update_text_properties),
625 (font_family_changed_cb):
626 Replaced deprecated GtkCombo with GtkComboBox.
629 2005-04-03 Jim Evins <evins@snaught.com>
632 * src/wdgt-image-select.h:
633 * src/wdgt-image-select.c:
634 Removed obsolete wdgt-image-select.[ch] files.
635 * libglabels/paper.c: (gl_paper_dup):
636 Fixed rename of parameter introduced during documentation
638 * data/glade/object-editor.glade:
639 * src/object-editor-image-page.c:
640 (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
641 (gl_object_editor_set_image), (gl_object_editor_get_image),
642 (update_preview_cb), (add_image_filters_to_chooser):
643 * src/object-editor-private.h:
644 Replaced deprecated GnomePixmapEntry with
645 GtkFileChooserButton.
647 2005-04-02 Jim Evins <evins@snaught.com>
649 * src/mygal/mygal-combo-box.c: (deactivate_arrow),
650 (mygal_combo_box_popup_hide_unconditional),
651 (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
652 (mygal_combo_toggle_pressed), (mygal_combo_box_init),
653 (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
654 (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
655 (cb_tearable_button_release), (mygal_combo_box_set_tearable):
656 Renamed all internal gtk_combo functions to mygal_combo
657 to prevent namespace confusion.
659 2005-04-02 Jim Evins <evins@snaught.com>
661 * src/mygal/color-palette.c: (color_palette_change_custom_color),
662 (cust_color_set), (color_palette_setup):
663 * src/mygal/color-palette.h:
664 Replaced deprecated GnomeColorPicker with GtkColorButton.
666 2005-04-02 Jim Evins <evins@snaught.com>
668 * docs/libglabels/libglabels-sections.txt:
669 * docs/libglabels/libglabels-undocumented.txt:
670 * docs/libglabels/tmpl/enums.sgml:
671 * docs/libglabels/tmpl/paper.sgml:
672 * docs/libglabels/tmpl/xml-paper.sgml:
673 * docs/libglabels/tmpl/xml-template.sgml:
674 * libglabels/enums.h:
675 * libglabels/paper.c: (gl_paper_dup):
676 * libglabels/paper.h:
677 * libglabels/xml-paper.c:
678 * libglabels/xml-template.c:
679 More documentation updates for libglabels.
681 2005-03-23 Jim Evins <evins@snaught.com>
684 Automatically updated.
689 * docs/libglabels/Makefile.am:
690 * docs/libglabels/libglabels-docs.sgml:
691 * docs/libglabels/libglabels-sections.txt:
692 * docs/libglabels/libglabels-undocumented.txt:
693 * docs/libglabels/tmpl/enums.sgml:
694 * docs/libglabels/tmpl/libglabels-unused.sgml:
695 * docs/libglabels/tmpl/libglabels.sgml:
696 * docs/libglabels/tmpl/paper.sgml:
697 * docs/libglabels/tmpl/template.sgml:
698 * docs/libglabels/tmpl/xml-paper.sgml:
699 * docs/libglabels/tmpl/xml-template.sgml:
700 * docs/libglabels/tmpl/xml.sgml:
701 Added basic gtk-doc stuff to support documenting libglabels
704 Updated function comments with gtk-doc markup.
708 2005-03-22 Jim Evins <evins@snaught.com>
710 Since the development version now requires gtk-2.6/gnome-2.10, I
711 have made a first pass at removing deprecations.
714 * libglabels/Makefile.am:
716 Added configure option to turn on X_DISABLE_DEPRECATED flags.
717 Also removed all remnants of HAVE_FILECHOOSER.
718 * src/file.c: (gl_file_open_real):
719 Removed code for old GtkFileSelection.
720 * libglabels/libglabels-private.h:
721 * libglabels/paper.c:
722 * libglabels/template.c:
723 * libglabels/xml-paper.c:
724 * libglabels/xml-template.c:
728 * src/glabels-batch.c:
732 * src/merge-properties-dialog.c:
734 * src/object-editor.c:
735 * src/prefs-dialog.c:
737 * src/print-dialog.c:
740 * src/template-designer.c:
741 * src/ui-property-bar.c:
743 * src/view-barcode.c:
745 * src/view-ellipse.c:
750 * src/wdgt-image-select.c:
751 * src/wdgt-media-select.c:
752 * src/wdgt-print-copies.c:
753 * src/wdgt-print-merge.c:
754 * src/wdgt-rotate-label.c:
756 * src/xml-label-04.c:
757 * src/xml-label-191.c:
759 Added '#include <glib/gi18n.h>" where needed.
760 Removed any unused '#include <gnome.h>"s.
762 2005-03-22 Jim Evins <evins@snaught.com>
764 * src/commands.c: (activate_url), (gl_cmd_help_about):
765 Replaced GnomeAbout with GtkAboutDialog. Therefore the
766 development version of glabels now depends on GTK 2.6 and
769 Updated library dependencies.
771 2005-02-28 Jim Evins <evins@snaught.com>
774 * data/templates/misc-iso-templates.xml:
775 Added 'Ednet 45021' template provided by Ali Akcaagac
778 2005-02-14 Jim Evins <evins@snaught.com>
780 * data/templates/avery-us-templates.xml:
781 Updated templates to use inches instead of points.
782 * src/print-dialog.c: (printer_page_new):
783 Changed packing style when adding printer selector widget. This fixes
786 2005-02-13 Jim Evins <evins@snaught.com>
790 Updated spanish translations. (sergio rivadero)
792 2005-02-05 Jim Evins <evins@snaught.com>
794 Some cleanup to libglabels.
797 Updated version to 2.1.1cvs. Added generation of libglabels.pc.
798 * libglabels/libglabels.pc.in
801 Created. Currently only contains glUnitsType which provides enumerations
802 for all possible units of distance.
803 * libglabels/Makefile.am:
804 Incorporated new files enums.h and libglabels.pc[.in].
805 * libglabels/libglabels.h:
807 * libglabels/template.h:
808 * libglabels/template.c: (gl_template_layout_new):
809 Changed parameters nx and ny to gint from gdouble.
811 * libglabels/xml.c: (gl_xml_get_prop_length),
812 (gl_xml_set_prop_length), (gl_xml_set_default_units):
813 Added support for different output units.
814 * src/prefs-dialog.c: (update_locale_page_from_prefs),
815 (update_prefs_from_locale_page):
816 * src/prefs-model.c: (string_to_units), (units_to_string):
818 * src/prefs.c: (gl_prefs_get_units_per_point),
819 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
820 (gl_prefs_get_units_string):
822 * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
823 Reconciled all length enumerations with the new enumerations provided
824 in libglabels/enums.h.
826 2005-02-03 Jim Evins <evins@snaught.com>
829 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
831 Updated Italian translations. (Daniele Medri)
833 Updated credits to reflect above translations.
836 2005-01-22 Jim Evins <evins@snaught.com>
841 Added MESSAGE-OF-DOOM to EXTRA_DIST.
843 Final prep for 2.1.0.
845 Set version to 2.1.0. Output MESSAGE-OF-DOOM.
847 Added '--remove-original' flag to desktop-file-install, so that there is
850 2005-01-20 Jim Evins <evins@snaught.com>
852 * data/glade/object-editor.glade:
853 - Font family entry should not be editable.
854 - img_key_entry should have sensitivity=YES, so that it follows the
855 sensitivity of img_key_combo.
857 2005-01-19 Jim Evins <evins@snaught.com>
860 Give credit to Frederic Ruaudel for the color merge patches.
862 2005-01-18 Frederic Ruaudel <grumz@users.sf.net>
864 Add support to merge color for all other color attribute (Feature
865 Requests item #1008635. If the data is invalid, the color used is transparent
866 (GL_COLOR_NONE). The format for color in merge data file are those accepted
867 by gdk_color_parse() these include name for a color from rgb.txt, such as
868 DarkSlateGray, or a hex specification such as #305050. File format has been
869 changed but backward compatibility is preserved for all format. For
870 box/ellipse/line, keep attribute "line_color" for static color or replace by
871 "line_color_field" for merge data. For text/barcode objects, keep attribute
872 "color" for static color or replace by "color_field" for merge data. In the
873 edit canvas window, merged color are represented by half-transparent black
876 * data/dtd/glabels-2.0.dtd:
877 Added line_color_field to line_attrs. Added color_field to
878 Object-barcode and Span.
879 * data/glade/object-editor.glade:
880 Modify the layout of the editor to add merge possibility to color options
882 Fix a copy/paste error in a comment
884 Add default color for merge color representation in the editor canvas.
885 * src/label-barcode.c:
886 * src/object-editor-bc-page.c:
887 * src/view-barcode.c:
888 Add merge color support for barcode color.
891 Add merge color support for box border color.
892 * src/label-ellipse.c:
893 * src/view-ellipse.c:
894 Add merge color support for ellipse border color.
897 Add merge color support for line color.
898 * src/label-object.c:
899 * src/label-object.h:
900 * src/object-editor.c:
901 * src/object-editor.h:
902 * src/ui-property-bar.c:
905 * src/xml-label-04.c:
906 * src/xml-label-191.c:
907 Add support for merging to other color attribute.
909 * src/object-editor-text-page.c:
911 Add merge color support for text color.
912 * src/object-editor-fill-page.c:
913 Change a blocked handler that didn't match the good widget. Fix the type
914 of some debug message.
915 * src/object-editor-line-page.c:
916 Add merging support to line color option.
917 * src/object-editor-private.h:
918 Add variables for new widget.
920 Modify the draw functions to get merge data if needed.
922 Change the default size of the window in order to see all widget in the
923 "text style tab" of the editor.
925 Modify the parser to record/retreive the field value for objects that need
926 "color" attribute. For box/ellipse/line, keep attribute "line_color" for
927 static color or replace by "line_color_field" for merge data. For
928 text/barcode objects, keep attribute "color" for static color or replace
929 by "color_field" for merge data.
931 2005-01-17 Jim Evins <evins@snaught.com>
933 * src/view.c: (screen_changed_cb):
934 Don't do anything if we don't have a screen.
936 2005-01-06 Jim Evins <evins@snaught.com>
938 * src/view.c: (get_home_scale):
939 Fixed bad call to gtk_widget_has_screen() -- huh?.
941 2005-01-06 Jim Evins <evins@snaught.com>
943 * data/dtd/glabels-2.0.dtd:
944 Added fill_color_field to fill_attrs. Also added xmlns attribute to all
947 2005-01-06 Jim Evins <evins@snaught.com>
949 * data/glade/object-editor.glade:
950 Set entries for fill and data field key dropdowns to NOT editable.
951 * src/view-box.c: (construct_properties_editor):
952 * src/view-ellipse.c: (construct_properties_editor):
953 Update object editor when label's merge property has changed.
954 * src/xml-label.c: (xml_parse_object_ellipse):
955 Completed the merge color support for the ellipse item.
957 2005-01-06 Frederic Ruaudel <grumz@users.sf.net>
959 Add support to merge color for object that have a "Fill color" attribute (Feature
960 Requests item #1008635. If the data is invalid, the color used is transparent
961 (GL_COLOR_NONE). The format for color in merge data file are those accepted
962 by gdk_color_parse() these include name for a color from rgb.txt, such as
963 DarkSlateGray, or a hex specification such as #305050. File format has been
964 changed but backward compatibility is preserved for all format. For box/ellipse,
965 keep attribute "fill_color" for static color or replace by "fill_color_field"
968 * data/glade/object-editor.glade:
969 Modify "Fill" tab to add the merge key combo and convert the labels into
973 Add "glColorNode" structure and associated functions to manage it. This
974 structure is equivalent for color than the "glTextNode". It holds the color
976 * src/label-object.h:
977 * src/label-object.c:
979 * src/label-ellipse.c:
980 * src/ui-property-bar.c:
984 * src/view-ellipse.c:
985 * src/xml-label-04.c:
986 * src/xml-label-191.c:
987 Change functions of objects that have a "fill color" attribute to use the
988 new "glColorNode" structure. Use barcode code as example.
990 Add the color.[ch] file to glabels_batch binary that now need support for
992 * src/object-editor.h:
993 * src/object-editor.c:
994 * src/object-editor-fill-page.c:
995 Manage the new widget of the editor's "Fill" tab : key combo and radio button
996 to choose between static color or merge key. Use barcode code as example.
997 * src/object-editor-private.h:
998 Add new widget in the "_glObjectEditorPrivate" structure.
1000 Modify the draw functions to get merge data if needed.
1002 Modify the parser to record/retreive the field value for objects that need
1003 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
1004 color or "fill_color_field" for merge data.
1006 2005-01-04 Jim Evins <evins@snaught.com>
1009 * data/templates/avery-iso-templates.xml:
1010 * data/templates/misc-iso-templates.xml:
1011 * data/templates/misc-us-templates.xml:
1012 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
1015 2004-11-26 Jim Evins <evins@snaught.com>
1019 Updated french translations provided by Florent Morel <florent@taket.org>.
1020 * src/view-barcode.c:
1022 * src/view-ellipse.c:
1026 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
1027 thus _() strings were not being translated.
1029 2004-11-14 Jim Evins <evins@snaught.com>
1032 * src/debug.c: (gl_debug_init), (gl_debug):
1033 Borrowed from gedit: use environmental variables to select debug
1036 Removed unused include of debug.h.
1037 * src/glabels.c: (main):
1038 Added call to gl_debug_init(), and removed debug clutter from command line
1040 * src/glabels-batch.c: (main):
1041 Added call to gl_debug_init().
1043 2004-11-13 Jim Evins <evins@snaught.com>
1045 Drawing and property toolbars were being initialized with the "icons and text"
1046 look in Fedora Core 3. Even though none of the buttons had any text attached to
1047 them, the buttons were being sized as if they were. This led to less real estate
1048 for the property editor, leading to Bug #1064630. The
1050 * data/ui/glabels-ui.xml:
1051 Added explicit "look" property to both drawing and property toolbars.
1052 * src/prefs-model.c: (gl_prefs_model_save_settings),
1053 (gl_prefs_model_load_settings):
1054 * src/prefs-model.h:
1055 Removed drawing_toolbar_button_style configuration parameter.
1056 * src/ui.c: (view_menu_item_toggled_cb),
1057 (set_app_drawing_toolbar_style):
1058 Do not attempt to adjust look property of the drawing toolbar.
1060 2004-10-28 Jim Evins <evins@snaught.com>
1062 * data/pixmaps/glabels-about-logo.png:
1065 2004-10-28 Jim Evins <evins@snaught.com>
1067 * data/man/glabels.1:
1068 * src/glabels-batch.c: (main):
1070 * src/print.c: (gl_print_batch):
1072 Added option to glabels-batch to select the first label to begin
1075 2004-09-26 Jim Evins <evins@snaught.com>
1077 * data/desktop/glabels.desktop.in:
1078 Point to app icon, "glabels.png"
1079 * data/mime/glabels.keys.in:
1080 Point at mime icon, "glabels-application-x-glabels.png"
1081 * data/pixmaps/Makefile.am:
1082 Added glabels_app_icondir. Renamed icons.
1083 * data/pixmaps/glabels.png:
1084 New cleaned up app icon. Deleted glabels-icon.png.
1085 * data/pixmaps/glabels-application-x-glabels.png:
1087 * data/pixmaps/glabels-splash.png:
1088 Renamed glabels-logo to glabels-splash to be more correct about role.
1090 * src/template-designer.c:
1091 Point at app icon, "glabels.png"
1093 Point at renamed splash image, "glabels-splash.png"
1095 2004-08-22 Jim Evins <evins@snaught.com>
1098 * src/glabels-batch.c: (main):
1099 Applied patch with minor mods to allow selecting merge source and
1100 crop-marks on glabels-batch's command line. Original patch provided by
1101 José Dapena Paz <jdapena@igalia.com>.
1103 2004-08-15 Jim Evins <evins@snaught.com>
1105 * data/desktop/glabels.desktop.in:
1106 - Added encoding line
1107 - Removed period from comment
1108 - Fixed Terminal line, changed "0" to "false"
1109 - Added semicolen to Categories line
1111 - Made sure desktop.in comment string above still translated properly
1113 2004-08-14 Jim Evins <evins@snaught.com>
1115 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
1116 * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
1117 * src/xml-label-191.c: (xml191_parse_sheet):
1118 Fixed improper freeing of gettext strings. Merged from 2.0.1.
1120 Reconciled libglabels versioning with 2.0.1.
1123 2004-08-14 Jim Evins <evins@snaught.com>
1126 Updated version to 2.1cvs.
1128 2004-08-14 Jim Evins <evins@snaught.com>
1131 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
1133 2004-08-14 Jim Evins <evins@snaught.com>
1135 Fixes for Bug #1008181.
1137 * src/bc.c: (gl_barcode_default_digits):
1138 Make a format of zero digits, harmless.
1139 * src/xml-label.c: (xml_parse_object_barcode):
1140 Set default value of the format property of barcode objects to 10, not
1141 zero. This will prevent crashes when reading pre 2.0.x files.
1143 2004-08-09 Jim Evins <evins@snaught.com>
1147 * help/C/glabels-C.omf:
1148 * help/C/glabels.xml:
1149 Brought documentation up-to-date for 2.0.0 release.
1151 2004-08-09 Jim Evins <evins@snaught.com>
1153 These are hopefully the final preparations for 2.0.0.
1155 * data/mime/Makefile.am:
1156 Include glabels.xml in EXTRA_DIST.
1158 - Updated comment style.
1159 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
1160 - Added package and version info to configuration printout
1161 - Update version to 2.0.0
1162 * libglabels/Makefile.am:
1163 Use the new LIBGLABELS_VERSION_INFO macro.
1165 2004-08-09 Jim Evins <evins@snaught.com>
1169 Cleanup of required library macros.
1171 2004-08-08 Jim Evins <evins@snaught.com>
1175 - More specific of what to install in /usr/bin and /usr/lib
1176 - Remove built mime registration files from staging directory
1178 2004-08-08 Jim Evins <evins@snaught.com>
1180 * data/mime/Makefile.am:
1181 Fixed typo: key_files should have been keys_files.
1183 2004-08-08 Jim Evins <evins@snaught.com>
1185 Reorganization of runtime data files. Also added registration of mimetype with
1186 new freedesktop.org mime database if available.
1189 Moved files to appropriate subdirectories, creating local Makefile.am
1190 in each subdirectory.
1191 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
1192 These are now installed at $datadir/glabels/templates.
1193 - Moved glabels.1 to man subdirectory.
1194 - Moved glabels-2.0.dtd to dtd subdirectory.
1195 - Moved glabels.desktop.in to desktop subdirectory.
1196 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
1198 Moved "./pixmaps" to "./data/pixmaps"
1200 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
1202 Moved libglade files from src to data/glade. Created Makefile.am.
1204 Removed pixmaps from SUBDIRS.
1206 - Removed pixmaps from makefiles.
1207 - Added makefiles for new subdirs of data.
1208 - Added tests for freedesktop.org mime database.
1210 - Added tests for freedesktop.org mime database for post install and
1211 post un-install actions.
1212 * libglabels/Makefile.am:
1213 Moved system template files to $(datadir)/glabels/templates.
1214 * libglabels/libglabels-private.h:
1215 Moved system template files to $(datadir)/glabels/templates.
1217 - Accounted for movement of ui and libglade files.
1218 - Added missing .in files.
1219 - Reorganized by directory.
1221 Accounted for movement of ui and libglade files.
1222 * data/mime/glabels.xml.in:
1223 New file for registering with freedesktop.org mime database.
1225 2004-08-07 Jim Evins <evins@snaught.com>
1227 * src/recent-files/*:
1228 Re-synced to latest libegg/recent-files.
1230 2004-08-07 Jim Evins <evins@snaught.com>
1235 Renamed "./doc" directory to "./help" which contains user documentation,
1236 to be more consistent with other GNOME applications.
1239 2004-07-26 Jim Evins <evins@snaught.com>
1241 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
1242 Corrected button order of merge properties dialog.
1244 2004-07-18 Jim Evins <evins@snaught.com>
1246 * data/glabels-2.0.dtd:
1247 * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
1248 (gl_barcode_get_prefered_n):
1250 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
1251 (gl_label_barcode_get_props), (get_size):
1252 * src/label-barcode.h:
1253 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
1254 (style_changed_cb), (gl_object_editor_set_bc_style),
1255 (gl_object_editor_get_bc_style):
1256 * src/object-editor-data-page.c: (data_radio_toggled_cb),
1257 (gl_object_editor_set_data), (gl_object_editor_get_data):
1258 * src/object-editor-private.h:
1259 * src/object-editor.c: (gl_object_editor_set_key_names):
1260 * src/object-editor.glade:
1261 * src/object-editor.h:
1262 * src/print.c: (draw_barcode_object):
1263 * src/view-barcode.c: (update_object_from_editor_cb),
1264 (update_editor_from_object_cb),
1265 (gl_view_barcode_create_event_handler), (draw_barcode):
1266 * src/xml-label-04.c: (xml04_parse_barcode_props):
1267 * src/xml-label-191.c: (xml191_parse_barcode_props):
1268 * src/xml-label.c: (xml_parse_object_barcode),
1269 (xml_create_object_barcode):
1270 Added "format" attribute to barcode objects. This attribute is used
1271 to properly format freeform barcodes barcodes prior to merge data is
1272 applied, so that barcodes can be accurately layed out. This addresses
1273 remaining issues of feature request #824787. Also added an example of
1274 the format in the object editor.
1276 2004-07-12 Jim Evins <evins@snaught.com>
1278 Various code cleanups.
1280 * src/label-barcode.c:
1281 Removed unneeded include of gnome-glyphlist.h.
1283 * src/label-text.c: (get_size):
1284 Fixed memory leak: unref glyphlists when done with them.
1286 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
1287 * src/object-editor-data-page.c:
1288 (gl_object_editor_prepare_data_page):
1289 * src/object-editor-image-page.c:
1290 (gl_object_editor_prepare_image_page):
1291 * src/object-editor-line-page.c:
1292 (gl_object_editor_prepare_line_page):
1293 * src/object-editor-lsize-page.c:
1294 (gl_object_editor_prepare_lsize_page):
1295 * src/object-editor-position-page.c:
1296 (gl_object_editor_prepare_position_page):
1297 * src/object-editor-size-page.c:
1298 (gl_object_editor_prepare_size_page):
1299 * src/object-editor-text-page.c:
1300 (gl_object_editor_prepare_text_page):
1301 Removed unneeded size groups, originally intended to keep widgets aligned.
1302 Now use tables to lay these out in object-editor.glade.
1304 * src/print.c: (draw_text_object):
1305 Fixed memory leak: unref glyphlists when done with them.
1307 * src/view-barcode.c: (draw_barcode):
1308 Fixed memory leak: unref glyphlists when done with them.
1310 * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
1311 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
1313 - Fixed memory leak: unref glyphlists when done with them.
1315 2004-07-11 Jim Evins <evins@snaught.com>
1317 * data/glabels-2.0.dtd:
1318 * src/label-text.c: (gl_label_text_instance_init), (copy),
1319 (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
1321 * src/object-editor-private.h:
1322 * src/object-editor-text-page.c:
1323 (gl_object_editor_prepare_text_page),
1324 (gl_object_editor_set_text_auto_shrink),
1325 (gl_object_editor_get_text_auto_shrink):
1326 * src/object-editor.c: (gl_object_editor_set_key_names):
1327 * src/object-editor.glade:
1328 * src/object-editor.h:
1329 * src/print.c: (draw_text_object):
1330 * src/view-text.c: (update_object_from_editor_cb),
1331 (update_editor_from_object_cb):
1332 * src/xml-label.c: (xml_parse_object_text),
1333 (xml_create_object_text):
1334 Added option to allow document merge to auto shrink text size to fit
1335 within the text box. The code in print.c that actually shrinks the
1336 text is loosely based on a patch submitted by Mark Harrison
1337 <mark.harrison@velocitynet.com.au>. This addresses feature request
1340 2004-07-11 Jim Evins <evins@snaught.com>
1342 * data/glabels-2.0.dtd:
1343 * libglabels/template.c: (gl_template_rect_label_type_new),
1344 (gl_template_round_label_type_new),
1345 (gl_template_cd_label_type_new), (gl_template_label_type_dup),
1346 (template_full_page):
1347 * libglabels/template.h:
1348 * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
1349 (xml_create_label_node):
1350 * pixmaps/ex-rect-size.png:
1351 * src/print.c: (clip_to_outline), (clip_punchouts):
1352 * src/template-designer.c: (construct_rect_size_page),
1353 (rect_size_page_prepare_cb), (layout_page_prepare_cb),
1355 * src/template-designer.glade:
1356 * src/xml-label-191.c: (xml191_parse_label):
1357 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
1358 properties for rectangular labels. Templates remain backwards compatible,
1359 but this breaks the libglabels API (I don't know of anyone outside of
1360 glabels using libglabels at this time -- what can I say, the program is
1361 is still "unstable"). This addresses the suggestion in Feature Request
1364 2004-07-05 Jim Evins <evins@snaught.com>
1365 * src/print.c: (print_crop_marks), (draw_outline):
1366 Changed crop marks and label outlines to black, instead of 25% gray.
1367 This addresses debian Bug #257460.
1369 2004-07-05 Jim Evins <evins@snaught.com>
1371 * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
1372 * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
1373 Preserve "is_default" of fill and line color_combos when creating from
1376 2004-07-02 Jim Evins <evins@snaught.com>
1379 Created man page. Based on page submitted by Matthew J. Lockner, however
1380 it has been severely edited.
1382 * data/avery-other-templates.xml
1383 * data/misc-other-templates.xml:
1384 Started new files for predefined templates with non-standard sheet sizes.
1385 These have been initially populated with the Avery 06141 and
1386 OfficeMax #86112, both provided by Matthew J. Lockner.
1389 Install above manpage and template files.
1392 Make sure we install man pages.
1394 * src/glabels-batch.c:
1395 Changed short form of help option to '-?' to be consistent with glabels.
1398 Added acknowledgement for above labels.
1400 2004-07-02 Jim Evins <evins@snaught.com>
1402 * src/glabels.c: (main), (save_session_cb):
1403 - Now include libbonoboui.h, recent.h, and file.h to provide missing
1405 - save_session_cb() now returns gboolean.
1406 - Minor formatting changes.
1410 - Now include file.h to provide missing prototype.
1411 - gl_window_get_type() now returns GType, not guint. I believe this may
1412 ultimately be cause of the segfault reported in Bug #982287, since
1413 GType is actually a gulong, which may not be compatible on other
1414 architectures (64bit) -- I cannot personally test this at this time.
1415 I was sloppy in several other xxx_get_type() functions which also
1416 returned guint -- see next group of files:
1418 * src/window.c: (gl_window_get_type):
1419 * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
1420 * src/canvas-hacktext.h:
1421 * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
1422 (gl_hig_category_get_type), (gl_hig_vbox_get_type),
1423 (gl_hig_hbox_get_type):
1425 * src/label-barcode.c: (gl_label_barcode_get_type):
1426 * src/label-barcode.h:
1427 * src/label-box.c: (gl_label_box_get_type):
1429 * src/label-ellipse.c: (gl_label_ellipse_get_type):
1430 * src/label-ellipse.h:
1431 * src/label-image.c: (gl_label_image_get_type):
1432 * src/label-image.h:
1433 * src/label-line.c: (gl_label_line_get_type):
1435 * src/label-object.c: (gl_label_object_get_type):
1436 * src/label-object.h:
1437 * src/label-text.c: (gl_label_text_get_type):
1439 * src/label.c: (gl_label_get_type):
1441 * src/merge-properties-dialog.c:
1442 (gl_merge_properties_dialog_get_type):
1443 * src/merge-properties-dialog.h:
1444 * src/merge-text.c: (gl_merge_text_get_type):
1446 * src/merge.c: (gl_merge_get_type):
1448 * src/object-editor.c: (gl_object_editor_get_type):
1449 * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
1450 * src/prefs-dialog.h:
1451 * src/prefs-model.c: (gl_prefs_model_get_type):
1452 * src/prefs-model.h:
1453 * src/print-dialog.c: (gl_print_dialog_get_type):
1454 * src/print-dialog.h:
1455 * src/template-designer.c: (gl_template_designer_get_type):
1456 * src/template-designer.h:
1457 * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
1458 * src/ui-property-bar.h:
1459 * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
1461 * src/view-barcode.c: (gl_view_barcode_get_type):
1462 * src/view-barcode.h:
1463 * src/view-box.c: (gl_view_box_get_type):
1465 * src/view-ellipse.c: (gl_view_ellipse_get_type):
1466 * src/view-ellipse.h:
1467 * src/view-highlight.c: (gl_view_highlight_get_type):
1468 * src/view-highlight.h:
1469 * src/view-image.c: (gl_view_image_get_type):
1471 * src/view-line.c: (gl_view_line_get_type):
1473 * src/view-object.c: (gl_view_object_get_type):
1474 * src/view-object.h:
1475 * src/view-text.c: (gl_view_text_get_type):
1477 * src/view.c: (gl_view_get_type):
1479 * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
1480 * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
1481 * src/wdgt-image-select.h:
1482 * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
1483 * src/wdgt-media-select.h:
1484 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
1485 * src/wdgt-mini-preview.h:
1486 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
1487 * src/wdgt-print-copies.h:
1488 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
1489 * src/wdgt-print-merge.h:
1490 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
1491 * src/wdgt-rotate-label.h:
1492 - Made sure all xxx_get_type functions returned GType, not guint. This
1493 was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
1494 ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
1495 wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
1496 wdt-print-merge.[ch], and wdgt-rotate-label.[ch]. See separate
1497 window.[ch] details above for more info.
1498 - Reconciled various coding style differences in all xxx_get_type()
1500 * All prototypes include G_GNUC_CONST.
1501 * All prototypes specify the return value as GType, not GtkType
1503 * Info structures are all declared as "static const."
1504 * Generalized the names of type and info variables.
1505 * Miscelaneous formatting.
1507 2004-06-08 Jim Evins <evins@snaught.com>
1513 Don't touch compression of original file -- still defaults to 9 for
1514 new files. Original patch provided by Javier Donaire Segarra
1515 (#912252 in patch tracker).
1517 2004-05-05 Jim Evins <evins@snaught.com>
1519 * data/glabels-2.0.dtd:
1520 Broke DTD previously when adding new barcode types that contain a
1521 plus sign (+). Simply changed the BC_STYLE_TYPE entity to "CDATA"
1522 to avoid the problem.
1523 * data/avery-iso-templates.xml:
1524 * data/zweckform-iso-templates.xml:
1526 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021. Templates
1527 provided by Frank Altpeter.
1528 * libglabels/xml-template.c: (xml_create_label_node):
1529 Reordered markup and layout sub-nodes so that resulting templates will
1530 validate against DTD.
1532 2004-03-13 Jim Evins <evins@snaught.com>
1534 * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
1535 Changed spin callback signals from "value-changed" back to "changed."
1536 This was accidentally introduced in a previous revision, and can cause
1537 size changes just by selecting the size tab.
1539 2004-03-06 Jim Evins <evins@snaught.com>
1541 * src/view.c: (draw_grid_layer):
1542 For round labels (round and cd) adjust grid so that it lines up with
1543 center of label. Also, no longer draw box around label in the grid layer,
1544 it is hidden by he fg layer anyway. Feature suggested by
1545 nemolivier@free.fr. Although the grid is aligned with the center of the
1546 label, the coordinate system is still relative to the upper left corner
1547 of the rectangle containing the label.
1549 2004-02-25 Jim Evins <evins@snaught.com>
1552 Changed version to 2.0pre1cvs
1554 * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
1555 Removed extra xmlFreeDoc() calls upon error. Also print the doc->URL
1556 instead of doc->name fields when errors encountered.
1558 2004-02-21 Jim Evins <evins@snaught.com>
1560 * data/avery-iso-templates.xml:
1561 Added aliases for Avery 8651. Patch provided by Wayne Schuller.
1564 Added libglabels library and include file to installed files.
1567 Final prep for 1.93.3.
1569 2004-02-20 Jim Evins <evins@snaught.com>
1571 * src/glabels-batch.c: (main):
1572 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
1573 as suggested by Javier Donaire Segarra. This addresses bug #901063.
1575 2004-02-16 Jim Evins <evins@snaught.com>
1578 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
1581 Added HAVE_FILE_CHOOSER to INCLUDES.
1583 * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
1584 (gl_file_save_as), (save_as_response):
1585 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
1587 2004-02-16 Jim Evins <evins@snaught.com>
1589 * src/xml-label-04.c: (xml04_parse_image_props):
1590 * src/xml-label-191.c: (xml191_parse_image_props):
1591 * src/xml-label.c: (xml_parse_object_image):
1592 Delay setting image size until after image has been applied to new
1595 2004-02-15 Jim Evins <evins@snaught.com>
1597 * src/label-barcode.c: (gl_label_barcode_set_data),
1598 (gl_label_barcode_set_props):
1599 Don't emit "changed" signal, if no change actually made for these
1600 methods. Reduces number of unnecessary redraws of barcodes.
1602 * src/label-object.h:
1603 * src/label-object.c: (gl_label_object_set_position),
1604 (gl_label_object_set_position_relative), (set_size),
1605 (gl_label_object_set_size),
1606 (gl_label_object_set_size_honor_aspect):
1607 Don't emit "changed" signal, if no change actually made for these
1610 2004-02-15 Jim Evins <evins@snaught.com>
1612 * data/glabels-2.0.dtd:
1613 Added specific subtypes for various barcode types.
1616 * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
1617 (gl_barcode_get_styles_list), (gl_barcode_default_digits),
1618 (gl_barcode_can_text), (gl_barcode_text_optional),
1619 (gl_barcode_can_csum), (gl_barcode_csum_optional),
1620 (gl_barcode_id_to_name), (gl_barcode_name_to_id):
1621 Changed API to use a string id, rather than a fixed enumeration. Id and
1622 name are separate strings. Added entries to backend table for specific
1623 subtypes for various barcode types.
1626 * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
1628 Modified to conform to above API. Now more stringent with data length
1629 for various subtypes.
1631 * src/bc-gnubarcode.h:
1632 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
1633 (is_length_valid), (is_length1_valid), (is_length2_valid):
1634 Modified to conform to above API. Now more stringent with data length
1635 for various subtypes.
1637 * src/label-barcode.h:
1638 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
1639 (gl_label_barcode_get_props), (get_size):
1640 Modified to use above API for storing barcode type.
1642 * src/object-editor.h:
1643 * src/object-editor-bc-page.c: (style_changed_cb),
1644 (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
1645 Modified to use above API for storing barcode type.
1647 * src/object-editor-size-page.c:
1648 (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
1649 (w_spin_cb), (h_spin_cb), (size_reset_cb):
1650 Added debug markers.
1652 * src/object-editor.glade:
1653 Made barcode style combo's text entry non-editable.
1655 * src/print.c: (draw_barcode_object):
1656 Modified to use above API for barcode type.
1658 * src/view-barcode.c: (update_object_from_editor_cb),
1659 (update_editor_from_object_cb),
1660 (gl_view_barcode_create_event_handler), (draw_barcode):
1661 Modified to use above API for barcode type.
1663 * src/xml-label-04.c: (xml04_parse_barcode_props):
1664 * src/xml-label-191.c: (xml191_parse_barcode_props):
1665 * src/xml-label.c: (xml_parse_object_barcode),
1666 (xml_create_object_barcode):
1667 Modified to use above API for barcode type.
1669 2004-02-07 Jim Evins <evins@snaught.com>
1671 * src/stock-pixmaps/Makefile.am:
1672 * src/stock-pixmaps/stock_hchain_24.png:
1673 * src/stock-pixmaps/stock_hchain_broken_24.png:
1674 * src/stock-pixmaps/stock_vchain_24.png:
1675 * src/stock-pixmaps/stock_vchain_broken_24.png:
1676 Added chain pixmaps borrowed from the gimp's default theme.
1679 * src/stock.c: (gl_stock_init), (add_button_icon):
1680 Added above pixmaps to stock icon sets. Created add_button_icon() to
1681 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
1683 * src/wdgt-chain-button.h
1684 * src/wdgt-chain-button.c
1687 Added this Modified version of gimpchainbutton widget, borrowed from
1691 Added acknowledgements of the above borrowing from the gimp.
1693 * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
1695 * src/object-editor.c: (gl_object_editor_construct_chain_button):
1696 * src/object-editor.glade:
1697 Replaced the keep aspect ratio check box with the above chain-button
1700 * src/text-node.c: (gl_text_node_equal):
1702 Added function gl_text_node_equal() to compare text_nodes.
1704 * src/label-image.c: (gl_label_image_set_filename):
1705 Replaced incomplete text_node comparison code with invocation of
1706 gl_text_node_equal. This fixed the problem of not being able to
1707 resize an image using the object_editor if the aspect ratio is not
1710 2004-02-04 Jim Evins <evins@snaught.com>
1712 * src/object-editor-image-page.c:
1713 (gl_object_editor_prepare_image_page):
1714 Track "changed" signal of pixmap entry's GtkEntry rather than its
1715 "activate" signal -- this catches all changes to the entry rather than
1716 just changes resulting from a browse, so one can easily pull previous
1717 entries from the history. (This change is marked below on 2004-02-03,
1718 but somehow never got checked in.)
1720 * src/view-highlight.c: (sl_resize_event_handler),
1721 (sr_resize_event_handler), (st_resize_event_handler),
1722 (sb_resize_event_handler):
1723 Side resize handles will now confirm the actual resize that the object
1724 accepted before adjusting position parameters. Previously some interesting
1725 things happened when resizing a barcode to its minimum size.
1727 2004-02-03 Jim Evins <evins@snaught.com>
1729 * src/object-editor-image-page.c:
1730 (gl_object_editor_prepare_image_page):
1731 Track "changed" signal of pixmap entry's GtkEntry rather than its
1732 "activate" signal -- this catches all changes to the entry rather than
1733 just changes resulting from a browse, so one can easily pull previous
1734 entries from the history.
1736 * src/view-highlight.c: (tl_resize_event_handler),
1737 (tr_resize_event_handler), (bl_resize_event_handler),
1738 (br_resize_event_handler):
1739 Allow control key to be dropped while dragging a corner resize handle
1740 without losing the aspect ratio lock.
1742 2004-02-02 Jim Evins <evins@snaught.com>
1744 * src/label-image.c: (gl_label_image_set_filename):
1745 When setting a new filename adjust size such that the aspect ratio of
1746 the image is preserved using the current size as a bounding box.
1748 * src/view-image.c: (update_object_from_editor_cb):
1749 When updating object from editor, feed back possible size changes to
1750 editor as a result of a possible change in image.
1752 * src/object-editor-size-page.c: (size_reset_cb):
1753 Fixed typo when blocking spin handlers. If the base size is larger than
1754 the max size, treat max size as a bounding box while keeping aspect
1758 2004-02-02 Jim Evins <evins@snaught.com>
1760 * src/label-object.h:
1761 * src/label-object.c: (gl_label_object_set_size),
1762 (gl_label_object_set_size_honor_aspect):
1763 Added gl_label_object_set_size_honor_aspect() which will maintain the
1764 current aspect ratio by modifying the supplied w or h apropriately.
1766 * src/view-highlight.c: (tl_resize_event_handler),
1767 (tr_resize_event_handler), (bl_resize_event_handler),
1768 (br_resize_event_handler):
1769 Corner handles will now maintain the current aspect ratio if the
1770 control key is pressed while resizing. This addresses feature
1774 2004-01-31 Jim Evins <evins@snaught.com>
1777 * data/avery-us-templates.xml:
1778 Added entries for "LSK-3," "LSK-5," and "LSK-8." Submitted by JBadger.
1780 * libglabels/template.c: (read_template_files_from_dir):
1781 Corrected problem with testing for extensions.
1783 * src/object-editor.glade:
1784 Corrected grouping of radio buttons in barcode data page.
1786 * src/print.c: (draw_barcode_object):
1787 * src/view-barcode.c: (draw_barcode):
1788 Corrected problem with calculation of y_offset for locating characters.
1790 2004-01-24 Jim Evins <evins@snaught.com>
1793 * data/avery-us-templates.xml:
1794 Added Avery 5824, submitted by Fred Bacon.
1796 2004-01-20 Jim Evins <evins@snaught.com>
1798 Catching up on a couple of backlogged user template submissions.
1800 * data/avery-iso-templates.xml:
1801 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
1802 Suggested by Linas Jakucionis.
1804 * data/zweckform-iso-templates.xml:
1805 Added Zweckform 4760, submitted by Thomas Vill.
1808 Updated to reflect above submissions.
1810 2004-01-06 Jim Evins <evins@snaught.com>
1812 Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
1813 xml.[ch] into a separate library called libglabels, to facilitate third
1814 party use of glabels template files. This was suggested by Wayne Schuller.
1815 Once split-out, some modifications to the structures and functions to
1816 make a cleaner more useful API, hopefully. Rather extensive changes have
1817 propogated to other modules.
1825 * src/xml-template.h:
1826 * src/xml-template.c:
1829 These files have been moved to libglabels/. API cleanup performed.
1831 * libglabels/libglabels.h:
1832 * libglabels/libglabels-private.h:
1833 * libglabels/Makefile.am:
1834 These files have been added to finish out libglabels.
1841 Modified to reflect new sets of files in src/ and libglabels/.
1843 * COPYING.LIBGLABELS:
1845 Added copy of the LGPL for libglabels, and a copy the GFDL for
1848 * src/glabels-batch.c:
1850 * src/label.c: (gl_label_finalize), (gl_label_set_template),
1851 (gl_label_get_size):
1853 * src/prefs-model.c: (gl_prefs_model_load_settings):
1854 * src/print-dialog.c:
1855 * src/print.c: (gl_print_simple), (gl_print_merge_collated),
1856 (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
1857 (print_crop_marks), (print_label), (draw_outline),
1858 (clip_to_outline), (clip_punchouts):
1859 * src/template-designer.c: (construct_pg_size_page),
1860 (pg_size_page_changed_cb), (layout_page_changed_cb),
1861 (print_test_cb), (build_template):
1862 * src/util.c: (gl_util_fraction):
1864 * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
1865 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
1866 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
1867 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
1868 (draw_markup_margin_round), (draw_markup_margin_cd),
1869 (draw_markup_margin_cd_bc), (draw_markup_line),
1870 (draw_markup_circle), (gl_view_copy):
1871 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
1872 (page_size_entry_changed_cb), (details_update), (get_layout_desc),
1873 (get_label_size_desc):
1874 * src/wdgt-mini-preview.c:
1875 (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
1877 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
1878 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
1879 * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
1880 (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
1881 * src/wdgt-rotate-label.h:
1882 * src/xml-label-04.c: (xml04_parse_media_description):
1883 * src/xml-label-191.c: (gl_xml_label_191_parse),
1884 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
1885 (xml191_parse_markup), (xml191_parse_alias):
1886 * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
1888 Various changes to accomodate new libglabels API.
1890 2004-01-03 Jim Evins <evins@snaught.com>
1895 2004-01-03 Jim Evins <evins@snaught.com>
1898 Added acknowledgement of contributions by Wayne Schuller.
1900 * src/commands.c: (gl_cmd_file_print):
1901 Create extra reference to print dialog, so that it can be properly re-used.
1903 * src/mygal/mygal-combo-box.h:
1904 * src/mygal/mygal-combo-box.c:
1905 (mygal_combo_box_popup_hide_unconditional),
1906 (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
1907 (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
1908 (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
1909 (mygal_combo_box_set_tearable):
1910 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
1911 complete the rename of this widget to prevent namespace collisions
1914 * src/prefs-dialog.glade:
1915 Fixed alignment of Fill/Color widgets.
1917 2004-01-03 Jim Evins <evins@snaught.com>
1919 * data/avery-iso-templates.xml:
1920 Added user submitted templates.
1921 Avery 8435A & 8435B, submitted by Ludger Solbach.
1923 * doc/C/glabels.xml:
1924 Added minimal documentation, noting the new template designer.
1926 2004-01-03 Jim Evins <evins@snaught.com>
1928 * pixmaps/ex-rect-size.png:
1929 * pixmaps/ex-round-size.png:
1930 * pixmaps/ex-cd-size.png:
1931 * pixmaps/Makefile.am:
1932 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
1933 files to be used as illustrations/examples in the template-designer.
1935 * src/template-designer.c: (construct_rect_size_page),
1936 (construct_round_size_page), (construct_cd_size_page),
1937 (construct_nlayouts_page), (rect_size_page_prepare_cb),
1938 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
1939 (layout_page_prepare_cb), (build_template):
1940 * src/template-designer.glade:
1941 Added illustrations for rectangle, round, and cd label size pages.
1942 Added margin spinboxes to these pages, and now add a margin markup
1943 to the constructed template. Added realistic default values for
1944 some of the size spinboxes. Cleaned up the code for setting spinbox
1945 ranges on the layouts page.
1947 2004-01-02 Jim Evins <evins@snaught.com>
1949 * src/object-editor-size-page.c: (h_spin_cb):
1950 Fixed cut-n-paste error in h_spin_cb that loaded h from
1951 the wrong spinbutton.
1953 * src/object-editor.h:
1954 * src/object-editor.c: (gl_object_editor_class_init),
1955 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
1956 * src/object-editor-private.h:
1957 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
1959 Added "size_changed" signal.
1961 * src/view-text.c: (construct_properties_editor),
1962 (update_object_from_editor_cb),
1963 (update_object_from_editor_size_cb):
1964 Track size changes from object editor separately from other
1965 properties. This is so the default size (0,0) of a text
1966 object is not modified unintentionally.
1968 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
1970 Added feature: line spacing - allows you to comfortably space a text box to
1971 fit a label perfectly.
1973 * data/glabels-2.0.dtd:
1974 * src/label-object.c: (gl_label_object_set_text_line_spacing),
1975 (gl_label_object_get_text_alignment),
1976 (gl_label_object_get_text_line_spacing):
1977 * src/label-object.h:
1978 * src/label-text.c: (gl_label_text_class_init),
1979 (gl_label_text_instance_init), (copy), (get_size),
1980 (set_text_line_spacing), (get_text_alignment),
1981 (get_text_line_spacing):
1982 * src/object-editor-private.h:
1983 * src/object-editor-text-page.c:
1984 (gl_object_editor_prepare_text_page),
1985 (gl_object_editor_set_text_line_spacing),
1986 (gl_object_editor_get_text_line_spacing):
1987 * src/object-editor.glade:
1988 * src/object-editor.h:
1989 * src/prefs-dialog.c: (construct_object_page),
1990 (update_object_page_from_prefs), (update_prefs_from_object_page):
1991 * src/prefs-dialog.glade:
1992 * src/prefs-model.c: (gl_prefs_model_save_settings),
1993 (gl_prefs_model_load_settings), (get_float):
1994 * src/prefs-model.h:
1995 * src/print.c: (draw_text_object):
1997 * src/view-text.c: (update_object_from_editor_cb),
1998 (update_editor_from_object_cb),
1999 (gl_view_text_create_event_handler), (draw_hacktext):
2000 * src/view.c: (gl_view_construct),
2001 (gl_view_set_selection_text_line_spacing),
2002 (gl_view_set_default_text_line_spacing),
2003 (gl_view_get_default_text_line_spacing):
2005 * src/xml-label.c: (xml_parse_toplevel_span),
2006 (xml_create_toplevel_span):
2008 2003-12-30 Jim Evins <evins@snaught.com>
2010 * src/template-designer.c:
2011 * src/template-designer.h:
2012 * src/template-designer.glade:
2013 New template designer assistant.
2017 Added entries for src/template-designer.* files.
2019 * pixmaps/ex-1layout.png
2020 * pixmaps/ex-2layouts.png
2021 * pixmaps/Makefile.am:
2022 Added the new image files ex-*.png used as illustrations in the
2023 template designer assistant.
2025 * src/print-dialog.h:
2026 * src/print-dialog.c: (gl_print_dialog_finalize),
2027 (gl_print_dialog_new), (gl_print_dialog_construct),
2028 (gl_print_dialog_force_outline_flag):
2029 Changed first argument of gl_print_dialog_new() from glView to glLabel,
2030 to support printing from the template designer assistant which does not
2031 have a full-fledged view. Nothing else from the view object was being
2032 used by the dialog anyway.
2034 Added the gl_print_dialog_force_outline_flag() method, for better
2035 integration with the template designer assistant.
2039 * src/commands.c: (gl_cmd_file_template_designer),
2040 (gl_cmd_file_print):
2041 Modified print command to provide label instead of view to dialog.
2042 Added the gl_cmd_file_template_designer() command to invoke the
2043 template designer assistant.
2046 * src/glabels-ui.xml:
2047 Added support for template designer assistant.
2049 * src/wdgt-mini-preview.h:
2050 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
2051 (gl_wdgt_mini_preview_set_bg_color):
2052 Preview is now centered in canvas. Added
2053 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
2054 assistant to match the background color with its own.
2056 * src/print.c: (clip_to_outline):
2057 Fixed really stupid bug when adding waste to clip region of rectangular
2058 labels/cards. Each side of the clip region needs to be extended by
2059 twice the waste margin, as well as negatively offset by the waste
2062 2003-12-28 Jim Evins <evins@snaught.com>
2064 * src/prefs-dialog.c: (update_object_page_from_prefs):
2065 Block intermediary function align_toggle_cb() instead of
2066 update_prefs_from_object_page() for the three alignment
2069 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
2071 * src/file.c: (gl_file_new), (gl_file_properties):
2072 Swap button order and set default for higificatory pleasure.
2074 2003-12-27 Jim Evins <evins@snaught.com>
2076 * barcode-0.98/Makefile.am:
2077 One last time: removed doc/Makefile and po/Makefile.in.in from
2080 2003-12-27 Jim Evins <evins@snaught.com>
2082 * barcode-0.98/Makefile.am:
2083 Removed config.stat entry from EXTRA_DIST files.
2085 * barcode-0.98/Makefile.in:
2088 2003-12-27 Jim Evins <evins@snaught.com>
2091 Updated to work with latest gnome-common package from CVS.
2092 Removed recursive configuration of barcode-0.98.
2099 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
2101 * barcode-0.98/Makefile.in:
2102 * barcode-0.98/configure.in:
2103 * barcode-0.98/Makefile.am:
2104 * barcode-0.98/README.glabels:
2105 Modified to ignore the barcode package's build system, and build
2106 as a part of glabels.
2107 Renamed Makefile.in to Makefile.in.dist.
2108 Renamed configure.in to configure.in.dist.
2109 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
2112 * src/mygal/Makefile.am:
2113 * src/recent-files/Makefile.am:
2114 In order to build against the GNOME 2.5 platform,
2115 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
2117 * src/mygal/Makefile.am:
2118 * src/mygal/mygal-combo-box.c:
2119 * src/mygal/mygal-combo-box.h:
2120 * src/mygal/widget-color-combo.c:
2121 * src/mygal/widget-color-combo.h:
2123 In order to build against the GNOME 2.5 platform,
2124 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
2125 collisions with the real gtk_combo_box widget, now a part of gtk.
2127 2003-12-26 Jim Evins <evins@snaught.com>
2133 Moved local versions of get_home_data_dir() in paper.c and
2134 template.c to util package. Cleaned up formatting in
2138 In gl_template_register() save a copy of the template in
2139 ~/.glabels if the template is not known. Still need to
2140 handle duplicate filename case and duplicate name but
2141 different template case.
2145 Moved local definition of NAME_SPACE macro from xml-label.c
2148 * src/xml-template.c:
2149 * src/xml-template.h:
2150 Added function gl_xml_template_write_template_to_file(), used
2151 in gl_template_register().