]> git.sur5r.net Git - glabels/log
glabels
18 years ago2006-05-22 Jim Evins <evins@snaught.com>
Jim Evins [Tue, 23 May 2006 01:26:54 +0000 (01:26 +0000)]
2006-05-22  Jim Evins  <evins@snaught.com>

* src/print.c: (draw_barcode_object):
Don't print "Invalid barcode data" if data field is empty.  Patch provided
by Darren Warner <warnerd@users.sourceforge.net>.  Fixes Bug #1479839.
* AUTHORS:
Added acknowledgment for above patch.
* src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
* src/bc-postnet.c: (postnet_code):
Removed "Invalid barcode data" warnings from stderr.
* src/view-barcode.c: (draw_barcode):
Draw box around barcode extent if data empty or invalid.  Center a
message whether the data is empty or invalid in box.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@591 f5e0f49d-192f-0410-a22d-a8d8700d0965

18 years ago2006-05-22 Jim Evins <evins@snaught.com>
Jim Evins [Mon, 22 May 2006 23:55:04 +0000 (23:55 +0000)]
2006-05-22  Jim Evins  <evins@snaught.com>

* src/print.c: (draw_text_object):
Check shadow state when printing text.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@590 f5e0f49d-192f-0410-a22d-a8d8700d0965

18 years ago2006-05-20 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 20 May 2006 21:57:50 +0000 (21:57 +0000)]
2006-05-20  Jim Evins  <evins@snaught.com>

* src/ui-commands.c: (gl_ui_cmd_view_grid_toggle),
(gl_ui_cmd_view_markup_toggle):
Fixed crash when grid or markup have been toggled off during
a previous session.  Bug #1434324.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@589 f5e0f49d-192f-0410-a22d-a8d8700d0965

18 years ago2006-04-05 Jim Evins <evins@snaught.com>
Jim Evins [Thu, 6 Apr 2006 01:50:16 +0000 (01:50 +0000)]
2006-04-05  Jim Evins  <evins@snaught.com>

* src/object-editor.c: (gl_object_editor_set_key_names):
Fixed potential crash when freeing empty key list.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@588 f5e0f49d-192f-0410-a22d-a8d8700d0965

18 years ago2006-03-11 Jim Evins <evins@snaught.com>
Jim Evins [Sun, 12 Mar 2006 02:50:27 +0000 (02:50 +0000)]
2006-03-11  Jim Evins  <evins@snaught.com>

* src/print.c: (draw_text_object):
* src/view-text.c: (gl_view_text_new),
(construct_properties_editor), (update_object_from_editor_cb),
(update_editor_from_object_cb), (update_editor_from_label_cb),
(draw_hacktext):
Added shadow support to text object.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@587 f5e0f49d-192f-0410-a22d-a8d8700d0965

18 years ago2006-02-18 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 18 Feb 2006 05:20:44 +0000 (05:20 +0000)]
2006-02-18  Jim Evins  <evins@snaught.com>

* src/print.c: (draw_line_object):
* src/view-line.c: (gl_view_line_new),
(construct_properties_editor), (update_canvas_item_from_object_cb),
(update_object_from_editor_cb), (update_editor_from_object_cb),
(update_editor_from_label_cb):
Added shadow support to line object.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@586 f5e0f49d-192f-0410-a22d-a8d8700d0965

18 years ago2006-02-16 Jim Evins <evins@snaught.com>
Jim Evins [Fri, 17 Feb 2006 03:03:53 +0000 (03:03 +0000)]
2006-02-16  Jim Evins  <evins@snaught.com>

* src/view-box.c:
Comment changes.
* src/print.c: (draw_ellipse_object):
* src/view-ellipse.c: (gl_view_ellipse_new),
(construct_properties_editor), (update_canvas_item_from_object_cb),
(update_object_from_editor_cb), (update_editor_from_object_cb),
(update_editor_from_label_cb):
Added shadow support to ellipse object.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@585 f5e0f49d-192f-0410-a22d-a8d8700d0965

18 years ago2006-02-15 Jim Evins <evins@snaught.com>
Jim Evins [Thu, 16 Feb 2006 01:45:35 +0000 (01:45 +0000)]
2006-02-15  Jim Evins  <evins@snaught.com>

* src/label-object.c:
Changed default shadow offsets.
* src/view-box.c: (gl_view_box_new):
Simplified gl_view_box_new() so that is does not duplicate code
in update_canvas_item_from_object_cb().

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@584 f5e0f49d-192f-0410-a22d-a8d8700d0965

18 years ago2006-02-07 Jim Evins <evins@snaught.com>
Jim Evins [Wed, 8 Feb 2006 03:44:52 +0000 (03:44 +0000)]
2006-02-07  Jim Evins  <evins@snaught.com>

* data/glade/object-editor.glade:
Fixed color groups of color combos.
* src/color.h:
Added default shadow color.
* src/object-editor.c: (gl_object_editor_construct_color_combo):
Added shadow color group.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@583 f5e0f49d-192f-0410-a22d-a8d8700d0965

18 years ago2006-02-06 Jim Evins <evins@snaught.com>
Jim Evins [Tue, 7 Feb 2006 02:21:17 +0000 (02:21 +0000)]
2006-02-06  Jim Evins  <evins@snaught.com>

* src/object-editor-shadow-page.c:
Forgot to add this file.
* src/view-box.c: (gl_view_box_new),
(update_canvas_item_from_object_cb), (update_editor_from_label_cb):
Update limits on shadow offset spinbuttons.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@582 f5e0f49d-192f-0410-a22d-a8d8700d0965

18 years ago2006-01-19 Jim Evins <evins@snaught.com>
Jim Evins [Fri, 20 Jan 2006 03:38:08 +0000 (03:38 +0000)]
2006-01-19  Jim Evins  <evins@snaught.com>

* src/merge-evolution.c: (gl_merge_evolution_get_key_list):
Initialize key_list to NULL.  Only lucky that this worked at all -- will
probably crash for many people.
* data/glade/object-editor.glade:
* src/Makefile.am:
* src/color.c:
* src/color.h:
* src/label-object.c:
* src/label-object.h:
* src/object-editor-fill-page.c:
* src/object-editor-private.h:
* src/object-editor.c:
* src/object-editor.h:
* src/xml-label.c:
Created infrastructure for shadow support.
* src/view-box.c:
* src/print.c:
Initial shadow support in box object only.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@581 f5e0f49d-192f-0410-a22d-a8d8700d0965

18 years ago2006-01-05 Jim Evins <evins@snaught.com>
Jim Evins [Thu, 5 Jan 2006 07:01:33 +0000 (07:01 +0000)]
2006-01-05  Jim Evins  <evins@snaught.com>

* src/merge-properties-dialog.c: (src_changed_cb):
Be extra paranoid before calling strcmp().
* src/merge.c: (gl_merge_set_src):
Don't make (merge == NULL) a critical error.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@580 f5e0f49d-192f-0410-a22d-a8d8700d0965

18 years ago2005-12-22 Jim Evins <evins@snaught.com>
Jim Evins [Thu, 22 Dec 2005 20:11:26 +0000 (20:11 +0000)]
2005-12-22  Jim Evins  <evins@snaught.com>

* src/glabels-batch.c: (main):
Compile warning free with gcc 4.0.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@569 f5e0f49d-192f-0410-a22d-a8d8700d0965

18 years ago2005-12-21 Jim Evins <evins@snaught.com>
Jim Evins [Thu, 22 Dec 2005 04:16:23 +0000 (04:16 +0000)]
2005-12-21  Jim Evins  <evins@snaught.com>

* glabels.spec.in:
Updated example RPM spec file.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@568 f5e0f49d-192f-0410-a22d-a8d8700d0965

18 years ago * NEWS:
Jim Evins [Thu, 22 Dec 2005 03:07:24 +0000 (03:07 +0000)]
* NEWS:
* configure.in:
Preparation for 2.1.2.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@567 f5e0f49d-192f-0410-a22d-a8d8700d0965

18 years ago2005-12-20 Jim Evins <evins@snaught.com>
Jim Evins [Wed, 21 Dec 2005 02:12:08 +0000 (02:12 +0000)]
2005-12-20  Jim Evins  <evins@snaught.com>

* src/Makefile.am:
Define unique G_LOG_DOMAIN for glabels.
* src/critical-error-handler.c: (gl_critical_error_handler_init):
* src/warning-handler.c: (gl_warning_handler_init),
(warning_handler):
Register for G_LOG_DOMAIN instead of NULL.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@566 f5e0f49d-192f-0410-a22d-a8d8700d0965

18 years ago2005-12-10 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 10 Dec 2005 16:26:13 +0000 (16:26 +0000)]
2005-12-10  Jim Evins  <evins@snaught.com>

* src/merge-evolution.c:
* src/merge-vcard.c:
Fixed indentation.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@565 f5e0f49d-192f-0410-a22d-a8d8700d0965

18 years ago2005-12-08 Jim Evins <evins@snaught.com>
Jim Evins [Fri, 9 Dec 2005 04:55:49 +0000 (04:55 +0000)]
2005-12-08  Jim Evins  <evins@snaught.com>

* libglabels/paper.c: (read_paper_files_from_dir):
* libglabels/template.c: (gl_template_register),
(read_template_files_from_dir):
* libglabels/xml-paper.c: (gl_xml_paper_read_papers_from_file),
(gl_xml_paper_parse_papers_doc):
* libglabels/xml-template.c:
(gl_xml_template_read_templates_from_file),
(gl_xml_template_parse_templates_doc),
(gl_xml_template_parse_template_node),
(xml_parse_label_rectangle_node), (xml_parse_label_round_node),
(xml_parse_label_cd_node), (xml_parse_layout_node),
(xml_parse_markup_margin_node), (xml_parse_markup_line_node),
(xml_parse_markup_circle_node),
(gl_xml_template_write_templates_to_file), (xml_create_label_node):
* libglabels/xml.c: (gl_xml_get_prop_length):
Re-classified g_warnings to g_messages.
* src/Makefile.am:
* src/glabels.c: (main):
* src/warning-handler.c: (gl_warning_handler_init),
(warning_handler):
* src/warning-handler.h:
Added warning message handler to make sure the user is
presented with appropriate non-fatal errors.
* src/critical-error-handler.c: (critical_error_handler):
Changed exit to abort.
* src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new), (render_pass1):
* src/bc-postnet.c: (postnet_code):
* src/bc.c: (id_to_index), (name_to_index):
* src/merge.c: (gl_merge_register_backend), (gl_merge_new):
* src/object-editor.c: (gl_object_notebook_construct_valist):
* src/prefs-dialog.c: (update_locale_page_from_prefs):
* src/prefs.c: (gl_prefs_get_units_per_point),
(gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
(gl_prefs_get_units_string):
* src/print.c: (draw_outline), (clip_to_outline), (clip_punchouts):
* src/splash.c: (gl_splash):
* src/ui-commands.c: (gl_ui_cmd_help_contents):
* src/view-highlight.c: (gl_view_highlight_new),
(highlight_resizable_box_construct), (object_changed_cb),
(view_scale_changed_cb):
* src/view.c: (draw_label_layer), (draw_bg_fg_layers),
(draw_markup_layer), (draw_markup_margin),
(gl_view_object_create_mode), (canvas_event),
(selection_received_cb):
* src/wdgt-mini-preview.c: (mini_outline_list_new):
* src/wdgt-rotate-label.c: (mini_preview_canvas_update):
* src/xml-label-04.c: (gl_xml_label_04_parse),
(xml04_parse_media_description), (xml04_parse_text_props),
(xml04_parse_barcode_props):
* src/xml-label-191.c: (gl_xml_label_191_parse),
(xml191_parse_objects), (xml191_parse_object),
(xml191_parse_text_props), (xml191_parse_image_props),
(xml191_parse_barcode_props), (xml191_parse_data),
(xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
(xml191_parse_markup):
* src/xml-label.c: (gl_xml_label_open), (gl_xml_label_open_buffer),
(xml_doc_to_label), (xml_parse_label), (xml_parse_objects),
(xml_parse_object_text), (xml_parse_object_image),
(xml_parse_object_barcode), (xml_parse_data),
(xml_parse_toplevel_span), (gl_xml_label_save),
(xml_create_objects):
Re-classified g_warnings to g_messages.
* src/merge-evolution.c: (gl_merge_evolution_open),
(gl_merge_evolution_close), (gl_merge_evolution_get_record):
Use g_warning to output errors encountered while
communicating with the evolution data server
instead of embedding them in the data.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@564 f5e0f49d-192f-0410-a22d-a8d8700d0965

18 years ago2005-12-08 Jim Evins <evins@snaught.com>
Jim Evins [Fri, 9 Dec 2005 00:15:33 +0000 (00:15 +0000)]
2005-12-08  Jim Evins  <evins@snaught.com>

* libglabels/libglabels-private.h:
Set G_LOG_DOMAIN
* libglabels/paper.c: (read_papers):
* libglabels/template.c: (read_templates):
Made appropriate warnings critical.
* src/Makefile.am:
* src/critical-error-handler.h:
* src/critical-error-handler.c: (gl_critical_error_handler_init),
(critical_error_handler):
Created critical error handler.
* src/glabels.c: (main):
Register critical error handler.
* src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
* src/object-editor.c: (gl_object_editor_init):
* src/prefs-dialog.c: (gl_prefs_dialog_init):
* src/template-designer.c: (gl_template_designer_init):
* src/ui-property-bar.c: (gl_ui_property_bar_instance_init):
Made appropriate warnings critical.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@563 f5e0f49d-192f-0410-a22d-a8d8700d0965

19 years ago2005-11-27 Jim Evins <evins@snaught.com>
Jim Evins [Sun, 27 Nov 2005 05:46:22 +0000 (05:46 +0000)]
2005-11-27  Jim Evins  <evins@snaught.com>

* src/merge-evolution.c: (gl_merge_evolution_get_key_list),
(gl_merge_evolution_get_primary_key),
(gl_merge_evolution_get_record):
Don't create "record_key" pseudo-key.  Don't populate
fields with null data.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@562 f5e0f49d-192f-0410-a22d-a8d8700d0965

19 years ago2005-11-25 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 26 Nov 2005 02:35:14 +0000 (02:35 +0000)]
2005-11-25  Jim Evins  <evins@snaught.com>

* src/merge-evolution.c: (gl_merge_evolution_finalize),
(gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
(gl_merge_evolution_get_record), (gl_merge_evolution_copy),
(free_field_list):
Query EDS for all supported fields.  Patch provided by
Austin Henry <ahenry@users.sourceforge.net>.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@561 f5e0f49d-192f-0410-a22d-a8d8700d0965

19 years ago2005-10-29 Jim Evins <evins@snaught.com>
Jim Evins [Sun, 30 Oct 2005 01:16:43 +0000 (01:16 +0000)]
2005-10-29  Jim Evins  <evins@snaught.com>

* src/glabels.c: (main):
* src/label-barcode.c: (gl_label_barcode_finalize):
* src/label-text.c: (gl_label_text_finalize), (set_font_family):
* src/label.c: (gl_label_instance_init), (gl_label_finalize):
* src/object-editor.c: (gl_object_editor_finalize):
Another pass at valgrinding -- plugged several memory leaks.
* src/view-text.c: (gl_view_text_new),
(update_canvas_item_from_object_cb), (draw_hacktext):
Commented out artifacts of edit-in-place code.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@560 f5e0f49d-192f-0410-a22d-a8d8700d0965

19 years ago2005-10-28 Jim Evins <evins@snaught.com>
Jim Evins [Fri, 28 Oct 2005 22:58:41 +0000 (22:58 +0000)]
2005-10-28  Jim Evins  <evins@snaught.com>

* src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
Fixed use of uninitialized variable.  Caught by
d binderman <dcb314@hotmail.com>.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@559 f5e0f49d-192f-0410-a22d-a8d8700d0965

19 years ago2005-10-27 Jim Evins <evins@snaught.com>
Jim Evins [Fri, 28 Oct 2005 01:10:56 +0000 (01:10 +0000)]
2005-10-27  Jim Evins  <evins@snaught.com>

* src/merge-evolution.c: (gl_merge_evolution_get_record):
* src/merge-vcard.c: (gl_merge_vcard_get_record),
(parse_next_vcard):
Additional cleanup of EDS and vcard backends.  Provided by
Austin Henry <ahenry@users.sourceforge.net>.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@558 f5e0f49d-192f-0410-a22d-a8d8700d0965

19 years ago2005-10-24 Jim Evins <evins@snaught.com>
Jim Evins [Tue, 25 Oct 2005 03:01:56 +0000 (03:01 +0000)]
2005-10-24  Jim Evins  <evins@snaught.com>

* AUTHORS:
* src/Makefile.am:
* src/merge-evolution.c:
* src/merge-evolution.h:
* src/merge-init.c: (gl_merge_init):
* src/merge-properties-dialog.c: (type_changed_cb):
* src/merge-vcard.c:
* src/merge-vcard.h:
* src/ui-commands.c: (gl_ui_cmd_help_about):
Added Evolution Data Server and VCard merge backends.  Original patch
provided by Austin Henry <ahenry@users.sourceforge.net>.
* configure.in:
Only support EDS and VCard backends if libebook is installed.  Allow
user to disable support, even if installed.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@557 f5e0f49d-192f-0410-a22d-a8d8700d0965

19 years ago2005-10-24 Jim Evins <evins@snaught.com>
Jim Evins [Mon, 24 Oct 2005 16:50:35 +0000 (16:50 +0000)]
2005-10-24  Jim Evins  <evins@snaught.com>

* AUTHORS:
* data/templates/avery-iso-templates.xml:
* data/templates/avery-us-templates.xml:
* data/templates/misc-iso-templates.xml:
* data/templates/zweckform-iso-templates.xml:
Collected all template changes and submissions since last
release.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@556 f5e0f49d-192f-0410-a22d-a8d8700d0965

19 years ago2005-10-23 Jim Evins <evins@snaught.com>
Jim Evins [Mon, 24 Oct 2005 01:24:50 +0000 (01:24 +0000)]
2005-10-23  Jim Evins  <evins@snaught.com>

* configure.in:
* data/mime/Makefile.am:
Added configure options to disable update-mime-database and
update-desktop-database as part of the install.  Patch
provided by Leonardo Boshell (qhoracio@sourceforge.net).

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@555 f5e0f49d-192f-0410-a22d-a8d8700d0965

19 years ago2005-10-23 Jim Evins <evins@snaught.com>
Jim Evins [Sun, 23 Oct 2005 20:26:18 +0000 (20:26 +0000)]
2005-10-23  Jim Evins  <evins@snaught.com>

* libglabels/xml.h:
* libglabels/xml.c: (gl_xml_get_prop_string),
(gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
(gl_xml_is_node), (gl_xml_get_node_content):
Added new XML utility functions.
* libglabels/xml-paper.c:
* libglabels/xml-template.c:
* src/xml-label.c:
Cleanup by using new xml utilities created above.
* libglabels/paper.c: (gl_paper_free):
* src/file.c: (new_response):
* src/object-editor-image-page.c: (add_image_filters_to_chooser):
* src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
(gl_pixbuf_cache_get_pixbuf):
* src/ui-property-bar.c:
(gl_ui_property_bar_construct_color_combo):
* src/view-highlight.c: (gl_view_highlight_finalize):
* src/view-image.c: (update_object_from_editor_cb):
* src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
(draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
(draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
(draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
(draw_markup_margin_round), (draw_markup_margin_cd),
(draw_markup_margin_cd_bc):
* src/wdgt-mini-preview.c: (mini_outline_list_new):
* src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
Plugged various memory leaks located with valgrind.
* src/view-image.c: (update_canvas_item_from_object_cb):
Don't allow a width or height of zero when drawing pixbuf.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@554 f5e0f49d-192f-0410-a22d-a8d8700d0965

19 years ago2005-10-22 Jim Evins <evins@snaught.com>
Jim Evins [Sun, 23 Oct 2005 02:06:00 +0000 (02:06 +0000)]
2005-10-22  Jim Evins  <evins@snaught.com>

* libglabels/xml-paper.c:
* libglabels/xml-template.c:
* libglabels/xml.c:
* src/base64.c:
* src/bc-gnubarcode.c:
* src/canvas-hacktext.c:
* src/label-text.c:
* src/object-editor-data-page.c:
* src/print-dialog.c:
* src/print.c:
* src/recent.c:
* src/template-designer.c:
* src/text-node.c:
* src/ui-property-bar.c:
* src/ui.c:
* src/view-barcode.c:
* src/view-box.c:
* src/view-ellipse.c:
* src/view-image.c:
* src/view-line.c:
* src/view-text.c:
* src/view.c:
* src/wdgt-media-select.c:
* src/xml-label-04.c:
* src/xml-label-191.c:
* src/xml-label.c:
Modified to compile warning free with gcc-4.0.  Mostly
casting to change signedness of characters.  Did not
attack gnu-barcode library yet.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@553 f5e0f49d-192f-0410-a22d-a8d8700d0965

19 years ago2005-10-22 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 22 Oct 2005 05:10:46 +0000 (05:10 +0000)]
2005-10-22  Jim Evins <evins@snaught.com>

* src/glabels.c: (main):
* src/splash.c: (gl_splash):
Removed some small memory leaks.
* gtk-doc.make:
Added.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@552 f5e0f49d-192f-0410-a22d-a8d8700d0965

19 years ago2005-09-19 Jim Evins <evins@snaught.com>
Jim Evins [Tue, 20 Sep 2005 03:24:53 +0000 (03:24 +0000)]
2005-09-19  Jim Evins  <evins@snaught.com>

* data/glade/property-bar.glade:
Remove items from font_family_combo.  This prevents the
double entry after adding text model and list of fonts.
* src/ui-property-bar.c: (reset_to_default_properties):
Free font_family_list.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@551 f5e0f49d-192f-0410-a22d-a8d8700d0965

19 years ago2005-07-01 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 2 Jul 2005 02:46:12 +0000 (02:46 +0000)]
2005-07-01  Jim Evins  <evins@snaught.com>

* po/it.po:
Updated italian translation (Daniele Medri)

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@550 f5e0f49d-192f-0410-a22d-a8d8700d0965

19 years agoI guess I need it after all -- however, it needs to be empty.
Jim Evins [Sun, 26 Jun 2005 06:08:32 +0000 (06:08 +0000)]
I guess I need it after all -- however, it needs to be empty.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@545 f5e0f49d-192f-0410-a22d-a8d8700d0965

19 years ago2005-06-26 Jim Evins <evins@snaught.com>
Jim Evins [Sun, 26 Jun 2005 04:59:52 +0000 (04:59 +0000)]
2005-06-26  Jim Evins  <evins@snaught.com>

* docs/libglabels/libglabels-decl-list.txt:
Somehow never got checked in before.
* docs/libglabels/libglabels.types:
Removed -- don't need it afterall.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@544 f5e0f49d-192f-0410-a22d-a8d8700d0965

19 years ago2005-06-20 Jim Evins <evins@snaught.com>
Jim Evins [Tue, 21 Jun 2005 02:30:38 +0000 (02:30 +0000)]
2005-06-20  Jim Evins  <evins@snaught.com>

* NEWS:
Final prep for 2.1.1 release.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@543 f5e0f49d-192f-0410-a22d-a8d8700d0965

19 years ago2005-06-20 Jim Evins <evins@snaught.com>
Jim Evins [Tue, 21 Jun 2005 02:06:47 +0000 (02:06 +0000)]
2005-06-20  Jim Evins  <evins@snaught.com>

* configure.in:
Final preps for 2.1.1 release.
* docs/libglabels/libglabels.types:
Somehow never got checked in before.
* po/POTFILES.in:
Bring up-to-date with recent reorg of ui code.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@542 f5e0f49d-192f-0410-a22d-a8d8700d0965

19 years ago2005-06-19 Jim Evins <evins@snaught.com>
Jim Evins [Sun, 19 Jun 2005 13:07:20 +0000 (13:07 +0000)]
2005-06-19  Jim Evins  <evins@snaught.com>

* src/template-designer.c: (construct_layout_page):
Removed attempt to match background color of mini preview widget to
background.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@540 f5e0f49d-192f-0410-a22d-a8d8700d0965

19 years ago2005-06-17 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 18 Jun 2005 02:41:49 +0000 (02:41 +0000)]
2005-06-17  Jim Evins  <evins@snaught.com>

* help/C/figures/merge-ex2-4.png:
* help/C/glabels.xml:
Fixed spelling error.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@539 f5e0f49d-192f-0410-a22d-a8d8700d0965

19 years ago2005-06-13 Jim Evins <evins@snaught.com>
Jim Evins [Tue, 14 Jun 2005 03:11:04 +0000 (03:11 +0000)]
2005-06-13  Jim Evins  <evins@snaught.com>

* help/C/figures/merge-ex1-1.png:
* help/C/figures/merge-ex1-2.png:
* help/C/figures/merge-ex1-3.png:
* help/C/figures/merge-ex1-4.png:
* help/C/figures/merge-ex2-1.png:
* help/C/figures/merge-ex2-2.png:
* help/C/figures/merge-ex2-3.png:
* help/C/figures/merge-ex2-4.png:
Added figures for document merge tutorial.
* help/C/glabels.xml:
Added document merge tutorial.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@538 f5e0f49d-192f-0410-a22d-a8d8700d0965

19 years ago2005-05-19 Jim Evins <evins@snaught.com>
Jim Evins [Fri, 20 May 2005 02:20:40 +0000 (02:20 +0000)]
2005-05-19  Jim Evins  <evins@snaught.com>

* data/glade/merge-properties-dialog.glade:
Fixed irregular spacing.
* src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
(gl_merge_properties_dialog_construct):
Set outer padding and remove separator.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@536 f5e0f49d-192f-0410-a22d-a8d8700d0965

19 years ago2005-05-18 Jim Evins <evins@snaught.com>
Jim Evins [Thu, 19 May 2005 02:41:21 +0000 (02:41 +0000)]
2005-05-18  Jim Evins  <evins@snaught.com>

* src/hig.h:
* src/hig.c:
Removed glHigDialog class.
* src/file.c: (gl_file_new), (create_new_dialog_widgets),
(gl_file_properties), (create_properties_dialog_widgets):
* src/prefs-dialog.h:
* src/prefs-dialog.c: (gl_prefs_dialog_get_type),
(gl_prefs_dialog_init), (gl_prefs_dialog_construct):
* src/print-dialog.h:
* src/prefs-dialog.h:
* src/print-dialog.c: (gl_print_dialog_get_type),
(gl_print_dialog_init), (gl_print_dialog_construct):
Replaced all instances of glHigDialog with GtkDialog.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@535 f5e0f49d-192f-0410-a22d-a8d8700d0965

19 years ago2005-05-17 Jim Evins <evins@snaught.com>
Jim Evins [Wed, 18 May 2005 02:47:19 +0000 (02:47 +0000)]
2005-05-17  Jim Evins  <evins@snaught.com>

* src/hig.h:
* src/hig.c:
Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
* src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
(save_as_response), (gl_file_close):
Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@534 f5e0f49d-192f-0410-a22d-a8d8700d0965

19 years ago2005-05-15 Jim Evins <evins@snaught.com>
Jim Evins [Mon, 16 May 2005 02:47:48 +0000 (02:47 +0000)]
2005-05-15  Jim Evins  <evins@snaught.com>

* src/ui-commands.h:
* src/ui-util.c:
* src/ui-util.h:
* src/ui.c:
* src/ui.h:
* src/view.c:
* src/window.c:
* src/window.h:
A little code reformatting -- no functional changes.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@533 f5e0f49d-192f-0410-a22d-a8d8700d0965

19 years ago2005-05-14 Jim Evins <evins@snaught.com>
Jim Evins [Sun, 15 May 2005 00:12:15 +0000 (00:12 +0000)]
2005-05-14  Jim Evins  <evins@snaught.com>

* src/Makefile.am:
Removed obsolete macros.
* src/marshal.list:
Added marshalling template to support new view signal: "context_menu_activate."
* src/view.h:
* src/view.c: (gl_view_class_init), (gl_view_construct),
(canvas_event_arrow_mode):
- Removed hardcoded context menus and added new signal "context_menu_activate"
to push this up to the uimanager.
- Removed merge properties and print dialogs so that they can be managed with
the window by the uimanager.
* src/merge-properties-dialog.h:
* src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
(gl_merge_properties_dialog_construct):
Changed calling convention of gl_merge_properties_dialog_new() to use
glLabel and GtkWindow instead of view to make more consistent with other
dialogs.
* src/print-dialog.h:
* src/print-dialog.c: (gl_print_dialog_new),
(gl_print_dialog_construct):
Removed last artifact of libbonoboui.
* src/ui-commands.c: (gl_ui_cmd_file_print),
(gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
Reconciled style for launching dialogs.
* src/ui.c: (gl_ui_new):
Added context menus to ui manager.
* src/view-object.c: (item_event_arrow_mode):
No longer try to select objects with right-click.
* src/window.h:
* src/window.c: (gl_window_init), (gl_window_set_label),
(context_menu_activate_cb):
Context menus and all dialogs are now managed in a consistent way in window
by the ui manager.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@532 f5e0f49d-192f-0410-a22d-a8d8700d0965

19 years ago2005-05-11 Jim Evins <evins@snaught.com>
Jim Evins [Thu, 12 May 2005 02:41:48 +0000 (02:41 +0000)]
2005-05-11  Jim Evins  <evins@snaught.com>

* src/window.h:
* src/window.c: (gl_window_init), (gl_window_destroy):
* src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
* src/ui-commands.c: (gl_ui_cmd_file_open_recent):
Moved management of recent_view back from window.c to ui.c -- it just feels
better there.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@531 f5e0f49d-192f-0410-a22d-a8d8700d0965

19 years ago2005-05-10 Jim Evins <evins@snaught.com>
Jim Evins [Wed, 11 May 2005 02:45:06 +0000 (02:45 +0000)]
2005-05-10  Jim Evins  <evins@snaught.com>

* src/window.h:
* src/window.c: (gl_window_init):
* src/ui.h:
* src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
(menu_item_select_cb), (menu_item_deselect_cb):
Added GtkStatusbar which displays menu tooltips.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@530 f5e0f49d-192f-0410-a22d-a8d8700d0965

19 years ago2005-05-09 Jim Evins <evins@snaught.com>
Jim Evins [Mon, 9 May 2005 04:35:42 +0000 (04:35 +0000)]
2005-05-09  Jim Evins  <evins@snaught.com>

Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
and toolbars.

* configure.in:
* glabels.spec.in:
Removed dependencies on libbonoboui.
* data/Makefile.am:
* data/ui/Makefile.am:
* data/ui/glabels-ui.xml:
Removed data/ui directory.
* data/glade/Makefile.am:
* data/property-bar.glade:
Added glade description of property-bar for new libglade implementation
of glUIPropertyBar.
* src/Makefile.am:
* src/commands.h:
* src/commands.c:
* src/tools.h:
* src/tools.c:
* src/ui-commands.h:
* src/ui-commands.c:
Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
since the distinction between "commands" and "tools" is no longer that clear.
* src/file.h:
* src/file.c:
Modified to expect glWindow instead of GtkWindow.  gl_file_open_recent()
no longer has knowledge of eggRecent*.
* src/glabels.c: (main):
Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
loop.
* src/object-editor.c: (gl_object_editor_init):
Make sure notebook does not respond to a "show_all" on the parent.
* src/recent-files/Makefile.am:
* src/recent-files/*.[ch]
Updated from latest version of libegg which now has a view based on
GtkUIManager.  Removed unused bonobo and gtk views.
* src/ui-property-bar.h:
* src/ui-property-bar.c:
New implementation based on libglade.
* src/ui-sidebar.h:
* src/ui-sidebar.c:
Sidebar is now simply a GtkWidget and does not expect to be a part of
a libbonoboui interface.
* src/ui-util.h:
* src/ui-util.c:
* src/ui.h:
* src/ui.c:
Converted for use with GtkUIManager.
* src/window.h:
* src/window.c:
Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
to create menus and toolbars.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@529 f5e0f49d-192f-0410-a22d-a8d8700d0965

19 years ago2005-04-25 Jim Evins <evins@snaught.com>
Jim Evins [Tue, 26 Apr 2005 02:03:11 +0000 (02:03 +0000)]
2005-04-25  Jim Evins  <evins@snaught.com>

* data/templates/misc-iso-templates.xml:
Added Fellows 04715 template provided by Steve Saxon.
* AUTHORS:
Updated acknowledgement for above.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@528 f5e0f49d-192f-0410-a22d-a8d8700d0965

19 years ago2005-04-23 Jim Evins <evins@snaught.com>
Jim Evins [Sun, 24 Apr 2005 01:18:48 +0000 (01:18 +0000)]
2005-04-23  Jim Evins  <evins@snaught.com>

* src/util.c: (gl_util_combo_box_set_strings):
Make sure to clear model before loading a new list of strings.
* src/wdgt-media-select.h:
* src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
(gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
(template_combo_changed_cb), (prefs_changed_cb),
(gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
(gl_wdgt_media_select_get_page_size),
(gl_wdgt_media_select_set_page_size):
Replaced the deprecated GtkCombo widget with the new
GtkComboBox.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@527 f5e0f49d-192f-0410-a22d-a8d8700d0965

19 years ago2005-04-21 Jim Evins <evins@snaught.com>
Jim Evins [Fri, 22 Apr 2005 01:53:33 +0000 (01:53 +0000)]
2005-04-21  Jim Evins  <evins@snaught.com>

* data/glade/template-designer.glade:
* src/template-designer.c: (construct_pg_size_page),
(pg_size_page_changed_cb), (build_template):
Replaced the deprecated GtkCombo widget with the new
GtkComboBox.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@526 f5e0f49d-192f-0410-a22d-a8d8700d0965

19 years ago2005-04-20 Jim Evins <evins@snaught.com>
Jim Evins [Thu, 21 Apr 2005 00:24:05 +0000 (00:24 +0000)]
2005-04-20  Jim Evins  <evins@snaught.com>

* data/glade/prefs-dialog.glade:
* src/prefs-dialog.c: (construct_object_page),
(update_object_page_from_prefs), (update_prefs_from_object_page):
Replaced the deprecated GtkCombo widget with the new
GtkComboBox.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@525 f5e0f49d-192f-0410-a22d-a8d8700d0965

19 years ago2005-04-19 Jim Evins <evins@snaught.com>
Jim Evins [Wed, 20 Apr 2005 00:01:30 +0000 (00:01 +0000)]
2005-04-19  Jim Evins  <evins@snaught.com>

* data/glade/object-editor.glade:
* src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
(style_changed_cb), (gl_object_editor_set_bc_style),
(gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
(gl_object_editor_get_bc_color):
* src/object-editor-data-page.c:
(gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
(gl_object_editor_get_data):
* src/object-editor-edit-page.c:
(gl_object_editor_prepare_edit_page), (insert_button_cb):
* src/object-editor-fill-page.c:
(gl_object_editor_prepare_fill_page),
(gl_object_editor_set_fill_color),
(gl_object_editor_get_fill_color):
* src/object-editor-image-page.c:
(gl_object_editor_prepare_image_page),
(gl_object_editor_set_image), (gl_object_editor_get_image):
* src/object-editor-line-page.c:
(gl_object_editor_prepare_line_page),
(gl_object_editor_set_line_color),
(gl_object_editor_get_line_color):
* src/object-editor-private.h:
* src/object-editor-text-page.c:
(gl_object_editor_prepare_text_page),
(gl_object_editor_set_font_family),
(gl_object_editor_get_font_family),
(gl_object_editor_set_text_color),
(gl_object_editor_get_text_color):
* src/object-editor.c: (gl_object_editor_set_key_names):
* src/ui-sidebar.c:
In the object editor: replaced all instances of the deprecated
GtkCombo widget with the new GtkComboBox.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@524 f5e0f49d-192f-0410-a22d-a8d8700d0965

19 years ago2005-04-18 Jim Evins <evins@snaught.com>
Jim Evins [Tue, 19 Apr 2005 00:11:53 +0000 (00:11 +0000)]
2005-04-18  Jim Evins  <evins@snaught.com>

* src/stock.c:
Neglected to save this one in previous checkin to support
header cleanup.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@523 f5e0f49d-192f-0410-a22d-a8d8700d0965

19 years ago2005-04-17 Jim Evins <evins@snaught.com>
Jim Evins [Mon, 18 Apr 2005 02:45:49 +0000 (02:45 +0000)]
2005-04-17  Jim Evins  <evins@snaught.com>

* libglabels/libglabels-private.h:
* libglabels/paper.c:
* libglabels/paper.h:
* libglabels/template.c:
* libglabels/template.h:
* libglabels/xml-paper.c:
* libglabels/xml-paper.h:
* libglabels/xml-template.c:
* libglabels/xml.c:
* libglabels/xml.h:
* src/base64.c:
* src/base64.h:
* src/bc-gnubarcode.c:
* src/bc-postnet.c:
* src/bc.c:
* src/bc.h:
* src/commands.c:
* src/debug.c:
* src/debug.h:
* src/file.c:
* src/file.h:
* src/hig.c:
* src/hig.h:
* src/label-barcode.c:
* src/label-box.c:
* src/label-ellipse.c:
* src/label-image.c:
* src/label-image.h:
* src/label-line.c:
* src/label-object.c:
* src/label-text.c:
* src/label-text.h:
* src/label.c:
* src/merge-properties-dialog.c:
* src/object-editor-bc-page.c:
* src/object-editor-data-page.c:
* src/object-editor-edit-page.c:
* src/object-editor-fill-page.c:
* src/object-editor-image-page.c:
* src/object-editor-line-page.c:
* src/object-editor-lsize-page.c:
* src/object-editor-position-page.c:
* src/object-editor-private.h:
* src/object-editor-size-page.c:
* src/object-editor-text-page.c:
* src/object-editor.c:
* src/object-editor.h:
* src/pixbuf-cache.h:
* src/prefs-dialog.c:
* src/prefs-dialog.h:
* src/prefs-model.c:
* src/prefs-model.h:
* src/prefs.c:
* src/print-dialog.c:
* src/print-dialog.h:
* src/print.c:
* src/print.h:
* src/recent.c:
* src/recent.h:
* src/splash.c:
* src/splash.h:
* src/stock.h:
* src/template-designer.c:
* src/template-designer.h:
* src/text-node.h:
* src/tools.c:
* src/ui-property-bar.c: (gl_ui_property_bar_construct):
* src/ui-sidebar.c:
* src/ui-util.c:
* src/ui.c:
* src/util.c:
* src/util.h:
* src/view-barcode.c:
* src/view-box.c:
* src/view-ellipse.c:
* src/view-highlight.c:
* src/view-highlight.h:
* src/view-image.c:
* src/view-line.c:
* src/view-object.c:
* src/view-object.h:
* src/view-text.c:
* src/view.c:
* src/view.h:
* src/wdgt-chain-button.c:
* src/wdgt-media-select.c:
* src/wdgt-media-select.h:
* src/wdgt-mini-preview.c:
* src/wdgt-mini-preview.h:
* src/wdgt-print-copies.c:
* src/wdgt-print-copies.h:
* src/wdgt-print-merge.c:
* src/wdgt-print-merge.h:
* src/wdgt-rotate-label.c:
* src/wdgt-rotate-label.h:
* src/window.c:
* src/window.h:
* src/xml-label-04.c:
* src/xml-label-191.c:
* src/xml-label.c:
Cleanup of header files:
- all header files are now stand-alone, verified by including
  first in corresponding "c" files
- replaced blanket includes of gnome, gtk, and glib with
  targetted includes

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@522 f5e0f49d-192f-0410-a22d-a8d8700d0965

19 years ago2005-04-16 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 16 Apr 2005 18:05:01 +0000 (18:05 +0000)]
2005-04-16  Jim Evins  <evins@snaught.com>

* data/glade/Makefile.am:
* data/glade/merge-properties-dialog.glade:
Added merge properties dialog glade description file.
* src/merge-properties-dialog.h:
* src/merge-properties-dialog.c:
(gl_merge_properties_dialog_get_type),
(gl_merge_properties_dialog_init),
(gl_merge_properties_dialog_finalize),
(gl_merge_properties_dialog_new),
(gl_merge_properties_dialog_construct), (type_changed_cb),
(src_changed_cb), (response_cb), (load_tree),
(record_select_toggled_cb), (select_all_button_clicked_cb),
(unselect_all_button_clicked_cb):
Modified merge properties dialog to use libglade.  Added
"select all" and "unselect all" buttons.
* src/merge-text.c: (parse_line):
Handle empty lines better.
* src/merge.c: (gl_merge_eval_key):
Evaluate the key whether the record is selected or not.
* src/util.h:
* src/util.c: (gl_util_combo_box_add_text_model):
Since libglade does not use the gtk_combo_box_new_text()
constructor for GtkComboBoxes, a utility function was created
to add an appropriate text model to a GtkComboBox.
* src/view.c: (gl_view_edit_merge_props):
Removed unnecessary "show all's".

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@521 f5e0f49d-192f-0410-a22d-a8d8700d0965

19 years ago2005-04-15 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 16 Apr 2005 02:48:24 +0000 (02:48 +0000)]
2005-04-15  Jim Evins  <evins@snaught.com>

* po/ru.po:
Updated russian translation (Vitaly Lipatov)
* data/templates/misc-iso-templates.xml:
Added templates for russian business cards provided by Vitaly Lipatov.
* AUTHORS:
Updated acknowledgements for above.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@520 f5e0f49d-192f-0410-a22d-a8d8700d0965

19 years ago2005-04-15 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 16 Apr 2005 01:47:12 +0000 (01:47 +0000)]
2005-04-15  Jim Evins  <evins@snaught.com>

* data/templates/avery-us-templates.xml:
Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
* data/templates/misc-iso-templates.xml:
Added Ryman standard CD/DVD template, provided by Dan Clark.
* AUTHORS:
Added acknowledgements for above.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@518 f5e0f49d-192f-0410-a22d-a8d8700d0965

19 years ago2005-04-10 Jim Evins <evins@snaught.com>
Jim Evins [Sun, 10 Apr 2005 06:47:12 +0000 (06:47 +0000)]
2005-04-10  Jim Evins <evins@snaught.com>

* libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
* libglabels/xml-template.c: (gl_xml_template_parse_template_node),
(xml_parse_label_rectangle_node), (xml_parse_label_round_node),
(xml_parse_label_cd_node), (xml_parse_alias_node):
* libglabels/xml.c: (gl_xml_get_prop_double),
(gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
(gl_xml_get_prop_uint), (gl_xml_get_prop_length):
* src/xml-label-04.c: (xml04_parse_media_description),
(xml04_parse_text_props), (xml04_parse_barcode_props),
(xml04_parse_merge_properties):
* src/xml-label-191.c: (xml191_parse_object),
(xml191_parse_text_props), (xml191_parse_barcode_props),
(xml191_parse_merge_fields), (xml191_parse_pixdata),
(xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
(xml191_parse_alias):
* src/xml-label.c: (xml_parse_object_text),
(xml_parse_object_barcode), (xml_parse_merge_fields),
(xml_parse_pixdata), (xml_parse_toplevel_span):
Make sure to use xmlFree for anything obtained from libxml
in case libxml and glib use different memory management
space.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@516 f5e0f49d-192f-0410-a22d-a8d8700d0965

19 years ago2005-04-08 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 9 Apr 2005 02:29:00 +0000 (02:29 +0000)]
2005-04-08  Jim Evins <evins@snaught.com>

* src/util.h:
* src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
(gl_util_combo_box_set_active_text):
Added utility functions to simplify working with GtkComboBox
widgets in GTK-2.6.
* src/ui-property-bar.h:
* src/ui-property-bar.c: (gl_ui_property_bar_construct),
(reset_to_default_properties), (update_text_properties),
(font_family_changed_cb):
Replaced deprecated GtkCombo with GtkComboBox.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@515 f5e0f49d-192f-0410-a22d-a8d8700d0965

19 years ago2005-04-03 Jim Evins <evins@snaught.com>
Jim Evins [Mon, 4 Apr 2005 01:41:35 +0000 (01:41 +0000)]
2005-04-03  Jim Evins <evins@snaught.com>

* src/Makefile.am:
* src/wdgt-image-select.h:
* src/wdgt-image-select.c:
Removed obsolete wdgt-image-select.[ch] files.
* libglabels/paper.c: (gl_paper_dup):
Fixed rename of parameter introduced during documentation
updates.
* data/glade/object-editor.glade:
* src/object-editor-image-page.c:
(gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
(gl_object_editor_set_image), (gl_object_editor_get_image),
(update_preview_cb), (add_image_filters_to_chooser):
* src/object-editor-private.h:
Replaced deprecated GnomePixmapEntry with
GtkFileChooserButton.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@514 f5e0f49d-192f-0410-a22d-a8d8700d0965

19 years ago2005-04-02 Jim Evins <evins@snaught.com>
Jim Evins [Sun, 3 Apr 2005 03:13:30 +0000 (03:13 +0000)]
2005-04-02  Jim Evins <evins@snaught.com>

* src/mygal/mygal-combo-box.c: (deactivate_arrow),
(mygal_combo_box_popup_hide_unconditional),
(mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
(mygal_combo_toggle_pressed), (mygal_combo_box_init),
(mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
(mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
(cb_tearable_button_release), (mygal_combo_box_set_tearable):
Renamed all internal gtk_combo functions to mygal_combo
to prevent namespace confusion.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@513 f5e0f49d-192f-0410-a22d-a8d8700d0965

19 years ago2005-04-02 Jim Evins <evins@snaught.com>
Jim Evins [Sun, 3 Apr 2005 01:44:51 +0000 (01:44 +0000)]
2005-04-02  Jim Evins <evins@snaught.com>

* src/mygal/color-palette.c: (color_palette_change_custom_color),
(cust_color_set), (color_palette_setup):
* src/mygal/color-palette.h:
Replaced deprecated GnomeColorPicker with GtkColorButton.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@512 f5e0f49d-192f-0410-a22d-a8d8700d0965

19 years ago * docs/libglabels/libglabels-sections.txt:
Jim Evins [Sun, 3 Apr 2005 00:47:07 +0000 (00:47 +0000)]
* docs/libglabels/libglabels-sections.txt:
* docs/libglabels/libglabels-undocumented.txt:
* docs/libglabels/tmpl/enums.sgml:
* docs/libglabels/tmpl/paper.sgml:
* docs/libglabels/tmpl/xml-paper.sgml:
* docs/libglabels/tmpl/xml-template.sgml:
* libglabels/enums.h:
* libglabels/paper.c: (gl_paper_dup):
* libglabels/paper.h:
* libglabels/xml-paper.c:
* libglabels/xml-template.c:
More documentation updates for libglabels.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@511 f5e0f49d-192f-0410-a22d-a8d8700d0965

19 years ago2005-03-23 Jim Evins <evins@snaught.com>
Jim Evins [Thu, 24 Mar 2005 00:46:30 +0000 (00:46 +0000)]
2005-03-23  Jim Evins  <evins@snaught.com>

* INSTALL:
Automatically updated.
* Makefile.am:
* autogen.sh:
* configure.in:
* docs/Makefile.am:
* docs/libglabels/Makefile.am:
* docs/libglabels/libglabels-docs.sgml:
* docs/libglabels/libglabels-sections.txt:
* docs/libglabels/libglabels-undocumented.txt:
* docs/libglabels/tmpl/enums.sgml:
* docs/libglabels/tmpl/libglabels-unused.sgml:
* docs/libglabels/tmpl/libglabels.sgml:
* docs/libglabels/tmpl/paper.sgml:
* docs/libglabels/tmpl/template.sgml:
* docs/libglabels/tmpl/xml-paper.sgml:
* docs/libglabels/tmpl/xml-template.sgml:
* docs/libglabels/tmpl/xml.sgml:
Added basic gtk-doc stuff to support documenting libglabels
API.
* libglabels/xml.c:
Updated function comments with gtk-doc markup.
* missing:
Removed.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@510 f5e0f49d-192f-0410-a22d-a8d8700d0965

19 years ago2005-03-22 Jim Evins <evins@snaught.com>
Jim Evins [Wed, 23 Mar 2005 02:52:04 +0000 (02:52 +0000)]
2005-03-22  Jim Evins  <evins@snaught.com>

Since the development version now requires gtk-2.6/gnome-2.10, I
have made a first pass at removing deprecations.

* configure.in:
* libglabels/Makefile.am:
* src/Makefile.am:
Added configure option to turn on X_DISABLE_DEPRECATED flags.
Also removed all remnants of HAVE_FILECHOOSER.
* src/file.c: (gl_file_open_real):
Removed code for old GtkFileSelection.
* libglabels/libglabels-private.h:
* libglabels/paper.c:
* libglabels/template.c:
* libglabels/xml-paper.c:
* libglabels/xml-template.c:
* libglabels/xml.c:
* src/bc.c:
* src/file.c:
* src/glabels-batch.c:
* src/glabels.c:
* src/label.c:
* src/merge-init.c:
* src/merge-properties-dialog.c:
* src/merge.c:
* src/object-editor.c:
* src/prefs-dialog.c:
* src/prefs.c:
* src/print-dialog.c:
* src/print.c:
* src/stock.c:
* src/template-designer.c:
* src/ui-property-bar.c:
* src/ui-sidebar.c:
* src/view-barcode.c:
* src/view-box.c:
* src/view-ellipse.c:
* src/view-image.c:
* src/view-line.c:
* src/view-text.c:
* src/view.c:
* src/wdgt-image-select.c:
* src/wdgt-media-select.c:
* src/wdgt-print-copies.c:
* src/wdgt-print-merge.c:
* src/wdgt-rotate-label.c:
* src/window.c:
* src/xml-label-04.c:
* src/xml-label-191.c:
* src/xml-label.c:
Added '#include <glib/gi18n.h>" where needed.
Removed any unused '#include <gnome.h>"s.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@509 f5e0f49d-192f-0410-a22d-a8d8700d0965

19 years ago2005-03-22 Jim Evins <evins@snaught.com>
Jim Evins [Wed, 23 Mar 2005 00:48:14 +0000 (00:48 +0000)]
2005-03-22  Jim Evins  <evins@snaught.com>

* src/commands.c: (activate_url), (gl_cmd_help_about):
Replaced GnomeAbout with GtkAboutDialog.  Therefore the
development version of glabels now depends on GTK 2.6 and
GNOME 2.10.
* configure.in:
Updated library dependencies.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@508 f5e0f49d-192f-0410-a22d-a8d8700d0965

19 years ago2005-02-28 Jim Evins <evins@snaught.com>
Jim Evins [Tue, 1 Mar 2005 00:13:50 +0000 (00:13 +0000)]
2005-02-28  Jim Evins  <evins@snaught.com>

* AUTHORS:
* data/templates/misc-iso-templates.xml:
Added 'Ednet 45021' template provided by Ali Akcaagac
<aliakc@web.de>.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@507 f5e0f49d-192f-0410-a22d-a8d8700d0965

19 years ago2005-02-14 Jim Evins <evins@snaught.com>
Jim Evins [Tue, 15 Feb 2005 02:07:29 +0000 (02:07 +0000)]
2005-02-14  Jim Evins  <evins@snaught.com>

* data/templates/avery-us-templates.xml:
Updated templates to use inches instead of points.
* src/print-dialog.c: (printer_page_new):
Changed packing style when adding printer selector widget.  This fixes
debian Bug#295274.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@504 f5e0f49d-192f-0410-a22d-a8d8700d0965

19 years ago2005-02-13 Jim Evins <evins@snaught.com>
Jim Evins [Sun, 13 Feb 2005 23:56:56 +0000 (23:56 +0000)]
2005-02-13  Jim Evins  <evins@snaught.com>

* AUTHORS:
* po/es.po:
Updated spanish translations. (sergio rivadero)

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@502 f5e0f49d-192f-0410-a22d-a8d8700d0965

19 years ago2005-02-05 Jim Evins <evins@snaught.com>
Jim Evins [Sun, 6 Feb 2005 04:40:33 +0000 (04:40 +0000)]
2005-02-05  Jim Evins  <evins@snaught.com>

Some cleanup to libglabels.

* configure.in:
Updated version to 2.1.1cvs.  Added generation of libglabels.pc.
* libglabels/libglabels.pc.in
Created.
* libglabels/enums.h
Created.  Currently only contains glUnitsType which provides enumerations
for all possible units of distance.
* libglabels/Makefile.am:
Incorporated new files enums.h and libglabels.pc[.in].
* libglabels/libglabels.h:
Include enums.h.
* libglabels/template.h:
* libglabels/template.c: (gl_template_layout_new):
Changed parameters nx and ny to gint from gdouble.
* libglabels/xml.h:
* libglabels/xml.c: (gl_xml_get_prop_length),
(gl_xml_set_prop_length), (gl_xml_set_default_units):
Added support for different output units.
* src/prefs-dialog.c: (update_locale_page_from_prefs),
(update_prefs_from_locale_page):
* src/prefs-model.c: (string_to_units), (units_to_string):
* src/prefs-model.h:
* src/prefs.c: (gl_prefs_get_units_per_point),
(gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
(gl_prefs_get_units_string):
* src/prefs.h:
* src/wdgt-media-select.c: (details_update), (get_label_size_desc):
Reconciled all length enumerations with the new enumerations provided
in libglabels/enums.h.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@501 f5e0f49d-192f-0410-a22d-a8d8700d0965

19 years ago2005-02-03 Jim Evins <evins@snaught.com>
Jim Evins [Fri, 4 Feb 2005 00:50:21 +0000 (00:50 +0000)]
2005-02-03  Jim Evins  <evins@snaught.com>

* po/cs.po:
Updated Czech translations. (David Makovský and Zbynek Mrkvick)
* po/it.po:
Updated Italian translations. (Daniele Medri)
* AUTHORS:
Updated credits to reflect above translations.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@500 f5e0f49d-192f-0410-a22d-a8d8700d0965

19 years ago2005-01-22 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 22 Jan 2005 19:22:11 +0000 (19:22 +0000)]
2005-01-22  Jim Evins  <evins@snaught.com>

* MESSAGE-OF-DOOM:
Added.
* Makefile.am:
Added MESSAGE-OF-DOOM to EXTRA_DIST.
* NEWS:
Final prep for 2.1.0.
* configure.in:
Set version to 2.1.0.  Output MESSAGE-OF-DOOM.
* glabels.spec.in:
Added '--remove-original' flag to desktop-file-install, so that there is
only one menu entry.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@497 f5e0f49d-192f-0410-a22d-a8d8700d0965

20 years ago2004-08-22 Jim Evins <evins@snaught.com>
Jim Evins [Sun, 22 Aug 2004 20:43:36 +0000 (20:43 +0000)]
2004-08-22  Jim Evins  <evins@snaught.com>

* AUTHORS:
* src/glabels-batch.c: (main):
Applied patch with minor mods to allow selecting merge source and
crop-marks on glabels-batch's command line.  Original patch provided by
José Dapena Paz <jdapena@igalia.com>.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@461 f5e0f49d-192f-0410-a22d-a8d8700d0965

20 years ago2004-08-15 Jim Evins <evins@snaught.com>
Jim Evins [Sun, 15 Aug 2004 23:41:50 +0000 (23:41 +0000)]
2004-08-15  Jim Evins  <evins@snaught.com>

* data/desktop/glabels.desktop.in:
- Added encoding line
- Removed period from comment
- Fixed Terminal line, changed "0" to "false"
- Added semicolen to Categories line
* po/ja.po:
- Made sure desktop.in comment string above still translated properly

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@460 f5e0f49d-192f-0410-a22d-a8d8700d0965

20 years ago2004-08-14 Jim Evins <evins@snaught.com>
Jim Evins [Sun, 15 Aug 2004 01:54:26 +0000 (01:54 +0000)]
2004-08-14  Jim Evins  <evins@snaught.com>

* libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
* libglabels/xml-template.c: (gl_xml_template_parse_template_node):
* src/xml-label-191.c: (xml191_parse_sheet):
Fixed improper freeing of gettext strings.  Merged from 2.0.1.
* configure.in:
Reconciled libglabels versioning with 2.0.1.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@457 f5e0f49d-192f-0410-a22d-a8d8700d0965

20 years ago2004-08-14 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 14 Aug 2004 22:09:26 +0000 (22:09 +0000)]
2004-08-14  Jim Evins  <evins@snaught.com>

* configure.in:
Updated version to 2.1cvs.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@452 f5e0f49d-192f-0410-a22d-a8d8700d0965

20 years ago2004-08-14 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 14 Aug 2004 15:14:57 +0000 (15:14 +0000)]
2004-08-14  Jim Evins  <evins@snaught.com>

* po/ja.po:
Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@449 f5e0f49d-192f-0410-a22d-a8d8700d0965

20 years ago2004-08-14 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 14 Aug 2004 14:49:09 +0000 (14:49 +0000)]
2004-08-14  Jim Evins  <evins@snaught.com>

Fixes for Bug #1008181.

* src/bc.c: (gl_barcode_default_digits):
Make a format of zero digits, harmless.
* src/xml-label.c: (xml_parse_object_barcode):
Set default value of the format property of barcode objects to 10, not
zero.  This will prevent crashes when reading pre 2.0.x files.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@448 f5e0f49d-192f-0410-a22d-a8d8700d0965

20 years ago2004-08-09 Jim Evins <evins@snaught.com>
Jim Evins [Mon, 9 Aug 2004 16:48:48 +0000 (16:48 +0000)]
2004-08-09  Jim Evins  <evins@snaught.com>

        * NEWS:
        * TODO:
        * help/C/glabels-C.omf:
        * help/C/glabels.xml:
                Brought documentation up-to-date for 2.0.0 release.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@445 f5e0f49d-192f-0410-a22d-a8d8700d0965

20 years ago2004-08-09 Jim Evins <evins@snaught.com>
Jim Evins [Mon, 9 Aug 2004 16:03:57 +0000 (16:03 +0000)]
2004-08-09  Jim Evins  <evins@snaught.com>

* NEWS:
* TODO:
* help/C/glabels-C.omf:
* help/C/glabels.xml:
Brought documentation up-to-date for 2.0.0 release.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@444 f5e0f49d-192f-0410-a22d-a8d8700d0965

20 years ago2004-08-09 Jim Evins <evins@snaught.com>
Jim Evins [Mon, 9 Aug 2004 14:47:16 +0000 (14:47 +0000)]
2004-08-09  Jim Evins  <evins@snaught.com>

These are hopefully the final preparations for 2.0.0.

* data/mime/Makefile.am:
Include glabels.xml in EXTRA_DIST.
* configure.in:
- Updated comment style.
- Added LIBGLABELS_VERSION_INFO macro, updated Current.
- Added package and version info to configuration printout
- Update version to 2.0.0
* libglabels/Makefile.am:
Use the new LIBGLABELS_VERSION_INFO macro.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@443 f5e0f49d-192f-0410-a22d-a8d8700d0965

20 years ago2004-08-09 Jim Evins <evins@snaught.com>
Jim Evins [Mon, 9 Aug 2004 04:22:27 +0000 (04:22 +0000)]
2004-08-09  Jim Evins  <evins@snaught.com>

* configure.in:
* glabels.spec.in:
Cleanup of required library macros.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@442 f5e0f49d-192f-0410-a22d-a8d8700d0965

20 years ago2004-08-08 Jim Evins <evins@snaught.com>
Jim Evins [Sun, 8 Aug 2004 16:39:42 +0000 (16:39 +0000)]
2004-08-08  Jim Evins  <evins@snaught.com>

* glabels.spec.in:
- Updated URL
- More specific of what to install in /usr/bin and /usr/lib
- Remove built mime registration files from staging directory

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@441 f5e0f49d-192f-0410-a22d-a8d8700d0965

20 years ago2004-08-08 Jim Evins <evins@snaught.com>
Jim Evins [Sun, 8 Aug 2004 06:26:12 +0000 (06:26 +0000)]
2004-08-08  Jim Evins  <evins@snaught.com>

* data/mime/Makefile.am:
Fixed typo:  key_files should have been keys_files.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@440 f5e0f49d-192f-0410-a22d-a8d8700d0965

20 years ago2004-08-08 Jim Evins <evins@snaught.com>
Jim Evins [Sun, 8 Aug 2004 05:51:41 +0000 (05:51 +0000)]
2004-08-08  Jim Evins  <evins@snaught.com>

Reorganization of runtime data files.  Also added registration of mimetype with
new freedesktop.org mime database if available.

* data/*
Moved files to appropriate subdirectories, creating local Makefile.am
in each subdirectory.
- Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
  These are now installed at $datadir/glabels/templates.
- Moved glabels.1 to man subdirectory.
- Moved glabels-2.0.dtd to dtd subdirectory.
- Moved glabels.desktop.in to desktop subdirectory.
- Moved glabels.keys.in and glabels.mime to mime subdirectory.
* data/pixmaps/*
Moved "./pixmaps" to "./data/pixmaps"
* data/ui/*
Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
* data/glade/*
Moved libglade files from src to data/glade. Created Makefile.am.
* Makefile.am:
Removed pixmaps from SUBDIRS.
* configure.in:
- Removed pixmaps from makefiles.
- Added makefiles for new subdirs of data.
- Added tests for freedesktop.org mime database.
* glabels.spec.in:
- Added tests for freedesktop.org mime database for post install and
  post un-install actions.
* libglabels/Makefile.am:
Moved system template files to $(datadir)/glabels/templates.
* libglabels/libglabels-private.h:
Moved system template files to $(datadir)/glabels/templates.
* po/POTFILES.in:
- Accounted for movement of ui and libglade files.
- Added missing .in files.
- Reorganized by directory.
* src/Makefile.am:
Accounted for movement of ui and libglade files.
* data/mime/glabels.xml.in:
New file for registering with freedesktop.org mime database.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@439 f5e0f49d-192f-0410-a22d-a8d8700d0965

20 years ago2004-08-07 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 7 Aug 2004 22:37:04 +0000 (22:37 +0000)]
2004-08-07  Jim Evins  <evins@snaught.com>

* src/recent-files/*:
Re-synced to latest libegg/recent-files.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@438 f5e0f49d-192f-0410-a22d-a8d8700d0965

20 years ago2004-08-07 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 7 Aug 2004 21:04:55 +0000 (21:04 +0000)]
2004-08-07  Jim Evins  <evins@snaught.com>

* Makefile.am:
* configure.in:
* help/*
Renamed "./doc" directory to "./help" which contains user documentation,
to be more consistent with other GNOME applications.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@437 f5e0f49d-192f-0410-a22d-a8d8700d0965

20 years ago2004-08-07 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 7 Aug 2004 20:56:36 +0000 (20:56 +0000)]
2004-08-07  Jim Evins  <evins@snaught.com>

* Makefile.am:
* configure.in:
* help/*
Renamed "./doc" directory to "./help" which contains user documentation,
to be more consistent with other GNOME applications.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@436 f5e0f49d-192f-0410-a22d-a8d8700d0965

20 years ago2004-07-26 Jim Evins <evins@snaught.com>
Jim Evins [Mon, 26 Jul 2004 04:43:21 +0000 (04:43 +0000)]
2004-07-26  Jim Evins  <evins@snaught.com>

* src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
Corrected button order of merge properties dialog.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@435 f5e0f49d-192f-0410-a22d-a8d8700d0965

20 years ago2004-07-18 Jim Evins <evins@snaught.com>
Jim Evins [Sun, 18 Jul 2004 14:28:13 +0000 (14:28 +0000)]
2004-07-18  Jim Evins  <evins@snaught.com>

* data/glabels-2.0.dtd:
* src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
(gl_barcode_get_prefered_n):
* src/bc.h:
* src/label-barcode.c: (copy), (gl_label_barcode_set_props),
(gl_label_barcode_get_props), (get_size):
* src/label-barcode.h:
* src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
(style_changed_cb), (gl_object_editor_set_bc_style),
(gl_object_editor_get_bc_style):
* src/object-editor-data-page.c: (data_radio_toggled_cb),
(gl_object_editor_set_data), (gl_object_editor_get_data):
* src/object-editor-private.h:
* src/object-editor.c: (gl_object_editor_set_key_names):
* src/object-editor.glade:
* src/object-editor.h:
* src/print.c: (draw_barcode_object):
* src/view-barcode.c: (update_object_from_editor_cb),
(update_editor_from_object_cb),
(gl_view_barcode_create_event_handler), (draw_barcode):
* src/xml-label-04.c: (xml04_parse_barcode_props):
* src/xml-label-191.c: (xml191_parse_barcode_props):
* src/xml-label.c: (xml_parse_object_barcode),
(xml_create_object_barcode):
Added "format" attribute to barcode objects.  This attribute is used
to properly format freeform barcodes barcodes prior to merge data is
applied, so that barcodes can be accurately layed out.  This addresses
remaining issues of feature request #824787.  Also added an example of
the format in the object editor.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@434 f5e0f49d-192f-0410-a22d-a8d8700d0965

20 years ago2004-07-12 Jim Evins <evins@snaught.com>
Jim Evins [Mon, 12 Jul 2004 16:37:24 +0000 (16:37 +0000)]
2004-07-12  Jim Evins  <evins@snaught.com>

Various code cleanups.

* src/label-barcode.c:
Removed unneeded include of gnome-glyphlist.h.

* src/label-text.c: (get_size):
Fixed memory leak: unref glyphlists when done with them.

* src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
* src/object-editor-data-page.c:
(gl_object_editor_prepare_data_page):
* src/object-editor-image-page.c:
(gl_object_editor_prepare_image_page):
* src/object-editor-line-page.c:
(gl_object_editor_prepare_line_page):
* src/object-editor-lsize-page.c:
(gl_object_editor_prepare_lsize_page):
* src/object-editor-position-page.c:
(gl_object_editor_prepare_position_page):
* src/object-editor-size-page.c:
(gl_object_editor_prepare_size_page):
* src/object-editor-text-page.c:
(gl_object_editor_prepare_text_page):
Removed unneeded size groups, originally intended to keep widgets aligned.
Now use tables to lay these out in object-editor.glade.

* src/print.c: (draw_text_object):
Fixed memory leak: unref glyphlists when done with them.

* src/view-barcode.c: (draw_barcode):
Fixed memory leak: unref glyphlists when done with them.

* src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
- Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
  return value.
- Fixed memory leak: unref glyphlists when done with them.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@433 f5e0f49d-192f-0410-a22d-a8d8700d0965

20 years ago2004-07-11 Jim Evins <evins@snaught.com>
Jim Evins [Mon, 12 Jul 2004 01:09:00 +0000 (01:09 +0000)]
2004-07-11  Jim Evins  <evins@snaught.com>

* data/glabels-2.0.dtd:
* src/label-text.c: (gl_label_text_instance_init), (copy),
(gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
* src/label-text.h:
* src/object-editor-private.h:
* src/object-editor-text-page.c:
(gl_object_editor_prepare_text_page),
(gl_object_editor_set_text_auto_shrink),
(gl_object_editor_get_text_auto_shrink):
* src/object-editor.c: (gl_object_editor_set_key_names):
* src/object-editor.glade:
* src/object-editor.h:
* src/print.c: (draw_text_object):
* src/view-text.c: (update_object_from_editor_cb),
(update_editor_from_object_cb):
* src/xml-label.c: (xml_parse_object_text),
(xml_create_object_text):
Added option to allow document merge to auto shrink text size to fit
within the text box.  The code in print.c that actually shrinks the
text is loosely based on a patch submitted by Mark Harrison
<mark.harrison@velocitynet.com.au>.  This addresses feature request
#661421.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@432 f5e0f49d-192f-0410-a22d-a8d8700d0965

20 years ago2004-07-11 Jim Evins <evins@snaught.com>
Jim Evins [Sun, 11 Jul 2004 05:18:36 +0000 (05:18 +0000)]
2004-07-11  Jim Evins  <evins@snaught.com>

* data/glabels-2.0.dtd:
* libglabels/template.c: (gl_template_rect_label_type_new),
(gl_template_round_label_type_new),
(gl_template_cd_label_type_new), (gl_template_label_type_dup),
(template_full_page):
* libglabels/template.h:
* libglabels/xml-template.c: (xml_parse_label_rectangle_node),
(xml_create_label_node):
* pixmaps/ex-rect-size.png:
* src/print.c: (clip_to_outline), (clip_punchouts):
* src/template-designer.c: (construct_rect_size_page),
(rect_size_page_prepare_cb), (layout_page_prepare_cb),
(build_template):
* src/template-designer.glade:
* src/xml-label-191.c: (xml191_parse_label):
Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
properties for rectangular labels.  Templates remain backwards compatible,
but this breaks the libglabels API (I don't know of anyone outside of
glabels using libglabels at this time -- what can I say, the program is
is still "unstable").  This addresses the suggestion in Feature Request
#976313.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@431 f5e0f49d-192f-0410-a22d-a8d8700d0965

20 years ago2004-07-05 Jim Evins <evins@snaught.com>
Jim Evins [Tue, 6 Jul 2004 02:26:53 +0000 (02:26 +0000)]
2004-07-05  Jim Evins  <evins@snaught.com>
* src/print.c: (print_crop_marks), (draw_outline):
Changed crop marks and label outlines to black, instead of 25% gray.
This addresses debian Bug #257460.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@430 f5e0f49d-192f-0410-a22d-a8d8700d0965

20 years ago2004-07-05 Jim Evins <evins@snaught.com>
Jim Evins [Mon, 5 Jul 2004 19:43:23 +0000 (19:43 +0000)]
2004-07-05  Jim Evins  <evins@snaught.com>

* src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
* src/object-editor-line-page.c: (gl_object_editor_set_line_color):
Preserve "is_default" of fill and line color_combos when creating from
existing objects.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@429 f5e0f49d-192f-0410-a22d-a8d8700d0965

20 years ago2004-07-02 Jim Evins <evins@snaught.com>
Jim Evins [Fri, 2 Jul 2004 23:58:08 +0000 (23:58 +0000)]
2004-07-02  Jim Evins  <evins@snaught.com>

* data/glabels.1:
Created man page.  Based on page submitted by Matthew J. Lockner, however
it has been severely edited.

* data/avery-other-templates.xml
* data/misc-other-templates.xml:
Started new files for predefined templates with non-standard sheet sizes.
These have been initially populated with the Avery 06141 and
OfficeMax #86112, both provided by Matthew J. Lockner.

* data/Makefile.am:
Install above manpage and template files.

* glabels.spec.in:
Make sure we install man pages.

* src/glabels-batch.c:
Changed short form of help option to '-?' to be consistent with glabels.

* AUTHORS:
Added acknowledgement for above labels.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@428 f5e0f49d-192f-0410-a22d-a8d8700d0965

20 years ago2004-07-02 Jim Evins <evins@snaught.com>
Jim Evins [Fri, 2 Jul 2004 18:48:42 +0000 (18:48 +0000)]
2004-07-02  Jim Evins  <evins@snaught.com>

* src/glabels.c: (main), (save_session_cb):
- Now include libbonoboui.h, recent.h, and file.h to provide missing
  prototypes.
- save_session_cb() now returns gboolean.
- Minor formatting changes.

* src/window.h:
* src/window.c:
- Now include file.h to provide missing prototype.
- gl_window_get_type() now returns GType, not guint.  I believe this may
  ultimately be cause of the segfault reported in Bug #982287, since
  GType is actually a gulong, which may not be compatible on other
  architectures (64bit) -- I cannot personally test this at this time.
  I was sloppy in several other xxx_get_type() functions which also
  returned guint -- see next group of files:

* src/window.c: (gl_window_get_type):
* src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
* src/canvas-hacktext.h:
* src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
(gl_hig_category_get_type), (gl_hig_vbox_get_type),
(gl_hig_hbox_get_type):
* src/hig.h:
* src/label-barcode.c: (gl_label_barcode_get_type):
* src/label-barcode.h:
* src/label-box.c: (gl_label_box_get_type):
* src/label-box.h:
* src/label-ellipse.c: (gl_label_ellipse_get_type):
* src/label-ellipse.h:
* src/label-image.c: (gl_label_image_get_type):
* src/label-image.h:
* src/label-line.c: (gl_label_line_get_type):
* src/label-line.h:
* src/label-object.c: (gl_label_object_get_type):
* src/label-object.h:
* src/label-text.c: (gl_label_text_get_type):
* src/label-text.h:
* src/label.c: (gl_label_get_type):
* src/label.h:
* src/merge-properties-dialog.c:
(gl_merge_properties_dialog_get_type):
* src/merge-properties-dialog.h:
* src/merge-text.c: (gl_merge_text_get_type):
* src/merge-text.h:
* src/merge.c: (gl_merge_get_type):
* src/merge.h:
* src/object-editor.c: (gl_object_editor_get_type):
* src/prefs-dialog.c: (gl_prefs_dialog_get_type):
* src/prefs-dialog.h:
* src/prefs-model.c: (gl_prefs_model_get_type):
* src/prefs-model.h:
* src/print-dialog.c: (gl_print_dialog_get_type):
* src/print-dialog.h:
* src/template-designer.c: (gl_template_designer_get_type):
* src/template-designer.h:
* src/ui-property-bar.c: (gl_ui_property_bar_get_type):
* src/ui-property-bar.h:
* src/ui-sidebar.c: (gl_ui_sidebar_get_type):
* src/ui-sidebar.h:
* src/view-barcode.c: (gl_view_barcode_get_type):
* src/view-barcode.h:
* src/view-box.c: (gl_view_box_get_type):
* src/view-box.h:
* src/view-ellipse.c: (gl_view_ellipse_get_type):
* src/view-ellipse.h:
* src/view-highlight.c: (gl_view_highlight_get_type):
* src/view-highlight.h:
* src/view-image.c: (gl_view_image_get_type):
* src/view-image.h:
* src/view-line.c: (gl_view_line_get_type):
* src/view-line.h:
* src/view-object.c: (gl_view_object_get_type):
* src/view-object.h:
* src/view-text.c: (gl_view_text_get_type):
* src/view-text.h:
* src/view.c: (gl_view_get_type):
* src/view.h:
* src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
* src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
* src/wdgt-image-select.h:
* src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
* src/wdgt-media-select.h:
* src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
* src/wdgt-mini-preview.h:
* src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
* src/wdgt-print-copies.h:
* src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
* src/wdgt-print-merge.h:
* src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
* src/wdgt-rotate-label.h:
- Made sure all xxx_get_type functions returned GType, not guint.  This
  was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
  ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
  wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
  wdt-print-merge.[ch], and wdgt-rotate-label.[ch].  See separate
  window.[ch] details above for more info.
- Reconciled various coding style differences in all xxx_get_type()
  functions:
* All prototypes include G_GNUC_CONST.
* All prototypes specify the return value as GType, not GtkType
  or guint.
* Info structures are all declared as "static const."
* Generalized the names of type and info variables.
* Miscelaneous formatting.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@427 f5e0f49d-192f-0410-a22d-a8d8700d0965

20 years ago2004-06-08 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 12 Jun 2004 00:21:06 +0000 (00:21 +0000)]
2004-06-08  Jim Evins  <evins@snaught.com>

* src/label.c:
* src/label.h:
* src/xml-label.c:
* AUTHORS:
Don't touch compression of original file -- still defaults to 9 for
new files.  Original patch provided by Javier Donaire Segarra
(#912252 in patch tracker).

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@426 f5e0f49d-192f-0410-a22d-a8d8700d0965

20 years agoDon't touch compression of original file -- still defaults to 9 for new files. Origi...
Jim Evins [Tue, 8 Jun 2004 02:41:32 +0000 (02:41 +0000)]
Don't touch compression of original file -- still defaults to 9 for new files.  Original patch provided by Javier Donaire Segarra (#912252 in patch tracker).

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@425 f5e0f49d-192f-0410-a22d-a8d8700d0965

20 years ago2004-05-05 Jim Evins <evins@snaught.com>
Jim Evins [Thu, 6 May 2004 03:35:18 +0000 (03:35 +0000)]
2004-05-05  Jim Evins  <evins@snaught.com>

        * data/glabels-2.0.dtd:
                Broke DTD previously when adding new barcode types that contain
a
                plus sign (+).  Simply changed the BC_STYLE_TYPE entity to "CDATA"
                to avoid the problem.
        * data/avery-iso-templates.xml:
        * data/zweckform-iso-templates.xml:
        * AUTHORS:
                Added templates for Avery 7165, Zweckform 3688, 4732, and 6021.
 Templates
                provided by Frank Altpeter.
        * libglabels/xml-template.c: (xml_create_label_node):
                Reordered markup and layout sub-nodes so that resulting templates will
                validate against DTD.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@424 f5e0f49d-192f-0410-a22d-a8d8700d0965