]> git.sur5r.net Git - glabels/log
glabels
14 years agoImproved centering of barcode text.
Jim Evins [Sat, 10 Jul 2010 05:38:48 +0000 (01:38 -0400)]
Improved centering of barcode text.

Don't try to calculate x offset using hardcoded fixed character width, which
does not work properly for proportional fonts.  Use the origin provided by
zint (wich is at the horizontal center) and use pango to calculate the offset
at render time.

14 years agoUpdate po files to allow me to push this branch.
Jim Evins [Sat, 10 Jul 2010 04:39:15 +0000 (00:39 -0400)]
Update po files to allow me to push this branch.

14 years agoAdded new barcode drawing primitives.
Jim Evins [Sat, 10 Jul 2010 03:20:11 +0000 (23:20 -0400)]
Added new barcode drawing primitives.

Added a "Box" and a "String" barcode drawing primitives.  The box primitive
should be more natural for drawing actual boxes instead of lines.  The string
primitive allows an entire string to be rendered with a single interaction with
pango and cairo, rather than an interaction for each character.  There is no
need to try to implement kerning since pango will take care of the string as
a single layout.

14 years agoFixed width behavior of object editor.
Jim Evins [Sat, 10 Jul 2010 03:15:30 +0000 (23:15 -0400)]
Fixed width behavior of object editor.

I had neglected to add the barcode page to the appropriate size group. Longer
names in the zint backend caused the style combobox to be the long pole in
the tent, causing the width of the object editor to fluctuate when selecting
and un-selecting barcode objects.

14 years agoRevert "Fix for batch output"
Jim Evins [Fri, 9 Jul 2010 03:09:03 +0000 (23:09 -0400)]
Revert "Fix for batch output"

This reverts commit 03d80812158823eb8ad7184d1c7629b64daaecb5.

14 years agoFix for batch output
Sam Lown [Thu, 8 Jul 2010 11:42:43 +0000 (13:42 +0200)]
Fix for batch output

14 years agoFreeing memory in xml and adding poor mans kerning to bc-zint
Sam Lown [Wed, 7 Jul 2010 19:58:48 +0000 (21:58 +0200)]
Freeing memory in xml and adding poor mans kerning to bc-zint

14 years agoUsing regexp to remove white space from text instead of detecting newlines in xml
Sam Lown [Wed, 7 Jul 2010 18:43:22 +0000 (20:43 +0200)]
Using regexp to remove white space from text instead of detecting newlines in xml

14 years agoGetting GS1-128 to behave as expected
Sam Lown [Wed, 7 Jul 2010 15:43:40 +0000 (17:43 +0200)]
Getting GS1-128 to behave as expected

14 years agoAdding Robin's changes for latest Zint
Sam Lown [Tue, 6 Jul 2010 13:50:29 +0000 (15:50 +0200)]
Adding Robin's changes for latest Zint

14 years agoProvides barcode even if invalid for correct sizing
Sam Lown [Sun, 13 Jun 2010 15:36:44 +0000 (17:36 +0200)]
Provides barcode even if invalid for correct sizing

14 years agoMinor alteration for GS1-128 length@
Sam Lown [Sat, 12 Jun 2010 00:56:36 +0000 (02:56 +0200)]
Minor alteration for GS1-128 length@

14 years agoUpdating for Zint strings and fixed dimensions
Sam Lown [Fri, 11 Jun 2010 17:43:25 +0000 (19:43 +0200)]
Updating for Zint strings and fixed dimensions

14 years agoAlterations to zint rendering
Sam Lown [Sun, 30 May 2010 17:33:37 +0000 (19:33 +0200)]
Alterations to zint rendering

14 years agoModified Zint support to use rendered data rather than encoded
Sam Lown [Sun, 30 May 2010 16:53:05 +0000 (18:53 +0200)]
Modified Zint support to use rendered data rather than encoded

14 years agoForwardporting changes for zint barcode support
Sam Lown [Mon, 17 May 2010 08:55:06 +0000 (10:55 +0200)]
Forwardporting changes for zint barcode support

14 years agoInitialize font-history subsystem in glabels-batch.
Jim Evins [Fri, 9 Jul 2010 00:36:31 +0000 (20:36 -0400)]
Initialize font-history subsystem in glabels-batch.

14 years ago[i18n] Updated German translation
Mario Blättermann [Wed, 7 Jul 2010 10:03:29 +0000 (12:03 +0200)]
[i18n] Updated German translation

14 years agoString cleanup.
Jim Evins [Wed, 7 Jul 2010 03:13:12 +0000 (23:13 -0400)]
String cleanup.

Removed pango markup from translatable strings.  Fixed word order assumption
with use of standalone "per sheet" string.

14 years agoFixed a few -Wall warnings.
Jim Evins [Wed, 7 Jul 2010 01:28:04 +0000 (21:28 -0400)]
Fixed a few -Wall warnings.

14 years ago[i18n] Updated German translation
Mario Blättermann [Sun, 4 Jul 2010 22:48:36 +0000 (00:48 +0200)]
[i18n] Updated German translation

14 years agoUpdated Slovenian translation
Andrej Žnidaršič [Sun, 4 Jul 2010 05:55:48 +0000 (07:55 +0200)]
Updated Slovenian translation

14 years agoAdd native support for SVG images.
Jim Evins [Sat, 3 Jul 2010 03:12:32 +0000 (23:12 -0400)]
Add native support for SVG images.

Rather than just rasterizing SVG files into GdkPixbufs, use RSVG to handle
SVG files directly -- preserving the original file as inline data.

14 years agoUpdated Spanish translation
Daniel Mustieles [Wed, 16 Jun 2010 06:08:21 +0000 (08:08 +0200)]
Updated Spanish translation

14 years agoAdd shadow property to image objects.
Jim Evins [Sun, 13 Jun 2010 00:40:24 +0000 (20:40 -0400)]
Add shadow property to image objects.

Added shadow support to image objects.  Shadow is created from the image's
alpha channel, so the shadow will work properly for images with transparent
backgrounds.  More work needs to be done to better optimize the performance.

14 years agoCleanup of shadows for boxes and ellipses.
Jim Evins [Sat, 12 Jun 2010 16:20:29 +0000 (12:20 -0400)]
Cleanup of shadows for boxes and ellipses.

Do a more intelligent job of drawing shadows for boxes and ellipses.  Instead
of just blindly drawing a fill shadow and an outline shadow, choose to draw
one or the other and adjust size of shadow appropriately.

14 years agoDo not explicitly set sidebar size.
Jim Evins [Sat, 12 Jun 2010 01:53:49 +0000 (21:53 -0400)]
Do not explicitly set sidebar size.

Use 2 sizegroups to automatically fix sidebar size based on the size
of the widgets it contains -- even hidden ones.  The width was previously
set explicitly to prevent the sidebar from changing size whenever objects
are selected and unselected.  This has been problematic for compatability
with different themes, fonts, and translations.

14 years agoUpdated Slovenian translation
Andrej Žnidaršič [Fri, 11 Jun 2010 17:26:06 +0000 (19:26 +0200)]
Updated Slovenian translation

14 years agoUpdated German translation
Mario Blättermann [Thu, 10 Jun 2010 18:05:53 +0000 (20:05 +0200)]
Updated German translation

14 years agoAdded text merge backend for semicolon separated values
Jim Evins [Thu, 10 Jun 2010 00:30:05 +0000 (20:30 -0400)]
Added text merge backend for semicolon separated values

Feature request #3013910.  Added entry for a text merge backend using
a semicolon as delimiter.

14 years agoSome final preparation for 2.3.0. glabels-2_3_0
Jim Evins [Sun, 6 Jun 2010 15:30:23 +0000 (11:30 -0400)]
Some final preparation for 2.3.0.

14 years agoSpeed up large barcodes
Christian Persch [Sat, 5 Jun 2010 15:35:10 +0000 (17:35 +0200)]
Speed up large barcodes

g_list_append() is evil. Just use prepend().

14 years agoSome preparation for 2.3.0 release
Jim Evins [Sun, 6 Jun 2010 02:33:41 +0000 (22:33 -0400)]
Some preparation for 2.3.0 release

14 years agoUpdated Brazilian Portuguese translation
Michel Recondo [Sun, 6 Jun 2010 01:27:28 +0000 (22:27 -0300)]
Updated Brazilian Portuguese translation

Reviewed by Henrique Machado <hpmachado@gnome.org>

14 years agoUpdated libglabels documentation.
Jim Evins [Sat, 5 Jun 2010 03:55:09 +0000 (23:55 -0400)]
Updated libglabels documentation.

14 years agoFixed a few -Wall warnings
Jim Evins [Thu, 3 Jun 2010 03:27:18 +0000 (23:27 -0400)]
Fixed a few -Wall warnings

14 years agoUpdated NEWS for upcoming 2.3.0 release.
Jim Evins [Thu, 3 Jun 2010 03:04:55 +0000 (23:04 -0400)]
Updated NEWS for upcoming 2.3.0 release.

14 years agoUpdated DTD.
Jim Evins [Tue, 1 Jun 2010 02:57:33 +0000 (22:57 -0400)]
Updated DTD.

14 years agoFix selection problem.
Jim Evins [Mon, 31 May 2010 02:58:33 +0000 (22:58 -0400)]
Fix selection problem.

Clear existing paths before creating new test paths.  This would occasionally
cause the wrong object to be selected because the in_fill or in_stroke
tests would be satisfied using left-over paths from previous tests.

14 years agoUpdated Danish translation
Joe Hansen [Sun, 30 May 2010 21:12:52 +0000 (23:12 +0200)]
Updated Danish translation

14 years agoUpdated Spanish translation
Daniel Mustieles [Sun, 30 May 2010 09:38:16 +0000 (11:38 +0200)]
Updated Spanish translation

14 years agoTweak rendering of color swatches and font samples.
Jim Evins [Sat, 29 May 2010 21:27:46 +0000 (17:27 -0400)]
Tweak rendering of color swatches and font samples.

14 years agoExplicitly link with libm.
Jim Evins [Sat, 29 May 2010 21:13:13 +0000 (17:13 -0400)]
Explicitly link with libm.

14 years agoUpdated Slovenian translation
Andrej Žnidaršič [Fri, 28 May 2010 18:04:04 +0000 (20:04 +0200)]
Updated Slovenian translation

14 years agoUpdated Spanish translation
Daniel Mustieles [Fri, 28 May 2010 17:32:41 +0000 (19:32 +0200)]
Updated Spanish translation

14 years agoUpdated French translation
Claude Paroz [Thu, 27 May 2010 06:47:48 +0000 (08:47 +0200)]
Updated French translation

Contributed by Claude Paroz and Gérard Baylard

14 years agoSome minor barcode cleanup
Jim Evins [Thu, 27 May 2010 00:02:17 +0000 (20:02 -0400)]
Some minor barcode cleanup

- Added DEBUG_BARCODE so that verbosity on stdout of new libzint backend
  can be controlled.
- Removed artifact comments and some minor formatting changes in libzint
  backend.
- In object editor, make preview format track the number of digits in the
  digits spinbox in real-time.

14 years agoUpdated Spanish translation
Daniel Mustieles [Wed, 26 May 2010 06:47:08 +0000 (08:47 +0200)]
Updated Spanish translation

14 years agoUpdated German translation
Mario Blättermann [Tue, 25 May 2010 15:34:14 +0000 (17:34 +0200)]
Updated German translation

14 years agoAdditional translator hints.
Jim Evins [Mon, 24 May 2010 23:45:03 +0000 (19:45 -0400)]
Additional translator hints.

- Fixed a couple of strings that should not have been marked translatable.
- Added comments for "Fixed", "Other", "None", and "No match."
- Attempted to disambiguate 3 different occurances of "Any"

14 years agoUse a translator comment rather than context.
Jim Evins [Mon, 24 May 2010 21:25:12 +0000 (17:25 -0400)]
Use a translator comment rather than context.

14 years agoAdded context for "Up" string
Jim Evins [Mon, 24 May 2010 20:42:32 +0000 (16:42 -0400)]
Added context for "Up" string

14 years agoRemoved "translatable" attribute from unused builder strings
Jim Evins [Mon, 24 May 2010 19:51:18 +0000 (15:51 -0400)]
Removed "translatable" attribute from unused builder strings

Removed "translatable" attribute from unused builder strings.  These strings
are an artifact of how I organized the individual pages for GtkAssistants
in GtkNotebooks in glade.

14 years agoUpdated Japanese translation, taken from the 2_2 branch
Takeshi AIHANA [Mon, 24 May 2010 19:40:03 +0000 (21:40 +0200)]
Updated Japanese translation, taken from the 2_2 branch

14 years agoUpdated German translation
Mario Blättermann [Mon, 24 May 2010 19:20:20 +0000 (21:20 +0200)]
Updated German translation

14 years agoMade PEARL label descriptions translatable
Mario Blättermann [Mon, 24 May 2010 18:57:02 +0000 (20:57 +0200)]
Made PEARL label descriptions translatable

14 years agoAdded more labels
Mario Blättermann [Mon, 24 May 2010 18:54:53 +0000 (20:54 +0200)]
Added more labels

14 years agoProperly mark strings as no-c-format
Jim Evins [Mon, 24 May 2010 14:58:49 +0000 (10:58 -0400)]
Properly mark strings as no-c-format

Properly mark non-c-format strings containing '%' as no-c-format.
 - Added "xgettext: no-c-format" comments as suggested by Claude Paroz.
 - Removed backslashes ('\') from my ignorant attempt to address this.

14 years agoMinor refactoring of glBarcode structure.
Jim Evins [Sat, 22 May 2010 23:02:23 +0000 (19:02 -0400)]
Minor refactoring of glBarcode structure.

Minor refactoring of glBarcode structure in preparation of support for
more exotic barcode shapes.

14 years agoAutosize zint barcode when w == 0 && h == 0.
Jim Evins [Tue, 18 May 2010 00:34:26 +0000 (20:34 -0400)]
Autosize zint barcode when w == 0 && h == 0.

14 years agoAdded libzint as a barcode backend.
Sam Lown [Mon, 17 May 2010 08:55:06 +0000 (10:55 +0200)]
Added libzint as a barcode backend.

Added libzint as a barcode backend.  Currently only implements the
GS1-128 barcode.

14 years agoAllow for small error in comparison of dimensions.
Jim Evins [Sun, 16 May 2010 15:56:03 +0000 (11:56 -0400)]
Allow for small error in comparison of dimensions.

In lgl_template_are_templates_identical(), allow for a small error when
comparing dimensions.  Set EPSILON to 0.5pt, which is aproximately
0.007in or 0.2mm.

14 years agoUse g_get_user_config_dir() to locate custom templates.
Jim Evins [Sun, 16 May 2010 03:42:38 +0000 (23:42 -0400)]
Use g_get_user_config_dir() to locate custom templates.

Use g_get_user_config_dir() to locate custom template.  By default this
means that custom templates will be stored at ~/.config/libglabels/templates
instead of ~/.glabels.

Also automatically migrate user custom templates to the new location when
run for the first time.

14 years agoUpdate TODO file.
Jim Evins [Sat, 15 May 2010 16:48:01 +0000 (12:48 -0400)]
Update TODO file.

14 years agoUpdated German translation
Mario Blättermann [Sat, 15 May 2010 21:08:55 +0000 (23:08 +0200)]
Updated German translation

14 years agoFixed filenames in POTFILES.in
Mario Blättermann [Sat, 15 May 2010 21:04:53 +0000 (23:04 +0200)]
Fixed filenames in POTFILES.in

14 years agoUpdated Spanish translation
Daniel Mustieles [Sat, 15 May 2010 18:24:15 +0000 (20:24 +0200)]
Updated Spanish translation

14 years agoRenamed builder files to use '.ui' extension.
Jim Evins [Thu, 13 May 2010 03:46:32 +0000 (23:46 -0400)]
Renamed builder files to use '.ui' extension.

14 years agoReconciled font size limits in separate spinboxes.
Jim Evins [Tue, 11 May 2010 23:17:53 +0000 (19:17 -0400)]
Reconciled font size limits in separate spinboxes.

14 years agoRefinements to text objects
Jim Evins [Tue, 11 May 2010 02:54:47 +0000 (22:54 -0400)]
Refinements to text objects

- Draw outline around text objects.
- Use a more sophisticated test for determining if cursor is on a text
  object: test against glyphs instead of simple bounds test.  The test will
  also indicate that cursor is on the object if it is on the selection outline.
- Do word wrap instead of character wrap.

14 years agoAdded several vendor URLs.
Jim Evins [Sat, 8 May 2010 02:59:26 +0000 (22:59 -0400)]
Added several vendor URLs.

14 years agoAdded sanity tests to template parser
Jim Evins [Thu, 6 May 2010 00:16:26 +0000 (20:16 -0400)]
Added sanity tests to template parser

When parsing a template node, if there is no recognized frame node (e.g.
Label-rectangle), a default full-page frame with a 1x1 layout is created.
Likewise, if a frame has no layout, a default 1x1 layout is created.
This prevents potential crashes due to typos in the case of typos in
hand generated templates.

14 years agoAdded Avery 8658 family of templates.
Jim Evins [Mon, 3 May 2010 01:46:07 +0000 (21:46 -0400)]
Added Avery 8658 family of templates.

Added Avery 8658 family of templates, submitted by Nigel Titley.

14 years agoDo a better job of rounding in lgl_str_format_fraction().
Jim Evins [Mon, 3 May 2010 01:39:22 +0000 (21:39 -0400)]
Do a better job of rounding in lgl_str_format_fraction().

When a number is determined to be "close enough" to being an integer, don't
just simply cast the number to get the integer value.

14 years agoRemoved obsolete workaround.
Jim Evins [Sat, 1 May 2010 15:07:35 +0000 (11:07 -0400)]
Removed obsolete workaround.

Removed obsolete workaround for Pango Bug#341481.  This is now fixed in
recent versions of Pango.

14 years agoMinor Cleanup
Jim Evins [Thu, 29 Apr 2010 23:53:01 +0000 (19:53 -0400)]
Minor Cleanup

14 years agoAdded "Up" label to orientation arrow.
Jim Evins [Mon, 26 Apr 2010 01:18:47 +0000 (21:18 -0400)]
Added "Up" label to orientation arrow.

Added an "Up" label to the orientation arrow in the 1st label in the
mini preview.  Use theme base color for arrow and label.  Don't draw
arrow if w == h.

14 years agoAdded test for duplicate templates
Jim Evins [Thu, 22 Apr 2010 02:37:57 +0000 (22:37 -0400)]
Added test for duplicate templates

Added test for duplicate pre-defined templates.  Removed duplicate
template in pearl-iso-templates.xml.  Also added lgl_template_print() for
debugging purposes.

14 years agoAdded decorations to "new label" dialog
Jim Evins [Tue, 20 Apr 2010 21:09:35 +0000 (17:09 -0400)]
Added decorations to "new label" dialog

Added new images to decorate each page of the "new label" dialog/wizard.

14 years agoAdded ability to edit user-defined templates
Jim Evins [Sun, 18 Apr 2010 19:10:38 +0000 (15:10 -0400)]
Added ability to edit user-defined templates

14 years agoChanged packing style for media select widget
Jim Evins [Sun, 4 Apr 2010 18:09:27 +0000 (14:09 -0400)]
Changed packing style for media select widget

Changed packing style for media select widget so that it will expand
both horizontally and vertically with new label dialog.

14 years agoAllow "new label" and "properties" dialogs to be resizable.
Jim Evins [Sat, 3 Apr 2010 18:02:05 +0000 (14:02 -0400)]
Allow "new label" and "properties" dialogs to be resizable.

14 years agoUpdated Portuguese translation
Filipe Roque [Sun, 4 Apr 2010 11:53:38 +0000 (12:53 +0100)]
Updated Portuguese translation

14 years agoAdded Avery DL33 and look-alike templates.
Jim Evins [Sat, 3 Apr 2010 16:08:49 +0000 (12:08 -0400)]
Added Avery DL33 and look-alike templates.

DL33 templates provided by Ian Shuttleworth.

14 years agoFixed selection problem with media select widget
Jim Evins [Wed, 31 Mar 2010 23:15:03 +0000 (19:15 -0400)]
Fixed selection problem with media select widget

Fixed selection problem with media select widget by removing cut&paste
artifact from last update to this widget.

14 years agoUpdated German translation
Mario Blättermann [Mon, 29 Mar 2010 14:30:59 +0000 (16:30 +0200)]
Updated German translation

14 years agoAdded "custom" tab to media select widget
Jim Evins [Mon, 29 Mar 2010 03:03:39 +0000 (23:03 -0400)]
Added "custom" tab to media select widget

Added "custom" tab to media select widget.  In this tab, the user can
launch the template designer or delete an existing user-defined template.
Added notification callbacks to libglabels db subsystem so that the
media select widget will automatically update when user-defined templates
are added or deleted.  The "edit" button does not do anything yet.

Also did some visual cleanup to the new label dialog.

Also include ../libglabels in SUBDIRS in src/ so that libglabels can
be rebuilt from src/ directory.

14 years agoUpdated Slovenian translation
Andrej Žnidaršič [Sun, 21 Mar 2010 07:43:12 +0000 (08:43 +0100)]
Updated Slovenian translation

14 years agoAdded new file to POTFILES.in from last commit.
Jim Evins [Sun, 21 Mar 2010 05:26:06 +0000 (01:26 -0400)]
Added new file to POTFILES.in from last commit.

14 years agoYet another new "New Label Dialog"
Jim Evins [Sun, 21 Mar 2010 05:14:35 +0000 (01:14 -0400)]
Yet another new "New Label Dialog"

Re-designed the "New label dialog" again.  This time as a "wizard" or
GtkAssistant.  This is an attempt to keep the easy navigation of the
2.2.x dialog, to keep the added meta data and preview of the latest
incarnation, and to maintain a compact dialog that should work on fairly
small displays such on netbooks (probably not hand-helds still).

14 years agoUpdated German translation
Mario Blättermann [Sat, 20 Mar 2010 14:10:48 +0000 (15:10 +0100)]
Updated German translation

14 years agoEscape URLs in markup.
Jim Evins [Thu, 18 Mar 2010 14:40:53 +0000 (10:40 -0400)]
Escape URLs in markup.

Escape URLs in vendor and product markup.  Also rearranged the layout of the
new "new label" dialog -- I am still not happy with navigating the templates
with this new dialog.  I will probably try for a hybrid between this and
the 2.2.x dialog.

14 years agoAdded missing file from last commit.
Jim Evins [Thu, 18 Mar 2010 02:11:21 +0000 (22:11 -0400)]
Added missing file from last commit.

14 years agoReconciled label database with 2.2 branch
Jim Evins [Thu, 18 Mar 2010 02:08:43 +0000 (22:08 -0400)]
Reconciled label database with 2.2 branch

Merged recent template additions from 2.2 branch + some cleanup.

14 years agoCatching up on template submissions.
Jim Evins [Wed, 17 Mar 2010 03:30:46 +0000 (23:30 -0400)]
Catching up on template submissions.

14 years agoAdd Norwegian language entry.
Kjartan Maraas [Mon, 15 Mar 2010 13:10:29 +0000 (14:10 +0100)]
Add Norwegian language entry.

14 years agoAdded Norwegian bokmål translation
Kjartan Maraas [Mon, 15 Mar 2010 13:10:20 +0000 (14:10 +0100)]
Added Norwegian bokmål translation

14 years agoMake fractions more readable
Jim Evins [Sat, 13 Mar 2010 19:14:12 +0000 (14:14 -0500)]
Make fractions more readable

Use Unicode superscripts and subscripts to format fractions.  Should be
more readable than the uggly 1_5/8.

14 years agoSome new label dialog cleanup
Jim Evins [Sat, 13 Mar 2010 15:49:52 +0000 (10:49 -0500)]
Some new label dialog cleanup

Draw arrow in mini preview relative to first label, not the entire sheet.
This should be more obvious what the arrow is indicating, before it could
have been interpreted as the feed direction.

Don't put an empty line at the end of the list of similar templates.

14 years agoReconciled POTFILES.in with last commit.
Jim Evins [Thu, 11 Mar 2010 03:50:01 +0000 (22:50 -0500)]
Reconciled POTFILES.in with last commit.