Jim Evins [Sun, 5 Dec 2010 20:49:14 +0000 (15:49 -0500)]
Cleanup of some documentation artifacts.
- Removed omf file from help/.
- Removed docs/libgl*/tmpl/libgl*-unused.sgml which are automatically generated.
- Removed documentation refs to lgl_db_get_template_list_unique() which has
been recently removed from libglabels.
- Updated .gitignore.
Jim Evins [Sun, 5 Dec 2010 04:09:19 +0000 (23:09 -0500)]
Search both ~/.glabels and ${XDG_CONFIG_HOME}/libglabels/templates.
Keep ~/.glabels as an alternate location for user defined templates. This
directory would hold manually created templates as well as template designer
templates from previous versions. The new template designer will manage
its templates in ${XDG_CONFIG_HOME}/libglabels/templates.
Jim Evins [Sat, 4 Dec 2010 04:18:55 +0000 (23:18 -0500)]
Add some selection slop to barcode and text objects
Add a 4 pixel slop area around barcode lines and text glyphs in object_at
methods of barcode and text objects. This will hopefully make selecting
these objects less frustrating while still allowing selection of background
objects through the negative space of these objects.
Jim Evins [Sat, 27 Nov 2010 02:27:25 +0000 (21:27 -0500)]
Fixed problem with creation of 1st barcode, again.
Previous fix only temporarily masked the problem. The problem is that
the first time the barcode tabs are made visible, the digits spin button
would emit a "changed" signal. The fix is to connect to the "value-changed"
signal instead.
This commit also includes replacing the stop_signals flag with explicit
signal blockers.
Jim Evins [Thu, 25 Nov 2010 21:23:12 +0000 (16:23 -0500)]
Remove deprecated alias node support for templates.
Removed support for the "Alias" node in templates. For backwards
compatibility alias nodes will be skipped over. This greatly simplifies
the iteration through the template database, since all templates are
fully realized.
Jim Evins [Thu, 25 Nov 2010 18:27:37 +0000 (13:27 -0500)]
Cleanup of template database.
- Alphabetized the templates in the misc-*-templates.xml files.
- Replaced the last of the deprecated "Alias" tags.
- Added TODO comments for questionable part #s and vendors.
Jim Evins [Sat, 20 Nov 2010 20:52:35 +0000 (15:52 -0500)]
Fixed problem with creation of 1st barcode.
A change signal is apparently being delayed until the actual widget is
being realized as a result of the gtk_widget_show of the object editor
notebook. The proper fix is to use actual signal blockers rather than
the simple "stop_signals" flag, since the flags assume callbacks are
always called inline rather than being called asynchronously.
Jim Evins [Fri, 19 Nov 2010 02:44:36 +0000 (21:44 -0500)]
Documentation cleanup.
Bug sf#3110768: duplicate choice in editprop.page.
Bug sf#3110794: incorrect wording in customize.page.
Bug sf#3110801: incorrect wording in customize.page.
Bug sf#3110918: docbook artifacts in link tags in createnew.page.
Bug sf#3110930: misplaced <credit></credit> tags in about.page.
Bug sf#3111019: spelling mistake in editprop.page.
Jim Evins [Mon, 1 Nov 2010 00:35:48 +0000 (20:35 -0400)]
Refinements to barcode objects
- Draw outline around barcode objects.
- Use a more sophisticated test for determining if cursor is on a barcode
object: test against lines and glyphs instead of simple bounds test. The
test will also indicate that cursor is on the object if it is on the
selection outline. Similar to text objects.
Jim Evins [Sat, 30 Oct 2010 21:37:37 +0000 (17:37 -0400)]
Refactored core barcode subsystem.
- Created new libglbarcode library
- Moved core barcode structure into library
- Moved cairo rendering of barcode into library
- Moved built-in barcodes to library
- Resurrected Code39 support (from wayback in glabels 0.1.x)