]> git.sur5r.net Git - glabels/log
glabels
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.

14 years agoCreated new "New label dialog"
Jim Evins [Thu, 11 Mar 2010 03:38:28 +0000 (22:38 -0500)]
Created new "New label dialog"

Created a new re-designed "New label dialog."  The dialog now shows meta-data
for the selected template, including hyperlinks to vendor and product
websites, if available.  The new dialog is more compact and thus should
be usable on small displays such as netbooks (probably not hand-helds).

The menu is somewhat clumbsy to navigate still -- will need to reorganize
to make navigation easier and more intuitive.

14 years agoMinor Cleanup
Jim Evins [Wed, 3 Mar 2010 02:47:27 +0000 (21:47 -0500)]
Minor Cleanup

14 years agoCleanup of libglabels documentation.
Jim Evins [Mon, 1 Mar 2010 04:14:23 +0000 (23:14 -0500)]
Cleanup of libglabels documentation.

Added documentation for new functionality in 3.0, including the vendor
database and a new "natural order" compare function for sorting
part numbers.

14 years agoUpdated libglabels documentation to support parallel installation
Jim Evins [Mon, 1 Mar 2010 03:22:48 +0000 (22:22 -0500)]
Updated libglabels documentation to support parallel installation

14 years agoAdditional changes to support parallel installation
Jim Evins [Mon, 1 Mar 2010 00:13:00 +0000 (19:13 -0500)]
Additional changes to support parallel installation

Changed GETTEXT_PACKAGE to glabels-3.0 and renamed help files to support
parallel installation with other versions of glabels.

14 years agoCleanup of mime support
Jim Evins [Sat, 27 Feb 2010 03:45:46 +0000 (22:45 -0500)]
Cleanup of mime support

Removed old mime support files.  Renamed mime icon file.

14 years agoUpdated mimetype icon.
Jim Evins [Thu, 25 Feb 2010 05:17:46 +0000 (00:17 -0500)]
Updated mimetype icon.

Updated mimetype icon to look more modern.

14 years agoRename executables and key files to support parallel installation
Jim Evins [Thu, 25 Feb 2010 04:45:18 +0000 (23:45 -0500)]
Rename executables and key files to support parallel installation

Renamed glabels and glabels-batch to glabels-3 and glabels-3-batch to support
parallel installation with other versions of glabels.  Also renamed and
reconciled man pages and icon files.

14 years agoRename glabels data directory to support parallel installation.
Jim Evins [Wed, 24 Feb 2010 05:18:08 +0000 (00:18 -0500)]
Rename glabels data directory to support parallel installation.

Renamed glabels data directory from glabels to glabels-3.0 to ultimately
support parallel installation with older versions of glabels.

14 years agoMake libglabels parallel installable with other versions
Jim Evins [Wed, 24 Feb 2010 00:49:42 +0000 (19:49 -0500)]
Make libglabels parallel installable with other versions

Made libglabels install as libglabels-3.0 to support parallel installation
with earlier versions.  Performed some related cleanup associated with
this move, including installing libglabels.h into include/libglabels-3.0
and installing all other include files in include/libglabels-3.0/libglabels/.

More work is still need to support parallel installation of the glabels
application.

14 years agoUpdated Danish translation
Joe Hansen [Tue, 23 Feb 2010 21:54:43 +0000 (22:54 +0100)]
Updated Danish translation

14 years agoAdded da to list of languages
Kenneth Nielsen [Tue, 23 Feb 2010 21:54:39 +0000 (22:54 +0100)]
Added da to list of languages

14 years agoAdded es to DOC_LINGUAS
Jorge González [Fri, 19 Feb 2010 12:01:12 +0000 (13:01 +0100)]
Added es to DOC_LINGUAS

14 years agoAdded initial Spanish translation
Jorge González [Fri, 19 Feb 2010 12:01:06 +0000 (13:01 +0100)]
Added initial Spanish translation

14 years agoFix Czech translation by Marek Cernocky
Petr Kovar [Thu, 18 Feb 2010 17:31:16 +0000 (18:31 +0100)]
Fix Czech translation by Marek Cernocky

14 years agoAdd Czech help translation by Marek Cernocky
Petr Kovar [Thu, 18 Feb 2010 17:26:54 +0000 (18:26 +0100)]
Add Czech help translation by Marek Cernocky

14 years agoUpdated Slovenian translation
Andrej Žnidaršič [Fri, 12 Feb 2010 12:41:32 +0000 (13:41 +0100)]
Updated Slovenian translation

14 years agoUpdate Czech translation by Marek Cernocky
Petr Kovar [Thu, 11 Feb 2010 00:39:59 +0000 (01:39 +0100)]
Update Czech translation by Marek Cernocky

14 years agoAdded support for elliptical labels and markup
Jim Evins [Thu, 4 Feb 2010 03:24:36 +0000 (22:24 -0500)]
Added support for elliptical labels and markup

Added support for elliptical labels.
Added support for elliptical markup lines.

14 years agoTweaks to glView.
Jim Evins [Fri, 29 Jan 2010 03:40:05 +0000 (22:40 -0500)]
Tweaks to glView.

- Draw drop shadow behind label.
- Fixed starting grid lines on round labels.
- Adjust grid spacing based on selected units:
  Inches -> 0.125 in
  mm     -> 5 mm
  Points -> 10 pt

14 years agoFixed NULL warning when copying uninitialized barcode objects.
Jim Evins [Sun, 24 Jan 2010 15:03:17 +0000 (10:03 -0500)]
Fixed NULL warning when copying uninitialized barcode objects.

Make sure both arguments to g_ascii_strcasecmp() are non NULL.

14 years agoUpdate TODO list based on current status and plans.
Jim Evins [Sun, 24 Jan 2010 15:02:11 +0000 (10:02 -0500)]
Update TODO list based on current status and plans.

14 years agoUpdated German translation
Mario Blättermann [Wed, 20 Jan 2010 18:09:17 +0000 (19:09 +0100)]
Updated German translation

14 years agoDon't allow message bars to stack up in media select widget.
Jim Evins [Tue, 19 Jan 2010 02:33:08 +0000 (21:33 -0500)]
Don't allow message bars to stack up in media select widget.

Remove old glMessageBar when attempting to load glMediaSelect tree views.
This will make sure if a new glMessageBar is needed, it won't just stack
up old message bars.

14 years agoCleanup and addition of label templates.
Jim Evins [Mon, 18 Jan 2010 23:19:31 +0000 (18:19 -0500)]
Cleanup and addition of label templates.

Reconciled Worldlabel part numbers with current online information.  Added
some additional templates and their Avery look-alikes.

14 years agoAdded fr to DOC_LINGUAS
Mario Blättermann [Fri, 15 Jan 2010 21:28:44 +0000 (22:28 +0100)]
Added fr to DOC_LINGUAS

14 years agoRemoved trailing whitespaces from POTFILES.in
Mario Blättermann [Thu, 14 Jan 2010 20:36:03 +0000 (21:36 +0100)]
Removed trailing whitespaces from POTFILES.in

14 years agoAdded missing template files to POTFILES.in
Mario Blättermann [Thu, 14 Jan 2010 19:33:23 +0000 (20:33 +0100)]
Added missing template files to POTFILES.in

14 years agoUpdated Czech translation by Marek Cernocky
Petr Kovar [Tue, 12 Jan 2010 23:57:58 +0000 (00:57 +0100)]
Updated Czech translation by Marek Cernocky

14 years agoAdd French translation of manual
Claude Paroz [Sat, 9 Jan 2010 14:08:55 +0000 (15:08 +0100)]
Add French translation of manual

Contributed by Alain Lojewski and Claude Paroz

14 years agoDelay freeing of pixbuf cache in gl_label_finalize()
Jim Evins [Thu, 7 Jan 2010 04:13:49 +0000 (23:13 -0500)]
Delay freeing of pixbuf cache in gl_label_finalize()

Make sure all objects have been unreferenced before freeing pixbuf cache --
including copies in undo/redo stacks.

14 years agoUse "natural" sorting order for part numbers
Jim Evins [Mon, 4 Jan 2010 03:05:08 +0000 (22:05 -0500)]
Use "natural" sorting order for part numbers

Use a "natural" sorting order for part numbers.  I.e. numeric portions are
sorted numerically rather than character by character, such that
"A20" will precede "A100".

Also found and fixed a couple minor inconsistencies in the template data base
while debugging the new sorting code.

14 years agoReorganizing template database
Jim Evins [Wed, 30 Dec 2009 07:34:34 +0000 (02:34 -0500)]
Reorganizing template database

Split out uline-us-templates.xml from avery-us-templates.xml.  Also removed
the single "IP Invent It!" alias.  I could not find this brand online -- I
assume it was a mis-identification -- this was a single alias for full-sheet
labels which is so generic anyway.

14 years agoReorganizing label database
Jim Evins [Wed, 30 Dec 2009 07:12:17 +0000 (02:12 -0500)]
Reorganizing label database

Reorganized avery-us-templates.xml to remove deprecated Alias tags.  Also,
split out separate worldlabel-us-templates.xml and maco-us-templates.xml
files.

14 years agoUpdated German translation
Mario Blättermann [Sun, 27 Dec 2009 23:29:49 +0000 (00:29 +0100)]
Updated German translation

14 years agoHandle zoom-to-fit properly for unrealized view
Jim Evins [Sat, 26 Dec 2009 17:34:00 +0000 (12:34 -0500)]
Handle zoom-to-fit properly for unrealized view

Delay calculations in gl_view_zoom_to_fit() if window has not been realized
yet.  Do calculations in realize callback.

14 years agoFixed typo
Jim Evins [Wed, 23 Dec 2009 22:48:08 +0000 (17:48 -0500)]
Fixed typo

Fixed typo.

14 years agoAdded undo/redo feature
Jim Evins [Wed, 23 Dec 2009 03:57:17 +0000 (22:57 -0500)]
Added undo/redo feature

Checkpoint the label state before each user initiated change.  These
checkpoint states are kept on an undo stack.  As the user pops items
from the undo stack, the current state is pushed onto a redo stack.

14 years agoRefactored MediaSelect code
Jim Evins [Fri, 18 Dec 2009 04:21:33 +0000 (23:21 -0500)]
Refactored MediaSelect code

- Renamed glWdgtMediaSelect to glMediaSelect
- Created new glMessageBar widget derived from GtkInfoBar -- API is modelled
  after GtkMessageDialog.  Used this new widget to provide notification
  of empty search results in the 2 glMediaSelect tabs.
- Simple code formatting changes.

14 years agoMinor cleanup.
Jim Evins [Thu, 17 Dec 2009 02:14:28 +0000 (21:14 -0500)]
Minor cleanup.

Removed extra includes.

14 years agoAdded sl for Slovenian translation
Matej Urbančič [Thu, 17 Dec 2009 08:30:46 +0000 (09:30 +0100)]
Added sl for Slovenian translation

14 years agoUpdated Slovenian translation
Andrej Žnidaršič [Thu, 17 Dec 2009 08:30:43 +0000 (09:30 +0100)]
Updated Slovenian translation

14 years agoUse glFieldButton instead of GtkComboBox for field selection
Jim Evins [Wed, 16 Dec 2009 03:39:39 +0000 (22:39 -0500)]
Use glFieldButton instead of GtkComboBox for field selection

Extended glFieldButton so that it could be used instead of a GtkComboBox
for field selectors in the object editor.  This unifies the dropdown style
with the "Insert field" button on the text editor page.

14 years agoMinor cleanup of label.c
Jim Evins [Wed, 16 Dec 2009 03:38:05 +0000 (22:38 -0500)]
Minor cleanup of label.c

Removed unused variables.  Added a couple explicit casts.

14 years agoFixed crash when manipulating barcode
Jim Evins [Sun, 13 Dec 2009 05:07:20 +0000 (00:07 -0500)]
Fixed crash when manipulating barcode

Failed to initialize line_color_node for barcodes in object_changed_cb().

14 years agoAlways show images for object menuitems
Jim Evins [Sat, 12 Dec 2009 15:07:08 +0000 (10:07 -0500)]
Always show images for object menuitems

Because of the visual nature of the actions of these menuitems, the visual
cues provided by these icons should help improve the ability to find the
correct menuitem -- I know it does for me ( I don't always know my left
from my right :-))

14 years agoRefactored Cut/Copy/Paste code
Jim Evins [Sat, 12 Dec 2009 06:16:35 +0000 (01:16 -0500)]
Refactored Cut/Copy/Paste code

Now offers everything (glabels xml, text, or image) on the standard clipboard.
Will now paste text or images from other programs as new objects.

14 years agoAllow merge source to be stdin
Alessandro Zummo [Wed, 9 Dec 2009 03:27:43 +0000 (22:27 -0500)]
Allow merge source to be stdin

Use the filename "-" to indicate that the merge source is to be taken from
standard input (stdin).  This is primarily intended for the glabels-batch
program.

14 years agoFix glabels-batch crash
Alessandro Zummo [Wed, 9 Dec 2009 03:25:54 +0000 (22:25 -0500)]
Fix glabels-batch crash

The template_history subsystem needs to be initialized.

14 years agoInstall correct DTD file
Jim Evins [Tue, 8 Dec 2009 02:11:57 +0000 (21:11 -0500)]
Install correct DTD file

Reconciled templates/Makefile.am with recent name change of DTD file.

14 years agoLibglabels mods to support reorganization of template database
Jim Evins [Mon, 7 Dec 2009 02:41:40 +0000 (21:41 -0500)]
Libglabels mods to support reorganization of template database

Added "equiv" attribute to "Template" tag.  The "equiv" attribute works
differently than the "Alias" tag: instead of defining a simple alias for
the current template struct, it says to use the equivalent part as the
prototype for this template.  The template could override (or append)
unique meta data for this part number.  The "Alias" tag is still supported,
but is deprecated.

Added a "product_url" attribute to the "Meta" tag.

Added a "vendor.xml" file which contains a database of vendors and their
primary url.  This file has only been populated with a few examples so far.

A new DTD file has been created to describe the above changes.

The "Avery 5160" family in "avery-us-templates.xml", has been organized in
the new scheme as an example.

14 years agoImproved object editor default page selection
Jim Evins [Fri, 4 Dec 2009 03:25:15 +0000 (22:25 -0500)]
Improved object editor default page selection

Whenever the object is changed, an attempt is made to either keep the same
page active or if that page is no longer visible, set to the first visible
page.

14 years agoFollow focus when setting sensitivity of selection verbs
Jim Evins [Fri, 4 Dec 2009 02:31:24 +0000 (21:31 -0500)]
Follow focus when setting sensitivity of selection verbs

The previous commit did not completely work right.  Selection verb
sensitivity now follows the focus of the glView widget.

14 years agoUpdated German translation
Mario Blättermann [Thu, 3 Dec 2009 18:03:37 +0000 (19:03 +0100)]
Updated German translation

14 years agoDon't intercept copy/paste operations intended for other widgets
Jim Evins [Thu, 3 Dec 2009 04:04:09 +0000 (23:04 -0500)]
Don't intercept copy/paste operations intended for other widgets

Fixes bugs 16837992833194 and probably 1978142.  Only enable copy/paste
verbs if the focused widget is the glView.  Otherwise let these operations
propagate to the focused widget to be handled natively.

14 years agoControl sensitivity of paste verb
Jim Evins [Thu, 3 Dec 2009 00:59:50 +0000 (19:59 -0500)]
Control sensitivity of paste verb

Track the availability of data on the private glabels clipboard to control
the sensitivity of the paste verb.

14 years agoSome string cleanup
Jim Evins [Wed, 2 Dec 2009 23:25:51 +0000 (18:25 -0500)]
Some string cleanup

- Replaced "x" with UTF D7 "TIMES" symbol in dimension strings
- Separated "diameter" into its own translatable string

14 years agoRefactored glLabel and glView
Jim Evins [Wed, 2 Dec 2009 22:06:31 +0000 (17:06 -0500)]
Refactored glLabel and glView

Refactored glLabel and glView code:

- Moved selection tracking and storage of current label defaults from
  glView to glLabel.

- Removed complexity of synchronizing lists of labels between glView and
  glLabel.

- Current defaults for new objects are now kept in glLabel, not glView.

- Now follows a more faithful MVC pattern.  As a consequence, the
  Object editor and property bar are now fully independent views of
  glLabel and do not need to be aware of glView at all.

- Refactoring reduced total SLOC count by about 1100 lines of code.

- This should potentially simplify the addition of an Undo/Redo
  capability, because selections and object lists do not need
  to be kept synchronized.

14 years agoUpdated German translation
Mario Blättermann [Wed, 2 Dec 2009 19:21:10 +0000 (20:21 +0100)]
Updated German translation

15 years agoAdded additional file to .gitignore.
Jim Evins [Mon, 23 Nov 2009 02:57:59 +0000 (21:57 -0500)]
Added additional file to .gitignore.

15 years agoUse accessor functions instead direct access
Jim Evins [Sun, 22 Nov 2009 23:50:38 +0000 (18:50 -0500)]
Use accessor functions instead direct access

Replaced direct access of widget fields with accessor functions.  This round
catches flags and allocations which now have accessor functions in Gtk 2.18.
As a result, the master branch now requires Gtk-2.18/GNOME-2.28.

15 years agoUpdated AUTHORS and .gitignore
Jim Evins [Wed, 18 Nov 2009 15:17:24 +0000 (10:17 -0500)]
Updated AUTHORS and .gitignore

Added Mario to AUTHORS so that he gets proper credit.

Added another pattern to .gitignore.

15 years agoFixed focus behavior of view canvas
Jim Evins [Wed, 18 Nov 2009 14:08:20 +0000 (09:08 -0500)]
Fixed focus behavior of view canvas

Fixes bug #2899305.  Don't just automatically steal focus when entering
canvas.  Require a click to get focus back.

15 years agoReference glabels.org website
Jim Evins [Wed, 18 Nov 2009 01:21:01 +0000 (20:21 -0500)]
Reference glabels.org website

Change all references to the glabels.sourceforge.net website to the
glabels.org alias.  Change namespace for 2.3 development version to
glabels.org/xmlns/2.3/.

15 years agoExpose all supported fields in vcard backend
Jim Evins [Sun, 8 Nov 2009 16:44:20 +0000 (11:44 -0500)]
Expose all supported fields in vcard backend

The original version of the vcard merge backend only supported 3 hard-coded
fields.  This modification exposes all supported fields, via the libebook
API.  It also uses the "pretty names" for field names, exactly as the
evolution merge backend does.

An "off-by-one" error in the evolution merge backend has also been fixed --
exposing one more field.

15 years agoRemoved unused defines
Jim Evins [Sun, 8 Nov 2009 03:38:48 +0000 (22:38 -0500)]
Removed unused defines

Removed unused defines from INCLUDES.

15 years agoAdded support for Code93 barcode.
Jim Evins [Sun, 8 Nov 2009 01:54:58 +0000 (20:54 -0500)]
Added support for Code93 barcode.

Added glue to support for Code93 barcode, which is already supported by
the GNU Barcode Library.

15 years agoAutomatically generate ChangeLog when building dist
Jim Evins [Fri, 6 Nov 2009 04:08:31 +0000 (23:08 -0500)]
Automatically generate ChangeLog when building dist

Automatically generate ChangeLog when building distributions using
'git log'.

15 years agoCaught up on user submitted templates.
Jim Evins [Fri, 6 Nov 2009 02:34:43 +0000 (21:34 -0500)]
Caught up on user submitted templates.

Added user submitted templates and acknowledgements.

15 years agoFixed merge inconsistencies and crash
Jim Evins [Thu, 5 Nov 2009 03:47:31 +0000 (22:47 -0500)]
Fixed merge inconsistencies and crash

merge.c:
Fixed crash when trying to print when a "key" radio has been selected
but no key has been selected yet.

object-editor-*-page.c:
Fixed potential inconsistencies with "key" radio buttons when a merge
source has not been selected but the field indicates that it is using a
merge key.  This can happen when opening a glabels file that has a merge
type not supported by the current instance of glabels.

xml-label.c:
Also when parsing a merge field that has a merge type not supported,
don't continue parsing it.

15 years agoDon't allow clipping to affect outlines
Jim Evins [Wed, 4 Nov 2009 02:20:43 +0000 (21:20 -0500)]
Don't allow clipping to affect outlines

Remove clipping region before printing outlines of labels.

15 years agoClip to outline restored
Jim Evins [Wed, 4 Nov 2009 02:09:43 +0000 (21:09 -0500)]
Clip to outline restored

During my last commit & push, I left the clip to outline line commented out
which is an artifact of my testing.

15 years agoAdded simple envelope support
Jim Evins [Wed, 4 Nov 2009 01:53:52 +0000 (20:53 -0500)]
Added simple envelope support

Added several envelope sizes to page-sizes.xml.  Also reversed the rotation
direction when printing rotated labels to better match the orientation of
envelope feeders.

15 years agoUpdated German translation
Mario Blättermann [Tue, 3 Nov 2009 18:45:12 +0000 (19:45 +0100)]
Updated German translation

15 years agoCopy all fields when duplicating glMergeText object.
Jim Evins [Sat, 31 Oct 2009 03:54:47 +0000 (23:54 -0400)]
Copy all fields when duplicating glMergeText object.

Copy n_fields_max field when duplicating glMergeText object.

15 years agoHarvest line 1 of CSVs for field names
Jim Evins [Fri, 30 Oct 2009 01:17:13 +0000 (21:17 -0400)]
Harvest line 1 of CSVs for field names

Added capability to text merge backend to harvest line 1 for field names (keys).

15 years agoMake libglabels include guards more unique
Jim Evins [Tue, 27 Oct 2009 03:45:57 +0000 (23:45 -0400)]
Make libglabels include guards more unique

Renamed libglabels include guards to be more unique.  For example, the include
guard for xml.h was renamed from __XML_H__ to __LGL_XML_H__, which is less
likely to collide with other similarly named macros.

15 years agoImproved menu positioning functions
Jim Evins [Tue, 27 Oct 2009 00:12:06 +0000 (20:12 -0400)]
Improved menu positioning functions

Use requisition instead of allocation for menu size (the allocation does not
exist for a newly realized menu, so the position is not always right the
first time it is popped up, causing a mangled menu position with ugly
scroll buttons.)

Query for the actual screen of "this" instead of blindly using the default
screen.

15 years agoRefactored glPrefsModel; Added Units module to libglabels
Jim Evins [Mon, 26 Oct 2009 01:06:25 +0000 (21:06 -0400)]
Refactored glPrefsModel; Added Units module to libglabels

Refactored glPrefsModel, reconciling its style with glFontsHistory, etc.

Added Units module to libglabels, consolidating most utilities associated
with units into this module.  Also created a units-util module in
glabels for utilities that do not belong in libglabels.

15 years agoRemoved unused variables
Jim Evins [Sun, 25 Oct 2009 03:12:08 +0000 (23:12 -0400)]
Removed unused variables

Removed unused variables from draw_text_real().