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

15 years agoCreated new glTemplateHistoryModel
Jim Evins [Sat, 24 Oct 2009 13:58:52 +0000 (09:58 -0400)]
Created new glTemplateHistoryModel

Pulled recent template history from glPrefsModel and created a separate
glTemplateHistoryModel object to track this history.  Based on
glFontHistoryModel.

15 years agoUse GConf to store custom color history
Jim Evins [Sat, 24 Oct 2009 12:53:10 +0000 (08:53 -0400)]
Use GConf to store custom color history

Renamed glColorComboHistory to glColorHistoryModel and reconciled style
with glFontHistoryModel.  glColorHistoryModel now front-ends GConf to store
custom color history between sessions.

15 years agoUse GConf to store font history
Jim Evins [Sat, 24 Oct 2009 11:59:11 +0000 (07:59 -0400)]
Use GConf to store font history

glFontHistoryModel now front-ends GConf to store font history between
sessions.  Also, don't store default font family when creating a blank
label text object.

15 years agoAdded font history
Jim Evins [Fri, 23 Oct 2009 03:00:38 +0000 (23:00 -0400)]
Added font history

Added font history object.  Setting/changing fonts in text objects updates
this object.  The glFontCombMenu tracks this object to keep its recent
fonts submenu up-to-date.

15 years agoMake glFieldButtonMenu multi-columned for large number of keys.
Jim Evins [Thu, 22 Oct 2009 02:34:10 +0000 (22:34 -0400)]
Make glFieldButtonMenu multi-columned for large number of keys.

Make glFieldButtonMenu multi-columned for large number of keys.  I don't know
why, but I need to unrealize the old menu whenever reloading a new set of
keys -- otherwise, the new menu would not render properly.

Also, cleared the CAN_FOCUS and CAN_DEFAULT bits for the instance in
the object editor text edit page, so that it would not steal the focus
from the text editor.

15 years agoMinor cleanup of glFieldButton widgets
Jim Evins [Wed, 21 Oct 2009 02:42:15 +0000 (22:42 -0400)]
Minor cleanup of glFieldButton widgets

Free proper data in gl_field_button_menu_finalize().  Minor formatting cleanup.

15 years agoCreate new glFieldButton widget family
Jim Evins [Tue, 20 Oct 2009 03:59:02 +0000 (23:59 -0400)]
Create new glFieldButton widget family

Created new glFieldButton widget family modelled after glFontCombo.  This
widget is for inserting merge fields into text.  This button will pop-up
a menu containing possible field keys.  The button attempts to place the
menu intelligently, rather than simply where the button was pressed.

Renamed glWdgtMergeMenu to glFieldButtonMenu.

15 years agoCleanup of configure.in
Jim Evins [Sun, 18 Oct 2009 23:24:01 +0000 (19:24 -0400)]
Cleanup of configure.in

More minor cleanup of configure.in.  My iec16022 patch was accepted upstream
and there was a new release -- update required version.  Added URLs to
configure.in to inform packagers where to obtain upstream libraries.  Updated
README to document these optional dependencies.

15 years agoRefine glFontComboMenuItem tooltip sample text.
Jim Evins [Sat, 17 Oct 2009 19:18:22 +0000 (15:18 -0400)]
Refine glFontComboMenuItem tooltip sample text.

Refine sample text used in tooltip for glFontComboMenuItem.  The sample
alphabet, numbers and special symbols text is now localized.  Also used
Pango to get a localized sample string such as "The quick brown fox..."

15 years agoCleanup of configure.in
Jim Evins [Sun, 11 Oct 2009 21:08:50 +0000 (17:08 -0400)]
Cleanup of configure.in

Minor cleanup of configure.in.  Assumes libiec16022 will be installed along
with a pkg-config file -- patch to upstream has been submitted -- we shall
see.

15 years agoAdded .gitignore
Jim Evins [Sun, 11 Oct 2009 21:07:23 +0000 (17:07 -0400)]
Added .gitignore

Added .gitignore file to cleanup cruft reported by "git status"

15 years agoUse accessor functions instead direct access
Jim Evins [Sun, 11 Oct 2009 05:06:35 +0000 (01:06 -0400)]
Use accessor functions instead direct access

Replaced several occurances of directly accessing widget fields with the
use of accessor functions. This round hit primarily windows, bin_windows
and styles. Still need to address flags and allocations when GTK has the
needed accessors.

15 years agoConverted pl.po to UTF-8 again
Mario Blättermann [Sat, 10 Oct 2009 09:21:13 +0000 (11:21 +0200)]
Converted pl.po to UTF-8 again

15 years agoConverted pt_BR.po to UTF-8
Mario Blättermann [Sat, 10 Oct 2009 09:16:16 +0000 (11:16 +0200)]
Converted pt_BR.po to UTF-8

15 years agoUpdated NEWS
Mario Blättermann [Sat, 10 Oct 2009 09:09:06 +0000 (11:09 +0200)]
Updated NEWS

15 years agoUse accessor functions instead direct access
Jim Evins [Fri, 9 Oct 2009 03:57:33 +0000 (23:57 -0400)]
Use accessor functions instead direct access

Replaced several occurances of directly accessing widget fields with the
use of accessor functions.  This round only hit some of the low-hanging
fruit -- several modules still contain many such accesses.

15 years agoRemoved 3rd-party libraries
Jim Evins [Thu, 8 Oct 2009 03:12:54 +0000 (23:12 -0400)]
Removed 3rd-party libraries

The 3rd-party libraries used as barcode backends are no longer redistributed
with gLabels.  These libraries are now optional external dependencies, so if
one is not present it will not be used.

FIXME: the datamatrix IEC 16022 library is not installed by default by the
official iec16022 tarball.

15 years agoFixed some gettext problems
Jim Evins [Wed, 7 Oct 2009 02:01:15 +0000 (22:01 -0400)]
Fixed some gettext problems

color-combo-menu.c:
- escape "%" in strings so that they are not interpreted as c-format
  conversions.
- call gettext() on color names initialized in table.
bc.c:
- call gettext() on barcode names initialized in table.
property-bar.builder:
- moved "Font family" tooltip to correct field for translation.

15 years agoAdded information for translators to HACKING
Jim Evins [Wed, 7 Oct 2009 01:21:52 +0000 (21:21 -0400)]
Added information for translators to HACKING

Added information for translators to the HACKING file.

15 years agoConverted polish translation to UTF-8
Mario Blättermann [Tue, 6 Oct 2009 20:17:35 +0000 (22:17 +0200)]
Converted polish translation to UTF-8

15 years agoAdded missing filename
Mario Blättermann [Tue, 6 Oct 2009 19:57:38 +0000 (21:57 +0200)]
Added missing filename

15 years agoConvert zh_TW translation to UTF-8
Claude Paroz [Tue, 6 Oct 2009 18:54:18 +0000 (20:54 +0200)]
Convert zh_TW translation to UTF-8

15 years agoUpdated German translation
Mario Blättermann [Tue, 6 Oct 2009 18:49:34 +0000 (20:49 +0200)]
Updated German translation

15 years agoUpdated German translation
Mario Blättermann [Tue, 6 Oct 2009 18:43:08 +0000 (20:43 +0200)]
Updated German translation

15 years agoUpdated German doc translation
Mario Blättermann [Tue, 6 Oct 2009 18:29:18 +0000 (20:29 +0200)]
Updated German doc translation

15 years agoAdded Swedish translation
Daniel Nylander [Tue, 6 Oct 2009 08:48:26 +0000 (10:48 +0200)]
Added Swedish translation

15 years agoAdding MAINTAINERS and HACKING files. sourceforge sur5r.net/sourceforge
Jim Evins [Tue, 6 Oct 2009 02:36:38 +0000 (22:36 -0400)]
Adding MAINTAINERS and HACKING files.

Added MAINTAINERS and HACKING files.  Updated glabels.doap to
reconcile with new MAINTAINERS file.  Updated TODO file bringing
up-to-date with the current roadmap.

15 years agoAdding glabels.doap
Jim Evins [Mon, 5 Oct 2009 23:58:50 +0000 (19:58 -0400)]
Adding glabels.doap

Adding glabels.doap file for gnome Git repository.

15 years agoRemoved non-existent filenames from po/POTFILES.in
Mario Blättermann [Tue, 29 Sep 2009 17:56:01 +0000 (19:56 +0200)]
Removed non-existent filenames from po/POTFILES.in

15 years agoRemoved non-existent filenames from po/POTFILES.in
Mario Blättermann [Tue, 29 Sep 2009 17:55:20 +0000 (19:55 +0200)]
Removed non-existent filenames from po/POTFILES.in

15 years agoRemoved gtk-doc.make.
Jim Evins [Tue, 29 Sep 2009 02:25:38 +0000 (22:25 -0400)]
Removed gtk-doc.make.

Removed the gtk-doc.make file, since it gets regenerated anyway.

15 years agoRelocated barcode backends.
Jim Evins [Mon, 28 Sep 2009 02:55:52 +0000 (22:55 -0400)]
Relocated barcode backends.

Moved 3rd party barcode backends to a new bc-backends/ subdirectory.

15 years agoOrganized master branch to be top-level directory for glabels, instead of
Jim Evins [Sun, 27 Sep 2009 02:46:39 +0000 (22:46 -0400)]
Organized master branch to be top-level directory for glabels, instead of
having a glabels2 sub-directory.

15 years ago2009-09-22 Jim Evins <evins@snaught.com>
Jim Evins [Wed, 23 Sep 2009 03:41:02 +0000 (03:41 +0000)]
2009-09-22  Jim Evins  <evins@snaught.com>

* po/POTFILES.in:
* src/Makefile.am:
* src/builder-util.c:
* src/builder-util.h:
* src/combo-util.c:
* src/combo-util.h:
* src/file-util.c:
* src/file-util.h:
* src/str-util.c:
* src/str-util.h:
Split "catch all" util module into separate modules for different
domains of utilities.
* src/file.c: (gl_file_open_real), (save_as_response):
* src/glabels-batch.c: (main):
* src/label.c: (gl_label_get_short_name):
* src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
(gl_merge_properties_dialog_construct):
* src/new-label-dialog.c:
* src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
(gl_object_editor_set_bc_style), (gl_object_editor_set_bc_color):
* src/object-editor-data-page.c:
(gl_object_editor_prepare_data_page), (gl_object_editor_set_data):
* src/object-editor-edit-page.c:
(gl_object_editor_prepare_edit_page):
* src/object-editor-fill-page.c:
(gl_object_editor_prepare_fill_page),
(gl_object_editor_set_fill_color):
* src/object-editor-image-page.c:
(gl_object_editor_prepare_image_page),
(gl_object_editor_set_image):
* src/object-editor-line-page.c:
(gl_object_editor_prepare_line_page),
(gl_object_editor_set_line_color):
* src/object-editor-lsize-page.c:
(gl_object_editor_prepare_lsize_page):
* src/object-editor-position-page.c:
(gl_object_editor_prepare_position_page):
* src/object-editor-shadow-page.c:
(gl_object_editor_prepare_shadow_page),
(gl_object_editor_set_shadow_color):
* src/object-editor-size-page.c:
(gl_object_editor_prepare_size_page):
* src/object-editor-text-page.c:
(gl_object_editor_prepare_text_page),
(gl_object_editor_set_text_color):
* src/object-editor.c: (gl_object_editor_init),
(gl_object_editor_set_key_names):
* src/prefs-dialog.c: (gl_prefs_dialog_construct),
(construct_locale_page), (construct_object_page):
* src/prefs-model.c: (gl_prefs_model_save_settings),
(gl_prefs_model_load_settings):
* src/print-op-dialog.c: (create_custom_widget_cb):
* src/template-designer.c: (construct_start_page),
(construct_name_page), (construct_pg_size_page),
(construct_shape_page), (construct_rect_size_page),
(construct_round_size_page), (construct_cd_size_page),
(construct_nlayouts_page), (construct_layout_page),
(construct_finish_page):
* src/ui-property-bar.c: (gl_ui_property_bar_construct):
* src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
(gl_wdgt_media_select_set_filter_parameters),
(get_label_size_desc):
* src/window.c: (gl_window_new_from_file):
* src/xml-label-04.c: (xml04_parse_text_props):
* src/xml-label.c: (xml_parse_object_text),
(xml_parse_toplevel_span), (xml_create_object_text),
(xml_create_toplevel_span):
Reconciled all references to old utils module with new domain
specific utilities modules.

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

15 years ago2009-09-22 Jim Evins <evins@snaught.com>
Jim Evins [Wed, 23 Sep 2009 01:56:53 +0000 (01:56 +0000)]
2009-09-22  Jim Evins  <evins@snaught.com>

* po/POTFILES.in:
Include all (src/*.[ch]) source files.
* data/builder/merge-properties-dialog.builder:
* src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
(gl_merge_properties_dialog_construct), (type_changed_cb):
- OK button now has default focus.
- Some formatting cleanup.

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

15 years ago2009-09-21 Jim Evins <evins@snaught.com>
Jim Evins [Mon, 21 Sep 2009 21:02:45 +0000 (21:02 +0000)]
2009-09-21  Jim Evins  <evins@snaught.com>

* po/POTFILES.in:
* data/builder/Makefile.am:
* data/builder/new-label-dialog.builder:
Removed trivial builder file for new label dialog.
* data/builder/wdgt-media-select.builder:
Changed focus behavior of widgets.
* src/new-label-dialog.c: (gl_new_label_dialog_init),
(gl_new_label_dialog_construct):
- Removed use of trivial builder file -- populate explicitely.
- Moved population code to init.
- OK button now has default focus.
- Some formatting cleanup.

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

15 years ago*po/de.po: Updated German translation
Mario Blättermann [Sun, 20 Sep 2009 16:11:26 +0000 (16:11 +0000)]
*po/de.po: Updated German translation

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

15 years ago2009-09-19 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 19 Sep 2009 20:38:30 +0000 (20:38 +0000)]
2009-09-19  Jim Evins  <evins@snaught.com>

* COPYING:
Updated to GPL3 text.
* COPYING-LIBGLABELS:
Updated to LGPL3 text.
* COPYING-TEMPLATES:
New MIT/X license file for templates subdirectory.
* COPYING.README_FIRST:
Updated licensing information.
* templates/Makefile.am:
* templates/avery-iso-templates.xml:
* templates/avery-other-templates.xml:
* templates/avery-us-templates.xml:
* templates/brother-other-templates.xml:
* templates/categories.xml:
* templates/dymo-other-templates.xml:
* templates/glabels-2.2.dtd:
* templates/misc-iso-templates.xml:
* templates/misc-other-templates.xml:
* templates/misc-us-templates.xml:
* templates/paper-sizes.xml:
* templates/zweckform-iso-templates.xml:
- Added MIT/X license notice to database files.
- Moved from data subdirectory.
* configure.in:
* po/POTFILES.in:
* Makefile.am:
* data/Makefile.am:
Updated to reflect above move.

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

15 years ago2009-09-19 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 19 Sep 2009 16:56:36 +0000 (16:56 +0000)]
2009-09-19  Jim Evins  <evins@snaught.com>

* libglabels/category.c:
* libglabels/category.h:
* libglabels/db.c:
* libglabels/db.h:
* libglabels/enums.h:
* libglabels/libglabels-private.h:
* libglabels/libglabels.h:
* libglabels/paper.c:
* libglabels/paper.h:
* libglabels/str.c:
* libglabels/str.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:
- Cleaned up GTK/GLIB includes.
- Updated license notification to LGPL3+.

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

15 years ago2009-09-18 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 19 Sep 2009 02:59:50 +0000 (02:59 +0000)]
2009-09-18  Jim Evins  <evins@snaught.com>

* po/POTFILES.in:
Added missing file.
* src/mini-preview.h:
* src/mini-preview.c: (gl_mini_preview_class_init),
(gl_mini_preview_finalize), (gl_mini_preview_set_by_name),
(gl_mini_preview_highlight_range), (gl_mini_preview_set_label),
(gl_mini_preview_set_page), (gl_mini_preview_set_n_sheets),
(gl_mini_preview_set_n_copies), (gl_mini_preview_set_first),
(gl_mini_preview_set_last), (gl_mini_preview_set_collate_flag),
(gl_mini_preview_set_outline_flag),
(gl_mini_preview_set_reverse_flag),
(gl_mini_preview_set_crop_marks_flag), (button_release_event_cb),
(expose_event_cb), (redraw), (draw), (draw_labels),
(draw_rich_preview):
Added rich preview capability to mini preview.
* src/print-op-dialog.c: (create_custom_widget_cb),
(simple_sheets_radio_cb), (simple_first_spin_cb),
(simple_last_spin_cb), (preview_pressed_cb), (preview_released_cb),
(merge_spin_cb), (merge_collate_check_cb), (preview_clicked_cb),
(option_toggled_cb):
Use new rich preview capability of mini preview in print dialog.

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

15 years agopo/POTFILES.in: Removed name of no longer existant file
Mario Blättermann [Fri, 18 Sep 2009 18:03:26 +0000 (18:03 +0000)]
po/POTFILES.in: Removed name of no longer existant file

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

15 years ago2009-09-17 Jim Evins <evins@snaught.com>
Jim Evins [Fri, 18 Sep 2009 01:54:44 +0000 (01:54 +0000)]
2009-09-17  Jim Evins  <evins@snaught.com>

* src/stock.c: (add_icons), (add_button_icon):
Use proper free function for GtkIconSource (gtk_icon_source_free() not g_free()).
Patch provided by Christian Persch <chpe@gnome.org>.

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

15 years ago2009-09-17 Jim Evins <evins@snaught.com>
Jim Evins [Fri, 18 Sep 2009 01:44:09 +0000 (01:44 +0000)]
2009-09-17  Jim Evins  <evins@snaught.com>

* libglabels/category.h:
* libglabels/db.h:
* libglabels/paper.h:
* libglabels/template.h:
* libglabels/xml-category.h:
* libglabels/xml-paper.h:
* libglabels/xml.h:
Cleaned up GTK/GLIB includes.
* src/bc-gnubarcode.c:
* src/bc-gnubarcode.h:
* src/bc-iec16022.c:
* src/bc-iec16022.h:
* src/bc-iec18004.c:
* src/bc-iec18004.h:
* src/bc-postnet.c:
* src/bc-postnet.h:
* src/bc.c:
* src/bc.h:
* src/cairo-ellipse-path.c:
* src/cairo-ellipse-path.h:
* src/cairo-label-path.c:
* src/cairo-label-path.h:
* src/cairo-markup-path.c:
* src/cairo-markup-path.h:
* src/color-combo-button.c:
* src/color-combo-button.h:
* src/color-combo-color-menu-item.c:
* src/color-combo-color-menu-item.h:
* src/color-combo-history.c:
* src/color-combo-menu.c:
* src/color-combo-menu.h:
* src/color-combo.c:
* src/color-combo.h:
* src/color-swatch.c:
* src/color-swatch.h:
* src/color.c:
* src/color.h:
* src/critical-error-handler.c:
* src/critical-error-handler.h:
* src/debug.c:
* src/debug.h:
* src/file.c:
* src/file.h:
* src/font-combo-menu-item.c:
* src/font-combo-menu-item.h:
* src/font-combo-menu.c:
* src/font-combo-menu.h:
* src/font-combo.c:
* src/font-combo.h:
* src/font-sample.h:
* src/font-util.c:
* src/font-util.h:
* src/glabels-batch.c:
* 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-label-preview.c:
* src/mini-label-preview.h:
* src/mini-preview-pixbuf-cache.c:
* src/mini-preview-pixbuf-cache.h:
* src/mini-preview-pixbuf.c:
* src/mini-preview-pixbuf.h:
* src/mini-preview.c:
* 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-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/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-dialog.c:
* src/print-op.c:
* src/print-op.h:
* src/print.c:
* src/print.h:
* src/recent.c:
* src/recent.h:
* src/rotate-label-button.c:
* src/rotate-label-button.h:
* src/stock.c:
* src/stock.h:
* src/template-designer.c:
* src/template-designer.h:
* 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-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/warning-handler.c:
* src/warning-handler.h:
* src/wdgt-chain-button.c:
* src/wdgt-chain-button.h:
* src/wdgt-media-select.c:
* src/wdgt-media-select.h:
* src/wdgt-merge-menu.c:
* src/wdgt-merge-menu.h:
* src/window.c:
* src/window.h:
* src/xml-label-04.c:
* src/xml-label-04.h:
* src/xml-label.c:
* src/xml-label.h:
Cleaned up GTK/GLIB includes.
Updated remainder of notices to GPL3+.
Simple formatting cleanup.

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

15 years agode.po: Updated German translation
Mario Blättermann [Wed, 16 Sep 2009 19:41:14 +0000 (19:41 +0000)]
de.po: Updated German translation
POTFILES.in: Removed filenames which are no longer available

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

15 years ago2009-09-13 Jim Evins <evins@snaught.com>
Jim Evins [Sun, 13 Sep 2009 05:00:03 +0000 (05:00 +0000)]
2009-09-13  Jim Evins  <evins@snaught.com>

Refactored print operation subsystem.

* src/print-op.c:
* src/print-op.h:
Basic GtkPrintOperation based class.  Does not instantiate
custom widgets, so it can be used by glabels-batch without
the additional overhead.
* src/print-op-dialog.c:
* src/print-op-dialog.h:
New object derived from glPrintOp.  This one is intended
to be used as a dialog and installs custom widgets.
glWdgtPrintCopies and glWdgtPrintMerge have been merged
into this object.
* src/wdgt-print-copies.c:
* src/wdgt-print-copies.h:
* src/wdgt-print-merge.c:
* src/wdgt-print-merge.h:
Deleted.
* src/Makefile.am:
Modified to reflect above additions and deletions.
* src/mini-preview.c: (gl_mini_preview_construct),
(gl_mini_preview_set_template), (set_transform_and_get_scale),
(button_press_event_cb), (motion_notify_event_cb), (draw):
Now scales with allocation.
* src/glabels-batch.c: (main):
* src/template-designer.c: (print_test_cb):
* src/ui-commands.c: (gl_ui_cmd_file_print):
Use above modifications.
* data/builder/print-op-dialog-custom-widget.builder:
New builder file for glPrintOpDialog custom widgets.
* data/builder/print-custom-widget.builder:
Deleted.
* data/builder/Makefile.am:
Modified to reflect above addition and deletion.

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

15 years ago2009-09-10 Jim Evins <evins@snaught.com>
Jim Evins [Fri, 11 Sep 2009 02:14:58 +0000 (02:14 +0000)]
2009-09-10  Jim Evins  <evins@snaught.com>

* src/Makefile.am:
* src/mini-label-preview.c:
* src/mini-label-preview.h:
Created new glMiniLabelPreview widget to support glRotateLabelButton.
* src/rotate-label-button.c:
* src/rotate-label-button.h:
Renamed glWdgtRotateLabel to glRotateLabelButton.
* src/new-label-dialog.c: (gl_new_label_dialog_construct),
(template_changed_cb), (gl_new_label_dialog_get_rotate_state),
(gl_new_label_dialog_set_rotate_state):
Propogated above renaming.
* src/mini-preview.c: (gl_mini_preview_set_template), (draw),
(draw_shadow), (draw_paper), (draw_labels):
Use GtkStyle for colors instead of hardcoded ones.

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

15 years ago2009-09-09 Jim Evins <evins@snaught.com>
Jim Evins [Thu, 10 Sep 2009 02:42:25 +0000 (02:42 +0000)]
2009-09-09  Jim Evins  <evins@snaught.com>

* configure.in:
* Makefile.am:
* src/Makefile.am:
* src/stock-pixmaps/Makefile.am:
* qrencode-3.1.0/Makefile.am
* data/desktop/glabels.desktop.in:
* docs/libglabels/libglabels-decl-list.txt:
Various build system fixes and cleanup.

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

15 years ago2009-09-08 Jim Evins <evins@snaught.com>
Jim Evins [Wed, 9 Sep 2009 02:16:13 +0000 (02:16 +0000)]
2009-09-08  Jim Evins  <evins@snaught.com>

* src/font-util.c: (gl_font_util_validate_family):
* src/font-util.h:
Added gl_font_util_validate_family().
* src/font-combo.c: (gl_font_combo_class_init),
(gl_font_combo_new), (gl_font_combo_set_family):
Use gl_font_util_validate_family() when setting family.
* src/label-text.c: (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/object-editor-text-page.c:
(gl_object_editor_prepare_text_page),
(gl_object_editor_set_font_family):
Removed code obsoleted by the addition of gl_font_util_validate_family().
* src/color-swatch.c: (gl_color_swatch_class_init), (style_set_cb),
(draw_swatch):
* src/font-sample.c: (gl_font_sample_class_init), (style_set_cb),
(draw_sample):
Added handler for style_set event.
* src/color-combo-button.c: (gl_color_combo_button_class_init):
* src/color-combo-color-menu-item.c:
(gl_color_combo_color_menu_item_class_init):
* src/color-combo-history.c: (gl_color_combo_history_class_init):
* src/color-combo-menu.c: (map_event_cb):
* src/color-combo.c: (gl_color_combo_class_init),
(gl_color_combo_new):
* src/font-combo-menu-item.c: (gl_font_combo_menu_item_class_init):
* src/font-combo-menu.c: (gl_font_combo_menu_class_init):
* src/wdgt-rotate-label.c: (create_pixbuf):
Various cleanups -- mostly removing unused variables.

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

15 years agoUpdated German doc translation, added screenshots
Mario Blättermann [Tue, 8 Sep 2009 17:55:18 +0000 (17:55 +0000)]
Updated German doc translation, added screenshots

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

15 years ago2009-09-07 Jim Evins <evins@snaught.com>
Jim Evins [Tue, 8 Sep 2009 03:22:09 +0000 (03:22 +0000)]
2009-09-07  Jim Evins  <evins@snaught.com>

Created new glFontCombo widget family subsystem + minor refinements to glColorCombo
widget family.

* src/color-combo-button.c:
* src/color-combo-button.h:
Renamed ColorButton to ColorComboButton.
* src/color.h:
Added GL_COLOR_WHITE macro.
* src/color-combo.c: (gl_color_combo_init):
Minor cleanup.
* src/Makefile.am:
* src/font-combo.c:
* src/font-combo.h:
* src/font-combo-menu.c:
* src/font-combo-menu.h:
* src/font-combo-menu-item.c:
* src/font-combo-menu-item.h:
* src/font-sample.c:
* src/font-sample.h:
* src/font-util.c:
* src/font-util.h:
New FontCombo subsystem.
* src/util.c:
* src/util.h:
Moved font functions to font-util.[ch].
* data/builder/object-editor.builder:
* data/builder/prefs-dialog.builder:
* data/builder/property-bar.builder:
* src/label-text.c: (set_font_family):
* src/object-editor-private.h:
* src/object-editor-text-page.c:
(gl_object_editor_prepare_text_page),
(gl_object_editor_set_font_family),
(gl_object_editor_get_font_family):
* src/prefs-dialog.c: (construct_object_page),
(update_object_page_from_prefs), (update_prefs_from_object_page):
* src/ui-property-bar.c: (gl_ui_property_bar_construct),
(reset_to_default_properties), (update_text_properties),
(update_fill_color), (update_line_color), (font_family_changed_cb),
(text_color_changed_cb), (fill_color_changed_cb),
(line_color_changed_cb):
Incorporated new FontCombo subsystem.
* po/POTFILES.in:
Reconciled with above changes/additions.

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