Jim Evins [Mon, 18 May 2009 03:33:09 +0000 (03:33 +0000)]
2009-05-17 Jim Evins <evins@snaught.com>
* Makefile.am:
* configure.in:
* help/C/glabels-C.omf:
* help/C/glabels.xml:
* help/Makefile.am:
* po/de.po:
Updated german translation, gnome-doc-utils support and
german translation of glabels manual (Mario Blättermann).
Jim Evins [Thu, 30 Apr 2009 01:47:43 +0000 (01:47 +0000)]
2009-04-29 Jim Evins <evins@purple>
* data/templates/avery-iso-templates.xml:
* data/templates/misc-iso-templates.xml:
* data/templates/misc-us-templates.xml:
Caught up on user submitted templates.
* AUTHORS:
Acknowledgements for above templates.
Jim Evins [Sun, 28 Dec 2008 03:01:26 +0000 (03:01 +0000)]
2008-12-27 Jim Evins <evins@snaught.com>
* de.po:
Updated german translation (Mario Blättermann)
* AUTHORS:
Updated credits to reflect above translation.
* data/builder/object-editor.glade:
* data/builder/prefs-dialog.glade:
* data/builder/template-designer.glade:
Removed "translatable" attribute from whitespace strings,
which are used only to help layout.
Jim Evins [Fri, 19 Dec 2008 03:11:15 +0000 (03:11 +0000)]
2008-12-18 Jim Evins <evins@snaught.com>
* src/view.c: (selection_received_cb):
Fixed paste bug that caused a duplicate phantom view_object to be created for
each new label_object. This is because the view now (as of r673) the view
monitiors the label for new objects and creates view_objects automatically.
Jim Evins [Sun, 16 Nov 2008 04:02:33 +0000 (04:02 +0000)]
2008-11-15 Jim Evins <evins@snaught.com>
* libglabels/db.c: (lgl_db_register_template):
* libglabels/xml-template.c:
(lgl_xml_template_parse_template_node):
* src/glabels-batch.c:
* src/view-text.c: (gl_view_text_create_button_press_event):
Fixed several issues such as possible use of uninitialized variables found with "-O1 -Wall".
Jim Evins [Tue, 28 Oct 2008 03:50:48 +0000 (03:50 +0000)]
2008-10-27 Jim Evins <evins@snaught.com>
* data/templates/avery-us-templates.xml:
* data/templates/misc-iso-templates.xml:
* data/templates/zweckform-iso-templates.xml:
Caught up on user submitted templates.
* AUTHORS:
Acknowledgements for above templates.
Jim Evins [Fri, 24 Oct 2008 03:30:36 +0000 (03:30 +0000)]
2008-10-23 Jim Evins <evins@snaught.com>
* src/label-text.c: (set_font_family):
* src/object-editor-text-page.c:
(gl_object_editor_prepare_text_page),
(gl_object_editor_set_font_family):
* src/prefs-dialog.c: (construct_object_page),
(update_object_page_from_prefs):
* src/ui-property-bar.c: (gl_ui_property_bar_construct),
(reset_to_default_properties):
* src/util.c: (gl_util_get_font_family_list):
* src/util.h:
Bug #1902275 and Bug #2186214. Cache font list so that it is not re-created
everytime the list is requested.
* src/object-editor-text-page.c:
(gl_object_editor_set_font_family):
Don't change font-family if it hasn't actually changed.
Jim Evins [Sun, 17 Aug 2008 19:10:04 +0000 (19:10 +0000)]
2008-08-17 Jim Evins <evins@snaught.com>
* data/dtd/glabels-2.2.dtd:
* data/templates/paper-sizes.xml:
* libglabels/db.c: (lgl_db_init):
* libglabels/paper.c: (lgl_paper_new), (lgl_paper_dup), (lgl_paper_free):
* libglabels/paper.h:
* libglabels/xml-paper.c: (lgl_xml_paper_parse_paper_node):
* src/print-op.c: (set_page_size):
Bug #2049431. Always explicitely set page size. Added pwg_size field (PWG 5101.1-2002
size specification) to the libglabels paper database to allow the page size to be
communicated to GtkPrintOp un-ambiguously.
Jim Evins [Sat, 5 Apr 2008 13:22:30 +0000 (13:22 +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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.