]> git.sur5r.net Git - glabels/log
glabels
16 years ago2008-04-04 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 5 Apr 2008 01:24:56 +0000 (01:24 +0000)]
2008-04-04  Jim Evins  <evins@snaught.com>

* data/templates/brother-other-templates.xml:
Added categories to existing templates.
* data/templates/misc-other-templates.xml:
Moved dymo templates to their own file.
* data/templates/Makefile.am:
* data/templates/dymo-other-templates.xml:
Additional dymo templates provided by Harald Welte <laforge@gnumonks.org>.
* AUTHORS:
Acknowledgement for above templates.

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

16 years ago2008-03-24 Jim Evins <evins@snaught.com>
Jim Evins [Tue, 25 Mar 2008 01:32:29 +0000 (01:32 +0000)]
2008-03-24  Jim Evins  <evins@snaught.com>

* src/xml-label.c: (xml_doc_to_label):
Bug #1872584.  Don't refuse to parse label file if namespace is
unrecognized -- it may be from a newer version of glabels.

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

16 years ago2008-03-15 Jim Evins <evins@snaught.com>
Jim Evins [Sun, 16 Mar 2008 03:38:18 +0000 (03:38 +0000)]
2008-03-15  Jim Evins  <evins@snaught.com>

* data/templates/Makefile.am:
* data/templates/brother-other-templates.xml:
Added brother templates.
* src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
(gl_cairo_markup_margin_cd_path):
* src/view.c: (draw_markup_layer):
Fixed markup drawing errors when label is rotated.

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

16 years ago2008-03-03 Jim Evins <evins@snaught.com>
Jim Evins [Tue, 4 Mar 2008 02:56:19 +0000 (02:56 +0000)]
2008-03-03  Jim Evins  <evins@snaught.com>

* configure.in:
* ko.po:
Added korean translation provided by xein@naver.com.

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

16 years agoRelease 2.2.2
Jim Evins [Sat, 23 Feb 2008 02:27:44 +0000 (02:27 +0000)]
Release 2.2.2

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

16 years ago2008-02-21 Jim Evins <evins@snaught.com>
Jim Evins [Fri, 22 Feb 2008 03:11:28 +0000 (03:11 +0000)]
2008-02-21  Jim Evins  <evins@snaught.com>

* src/ui.c:
Fixed typo that prevented "Save" from being deactivated when
document is not modified.

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

16 years ago2008-02-18 Jim Evins <evins@snaught.com>
Jim Evins [Tue, 19 Feb 2008 01:41:28 +0000 (01:41 +0000)]
2008-02-18  Jim Evins  <evins@snaught.com>

* src/prefs-model.c: (gl_prefs_model_save_settings),
(gl_prefs_model_load_settings):
Set default units for file output.

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

16 years ago2008-02-18 Jim Evins <evins@snaught.com>
Jim Evins [Mon, 18 Feb 2008 05:17:40 +0000 (05:17 +0000)]
2008-02-18  Jim Evins  <evins@snaught.com>

* help/C/glabels.xml:
Fixed example template.

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

16 years ago2008-02-16 Jim Evins <evins@snaught.com>
Jim Evins [Sun, 17 Feb 2008 04:59:49 +0000 (04:59 +0000)]
2008-02-16  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/misc-us-templates.xml:
Caught up on user submitted templates.

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

16 years ago2008-02-04 Jim Evins <evins@snaught.com>
Jim Evins [Tue, 5 Feb 2008 02:03:08 +0000 (02:03 +0000)]
2008-02-04  Jim Evins  <evins@snaught.com>

* src/view-image.c: (update_object_from_editor_cb):
Bug #1886438.  Don't update the image size unless it is actually
triggered by a change in image source.  The result of this bug
was that any attempt to edit the size spinboxes, immediately
reset the size.

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

16 years ago2008-02-03 Jim Evins <evins@snaught.com>
Jim Evins [Sun, 3 Feb 2008 20:49:14 +0000 (20:49 +0000)]
2008-02-03  Jim Evins  <evins@snaught.com>

* src/label-image.c: (gl_label_image_class_init), (set_size):
Enforce minimum size for images.

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

16 years ago2008-02-03 Jim Evins <evins@snaught.com>
Jim Evins [Sun, 3 Feb 2008 06:38:13 +0000 (06:38 +0000)]
2008-02-03  Jim Evins  <evins@snaught.com>

* src/object-editor-edit-page.c: (field_selected_cb):
* src/object-editor-lsize-page.c: (gl_object_editor_set_max_lsize):
* src/object-editor-private.h:
* src/object-editor-shadow-page.c:
(gl_object_editor_set_max_shadow_offset):
* src/object-editor-size-page.c: (gl_object_editor_set_max_size):
* src/object-editor.c: (gl_object_editor_finalize),
(gl_object_editor_new), (gl_object_notebook_construct_valist),
(label_changed_cb):
* src/object-editor.h:
* src/ui-sidebar.c: (gl_ui_sidebar_construct):
* src/view-barcode.c: (construct_properties_editor):
* src/view-box.c: (construct_properties_editor):
* src/view-ellipse.c: (construct_properties_editor):
* src/view-image.c: (construct_properties_editor):
* src/view-line.c: (construct_properties_editor):
* src/view-object.c: (gl_view_object_finalize):
* src/view-text.c: (construct_properties_editor),
Move update_editor_from_label callback from individual view objects
to the object editor, so that signals can be disconnected when
object editor is finalized.
* src/view-text.c: (gl_view_text_create_button_press_event):
Fixed bug that caused multiple view objects to be created for a
single text object.  This bug would manifest itself as a crash
when deleting multi-object selections which included text objects.

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

16 years ago2008-02-02 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 2 Feb 2008 06:44:24 +0000 (06:44 +0000)]
2008-02-02  Jim Evins  <evins@snaught.com>

* src/Makefile.am:
* src/wdgt-merge-menu.c:
* src/wdgt-merge-menu.h:
* src/debug.c: (gl_debug_init):
* src/debug.h:
* src/marshal.list:
New merge menu widget.
* data/glade/object-editor.glade:
* src/object-editor-private.h:
* src/object-editor.c: (gl_object_editor_set_key_names):
* src/object-editor-edit-page.c:
(gl_object_editor_prepare_edit_page), (field_selected_cb),
(insert_button_cb):
Simplified UI for inserting fields into text objects by launching
a merge menu and directly inserting fields from the menu.  No more
selecting field in combobox, then pressing insert button.

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

16 years ago2008-01-31 Jim Evins <evins@snaught.com>
Jim Evins [Fri, 1 Feb 2008 03:14:27 +0000 (03:14 +0000)]
2008-01-31  Jim Evins  <evins@snaught.com>

* src/label-barcode.c: (draw_object):
Fixed rendering problem when "Invalid data" is displayed when text
object is lower in stacking order.

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

16 years ago2008-01-30 Jim Evins <evins@snaught.com>
Jim Evins [Thu, 31 Jan 2008 03:26:22 +0000 (03:26 +0000)]
2008-01-30  Jim Evins  <evins@snaught.com>

* src/label-text.c: (get_size), (draw_object), (draw_shadow):
Don't turn off cairo_hint_metrics.  This causes serious issues with
bitmap fonts.

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

16 years ago2008-01-29 Jim Evins <evins@snaught.com>
Jim Evins [Wed, 30 Jan 2008 04:04:24 +0000 (04:04 +0000)]
2008-01-29  Jim Evins  <evins@snaught.com>

* src/print-op.c: (gl_print_op_construct),
(gl_print_op_construct_batch), (set_page_size):
Explicitly set page size for "other" page sizes.

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

16 years ago2008-01-25 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 26 Jan 2008 01:58:12 +0000 (01:58 +0000)]
2008-01-25  Jim Evins  <evins@snaught.com>

* src/bc.c:
Fixed Code128C backend parameters.
* src/label-barcode.c: (get_size):
Bug #1766425.  If barcode is not renderable with either
input data or default data, use a default size.  Also
fixed small leak.

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

16 years agoRelease 2.2.1
Jim Evins [Wed, 23 Jan 2008 03:13:38 +0000 (03:13 +0000)]
Release 2.2.1

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

16 years ago2008-01-16 Jim Evins <evins@snaught.com>
Jim Evins [Thu, 17 Jan 2008 01:52:48 +0000 (01:52 +0000)]
2008-01-16  Jim Evins  <evins@snaught.com>

* src/print.c: (print_label):
Bug #1872568.  Don't apply special transforms (rotate and
mirror) to clipping region or outline.

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

16 years ago2008-01-01 Jim Evins <evins@snaught.com>
Jim Evins [Wed, 2 Jan 2008 03:26:38 +0000 (03:26 +0000)]
2008-01-01  Jim Evins  <evins@snaught.com>

* src/util.c:
Sort font lists alphabetically.

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

16 years ago2008-01-01 Jim Evins <evins@snaught.com>
Jim Evins [Wed, 2 Jan 2008 03:10:57 +0000 (03:10 +0000)]
2008-01-01  Jim Evins  <evins@snaught.com>

* src/merge-evolution.c:
Do a case-insensitive sort.

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

16 years ago2008-01-01 Jim Evins <evins@snaught.com>
Jim Evins [Wed, 2 Jan 2008 03:03:58 +0000 (03:03 +0000)]
2008-01-01  Jim Evins  <evins@snaught.com>

* src/merge-evolution.c:
Sort evolution by "file_under" field.  Original patch provided
by Peter Cherriman <glabels-devel2712@bubieyehyeh.me.uk> in
Patch #1860423.
* AUTHORS:
Added acknowledgement for above patch.

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

16 years ago2008-01-01 Jim Evins <evins@snaught.com>
Jim Evins [Wed, 2 Jan 2008 02:29:47 +0000 (02:29 +0000)]
2008-01-01  Jim Evins  <evins@snaught.com>

* NEWS:
* configure.in:
* glabels.spec.in:
Reconcile with 2.2 branch.

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

16 years agoPrep for 2.2.0 release.
Jim Evins [Wed, 26 Dec 2007 04:10:13 +0000 (04:10 +0000)]
Prep for 2.2.0 release.

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

16 years ago2007-12-21 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 22 Dec 2007 04:40:11 +0000 (04:40 +0000)]
2007-12-21  Jim Evins  <evins@snaught.com>

* COPYING.LIBGLABELS:
* COPYING.README_FIRST:
* README:
Updating license information to make more complete and understandable.

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

16 years ago2007-12-16 Jim Evins <evins@snaught.com>
Jim Evins [Sun, 16 Dec 2007 21:21:59 +0000 (21:21 +0000)]
2007-12-16  Jim Evins  <evins@snaught.com>

* configure.in:
Updated version to 2.pre2.
* help/C/glabels.xml:
Updated documentation.
* src/ui-commands.c: (gl_ui_cmd_help_about):
Updated copyright string.

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

16 years ago2007-12-15 Jim Evins <evins@snaught.com>
Jim Evins [Sun, 16 Dec 2007 04:51:59 +0000 (04:51 +0000)]
2007-12-15  Jim Evins  <evins@snaught.com>

* data/glade/object-editor.glade:
Removed any GtkTable that contained a GtkComboBox because the size of
the combo box was not constrained properly.  This sacrifices the nice
orderly labels for combo boxes that don't extend beyond the edge of the
window.

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

16 years ago2007-12-15 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 15 Dec 2007 17:59:51 +0000 (17:59 +0000)]
2007-12-15  Jim Evins  <evins@snaught.com>

* libglabels/db.c: (lgl_db_lookup_template_from_name):
* src/object-editor.c: (gl_object_editor_finalize):
* src/wdgt-media-select.c: (gl_wdgt_media_select_finalize):
Fixed several small memory leaks.

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

16 years ago2007-12-14 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 15 Dec 2007 03:27:01 +0000 (03:27 +0000)]
2007-12-14  Jim Evins  <evins@snaught.com>

* libglabels/db.c:
Optimize template search by name by using a GHashTable.
* src/mini-preview-pixbuf-cache.c:
* src/mini-preview-pixbuf-cache.h:
Store one pixbuf per template, but use a key for each alias.
* src/wdgt-media-select.c:
Optimize loading of tree data, thus optimizing the "new label" dialog.

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

16 years ago2007-12-12 Jim Evins <evins@snaught.com>
Jim Evins [Thu, 13 Dec 2007 02:29:33 +0000 (02:29 +0000)]
2007-12-12  Jim Evins  <evins@snaught.com>

* data/templates/avery-us-templates.xml:
More templates and aliases.

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

16 years agoUpdated download links.
Jim Evins [Sun, 9 Dec 2007 18:05:40 +0000 (18:05 +0000)]
Updated download links.

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

16 years agoRelease 2.1.5
Jim Evins [Sun, 9 Dec 2007 14:53:57 +0000 (14:53 +0000)]
Release 2.1.5

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

16 years ago2007-12-08 Jim Evins <evins@snaught.com>
Jim Evins [Sun, 9 Dec 2007 02:34:09 +0000 (02:34 +0000)]
2007-12-08  Jim Evins  <evins@snaught.com>

* TODO:
More prep for 2.1.5/2.2.0.

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

16 years ago2007-12-08 Jim Evins <evins@snaught.com>
Jim Evins [Sun, 9 Dec 2007 01:49:39 +0000 (01:49 +0000)]
2007-12-08  Jim Evins  <evins@snaught.com>

* NEWS:
* README:
* TODO:
* configure.in:
Preparation for 2.1.5.

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

16 years ago2007-12-08 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 8 Dec 2007 23:46:30 +0000 (23:46 +0000)]
2007-12-08  Jim Evins  <evins@snaught.com>

* docs/libglabels/libglabels-decl-list.txt:
* docs/libglabels/libglabels-docs.sgml:
* docs/libglabels/libglabels-sections.txt:
* docs/libglabels/libglabels-undocumented.txt:
* docs/libglabels/tmpl/db.sgml:
* docs/libglabels/tmpl/str.sgml:
* libglabels/str.c:
Documentation cleanup for libglabels.

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

16 years agoFixed capitalization.
Jim Evins [Sun, 2 Dec 2007 04:21:19 +0000 (04:21 +0000)]
Fixed capitalization.

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

16 years agoAdded missing title image. Small edits to links and download pages.
Jim Evins [Sun, 2 Dec 2007 00:29:08 +0000 (00:29 +0000)]
Added missing title image. Small edits to links and download pages.

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

16 years ago2007-11-29 Jim Evins <evins@snaught.com>
Jim Evins [Fri, 30 Nov 2007 02:13:51 +0000 (02:13 +0000)]
2007-11-29  Jim Evins  <evins@snaught.com>

* libglabels/db.h:
* libglabels/db.c:
Added lgl_db_does_template_name_exist().
In lgl_db_lookup_template_from_name() substitute brand/part of new template from
requested alias.
* src/prefs-model.c:
Proof read recent templates -- make sure they still exist.
* src/wdgt-media-select.c:
Default to "search all templates" tab if no recent templates found.

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

16 years ago2007-11-28 Jim Evins <evins@snaught.com>
Jim Evins [Wed, 28 Nov 2007 05:07:56 +0000 (05:07 +0000)]
2007-11-28  Jim Evins  <evins@snaught.com>

* data/glade/wdgt-media-select.glade:
* src/wdgt-media-select.c:
Added tabbed notebook to allow selection of recent template versus searching the
entire database.

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

16 years ago2007-11-26 Jim Evins <evins@snaught.com>
Jim Evins [Tue, 27 Nov 2007 04:42:41 +0000 (04:42 +0000)]
2007-11-26  Jim Evins  <evins@snaught.com>

* libglabels/Makefile.am:
* libglabels/libglabels.h:
Make str.h public.
* src/label.c:
* src/prefs-dialog.c:
* src/prefs-model.c:
* src/prefs-model.h:
* src/prefs.c:
* src/prefs.h:
Added tracking of recently used templates.

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

16 years ago2007-11-20 Jim Evins <evins@snaught.com>
Jim Evins [Wed, 21 Nov 2007 03:41:38 +0000 (03:41 +0000)]
2007-11-20  Jim Evins  <evins@snaught.com>

* data/glade/template-designer.glade:
* src/template-designer.c:
Added warning icon when match brand and part match an existing template.

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

16 years ago2007-11-18 Jim Evins <evins@snaught.com>
Jim Evins [Mon, 19 Nov 2007 04:49:00 +0000 (04:49 +0000)]
2007-11-18  Jim Evins  <evins@snaught.com>

* libglabels/Makefile.am:
* libglabels/str.h:
* libglabels/str.c:
Added lgl_str_utf8_casecmp().
* libglabels/libglabels-private.h:
Use lgl_str_utf8_casecmp() for UTF8_EQUAL macro -- do case insensitive comparisons.
* libglabels/db.c: (lgl_db_get_brand_list):
Use lgl_str_utf8_casecmp() to determine if we have seen brand before when building
brand list.

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

16 years ago2007-11-18 Jim Evins <evins@snaught.com>
Jim Evins [Mon, 19 Nov 2007 03:19:50 +0000 (03:19 +0000)]
2007-11-18  Jim Evins  <evins@snaught.com>

* data/glade/template-designer.glade:
* src/template-designer.c:
Don't advance past name page, if brand and part match an existing template.

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

16 years ago2007-11-18 Jim Evins <evins@snaught.com>
Jim Evins [Sun, 18 Nov 2007 05:06:41 +0000 (05:06 +0000)]
2007-11-18  Jim Evins  <evins@snaught.com>

* libglabels/db.c: (lgl_db_register_template), (read_templates):
When registering a new template, don't add to "User defined" category before
writing to file.  Add to "User defined" category when reading from "~/.glabels"
directory instead.  This will allow legacy templates (and manually created
templates) to be automatically added to the "user defined" category.
* libglabels/xml-template.c:
(lgl_xml_template_create_template_node):
Fixed typo/bug causing brand to be wrong.

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

16 years ago2007-11-16 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 17 Nov 2007 04:07:28 +0000 (04:07 +0000)]
2007-11-16  Jim Evins  <evins@snaught.com>

* libglabels/db.c:
* libglabels/db.h:
Added return codes to lgl_db_register_template().  Added lgl_db_does_template_exist()
function.  Automatically create "User defined" category and add to all user
registered templates.
* libglabels/xml-template.c:
* libglabels/xml-template.h:
Return number of bytes written from lgl_xml_template_write_templates_to_file() and
lgl_xml_template_write_template_to_file().
* docs/libglabels/libglabels-decl-list.txt:
* docs/libglabels/libglabels-sections.txt:
* docs/libglabels/libglabels-undocumented.txt:
* docs/libglabels/tmpl/db.sgml:
* docs/libglabels/tmpl/xml-template.sgml:
Update documentation to reflect above changes.

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

16 years ago2007-10-28 Jim Evins <evins@snaught.com>
Jim Evins [Mon, 29 Oct 2007 01:47:08 +0000 (01:47 +0000)]
2007-10-28  Jim Evins  <evins@snaught.com>

* libglabels/xml-template.c:
Remove any leading white space from part #s when parsing old names.
* src/mini-preview-pixbuf-cache.c:
If name isn't in cache add it.

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

16 years ago2007-10-26 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 27 Oct 2007 01:45:25 +0000 (01:45 +0000)]
2007-10-26  Jim Evins  <evins@snaught.com>

* libglabels/Makefile.am:
* libglabels/category.c:
* libglabels/category.h:
* libglabels/db.c:
* libglabels/db.h:
* libglabels/libglabels-private.h:
* libglabels/libglabels.h:
* libglabels/paper.c:
* libglabels/paper.h:
* libglabels/template.c:
* libglabels/template.h:
* libglabels/xml-template.c:
Another pass at screwing with the libglabels API.  Moved all
database related stuff to db.[ch].
* docs/libglabels/libglabels-decl-list.txt:
* docs/libglabels/libglabels-docs.sgml:
* docs/libglabels/libglabels-sections.txt:
* docs/libglabels/libglabels-undocumented.txt:
* docs/libglabels/tmpl/category.sgml:
* docs/libglabels/tmpl/db.sgml:
* docs/libglabels/tmpl/init.sgml:
* docs/libglabels/tmpl/libglabels-unused.sgml:
* docs/libglabels/tmpl/paper.sgml:
* docs/libglabels/tmpl/template-construction.sgml:
* docs/libglabels/tmpl/template-db.sgml:
* docs/libglabels/tmpl/template-misc.sgml:
* docs/libglabels/tmpl/template-struct.sgml:
* docs/libglabels/tmpl/template.sgml:
Updated documentation to reflect above changes to libglabels API.
* src/file.c:
* src/glabels-batch.c:
* src/glabels.c:
* src/mini-preview-pixbuf-cache.c:
* src/prefs-model.c:
* src/print.c:
* src/template-designer.c:
* src/wdgt-media-select.c:
* src/wdgt-mini-preview.c:
* src/wdgt-rotate-label.c:
* src/xml-label-04.c:
* src/xml-label.c:
Reconciled usage with above libglabels API changes.

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

16 years agoRemoving xv detritus.
Jim Evins [Sun, 21 Oct 2007 16:04:28 +0000 (16:04 +0000)]
Removing xv detritus.

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

16 years agoInitial checkin of website.
Jim Evins [Sun, 21 Oct 2007 15:56:43 +0000 (15:56 +0000)]
Initial checkin of website.

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

16 years ago2007-10-21 Jim Evins <evins@snaught.com>
Jim Evins [Sun, 21 Oct 2007 05:45:28 +0000 (05:45 +0000)]
2007-10-21  Jim Evins  <evins@snaught.com>

* data/glade/wdgt-media-select.glade:
* src/wdgt-media-select.c:
Added brand to filter settings.

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

16 years ago2007-10-21 Jim Evins <evins@snaught.com>
Jim Evins [Sun, 21 Oct 2007 04:06:23 +0000 (04:06 +0000)]
2007-10-21  Jim Evins  <evins@snaught.com>

* data/dtd/glabels-2.2.dtd:
Forgot to replace Alias name attribute with brand and part attributes.
* data/templates/avery-iso-templates.xml:
* data/templates/avery-other-templates.xml:
* data/templates/avery-us-templates.xml:
* data/templates/misc-iso-templates.xml:
* data/templates/misc-other-templates.xml:
* data/templates/misc-us-templates.xml:
* data/templates/zweckform-iso-templates.xml:
Replaced all name attributes with brand/part attribute pairs.

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

16 years ago2007-10-20 Jim Evins <evins@snaught.com>
Jim Evins [Sun, 21 Oct 2007 02:25:48 +0000 (02:25 +0000)]
2007-10-20  Jim Evins  <evins@snaught.com>

* src/stock-pixmaps/*.png
Updated icons to use Tango color palette.

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

16 years ago2007-10-20 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 20 Oct 2007 22:02:40 +0000 (22:02 +0000)]
2007-10-20  Jim Evins  <evins@snaught.com>

* data/dtd/Makefile.am:
* data/dtd/glabels-2.0.dtd:
* data/dtd/glabels-2.2.dtd:
Rename glabels-2.0.dtd to glabels-2.2.dtd.  Added brand and part attributes to
template node.
* libglabels/template.c:
* libglabels/template.h:
* libglabels/xml-template.c:
* libglabels/xml.h:
Added brand and part attributes to template and alias structures and nodes.
* src/file.c:
* src/label.c:
* src/mini-preview-pixbuf-cache.c:
* src/template-designer.c:
* src/wdgt-media-select.c:
Use modified libglabels API.
* docs/libglabels/libglabels-decl-list.txt:
* docs/libglabels/libglabels-sections.txt:
* docs/libglabels/libglabels-undocumented.txt:
* docs/libglabels/tmpl/template-construction.sgml:
* docs/libglabels/tmpl/template-db.sgml:
* docs/libglabels/tmpl/template-struct.sgml:
Update libglabels documentation to reflect above modifications.

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

16 years ago2007-10-14 Jim Evins <evins@snaught.com>
Jim Evins [Mon, 15 Oct 2007 03:12:42 +0000 (03:12 +0000)]
2007-10-14  Jim Evins  <evins@snaught.com>

* docs/libglabels/libglabels-decl-list.txt:
* docs/libglabels/libglabels-sections.txt:
* docs/libglabels/libglabels-undocumented.txt:
* docs/libglabels/tmpl/category.sgml:
* libglabels/category.c:
* libglabels/category.h:
Added lgl_category_get_id_list() and lgl_category_free_id_list() to have
parity with paper functions.

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

16 years ago2007-10-12 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 13 Oct 2007 03:46:14 +0000 (03:46 +0000)]
2007-10-12  Jim Evins  <evins@snaught.com>

* docs/libglabels/libglabels-decl-list.txt:
* docs/libglabels/libglabels-sections.txt:
* docs/libglabels/libglabels-undocumented.txt:
* docs/libglabels/tmpl/category.sgml:
* docs/libglabels/tmpl/enums.sgml:
* docs/libglabels/tmpl/libglabels-unused.sgml:
* docs/libglabels/tmpl/paper.sgml:
* docs/libglabels/tmpl/template-struct.sgml:
* libglabels/init.c:
* libglabels/template.c:
* libglabels/template.h:
Another pass at fleshing out the libglabels documentation.
* src/cairo-label-path.c:
* src/cairo-markup-path.c:
* src/label.c:
* src/mini-preview-pixbuf.c:
* src/print-op.c:
* src/print.c:
* src/view.c:
* src/wdgt-media-select.c:
* src/wdgt-mini-preview.c:
* src/wdgt-print-copies.c:
* src/wdgt-print-merge.c:
* src/wdgt-rotate-label.c:
Removed lgl_template_get_first_frame() from libglabels API and all references.

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

16 years ago2007-10-11 Jim Evins <evins@snaught.com>
Jim Evins [Fri, 12 Oct 2007 03:08:56 +0000 (03:08 +0000)]
2007-10-11  Jim Evins  <evins@snaught.com>
* configure.in:
Extended checks for deprecated symbols.
* libglabels/template.c:
Removed g_strcasecmp references, which are deprecated.

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

16 years ago2007-10-09 Jim Evins <evins@snaught.com>
Jim Evins [Wed, 10 Oct 2007 02:15:17 +0000 (02:15 +0000)]
2007-10-09  Jim Evins  <evins@snaught.com>

* src/merge-evolution.c:
Create address book if it does not exist.  Also, be more robust about handling
error conditions -- don't just assume GError has been set.

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

16 years ago2007-10-08 Jim Evins <evins@snaught.com>
Jim Evins [Mon, 8 Oct 2007 04:55:47 +0000 (04:55 +0000)]
2007-10-08  Jim Evins  <evins@snaught.com>

* libglabels/template.c:
* libglabels/xml-template.c:
* src/template-designer.c:
Missed some symbols with libglabels API work

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

16 years ago2007-10-01 Jim Evins <evins@snaught.com>
Jim Evins [Tue, 2 Oct 2007 03:05:06 +0000 (03:05 +0000)]
2007-10-01  Jim Evins  <evins@snaught.com>

* docs/libglabels/libglabels-decl-list.txt:
* docs/libglabels/libglabels-docs.sgml:
* docs/libglabels/libglabels-sections.txt:
* docs/libglabels/libglabels-undocumented.txt:
* docs/libglabels/tmpl/category.sgml:
* docs/libglabels/tmpl/enums.sgml:
* docs/libglabels/tmpl/init.sgml:
* docs/libglabels/tmpl/libglabels-unused.sgml:
* docs/libglabels/tmpl/paper.sgml:
* docs/libglabels/tmpl/template-construction.sgml:
* docs/libglabels/tmpl/template-db.sgml:
* docs/libglabels/tmpl/template-misc.sgml:
* docs/libglabels/tmpl/template-struct.sgml:
* docs/libglabels/tmpl/template.sgml:
* docs/libglabels/tmpl/xml-category.sgml:
* docs/libglabels/tmpl/xml-template.sgml:
* libglabels/category.h:
* libglabels/init.c:
* libglabels/libglabels-private.h:
* libglabels/paper.h:
* libglabels/template.c:
* libglabels/template.h:
* libglabels/xml-template.h:
Basic documentation framework for libglabels updated.  This still needs some
fleshing out.

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

16 years ago2007-09-27 Jim Evins <evins@snaught.com>
Jim Evins [Thu, 27 Sep 2007 04:11:18 +0000 (04:11 +0000)]
2007-09-27  Jim Evins  <evins@snaught.com>

* docs/libglabels/libglabels-decl-list.txt:
* docs/libglabels/libglabels-docs.sgml:
* docs/libglabels/libglabels-sections.txt:
* docs/libglabels/libglabels-undocumented.txt:
* docs/libglabels/tmpl/enums.sgml:
* docs/libglabels/tmpl/init.sgml:
* docs/libglabels/tmpl/libglabels-unused.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:
* libglabels/Makefile.am:
* libglabels/category.c:
* libglabels/category.h:
* libglabels/enums.h:
* libglabels/init.c:
* libglabels/init.h:
* libglabels/libglabels-private.h:
* libglabels/libglabels.h:
* libglabels/paper.c:
* libglabels/paper.h:
* libglabels/template.c:
* libglabels/template.h:
* libglabels/xml-category.c:
* libglabels/xml-category.h:
* libglabels/xml-paper.c:
* libglabels/xml-paper.h:
* libglabels/xml-template.c:
* libglabels/xml-template.h:
* libglabels/xml.c:
* libglabels/xml.h:
* src/cairo-label-path.c:
* src/cairo-label-path.h:
* src/cairo-markup-path.c:
* src/cairo-markup-path.h:
* src/file.c:
* src/glabels-batch.c:
* src/glabels.c:
* src/label-object.c:
* src/label.c:
* src/label.h:
* src/mini-preview-pixbuf-cache.c:
* src/mini-preview-pixbuf.c:
* src/mini-preview-pixbuf.h:
* src/prefs-dialog.c:
* src/prefs-model.c:
* src/prefs-model.h:
* src/prefs.c:
* src/prefs.h:
* src/print-op.c:
* src/print.c:
* src/template-designer.c:
* src/view-barcode.c:
* src/view-box.c:
* src/view-ellipse.c:
* src/view-image.c:
* src/view-line.c:
* src/view.c:
* src/wdgt-media-select.c:
* src/wdgt-mini-preview.c:
* src/wdgt-mini-preview.h:
* src/wdgt-print-copies.c:
* src/wdgt-print-merge.c:
* src/wdgt-rotate-label.c:
* src/xml-label-04.c:
* src/xml-label.c:
Major cleanup of libglabels API -- this breaks API compatibility with older
development and stable versions -- as far as I know, there are currently
no external users of this library yet.

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

16 years ago2007-09-14 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 15 Sep 2007 02:02:57 +0000 (02:02 +0000)]
2007-09-14  Jim Evins  <evins@snaught.com>

* src/marshal.list:
* src/label.c:
* src/label.h:
* src/label-object.c:
* src/label-object.h:
* src/label-barcode.c:
* src/label-ellipse.c:
* src/view.c:
* src/view-object.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:
Better separation of model from view.

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

16 years ago2007-08-21 Jim Evins <evins@snaught.com>
Jim Evins [Wed, 22 Aug 2007 03:04:39 +0000 (03:04 +0000)]
2007-08-21  Jim Evins  <evins@snaught.com>

* src/print-op.c: (create_custom_widget_cb):
Fix problem with force_outline_flag -- don't override with default.

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

16 years ago2007-08-21 Jim Evins <evins@snaught.com>
Jim Evins [Wed, 22 Aug 2007 01:58:53 +0000 (01:58 +0000)]
2007-08-21  Jim Evins  <evins@snaught.com>

* data/dtd/glabels-2.0.dtd:
* libglabels/template.c:
* libglabels/template.h:
* libglabels/xml-template.c:
* src/cairo-markup-path.c:
Added "Markup-rect" element to template format.

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

16 years ago2007-08-21 Jim Evins <evins@snaught.com>
Jim Evins [Wed, 22 Aug 2007 01:07:35 +0000 (01:07 +0000)]
2007-08-21  Jim Evins  <evins@snaught.com>

* configure.in:
Changed version to 2.1.pre5svn.
* src/view.c: (draw_markup_layer):
Do a stroke for each markup path, otherwise multiple markups
get connected.

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

16 years ago2007-08-17 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 18 Aug 2007 01:15:57 +0000 (01:15 +0000)]
2007-08-17  Jim Evins  <evins@snaught.com>

* configure.in:
Bump libglabels revision numbers for 2.1.4 release.

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

16 years ago2007-08-16 Jim Evins <evins@snaught.com>
Jim Evins [Fri, 17 Aug 2007 03:22:55 +0000 (03:22 +0000)]
2007-08-16  Jim Evins  <evins@snaught.com>

* Makefile.am:
Include subdir iec16022-0.2.1.
* NEWS:
* configure.in:
* glabels.spec.in:
Preparation for 2.1.4.

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

16 years ago2007-08-11 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 11 Aug 2007 22:03:25 +0000 (22:03 +0000)]
2007-08-11  Jim Evins  <evins@snaught.com>

* po/POTFILES.in:
Updated file list.
* configure.in:
* po/eo.po:
Added Esperanto translation.  Provided by Antonio C.
Codazzi "la Filozofo" <f_sophia@libero.it>.
* po/fr.po:
Updated French translation. Provided by Claude Paroz
<claude@2xlibre.net>.
* AUTHORS:
Updated to reflect above translations.

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

16 years ago2007-08-11 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 11 Aug 2007 21:10:48 +0000 (21:10 +0000)]
2007-08-11  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/misc-other-templates.xml:
* data/templates/misc-us-templates.xml:
* data/templates/zweckform-iso-templates.xml:
Caught up with backlog of template submissions.

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

16 years ago2007-08-10 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 11 Aug 2007 03:08:52 +0000 (03:08 +0000)]
2007-08-10  Jim Evins  <evins@snaught.com>

* src/bc-postnet.c: (gl_barcode_postnet_new):
* src/bc.c:
Added support for Brazilian CEPNet barcodes.  This is simply an
instance of the US POSTNET format with 8 digits.  Patch supplied
by Mário Meyer in bug # 1768792.
* AUTHORS:
Updated acknowledgments to reflect above patch and recent shuffling
of underlying technology.

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

16 years agoSome updates to TODO.
Jim Evins [Fri, 10 Aug 2007 02:03:57 +0000 (02:03 +0000)]
Some updates to TODO.

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

17 years ago2007-05-13 Jim Evins <evins@snaught.com>
Jim Evins [Sun, 13 May 2007 23:38:05 +0000 (23:38 +0000)]
2007-05-13  Jim Evins  <evins@snaught.com>

* src/merge-text.c: (parse_line), (parse_field):
Remove leading and trailing spaces from CSV fields, unless quoted.

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

17 years ago2007-05-09 Jim Evins <evins@snaught.com>
Jim Evins [Thu, 10 May 2007 02:57:52 +0000 (02:57 +0000)]
2007-05-09  Jim Evins  <evins@snaught.com>

* src/object-editor-bc-page.c:
* src/object-editor-data-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-shadow-page.c:
* src/object-editor-size-page.c:
* src/object-editor-text-page.c:
* src/object-editor.c:
* src/prefs-dialog.c:
* src/template-designer.c:
* src/ui-property-bar.c:
* src/wdgt-media-select.c:
Replaced signal block/unblock pairs with simple flags.  This reduces
some code clutter, hopefully making it easier to read.

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

17 years ago2007-05-05 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 5 May 2007 18:05:32 +0000 (18:05 +0000)]
2007-05-05  Jim Evins  <evins@snaught.com>

* src/template-designer.c: (apply_cb):
Add new template to mini-preview pixbuf cache.

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

17 years ago2007-05-03 Jim Evins <evins@snaught.com>
Jim Evins [Thu, 3 May 2007 21:33:24 +0000 (21:33 +0000)]
2007-05-03  Jim Evins  <evins@snaught.com>

* src/label-image.c: (gl_label_image_init), (draw_object):
Scale default pixbuf up, to prevent bluring.  Use cairo_fill to
render image.

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

17 years ago2007-05-02 Jim Evins <evins@snaught.com>
Jim Evins [Thu, 3 May 2007 01:47:24 +0000 (01:47 +0000)]
2007-05-02  Jim Evins  <evins@snaught.com>

* src/view.c: (draw_select_region_layer), (motion_notify_event_cb),
(button_release_event_cb):
Removed attempt at rendering optimization by clipping the updates
to areas affected -- this actually seemed to hurt update performance.

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

17 years ago2007-04-30 Jim Evins <evins@snaught.com>
Jim Evins [Tue, 1 May 2007 03:29:27 +0000 (03:29 +0000)]
2007-04-30  Jim Evins  <evins@snaught.com>

* src/color.h:
* src/color.c: (gl_color_shadow), (gl_color_node_new_default),
(gl_color_node_equal), (gl_color_node_expand):
* src/label-barcode.c: (draw_object):
* src/label-box.c: (draw_object), (draw_shadow):
* src/label-ellipse.c: (draw_object), (draw_shadow):
* src/label-line.c: (draw_object), (draw_shadow):
* src/label-text.c: (draw_object), (draw_shadow):
* src/wdgt-mini-preview.c: (draw_shadow), (draw_labels):
* src/wdgt-rotate-label.c: (drawingarea_update):
Some cleanup to color related code.

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

17 years ago2007-04-30 Jim Evins <evins@snaught.com>
Jim Evins [Tue, 1 May 2007 01:18:50 +0000 (01:18 +0000)]
2007-04-30  Jim Evins  <evins@snaught.com>

* src/label.h:
Added glLabelRegion structure type.
* src/label-object.c: (gl_label_object_get_extent):
* src/label-object.h:
Modified gl_label_object_get_extent() to fill in a glLabelRegion struct.
* src/view.h:
* src/view.c: (gl_view_update_region), (draw_select_region_layer),
(gl_view_select_region), (gl_view_align_selection_left),
(gl_view_align_selection_right), (gl_view_align_selection_hcenter),
(gl_view_align_selection_top), (gl_view_align_selection_bottom),
(gl_view_align_selection_vcenter),
(gl_view_center_selection_horiz), (gl_view_center_selection_vert),
(gl_view_move_selection), (gl_view_can_selection_text),
(motion_notify_event_cb), (button_press_event_cb),
(button_release_event_cb):
- Reconcile with new gl_label_object_get_extent() API.
- Use glLabelRegion for view->select_region.
- Added gl_view_update_region() to clip updates to region.
- Use gl_view_update_region() during manipulation of view->select_region.

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

17 years ago2007-04-26 Jim Evins <evins@snaught.com>
Jim Evins [Fri, 27 Apr 2007 02:17:18 +0000 (02:17 +0000)]
2007-04-26  Jim Evins  <evins@snaught.com>

* src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
(draw_label_outline):
* src/print.c: (print_crop_marks), (draw_outline):
* src/view-object.c: (gl_view_object_draw_handles):
* src/view.c: (draw_bg_layer), (draw_grid_layer),
(draw_markup_layer), (draw_fg_layer), (draw_select_region_layer):
* src/wdgt-mini-preview.c: (draw_paper), (draw_labels):
* src/wdgt-rotate-label.c: (drawingarea_update):
Added defines for various magic numbers.

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

17 years ago2007-04-25 Jim Evins <evins@snaught.com>
Jim Evins [Thu, 26 Apr 2007 02:56:06 +0000 (02:56 +0000)]
2007-04-25  Jim Evins  <evins@snaught.com>

* src/label-text.c: (get_size), (draw_object), (draw_shadow):
Scale text down.  Cairo seems to render text too large.

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

17 years ago2007-04-25 Jim Evins <evins@snaught.com>
Jim Evins [Wed, 25 Apr 2007 22:59:05 +0000 (22:59 +0000)]
2007-04-25  Jim Evins  <evins@snaught.com>

* src/view.h:
* src/view.c: (gl_view_update), (expose_cb),
(motion_notify_event_cb), (button_press_event_cb),
(button_release_event_cb):
- Try not to let updates get backed up.
- Grab pointer when doing any drag operations.

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

17 years ago2007-04-11 Jim Evins <evins@snaught.com>
Jim Evins [Thu, 12 Apr 2007 02:27:48 +0000 (02:27 +0000)]
2007-04-11  Jim Evins  <evins@snaught.com>

* src/cairo-label-path.c: (gl_cairo_label_path),
(gl_cairo_rect_label_path), (gl_cairo_round_label_path),
(gl_cairo_cd_label_path):
* src/cairo-label-path.h:
* src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
(draw_label_outline):
* src/print.c: (draw_outline), (clip_to_outline):
* src/view.c: (draw_bg_layer), (draw_fg_layer):
* src/wdgt-mini-preview.c: (draw_labels):
* src/wdgt-rotate-label.c: (drawingarea_update):
Modified to universally use gl_cairo_label_path() to create paths
for labels.  Added shadow to mini preview in rotate widget.

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

17 years ago2007-04-10 Jim Evins <evins@snaught.com>
Jim Evins [Tue, 10 Apr 2007 14:42:24 +0000 (14:42 +0000)]
2007-04-10  Jim Evins  <evins@snaught.com>

* libglabels/template.h:
* libglabels/template.c: (gl_template_get_name_list_unique),
(gl_template_get_name_list_all), (gl_template_from_name):
Modified libglabels to allow you to get a list of all template names
including all aliases or just a list of primary names of each unique
template.
* src/Makefile.am:
* src/file.c: (gl_file_properties):
* src/glabels.c: (main):
* src/mini-preview-pixbuf-cache.h:
* src/mini-preview-pixbuf-cache.c:
* src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
(filter_changed_cb), (load_list):
Added mini-preview pixbuf cache, so that only one mini-preview is
needed for a unique template and gets reused for all aliases.  These
pixbufs will also live for the life of the program so they are not
rebuilt everytime a new label dialog is invoked.
* src/mini-preview-pixbuf.c: (draw_paper),
(draw_rect_label_outline), (draw_round_label_outline),
(draw_cd_label_outline):
Removed some comment artifacts.

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

17 years ago2007-04-04 Jim Evins <evins@snaught.com>
Jim Evins [Thu, 5 Apr 2007 03:16:38 +0000 (03:16 +0000)]
2007-04-04  Jim Evins  <evins@snaught.com>

* src/mini-preview-pixbuf.c: (gl_mini_preview_pixbuf_new),
(draw_paper), (draw_label_outlines), (draw_rect_label_outline),
(draw_round_label_outline), (draw_cd_label_outline):
* src/wdgt-media-select.c: (load_list):
* src/wdgt-rotate-label.c: (draw_cd_label_outline):
Cosmetic enhancments to mini previews.

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

17 years ago2007-04-04 Jim Evins <evins@snaught.com>
Jim Evins [Thu, 5 Apr 2007 01:48:09 +0000 (01:48 +0000)]
2007-04-04  Jim Evins  <evins@snaught.com>

* src/ui-property-bar.c: (gl_ui_property_bar_finalize),
(gl_ui_property_bar_construct):
Save copy of GladeXML tree so that we don't lose tooltips.

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

17 years ago2007-04-02 Jim Evins <evins@snaught.com>
Jim Evins [Tue, 3 Apr 2007 01:13:20 +0000 (01:13 +0000)]
2007-04-02  Jim Evins  <evins@snaught.com>

* src/merge-properties-dialog.c:
* src/new-label-dialog.c:
* src/object-editor.c:
* src/prefs-dialog.c:
* src/print-op.c:
* src/template-designer.c:
* src/ui-property-bar.c:
* src/wdgt-media-select.c:
* src/wdgt-rotate-label.c:
Fixed several memory leaks.

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

17 years ago2007-04-01 Jim Evins <evins@snaught.com>
Jim Evins [Mon, 2 Apr 2007 03:14:21 +0000 (03:14 +0000)]
2007-04-01  Jim Evins  <evins@snaught.com>

* src/label-text.c: (gl_label_text_init), (copy),
(gl_label_text_set_lines), (buffer_changed_cb), (get_size),
(set_font_family), (set_font_size), (set_font_weight),
(set_font_italic_flag), (set_text_alignment),
(set_text_line_spacing):
Cache object size, so that expensive extent calculations are only done
when needed.

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

17 years ago2007-03-30 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 31 Mar 2007 03:13:18 +0000 (03:13 +0000)]
2007-03-30  Jim Evins  <evins@snaught.com>

* src/prefs-model.c: (gl_prefs_model_load_settings):
Default to an unlimited list of recent documents, since this parameter
seems to be pre-filter anyway.

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

17 years ago2007-03-30 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 31 Mar 2007 00:51:43 +0000 (00:51 +0000)]
2007-03-30  Jim Evins  <evins@snaught.com>

* src/label-box.c: (draw_shadow):
* src/label-ellipse.c: (draw_shadow):
Added missing shadow fill.

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

17 years ago2007-03-28 Jim Evins <evins@snaught.com>
Jim Evins [Thu, 29 Mar 2007 02:47:06 +0000 (02:47 +0000)]
2007-03-28  Jim Evins  <evins@snaught.com>

* src/ui-commands.c: (gl_ui_cmd_file_print):
Unreferencing the print operation sometimes crashes.  Just don't do it
right now.

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

17 years ago2007-03-28 Jim Evins <evins@snaught.com>
Jim Evins [Thu, 29 Mar 2007 02:31:25 +0000 (02:31 +0000)]
2007-03-28  Jim Evins  <evins@snaught.com>

* src/print-op.c: (gl_print_op_construct),
(gl_print_op_get_settings), (gl_print_op_set_settings),
(gl_print_op_free_settings), (create_custom_widget_cb):
* src/print-op.h:
* src/ui-commands.c: (gl_ui_cmd_file_print):
* src/window.c: (gl_window_init):
* src/window.h:
Save print settings and custom settings between print operations
on the same window.

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

17 years ago2007-03-24 Jim Evins <evins@snaught.com>
Jim Evins [Sun, 25 Mar 2007 01:18:32 +0000 (01:18 +0000)]
2007-03-24  Jim Evins  <evins@snaught.com>

* src/object-editor-image-page.c:
(gl_object_editor_prepare_image_page),
(gl_object_editor_set_image), (img_selection_changed_cb):
Workaround for GtkFileChooserButton bug # 327243.  This the root
cause for gLabels bug # 1192884.  I have actually observed 3 delayed
"selection-changed" signals -- the first 2 return NULL -- this is
what caused the image to reset to the default followed by setting
it back to the original image, trying to fit it into a new bounding
box.  This sequence of events is much more evident with the new
cairo rendering.

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

17 years ago2007-03-23 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 24 Mar 2007 02:23:36 +0000 (02:23 +0000)]
2007-03-23  Jim Evins  <evins@snaught.com>

Merged all changes from experimental cairo branch to trunk.
Trunk no longer depends on libgnomecanvas or libgnomeprint[ui].

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

17 years ago2007-02-18 Jim Evins <evins@snaught.com>
Jim Evins [Sun, 18 Feb 2007 18:39:41 +0000 (18:39 +0000)]
2007-02-18  Jim Evins  <evins@snaught.com>

* src/bc.h:
GNOME_FONT_BOOK changed to PANGO_WEIGHT_NORMAL.

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

17 years ago2007-02-14 Jim Evins <evins@snaught.com>
Jim Evins [Wed, 14 Feb 2007 18:16:46 +0000 (18:16 +0000)]
2007-02-14  Jim Evins  <evins@snaught.com>

* src/base64.c:
* src/base64.h:
* src/bc-gnubarcode.c:
* src/bc-gnubarcode.h:
* src/bc-postnet.c:
* src/bc-postnet.h:
* src/bc.c:
* src/bc.h:
* src/canvas-hacktext.c:
* src/canvas-hacktext.h:
* src/debug.c:
* src/debug.h:
* src/file.c:
* src/file.h:
* src/glabels.c:
* src/hig.h:
* src/label-barcode.c:
* src/label-barcode.h:
* src/label-box.c:
* src/label-box.h:
* src/label-ellipse.c:
* src/label-ellipse.h:
* src/label-image.c:
* src/label-image.h:
* src/label-line.c:
* src/label-line.h:
* src/label-object.c:
* src/label-object.h:
* src/label-text.c:
* src/label-text.h:
* src/label.c:
* src/label.h:
* src/merge-evolution.c:
* src/merge-evolution.h:
* src/merge-init.c:
* src/merge-init.h:
* src/merge-properties-dialog.c:
* src/merge-properties-dialog.h:
* src/merge-text.c:
* src/merge-text.h:
* src/merge-vcard.c:
* src/merge-vcard.h:
* src/merge.c:
* src/merge.h:
* src/mini-preview-pixbuf.h:
* src/new-label-dialog.c:
* src/new-label-dialog.h:
* 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.c:
* src/pixbuf-cache.h:
* src/prefs-dialog.c:
* src/prefs-dialog.h:
* src/prefs-model.c:
* src/prefs-model.h:
* src/prefs.c:
* src/prefs.h:
* src/print-op.c:
* src/stock.c:
* src/stock.h:
* src/template-designer.c:
* src/text-node.c:
* src/text-node.h:
* src/ui-commands.c:
* src/ui-commands.h:
* src/ui-property-bar.c:
* src/ui-property-bar.h:
* src/ui-sidebar.c:
* src/ui-sidebar.h:
* src/ui-util.c:
* src/ui-util.h:
* src/ui.c:
* src/ui.h:
* src/util.c:
* src/util.h:
* src/view-barcode.c:
* src/view-barcode.h:
* src/view-box.c:
* src/view-box.h:
* src/view-ellipse.c:
* src/view-ellipse.h:
* src/view-highlight.c:
* src/view-highlight.h:
* src/view-image.c:
* src/view-image.h:
* src/view-line.c:
* src/view-line.h:
* src/view-object.c:
* src/view-object.h:
* src/view-text.c:
* src/view-text.h:
* src/view.c:
* src/view.h:
* src/wdgt-chain-button.c:
* src/wdgt-chain-button.h:
* src/wdgt-media-select.c:
* src/wdgt-mini-preview.c:
* 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/window.h:
* src/xml-label-04.c:
* src/xml-label-04.h:
* src/xml-label-191.c:
* src/xml-label-191.h:
* src/xml-label.c:
* src/xml-label.h:

Assorted superficial cleanup.  Including:
- Use G_DEFINE_TYPE for all objects.
- Reconcile style of all class initializer functions
- Reconcile style of all finalize functions
- Add emacs mode line to all source files

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

17 years ago2007-02-06 Jim Evins <evins@snaught.com>
Jim Evins [Wed, 7 Feb 2007 03:31:11 +0000 (03:31 +0000)]
2007-02-06  Jim Evins  <evins@snaught.com>

Assorted cleanup and removal of deprecated items.

* src/splash.c:
* src/splash.h:
* src/Makefile.am:
Removed annoying splash screen.
* src/glabels-batch.c: (main):
* src/glabels.c: (main):
Converted from popt to GOption.
* src/object-editor-shadow-page.c:
(gl_object_editor_set_shadow_state):
Removed deprecated method on GtkToggleButton.
* src/ui-commands.c: (gl_ui_cmd_help_about):
Removed dependency on libgnomui/qnome-url.h.
* src/template-designer.c:
Removed dependency on libgnome/gnome-program.h.

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

17 years ago2007-02-04 Jim Evins <evins@snaught.com>
Jim Evins [Mon, 5 Feb 2007 03:45:58 +0000 (03:45 +0000)]
2007-02-04  Jim Evins  <evins@snaught.com>

* src/color.c:
* src/color.h:
* src/prefs-model.c:
* src/print.c: (draw_text_object):
* src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_construct):
Removed GnomeCanvas artifacts from color.[ch] and related modules.

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

17 years ago2007-02-04 Jim Evins <evins@snaught.com>
Jim Evins [Mon, 5 Feb 2007 03:16:28 +0000 (03:16 +0000)]
2007-02-04  Jim Evins  <evins@snaught.com>

* src/wdgt-mini-preview.c:
* src/wdgt-mini-preview.h:
Ported widget from GnomeCanvas to Cairo.

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

17 years ago2007-02-03 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 3 Feb 2007 19:26:07 +0000 (19:26 +0000)]
2007-02-03  Jim Evins  <evins@snaught.com>

* data/glade/template-designer.glade:
* src/template-designer.c:
* src/template-designer.h:
Ported GnomeDruid to GtkAssistant.  Since libglade does not
yet support the GtkAssistant and we derive directly from
the Assistant, the pages are layed out in a GtkNotebook in
the glade description -- we then append each page to the
assistant.

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

17 years ago2007-01-25 Jim Evins <evins@snaught.com>
Jim Evins [Fri, 26 Jan 2007 00:31:34 +0000 (00:31 +0000)]
2007-01-25  Jim Evins  <evins@snaught.com>

* data/glade/object-editor.glade:
Added dummy page to notebook, to prevent shadow page from
becoming the default current page at creation.
* src/view-box.c: (construct_properties_editor):
* src/view-ellipse.c: (construct_properties_editor):
* src/view-line.c: (construct_properties_editor):
* src/view-text.c: (construct_properties_editor):
Reconciled order of params.

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

17 years ago2007-01-19 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 20 Jan 2007 04:52:11 +0000 (04:52 +0000)]
2007-01-19  Jim Evins  <evins@snaught.com>

* src/label-barcode.h:
* src/label-object.c: (gl_label_object_set_font_weight),
(gl_label_object_set_text_alignment),
(gl_label_object_get_font_weight),
(gl_label_object_get_text_alignment):
* src/label-object.h:
* src/label-text.c: (gl_label_text_instance_init), (copy),
(get_size), (set_font_family), (set_font_weight),
(set_text_alignment), (get_font_weight), (get_text_alignment):
* src/label-text.h:
* src/object-editor-text-page.c:
(gl_object_editor_prepare_text_page),
(gl_object_editor_set_font_family),
(gl_object_editor_set_font_weight),
(gl_object_editor_get_font_weight),
(gl_object_editor_set_text_alignment),
(gl_object_editor_get_text_alignment),
(gl_object_editor_set_text_color):
* src/object-editor.h:
* src/prefs-dialog.c: (construct_object_page),
(update_object_page_from_prefs), (update_prefs_from_object_page):
* src/prefs-model.c: (gl_prefs_model_save_settings),
(gl_prefs_model_load_settings):
* src/prefs-model.h:
* src/print.c: (draw_text_object):
* src/ui-property-bar.c: (gl_ui_property_bar_construct),
(reset_to_default_properties), (update_text_properties),
(font_bold_toggled_cb), (text_align_toggled_cb):
* src/ui-sidebar.c:
* src/util.c: (gl_util_align_to_string), (gl_util_string_to_align),
(gl_util_weight_to_string), (gl_util_string_to_weight),
(gl_util_get_font_family_list), (gl_util_font_family_list_free):
* src/util.h:
* src/view-text.c: (update_object_from_editor_cb),
(update_editor_from_object_cb), (draw_hacktext), (draw_cursor):
* src/view.c: (gl_view_set_selection_text_alignment),
(gl_view_set_default_text_alignment),
(gl_view_get_default_text_alignment):
* src/view.h:
* src/xml-label-04.c: (xml04_parse_text_props):
* src/xml-label-191.c: (xml191_parse_text_props):
* src/xml-label.c: (xml_parse_object_text),
(xml_parse_toplevel_span), (xml_create_object_text),
(xml_create_toplevel_span):
Converted all model internals to Pango.  GnomeFont remains in
view until GnomeCanvas can be replaced with a cairo-based canvas.

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