]> git.sur5r.net Git - glabels/log
glabels
17 years ago2007-05-05 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 5 May 2007 18:05:32 +0000 (18:05 +0000)]
2007-05-05  Jim Evins  <evins@snaught.com>

* src/template-designer.c: (apply_cb):
Add new template to mini-preview pixbuf cache.

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

17 years ago2007-05-03 Jim Evins <evins@snaught.com>
Jim Evins [Thu, 3 May 2007 21:33:24 +0000 (21:33 +0000)]
2007-05-03  Jim Evins  <evins@snaught.com>

* src/label-image.c: (gl_label_image_init), (draw_object):
Scale default pixbuf up, to prevent bluring.  Use cairo_fill to
render image.

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

17 years ago2007-05-02 Jim Evins <evins@snaught.com>
Jim Evins [Thu, 3 May 2007 01:47:24 +0000 (01:47 +0000)]
2007-05-02  Jim Evins  <evins@snaught.com>

* src/view.c: (draw_select_region_layer), (motion_notify_event_cb),
(button_release_event_cb):
Removed attempt at rendering optimization by clipping the updates
to areas affected -- this actually seemed to hurt update performance.

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

17 years ago2007-04-30 Jim Evins <evins@snaught.com>
Jim Evins [Tue, 1 May 2007 03:29:27 +0000 (03:29 +0000)]
2007-04-30  Jim Evins  <evins@snaught.com>

* src/color.h:
* src/color.c: (gl_color_shadow), (gl_color_node_new_default),
(gl_color_node_equal), (gl_color_node_expand):
* src/label-barcode.c: (draw_object):
* src/label-box.c: (draw_object), (draw_shadow):
* src/label-ellipse.c: (draw_object), (draw_shadow):
* src/label-line.c: (draw_object), (draw_shadow):
* src/label-text.c: (draw_object), (draw_shadow):
* src/wdgt-mini-preview.c: (draw_shadow), (draw_labels):
* src/wdgt-rotate-label.c: (drawingarea_update):
Some cleanup to color related code.

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

17 years ago2007-04-30 Jim Evins <evins@snaught.com>
Jim Evins [Tue, 1 May 2007 01:18:50 +0000 (01:18 +0000)]
2007-04-30  Jim Evins  <evins@snaught.com>

* src/label.h:
Added glLabelRegion structure type.
* src/label-object.c: (gl_label_object_get_extent):
* src/label-object.h:
Modified gl_label_object_get_extent() to fill in a glLabelRegion struct.
* src/view.h:
* src/view.c: (gl_view_update_region), (draw_select_region_layer),
(gl_view_select_region), (gl_view_align_selection_left),
(gl_view_align_selection_right), (gl_view_align_selection_hcenter),
(gl_view_align_selection_top), (gl_view_align_selection_bottom),
(gl_view_align_selection_vcenter),
(gl_view_center_selection_horiz), (gl_view_center_selection_vert),
(gl_view_move_selection), (gl_view_can_selection_text),
(motion_notify_event_cb), (button_press_event_cb),
(button_release_event_cb):
- Reconcile with new gl_label_object_get_extent() API.
- Use glLabelRegion for view->select_region.
- Added gl_view_update_region() to clip updates to region.
- Use gl_view_update_region() during manipulation of view->select_region.

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

17 years ago2007-04-26 Jim Evins <evins@snaught.com>
Jim Evins [Fri, 27 Apr 2007 02:17:18 +0000 (02:17 +0000)]
2007-04-26  Jim Evins  <evins@snaught.com>

* src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
(draw_label_outline):
* src/print.c: (print_crop_marks), (draw_outline):
* src/view-object.c: (gl_view_object_draw_handles):
* src/view.c: (draw_bg_layer), (draw_grid_layer),
(draw_markup_layer), (draw_fg_layer), (draw_select_region_layer):
* src/wdgt-mini-preview.c: (draw_paper), (draw_labels):
* src/wdgt-rotate-label.c: (drawingarea_update):
Added defines for various magic numbers.

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

17 years ago2007-04-25 Jim Evins <evins@snaught.com>
Jim Evins [Thu, 26 Apr 2007 02:56:06 +0000 (02:56 +0000)]
2007-04-25  Jim Evins  <evins@snaught.com>

* src/label-text.c: (get_size), (draw_object), (draw_shadow):
Scale text down.  Cairo seems to render text too large.

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

17 years ago2007-04-25 Jim Evins <evins@snaught.com>
Jim Evins [Wed, 25 Apr 2007 22:59:05 +0000 (22:59 +0000)]
2007-04-25  Jim Evins  <evins@snaught.com>

* src/view.h:
* src/view.c: (gl_view_update), (expose_cb),
(motion_notify_event_cb), (button_press_event_cb),
(button_release_event_cb):
- Try not to let updates get backed up.
- Grab pointer when doing any drag operations.

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

17 years ago2007-04-11 Jim Evins <evins@snaught.com>
Jim Evins [Thu, 12 Apr 2007 02:27:48 +0000 (02:27 +0000)]
2007-04-11  Jim Evins  <evins@snaught.com>

* src/cairo-label-path.c: (gl_cairo_label_path),
(gl_cairo_rect_label_path), (gl_cairo_round_label_path),
(gl_cairo_cd_label_path):
* src/cairo-label-path.h:
* src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
(draw_label_outline):
* src/print.c: (draw_outline), (clip_to_outline):
* src/view.c: (draw_bg_layer), (draw_fg_layer):
* src/wdgt-mini-preview.c: (draw_labels):
* src/wdgt-rotate-label.c: (drawingarea_update):
Modified to universally use gl_cairo_label_path() to create paths
for labels.  Added shadow to mini preview in rotate widget.

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

17 years ago2007-04-10 Jim Evins <evins@snaught.com>
Jim Evins [Tue, 10 Apr 2007 14:42:24 +0000 (14:42 +0000)]
2007-04-10  Jim Evins  <evins@snaught.com>

* libglabels/template.h:
* libglabels/template.c: (gl_template_get_name_list_unique),
(gl_template_get_name_list_all), (gl_template_from_name):
Modified libglabels to allow you to get a list of all template names
including all aliases or just a list of primary names of each unique
template.
* src/Makefile.am:
* src/file.c: (gl_file_properties):
* src/glabels.c: (main):
* src/mini-preview-pixbuf-cache.h:
* src/mini-preview-pixbuf-cache.c:
* src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
(filter_changed_cb), (load_list):
Added mini-preview pixbuf cache, so that only one mini-preview is
needed for a unique template and gets reused for all aliases.  These
pixbufs will also live for the life of the program so they are not
rebuilt everytime a new label dialog is invoked.
* src/mini-preview-pixbuf.c: (draw_paper),
(draw_rect_label_outline), (draw_round_label_outline),
(draw_cd_label_outline):
Removed some comment artifacts.

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

17 years ago2007-04-04 Jim Evins <evins@snaught.com>
Jim Evins [Thu, 5 Apr 2007 03:16:38 +0000 (03:16 +0000)]
2007-04-04  Jim Evins  <evins@snaught.com>

* src/mini-preview-pixbuf.c: (gl_mini_preview_pixbuf_new),
(draw_paper), (draw_label_outlines), (draw_rect_label_outline),
(draw_round_label_outline), (draw_cd_label_outline):
* src/wdgt-media-select.c: (load_list):
* src/wdgt-rotate-label.c: (draw_cd_label_outline):
Cosmetic enhancments to mini previews.

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

17 years ago2007-04-04 Jim Evins <evins@snaught.com>
Jim Evins [Thu, 5 Apr 2007 01:48:09 +0000 (01:48 +0000)]
2007-04-04  Jim Evins  <evins@snaught.com>

* src/ui-property-bar.c: (gl_ui_property_bar_finalize),
(gl_ui_property_bar_construct):
Save copy of GladeXML tree so that we don't lose tooltips.

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

17 years ago2007-04-02 Jim Evins <evins@snaught.com>
Jim Evins [Tue, 3 Apr 2007 01:13:20 +0000 (01:13 +0000)]
2007-04-02  Jim Evins  <evins@snaught.com>

* src/merge-properties-dialog.c:
* src/new-label-dialog.c:
* src/object-editor.c:
* src/prefs-dialog.c:
* src/print-op.c:
* src/template-designer.c:
* src/ui-property-bar.c:
* src/wdgt-media-select.c:
* src/wdgt-rotate-label.c:
Fixed several memory leaks.

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

17 years ago2007-04-01 Jim Evins <evins@snaught.com>
Jim Evins [Mon, 2 Apr 2007 03:14:21 +0000 (03:14 +0000)]
2007-04-01  Jim Evins  <evins@snaught.com>

* src/label-text.c: (gl_label_text_init), (copy),
(gl_label_text_set_lines), (buffer_changed_cb), (get_size),
(set_font_family), (set_font_size), (set_font_weight),
(set_font_italic_flag), (set_text_alignment),
(set_text_line_spacing):
Cache object size, so that expensive extent calculations are only done
when needed.

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

17 years ago2007-03-30 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 31 Mar 2007 03:13:18 +0000 (03:13 +0000)]
2007-03-30  Jim Evins  <evins@snaught.com>

* src/prefs-model.c: (gl_prefs_model_load_settings):
Default to an unlimited list of recent documents, since this parameter
seems to be pre-filter anyway.

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

17 years ago2007-03-30 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 31 Mar 2007 00:51:43 +0000 (00:51 +0000)]
2007-03-30  Jim Evins  <evins@snaught.com>

* src/label-box.c: (draw_shadow):
* src/label-ellipse.c: (draw_shadow):
Added missing shadow fill.

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

17 years ago2007-03-28 Jim Evins <evins@snaught.com>
Jim Evins [Thu, 29 Mar 2007 02:47:06 +0000 (02:47 +0000)]
2007-03-28  Jim Evins  <evins@snaught.com>

* src/ui-commands.c: (gl_ui_cmd_file_print):
Unreferencing the print operation sometimes crashes.  Just don't do it
right now.

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

17 years ago2007-03-28 Jim Evins <evins@snaught.com>
Jim Evins [Thu, 29 Mar 2007 02:31:25 +0000 (02:31 +0000)]
2007-03-28  Jim Evins  <evins@snaught.com>

* src/print-op.c: (gl_print_op_construct),
(gl_print_op_get_settings), (gl_print_op_set_settings),
(gl_print_op_free_settings), (create_custom_widget_cb):
* src/print-op.h:
* src/ui-commands.c: (gl_ui_cmd_file_print):
* src/window.c: (gl_window_init):
* src/window.h:
Save print settings and custom settings between print operations
on the same window.

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

17 years ago2007-03-24 Jim Evins <evins@snaught.com>
Jim Evins [Sun, 25 Mar 2007 01:18:32 +0000 (01:18 +0000)]
2007-03-24  Jim Evins  <evins@snaught.com>

* src/object-editor-image-page.c:
(gl_object_editor_prepare_image_page),
(gl_object_editor_set_image), (img_selection_changed_cb):
Workaround for GtkFileChooserButton bug # 327243.  This the root
cause for gLabels bug # 1192884.  I have actually observed 3 delayed
"selection-changed" signals -- the first 2 return NULL -- this is
what caused the image to reset to the default followed by setting
it back to the original image, trying to fit it into a new bounding
box.  This sequence of events is much more evident with the new
cairo rendering.

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

17 years ago2007-03-23 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 24 Mar 2007 02:23:36 +0000 (02:23 +0000)]
2007-03-23  Jim Evins  <evins@snaught.com>

Merged all changes from experimental cairo branch to trunk.
Trunk no longer depends on libgnomecanvas or libgnomeprint[ui].

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

17 years ago2007-02-18 Jim Evins <evins@snaught.com>
Jim Evins [Sun, 18 Feb 2007 18:39:41 +0000 (18:39 +0000)]
2007-02-18  Jim Evins  <evins@snaught.com>

* src/bc.h:
GNOME_FONT_BOOK changed to PANGO_WEIGHT_NORMAL.

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

17 years ago2007-02-14 Jim Evins <evins@snaught.com>
Jim Evins [Wed, 14 Feb 2007 18:16:46 +0000 (18:16 +0000)]
2007-02-14  Jim Evins  <evins@snaught.com>

* src/base64.c:
* src/base64.h:
* src/bc-gnubarcode.c:
* src/bc-gnubarcode.h:
* src/bc-postnet.c:
* src/bc-postnet.h:
* src/bc.c:
* src/bc.h:
* src/canvas-hacktext.c:
* src/canvas-hacktext.h:
* src/debug.c:
* src/debug.h:
* src/file.c:
* src/file.h:
* 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-preview-pixbuf.h:
* 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-edit-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-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.c:
* src/stock.c:
* src/stock.h:
* src/template-designer.c:
* 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-highlight.c:
* src/view-highlight.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/wdgt-chain-button.c:
* src/wdgt-chain-button.h:
* src/wdgt-media-select.c:
* src/wdgt-mini-preview.c:
* src/wdgt-print-copies.c:
* src/wdgt-print-copies.h:
* src/wdgt-print-merge.c:
* src/wdgt-print-merge.h:
* src/wdgt-rotate-label.c:
* src/window.h:
* src/xml-label-04.c:
* src/xml-label-04.h:
* src/xml-label-191.c:
* src/xml-label-191.h:
* src/xml-label.c:
* src/xml-label.h:

Assorted superficial cleanup.  Including:
- Use G_DEFINE_TYPE for all objects.
- Reconcile style of all class initializer functions
- Reconcile style of all finalize functions
- Add emacs mode line to all source files

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

17 years ago2007-02-06 Jim Evins <evins@snaught.com>
Jim Evins [Wed, 7 Feb 2007 03:31:11 +0000 (03:31 +0000)]
2007-02-06  Jim Evins  <evins@snaught.com>

Assorted cleanup and removal of deprecated items.

* src/splash.c:
* src/splash.h:
* src/Makefile.am:
Removed annoying splash screen.
* src/glabels-batch.c: (main):
* src/glabels.c: (main):
Converted from popt to GOption.
* src/object-editor-shadow-page.c:
(gl_object_editor_set_shadow_state):
Removed deprecated method on GtkToggleButton.
* src/ui-commands.c: (gl_ui_cmd_help_about):
Removed dependency on libgnomui/qnome-url.h.
* src/template-designer.c:
Removed dependency on libgnome/gnome-program.h.

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

17 years ago2007-02-04 Jim Evins <evins@snaught.com>
Jim Evins [Mon, 5 Feb 2007 03:45:58 +0000 (03:45 +0000)]
2007-02-04  Jim Evins  <evins@snaught.com>

* src/color.c:
* src/color.h:
* src/prefs-model.c:
* src/print.c: (draw_text_object):
* src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_construct):
Removed GnomeCanvas artifacts from color.[ch] and related modules.

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

17 years ago2007-02-04 Jim Evins <evins@snaught.com>
Jim Evins [Mon, 5 Feb 2007 03:16:28 +0000 (03:16 +0000)]
2007-02-04  Jim Evins  <evins@snaught.com>

* src/wdgt-mini-preview.c:
* src/wdgt-mini-preview.h:
Ported widget from GnomeCanvas to Cairo.

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

17 years ago2007-02-03 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 3 Feb 2007 19:26:07 +0000 (19:26 +0000)]
2007-02-03  Jim Evins  <evins@snaught.com>

* data/glade/template-designer.glade:
* src/template-designer.c:
* src/template-designer.h:
Ported GnomeDruid to GtkAssistant.  Since libglade does not
yet support the GtkAssistant and we derive directly from
the Assistant, the pages are layed out in a GtkNotebook in
the glade description -- we then append each page to the
assistant.

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

17 years ago2007-01-25 Jim Evins <evins@snaught.com>
Jim Evins [Fri, 26 Jan 2007 00:31:34 +0000 (00:31 +0000)]
2007-01-25  Jim Evins  <evins@snaught.com>

* data/glade/object-editor.glade:
Added dummy page to notebook, to prevent shadow page from
becoming the default current page at creation.
* src/view-box.c: (construct_properties_editor):
* src/view-ellipse.c: (construct_properties_editor):
* src/view-line.c: (construct_properties_editor):
* src/view-text.c: (construct_properties_editor):
Reconciled order of params.

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

17 years ago2007-01-19 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 20 Jan 2007 04:52:11 +0000 (04:52 +0000)]
2007-01-19  Jim Evins  <evins@snaught.com>

* src/label-barcode.h:
* src/label-object.c: (gl_label_object_set_font_weight),
(gl_label_object_set_text_alignment),
(gl_label_object_get_font_weight),
(gl_label_object_get_text_alignment):
* src/label-object.h:
* src/label-text.c: (gl_label_text_instance_init), (copy),
(get_size), (set_font_family), (set_font_weight),
(set_text_alignment), (get_font_weight), (get_text_alignment):
* src/label-text.h:
* src/object-editor-text-page.c:
(gl_object_editor_prepare_text_page),
(gl_object_editor_set_font_family),
(gl_object_editor_set_font_weight),
(gl_object_editor_get_font_weight),
(gl_object_editor_set_text_alignment),
(gl_object_editor_get_text_alignment),
(gl_object_editor_set_text_color):
* src/object-editor.h:
* src/prefs-dialog.c: (construct_object_page),
(update_object_page_from_prefs), (update_prefs_from_object_page):
* src/prefs-model.c: (gl_prefs_model_save_settings),
(gl_prefs_model_load_settings):
* src/prefs-model.h:
* src/print.c: (draw_text_object):
* src/ui-property-bar.c: (gl_ui_property_bar_construct),
(reset_to_default_properties), (update_text_properties),
(font_bold_toggled_cb), (text_align_toggled_cb):
* src/ui-sidebar.c:
* src/util.c: (gl_util_align_to_string), (gl_util_string_to_align),
(gl_util_weight_to_string), (gl_util_string_to_weight),
(gl_util_get_font_family_list), (gl_util_font_family_list_free):
* src/util.h:
* src/view-text.c: (update_object_from_editor_cb),
(update_editor_from_object_cb), (draw_hacktext), (draw_cursor):
* src/view.c: (gl_view_set_selection_text_alignment),
(gl_view_set_default_text_alignment),
(gl_view_get_default_text_alignment):
* src/view.h:
* src/xml-label-04.c: (xml04_parse_text_props):
* src/xml-label-191.c: (xml191_parse_text_props):
* src/xml-label.c: (xml_parse_object_text),
(xml_parse_toplevel_span), (xml_create_object_text),
(xml_create_toplevel_span):
Converted all model internals to Pango.  GnomeFont remains in
view until GnomeCanvas can be replaced with a cairo-based canvas.

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

17 years ago2007-01-17 Jim Evins <evins@snaught.com>
Jim Evins [Wed, 17 Jan 2007 05:07:34 +0000 (05:07 +0000)]
2007-01-17  Jim Evins  <evins@snaught.com>

* src/Makefile.am:
* src/hig.c:
Deleted hig.c.
* src/hig.h:
* src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type),
(gl_wdgt_print_copies_construct):
* src/wdgt-print-copies.h:
* src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type),
(gl_wdgt_print_merge_construct):
* src/wdgt-print-merge.h:
Removed all remaining HIG wrapper widgets.

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

17 years ago2007-01-16 Jim Evins <evins@snaught.com>
Jim Evins [Wed, 17 Jan 2007 04:14:38 +0000 (04:14 +0000)]
2007-01-16  Jim Evins  <evins@snaught.com>

* src/Makefile.am:
* src/print-dialog.c:
* src/print-dialog.h:
* src/print-op.c:
* src/print-op.h:
* src/template-designer.c: (print_test_cb):
* src/ui-commands.c: (gl_ui_cmd_file_print):
* src/print.c:
Renamed PrintDialog to PrintOp.  Added constructor for batch
printing.
* src/glabels-batch.c: (main):
Converted to use new PrintOp object for printing.

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

17 years ago2007-01-15 Jim Evins <evins@snaught.com>
Jim Evins [Tue, 16 Jan 2007 03:12:29 +0000 (03:12 +0000)]
2007-01-15  Jim Evins  <evins@snaught.com>

* data/glade/Makefile.am:
* data/glade/print-custom-widget.glade:
* src/print-dialog.c:
* src/print-dialog.h:
* src/print.c:
* src/print.h:
* src/template-designer.c: (print_test_cb):
* src/ui-commands.c: (gl_ui_cmd_file_print):
* src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_copies):
* src/wdgt-print-merge.h:
* src/window.c: (gl_window_init):
* src/window.h:
Initial conversion to GtkPrintOperation.
Still to do:
 - Remove font and other libgnomeprint[ui] from elsewhere
 - Add batch initialization of print operation

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

17 years ago2007-01-08 Jim Evins <evins@snaught.com>
Jim Evins [Tue, 9 Jan 2007 04:07:52 +0000 (04:07 +0000)]
2007-01-08  Jim Evins  <evins@snaught.com>
* configure.in:
Updated dependencies.  Set version to 2.1.pre4cvs.

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

17 years ago2007-01-03 Jim Evins <evins@snaught.com>
Jim Evins [Thu, 4 Jan 2007 01:09:30 +0000 (01:09 +0000)]
2007-01-03  Jim Evins  <evins@snaught.com>

* src/recent-files/*
Removed EggRecent stuff.
* configure.in:
* src/Makefile.am:
* src/file.c:
* src/recent.c:
* src/recent.h:
* src/ui-commands.c:
* src/ui-commands.h:
* src/ui.c:
Ported from EggRecent to GtkRecentManager.

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

17 years ago2007-01-02 Jim Evins <evins@snaught.com>
Jim Evins [Wed, 3 Jan 2007 02:21:11 +0000 (02:21 +0000)]
2007-01-02  Jim Evins  <evins@snaught.com>

* configure.in:
* iec16022-0.2.1/BUGS:
* iec16022-0.2.1/CHANGELOG:
* iec16022-0.2.1/CREDITS:
* iec16022-0.2.1/INSTALL:
* iec16022-0.2.1/LICENSE:
* iec16022-0.2.1/Makefile.am:
* iec16022-0.2.1/Makefile.dist:
* iec16022-0.2.1/README:
* iec16022-0.2.1/README.glabels:
* iec16022-0.2.1/TODO:
* iec16022-0.2.1/iec16022.1:
* iec16022-0.2.1/iec16022.c:
* iec16022-0.2.1/iec16022ecc200.c:
* iec16022-0.2.1/iec16022ecc200.h:
* iec16022-0.2.1/image.c:
* iec16022-0.2.1/image.h:
* iec16022-0.2.1/reedsol.c:
* iec16022-0.2.1/reedsol.h:
* iec16022-0.2.1/test/testsuite-example.bin:
* iec16022-0.2.1/test/testsuite-example.eps:
* iec16022-0.2.1/test/testsuite-example.hex:
* iec16022-0.2.1/test/testsuite-example.png:
* iec16022-0.2.1/test/testsuite-example.text:
* iec16022-0.2.1/test/testsuite.sh:
Include modified copy of iec16022-0.2.1 to provide encoding
support for datamatrix 2D barcodes.
* src/Makefile.am:
* src/bc-iec16022.c:
* src/bc-iec16022.h:
* src/bc.c:
Added initial datamatrix 2D barcode backend to barcode code.
* INSTALL:
* gtk-doc.make:
Automatic updates to later versions of these files.

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

17 years ago2006-11-28 Jim Evins <evins@snaught.com>
Jim Evins [Tue, 28 Nov 2006 15:57:31 +0000 (15:57 +0000)]
2006-11-28  Jim Evins  <evins@snaught.com>

* data/templates/avery-iso-templates.xml:
* data/templates/avery-us-templates.xml:
* data/templates/categories.xml:
* data/templates/misc-iso-templates.xml:
* data/templates/misc-us-templates.xml:
* data/templates/zweckform-iso-templates.xml:
More categorization.

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

17 years ago2006-09-12 Jim Evins <evins@snaught.com>
Jim Evins [Wed, 13 Sep 2006 02:40:30 +0000 (02:40 +0000)]
2006-09-12  Jim Evins  <evins@snaught.com>

* data/dtd/glabels-2.0.dtd:
* data/templates/Makefile.am:
* data/templates/avery-iso-templates.xml:
* data/templates/avery-other-templates.xml:
* data/templates/avery-us-templates.xml:
* data/templates/categories.xml:
* data/templates/misc-iso-templates.xml:
* data/templates/misc-other-templates.xml:
* data/templates/zweckform-iso-templates.xml:
* data/glade/Makefile.am:
* data/glade/new-label-dialog.glade:
* data/glade/wdgt-media-select.glade:
* data/glade/wdgt-rotate-label.glade:
* libglabels/Makefile.am:
* libglabels/category.c:
* libglabels/category.h:
* libglabels/libglabels.h:
* libglabels/paper.c:
* libglabels/template.c:
* libglabels/template.h:
* libglabels/xml-category.c:
* libglabels/xml-category.h:
* libglabels/xml-template.c:
Added support for category meta data.
* src/Makefile.am:
* src/file.c:
* src/mini-preview-pixbuf.c:
* src/mini-preview-pixbuf.h:
* src/new-label-dialog.c:
* src/new-label-dialog.h:
* src/wdgt-media-select.c:
* src/wdgt-media-select.h:
* src/wdgt-rotate-label.c:
* src/wdgt-rotate-label.h:
New "new label" dialog.

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

18 years ago2006-05-27 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 27 May 2006 05:47:54 +0000 (05:47 +0000)]
2006-05-27  Jim Evins  <evins@snaught.com>

* NEWS:
* autogen.sh:
* configure.in:
Preparation for 2.1.3.
* acinclude.m4:
* omf.make:
* xmldocs.make:
Removed.

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

18 years ago2006-05-22 Jim Evins <evins@snaught.com>
Jim Evins [Tue, 23 May 2006 01:26:54 +0000 (01:26 +0000)]
2006-05-22  Jim Evins  <evins@snaught.com>

* src/print.c: (draw_barcode_object):
Don't print "Invalid barcode data" if data field is empty.  Patch provided
by Darren Warner <warnerd@users.sourceforge.net>.  Fixes Bug #1479839.
* AUTHORS:
Added acknowledgment for above patch.
* src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
* src/bc-postnet.c: (postnet_code):
Removed "Invalid barcode data" warnings from stderr.
* src/view-barcode.c: (draw_barcode):
Draw box around barcode extent if data empty or invalid.  Center a
message whether the data is empty or invalid in box.

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

18 years ago2006-05-22 Jim Evins <evins@snaught.com>
Jim Evins [Mon, 22 May 2006 23:55:04 +0000 (23:55 +0000)]
2006-05-22  Jim Evins  <evins@snaught.com>

* src/print.c: (draw_text_object):
Check shadow state when printing text.

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

18 years ago2006-05-20 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 20 May 2006 21:57:50 +0000 (21:57 +0000)]
2006-05-20  Jim Evins  <evins@snaught.com>

* src/ui-commands.c: (gl_ui_cmd_view_grid_toggle),
(gl_ui_cmd_view_markup_toggle):
Fixed crash when grid or markup have been toggled off during
a previous session.  Bug #1434324.

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

18 years ago2006-04-05 Jim Evins <evins@snaught.com>
Jim Evins [Thu, 6 Apr 2006 01:50:16 +0000 (01:50 +0000)]
2006-04-05  Jim Evins  <evins@snaught.com>

* src/object-editor.c: (gl_object_editor_set_key_names):
Fixed potential crash when freeing empty key list.

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

18 years ago2006-03-11 Jim Evins <evins@snaught.com>
Jim Evins [Sun, 12 Mar 2006 02:50:27 +0000 (02:50 +0000)]
2006-03-11  Jim Evins  <evins@snaught.com>

* src/print.c: (draw_text_object):
* src/view-text.c: (gl_view_text_new),
(construct_properties_editor), (update_object_from_editor_cb),
(update_editor_from_object_cb), (update_editor_from_label_cb),
(draw_hacktext):
Added shadow support to text object.

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

18 years ago2006-02-18 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 18 Feb 2006 05:20:44 +0000 (05:20 +0000)]
2006-02-18  Jim Evins  <evins@snaught.com>

* src/print.c: (draw_line_object):
* src/view-line.c: (gl_view_line_new),
(construct_properties_editor), (update_canvas_item_from_object_cb),
(update_object_from_editor_cb), (update_editor_from_object_cb),
(update_editor_from_label_cb):
Added shadow support to line object.

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

18 years ago2006-02-16 Jim Evins <evins@snaught.com>
Jim Evins [Fri, 17 Feb 2006 03:03:53 +0000 (03:03 +0000)]
2006-02-16  Jim Evins  <evins@snaught.com>

* src/view-box.c:
Comment changes.
* src/print.c: (draw_ellipse_object):
* src/view-ellipse.c: (gl_view_ellipse_new),
(construct_properties_editor), (update_canvas_item_from_object_cb),
(update_object_from_editor_cb), (update_editor_from_object_cb),
(update_editor_from_label_cb):
Added shadow support to ellipse object.

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

18 years ago2006-02-15 Jim Evins <evins@snaught.com>
Jim Evins [Thu, 16 Feb 2006 01:45:35 +0000 (01:45 +0000)]
2006-02-15  Jim Evins  <evins@snaught.com>

* src/label-object.c:
Changed default shadow offsets.
* src/view-box.c: (gl_view_box_new):
Simplified gl_view_box_new() so that is does not duplicate code
in update_canvas_item_from_object_cb().

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

18 years ago2006-02-07 Jim Evins <evins@snaught.com>
Jim Evins [Wed, 8 Feb 2006 03:44:52 +0000 (03:44 +0000)]
2006-02-07  Jim Evins  <evins@snaught.com>

* data/glade/object-editor.glade:
Fixed color groups of color combos.
* src/color.h:
Added default shadow color.
* src/object-editor.c: (gl_object_editor_construct_color_combo):
Added shadow color group.

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

18 years ago2006-02-06 Jim Evins <evins@snaught.com>
Jim Evins [Tue, 7 Feb 2006 02:21:17 +0000 (02:21 +0000)]
2006-02-06  Jim Evins  <evins@snaught.com>

* src/object-editor-shadow-page.c:
Forgot to add this file.
* src/view-box.c: (gl_view_box_new),
(update_canvas_item_from_object_cb), (update_editor_from_label_cb):
Update limits on shadow offset spinbuttons.

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

18 years ago2006-01-19 Jim Evins <evins@snaught.com>
Jim Evins [Fri, 20 Jan 2006 03:38:08 +0000 (03:38 +0000)]
2006-01-19  Jim Evins  <evins@snaught.com>

* src/merge-evolution.c: (gl_merge_evolution_get_key_list):
Initialize key_list to NULL.  Only lucky that this worked at all -- will
probably crash for many people.
* data/glade/object-editor.glade:
* src/Makefile.am:
* src/color.c:
* src/color.h:
* src/label-object.c:
* src/label-object.h:
* src/object-editor-fill-page.c:
* src/object-editor-private.h:
* src/object-editor.c:
* src/object-editor.h:
* src/xml-label.c:
Created infrastructure for shadow support.
* src/view-box.c:
* src/print.c:
Initial shadow support in box object only.

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

18 years ago2006-01-05 Jim Evins <evins@snaught.com>
Jim Evins [Thu, 5 Jan 2006 07:01:33 +0000 (07:01 +0000)]
2006-01-05  Jim Evins  <evins@snaught.com>

* src/merge-properties-dialog.c: (src_changed_cb):
Be extra paranoid before calling strcmp().
* src/merge.c: (gl_merge_set_src):
Don't make (merge == NULL) a critical error.

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

18 years ago2005-12-22 Jim Evins <evins@snaught.com>
Jim Evins [Thu, 22 Dec 2005 20:11:26 +0000 (20:11 +0000)]
2005-12-22  Jim Evins  <evins@snaught.com>

* src/glabels-batch.c: (main):
Compile warning free with gcc 4.0.

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

18 years ago2005-12-21 Jim Evins <evins@snaught.com>
Jim Evins [Thu, 22 Dec 2005 04:16:23 +0000 (04:16 +0000)]
2005-12-21  Jim Evins  <evins@snaught.com>

* glabels.spec.in:
Updated example RPM spec file.

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

18 years ago * NEWS:
Jim Evins [Thu, 22 Dec 2005 03:07:24 +0000 (03:07 +0000)]
* NEWS:
* configure.in:
Preparation for 2.1.2.

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

18 years ago2005-12-20 Jim Evins <evins@snaught.com>
Jim Evins [Wed, 21 Dec 2005 02:12:08 +0000 (02:12 +0000)]
2005-12-20  Jim Evins  <evins@snaught.com>

* src/Makefile.am:
Define unique G_LOG_DOMAIN for glabels.
* src/critical-error-handler.c: (gl_critical_error_handler_init):
* src/warning-handler.c: (gl_warning_handler_init),
(warning_handler):
Register for G_LOG_DOMAIN instead of NULL.

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

18 years ago2005-12-10 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 10 Dec 2005 16:26:13 +0000 (16:26 +0000)]
2005-12-10  Jim Evins  <evins@snaught.com>

* src/merge-evolution.c:
* src/merge-vcard.c:
Fixed indentation.

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

18 years ago2005-12-08 Jim Evins <evins@snaught.com>
Jim Evins [Fri, 9 Dec 2005 04:55:49 +0000 (04:55 +0000)]
2005-12-08  Jim Evins  <evins@snaught.com>

* libglabels/paper.c: (read_paper_files_from_dir):
* libglabels/template.c: (gl_template_register),
(read_template_files_from_dir):
* libglabels/xml-paper.c: (gl_xml_paper_read_papers_from_file),
(gl_xml_paper_parse_papers_doc):
* libglabels/xml-template.c:
(gl_xml_template_read_templates_from_file),
(gl_xml_template_parse_templates_doc),
(gl_xml_template_parse_template_node),
(xml_parse_label_rectangle_node), (xml_parse_label_round_node),
(xml_parse_label_cd_node), (xml_parse_layout_node),
(xml_parse_markup_margin_node), (xml_parse_markup_line_node),
(xml_parse_markup_circle_node),
(gl_xml_template_write_templates_to_file), (xml_create_label_node):
* libglabels/xml.c: (gl_xml_get_prop_length):
Re-classified g_warnings to g_messages.
* src/Makefile.am:
* src/glabels.c: (main):
* src/warning-handler.c: (gl_warning_handler_init),
(warning_handler):
* src/warning-handler.h:
Added warning message handler to make sure the user is
presented with appropriate non-fatal errors.
* src/critical-error-handler.c: (critical_error_handler):
Changed exit to abort.
* src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new), (render_pass1):
* src/bc-postnet.c: (postnet_code):
* src/bc.c: (id_to_index), (name_to_index):
* src/merge.c: (gl_merge_register_backend), (gl_merge_new):
* src/object-editor.c: (gl_object_notebook_construct_valist):
* src/prefs-dialog.c: (update_locale_page_from_prefs):
* src/prefs.c: (gl_prefs_get_units_per_point),
(gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
(gl_prefs_get_units_string):
* src/print.c: (draw_outline), (clip_to_outline), (clip_punchouts):
* src/splash.c: (gl_splash):
* src/ui-commands.c: (gl_ui_cmd_help_contents):
* src/view-highlight.c: (gl_view_highlight_new),
(highlight_resizable_box_construct), (object_changed_cb),
(view_scale_changed_cb):
* src/view.c: (draw_label_layer), (draw_bg_fg_layers),
(draw_markup_layer), (draw_markup_margin),
(gl_view_object_create_mode), (canvas_event),
(selection_received_cb):
* src/wdgt-mini-preview.c: (mini_outline_list_new):
* src/wdgt-rotate-label.c: (mini_preview_canvas_update):
* src/xml-label-04.c: (gl_xml_label_04_parse),
(xml04_parse_media_description), (xml04_parse_text_props),
(xml04_parse_barcode_props):
* src/xml-label-191.c: (gl_xml_label_191_parse),
(xml191_parse_objects), (xml191_parse_object),
(xml191_parse_text_props), (xml191_parse_image_props),
(xml191_parse_barcode_props), (xml191_parse_data),
(xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
(xml191_parse_markup):
* src/xml-label.c: (gl_xml_label_open), (gl_xml_label_open_buffer),
(xml_doc_to_label), (xml_parse_label), (xml_parse_objects),
(xml_parse_object_text), (xml_parse_object_image),
(xml_parse_object_barcode), (xml_parse_data),
(xml_parse_toplevel_span), (gl_xml_label_save),
(xml_create_objects):
Re-classified g_warnings to g_messages.
* src/merge-evolution.c: (gl_merge_evolution_open),
(gl_merge_evolution_close), (gl_merge_evolution_get_record):
Use g_warning to output errors encountered while
communicating with the evolution data server
instead of embedding them in the data.

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

18 years ago2005-12-08 Jim Evins <evins@snaught.com>
Jim Evins [Fri, 9 Dec 2005 00:15:33 +0000 (00:15 +0000)]
2005-12-08  Jim Evins  <evins@snaught.com>

* libglabels/libglabels-private.h:
Set G_LOG_DOMAIN
* libglabels/paper.c: (read_papers):
* libglabels/template.c: (read_templates):
Made appropriate warnings critical.
* src/Makefile.am:
* src/critical-error-handler.h:
* src/critical-error-handler.c: (gl_critical_error_handler_init),
(critical_error_handler):
Created critical error handler.
* src/glabels.c: (main):
Register critical error handler.
* src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
* src/object-editor.c: (gl_object_editor_init):
* src/prefs-dialog.c: (gl_prefs_dialog_init):
* src/template-designer.c: (gl_template_designer_init):
* src/ui-property-bar.c: (gl_ui_property_bar_instance_init):
Made appropriate warnings critical.

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

18 years ago2005-11-27 Jim Evins <evins@snaught.com>
Jim Evins [Sun, 27 Nov 2005 05:46:22 +0000 (05:46 +0000)]
2005-11-27  Jim Evins  <evins@snaught.com>

* src/merge-evolution.c: (gl_merge_evolution_get_key_list),
(gl_merge_evolution_get_primary_key),
(gl_merge_evolution_get_record):
Don't create "record_key" pseudo-key.  Don't populate
fields with null data.

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

18 years ago2005-11-25 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 26 Nov 2005 02:35:14 +0000 (02:35 +0000)]
2005-11-25  Jim Evins  <evins@snaught.com>

* src/merge-evolution.c: (gl_merge_evolution_finalize),
(gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
(gl_merge_evolution_get_record), (gl_merge_evolution_copy),
(free_field_list):
Query EDS for all supported fields.  Patch provided by
Austin Henry <ahenry@users.sourceforge.net>.

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

18 years ago2005-10-29 Jim Evins <evins@snaught.com>
Jim Evins [Sun, 30 Oct 2005 01:16:43 +0000 (01:16 +0000)]
2005-10-29  Jim Evins  <evins@snaught.com>

* src/glabels.c: (main):
* src/label-barcode.c: (gl_label_barcode_finalize):
* src/label-text.c: (gl_label_text_finalize), (set_font_family):
* src/label.c: (gl_label_instance_init), (gl_label_finalize):
* src/object-editor.c: (gl_object_editor_finalize):
Another pass at valgrinding -- plugged several memory leaks.
* src/view-text.c: (gl_view_text_new),
(update_canvas_item_from_object_cb), (draw_hacktext):
Commented out artifacts of edit-in-place code.

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

18 years ago2005-10-28 Jim Evins <evins@snaught.com>
Jim Evins [Fri, 28 Oct 2005 22:58:41 +0000 (22:58 +0000)]
2005-10-28  Jim Evins  <evins@snaught.com>

* src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
Fixed use of uninitialized variable.  Caught by
d binderman <dcb314@hotmail.com>.

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

18 years ago2005-10-27 Jim Evins <evins@snaught.com>
Jim Evins [Fri, 28 Oct 2005 01:10:56 +0000 (01:10 +0000)]
2005-10-27  Jim Evins  <evins@snaught.com>

* src/merge-evolution.c: (gl_merge_evolution_get_record):
* src/merge-vcard.c: (gl_merge_vcard_get_record),
(parse_next_vcard):
Additional cleanup of EDS and vcard backends.  Provided by
Austin Henry <ahenry@users.sourceforge.net>.

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

18 years ago2005-10-24 Jim Evins <evins@snaught.com>
Jim Evins [Tue, 25 Oct 2005 03:01:56 +0000 (03:01 +0000)]
2005-10-24  Jim Evins  <evins@snaught.com>

* AUTHORS:
* src/Makefile.am:
* src/merge-evolution.c:
* src/merge-evolution.h:
* src/merge-init.c: (gl_merge_init):
* src/merge-properties-dialog.c: (type_changed_cb):
* src/merge-vcard.c:
* src/merge-vcard.h:
* src/ui-commands.c: (gl_ui_cmd_help_about):
Added Evolution Data Server and VCard merge backends.  Original patch
provided by Austin Henry <ahenry@users.sourceforge.net>.
* configure.in:
Only support EDS and VCard backends if libebook is installed.  Allow
user to disable support, even if installed.

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

18 years ago2005-10-24 Jim Evins <evins@snaught.com>
Jim Evins [Mon, 24 Oct 2005 16:50:35 +0000 (16:50 +0000)]
2005-10-24  Jim Evins  <evins@snaught.com>

* AUTHORS:
* data/templates/avery-iso-templates.xml:
* data/templates/avery-us-templates.xml:
* data/templates/misc-iso-templates.xml:
* data/templates/zweckform-iso-templates.xml:
Collected all template changes and submissions since last
release.

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

18 years ago2005-10-23 Jim Evins <evins@snaught.com>
Jim Evins [Mon, 24 Oct 2005 01:24:50 +0000 (01:24 +0000)]
2005-10-23  Jim Evins  <evins@snaught.com>

* configure.in:
* data/mime/Makefile.am:
Added configure options to disable update-mime-database and
update-desktop-database as part of the install.  Patch
provided by Leonardo Boshell (qhoracio@sourceforge.net).

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

18 years ago2005-10-23 Jim Evins <evins@snaught.com>
Jim Evins [Sun, 23 Oct 2005 20:26:18 +0000 (20:26 +0000)]
2005-10-23  Jim Evins  <evins@snaught.com>

* libglabels/xml.h:
* libglabels/xml.c: (gl_xml_get_prop_string),
(gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
(gl_xml_is_node), (gl_xml_get_node_content):
Added new XML utility functions.
* libglabels/xml-paper.c:
* libglabels/xml-template.c:
* src/xml-label.c:
Cleanup by using new xml utilities created above.
* libglabels/paper.c: (gl_paper_free):
* src/file.c: (new_response):
* src/object-editor-image-page.c: (add_image_filters_to_chooser):
* src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
(gl_pixbuf_cache_get_pixbuf):
* src/ui-property-bar.c:
(gl_ui_property_bar_construct_color_combo):
* src/view-highlight.c: (gl_view_highlight_finalize):
* src/view-image.c: (update_object_from_editor_cb):
* src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
(draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
(draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
(draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
(draw_markup_margin_round), (draw_markup_margin_cd),
(draw_markup_margin_cd_bc):
* src/wdgt-mini-preview.c: (mini_outline_list_new):
* src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
Plugged various memory leaks located with valgrind.
* src/view-image.c: (update_canvas_item_from_object_cb):
Don't allow a width or height of zero when drawing pixbuf.

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

18 years ago2005-10-22 Jim Evins <evins@snaught.com>
Jim Evins [Sun, 23 Oct 2005 02:06:00 +0000 (02:06 +0000)]
2005-10-22  Jim Evins  <evins@snaught.com>

* libglabels/xml-paper.c:
* libglabels/xml-template.c:
* libglabels/xml.c:
* src/base64.c:
* src/bc-gnubarcode.c:
* src/canvas-hacktext.c:
* src/label-text.c:
* src/object-editor-data-page.c:
* src/print-dialog.c:
* src/print.c:
* src/recent.c:
* src/template-designer.c:
* src/text-node.c:
* src/ui-property-bar.c:
* src/ui.c:
* src/view-barcode.c:
* src/view-box.c:
* src/view-ellipse.c:
* src/view-image.c:
* src/view-line.c:
* src/view-text.c:
* src/view.c:
* src/wdgt-media-select.c:
* src/xml-label-04.c:
* src/xml-label-191.c:
* src/xml-label.c:
Modified to compile warning free with gcc-4.0.  Mostly
casting to change signedness of characters.  Did not
attack gnu-barcode library yet.

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

18 years ago2005-10-22 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 22 Oct 2005 05:10:46 +0000 (05:10 +0000)]
2005-10-22  Jim Evins <evins@snaught.com>

* src/glabels.c: (main):
* src/splash.c: (gl_splash):
Removed some small memory leaks.
* gtk-doc.make:
Added.

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

18 years ago2005-09-19 Jim Evins <evins@snaught.com>
Jim Evins [Tue, 20 Sep 2005 03:24:53 +0000 (03:24 +0000)]
2005-09-19  Jim Evins  <evins@snaught.com>

* data/glade/property-bar.glade:
Remove items from font_family_combo.  This prevents the
double entry after adding text model and list of fonts.
* src/ui-property-bar.c: (reset_to_default_properties):
Free font_family_list.

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

18 years ago2005-07-01 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 2 Jul 2005 02:46:12 +0000 (02:46 +0000)]
2005-07-01  Jim Evins  <evins@snaught.com>

* po/it.po:
Updated italian translation (Daniele Medri)

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

18 years agoI guess I need it after all -- however, it needs to be empty.
Jim Evins [Sun, 26 Jun 2005 06:08:32 +0000 (06:08 +0000)]
I guess I need it after all -- however, it needs to be empty.

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

18 years ago2005-06-26 Jim Evins <evins@snaught.com>
Jim Evins [Sun, 26 Jun 2005 04:59:52 +0000 (04:59 +0000)]
2005-06-26  Jim Evins  <evins@snaught.com>

* docs/libglabels/libglabels-decl-list.txt:
Somehow never got checked in before.
* docs/libglabels/libglabels.types:
Removed -- don't need it afterall.

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

18 years ago2005-06-20 Jim Evins <evins@snaught.com>
Jim Evins [Tue, 21 Jun 2005 02:30:38 +0000 (02:30 +0000)]
2005-06-20  Jim Evins  <evins@snaught.com>

* NEWS:
Final prep for 2.1.1 release.

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

18 years ago2005-06-20 Jim Evins <evins@snaught.com>
Jim Evins [Tue, 21 Jun 2005 02:06:47 +0000 (02:06 +0000)]
2005-06-20  Jim Evins  <evins@snaught.com>

* configure.in:
Final preps for 2.1.1 release.
* docs/libglabels/libglabels.types:
Somehow never got checked in before.
* po/POTFILES.in:
Bring up-to-date with recent reorg of ui code.

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

18 years ago2005-06-19 Jim Evins <evins@snaught.com>
Jim Evins [Sun, 19 Jun 2005 13:07:20 +0000 (13:07 +0000)]
2005-06-19  Jim Evins  <evins@snaught.com>

* src/template-designer.c: (construct_layout_page):
Removed attempt to match background color of mini preview widget to
background.

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

18 years ago2005-06-17 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 18 Jun 2005 02:41:49 +0000 (02:41 +0000)]
2005-06-17  Jim Evins  <evins@snaught.com>

* help/C/figures/merge-ex2-4.png:
* help/C/glabels.xml:
Fixed spelling error.

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

18 years ago2005-06-13 Jim Evins <evins@snaught.com>
Jim Evins [Tue, 14 Jun 2005 03:11:04 +0000 (03:11 +0000)]
2005-06-13  Jim Evins  <evins@snaught.com>

* help/C/figures/merge-ex1-1.png:
* help/C/figures/merge-ex1-2.png:
* help/C/figures/merge-ex1-3.png:
* help/C/figures/merge-ex1-4.png:
* help/C/figures/merge-ex2-1.png:
* help/C/figures/merge-ex2-2.png:
* help/C/figures/merge-ex2-3.png:
* help/C/figures/merge-ex2-4.png:
Added figures for document merge tutorial.
* help/C/glabels.xml:
Added document merge tutorial.

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

19 years ago2005-05-19 Jim Evins <evins@snaught.com>
Jim Evins [Fri, 20 May 2005 02:20:40 +0000 (02:20 +0000)]
2005-05-19  Jim Evins  <evins@snaught.com>

* data/glade/merge-properties-dialog.glade:
Fixed irregular spacing.
* src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
(gl_merge_properties_dialog_construct):
Set outer padding and remove separator.

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

19 years ago2005-05-18 Jim Evins <evins@snaught.com>
Jim Evins [Thu, 19 May 2005 02:41:21 +0000 (02:41 +0000)]
2005-05-18  Jim Evins  <evins@snaught.com>

* src/hig.h:
* src/hig.c:
Removed glHigDialog class.
* src/file.c: (gl_file_new), (create_new_dialog_widgets),
(gl_file_properties), (create_properties_dialog_widgets):
* src/prefs-dialog.h:
* src/prefs-dialog.c: (gl_prefs_dialog_get_type),
(gl_prefs_dialog_init), (gl_prefs_dialog_construct):
* src/print-dialog.h:
* src/prefs-dialog.h:
* src/print-dialog.c: (gl_print_dialog_get_type),
(gl_print_dialog_init), (gl_print_dialog_construct):
Replaced all instances of glHigDialog with GtkDialog.

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

19 years ago2005-05-17 Jim Evins <evins@snaught.com>
Jim Evins [Wed, 18 May 2005 02:47:19 +0000 (02:47 +0000)]
2005-05-17  Jim Evins  <evins@snaught.com>

* src/hig.h:
* src/hig.c:
Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
* src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
(save_as_response), (gl_file_close):
Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.

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

19 years ago2005-05-15 Jim Evins <evins@snaught.com>
Jim Evins [Mon, 16 May 2005 02:47:48 +0000 (02:47 +0000)]
2005-05-15  Jim Evins  <evins@snaught.com>

* src/ui-commands.h:
* src/ui-util.c:
* src/ui-util.h:
* src/ui.c:
* src/ui.h:
* src/view.c:
* src/window.c:
* src/window.h:
A little code reformatting -- no functional changes.

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

19 years ago2005-05-14 Jim Evins <evins@snaught.com>
Jim Evins [Sun, 15 May 2005 00:12:15 +0000 (00:12 +0000)]
2005-05-14  Jim Evins  <evins@snaught.com>

* src/Makefile.am:
Removed obsolete macros.
* src/marshal.list:
Added marshalling template to support new view signal: "context_menu_activate."
* src/view.h:
* src/view.c: (gl_view_class_init), (gl_view_construct),
(canvas_event_arrow_mode):
- Removed hardcoded context menus and added new signal "context_menu_activate"
to push this up to the uimanager.
- Removed merge properties and print dialogs so that they can be managed with
the window by the uimanager.
* src/merge-properties-dialog.h:
* src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
(gl_merge_properties_dialog_construct):
Changed calling convention of gl_merge_properties_dialog_new() to use
glLabel and GtkWindow instead of view to make more consistent with other
dialogs.
* src/print-dialog.h:
* src/print-dialog.c: (gl_print_dialog_new),
(gl_print_dialog_construct):
Removed last artifact of libbonoboui.
* src/ui-commands.c: (gl_ui_cmd_file_print),
(gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
Reconciled style for launching dialogs.
* src/ui.c: (gl_ui_new):
Added context menus to ui manager.
* src/view-object.c: (item_event_arrow_mode):
No longer try to select objects with right-click.
* src/window.h:
* src/window.c: (gl_window_init), (gl_window_set_label),
(context_menu_activate_cb):
Context menus and all dialogs are now managed in a consistent way in window
by the ui manager.

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

19 years ago2005-05-11 Jim Evins <evins@snaught.com>
Jim Evins [Thu, 12 May 2005 02:41:48 +0000 (02:41 +0000)]
2005-05-11  Jim Evins  <evins@snaught.com>

* src/window.h:
* src/window.c: (gl_window_init), (gl_window_destroy):
* src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
* src/ui-commands.c: (gl_ui_cmd_file_open_recent):
Moved management of recent_view back from window.c to ui.c -- it just feels
better there.

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

19 years ago2005-05-10 Jim Evins <evins@snaught.com>
Jim Evins [Wed, 11 May 2005 02:45:06 +0000 (02:45 +0000)]
2005-05-10  Jim Evins  <evins@snaught.com>

* src/window.h:
* src/window.c: (gl_window_init):
* src/ui.h:
* src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
(menu_item_select_cb), (menu_item_deselect_cb):
Added GtkStatusbar which displays menu tooltips.

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

19 years ago2005-05-09 Jim Evins <evins@snaught.com>
Jim Evins [Mon, 9 May 2005 04:35:42 +0000 (04:35 +0000)]
2005-05-09  Jim Evins  <evins@snaught.com>

Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
and toolbars.

* configure.in:
* glabels.spec.in:
Removed dependencies on libbonoboui.
* data/Makefile.am:
* data/ui/Makefile.am:
* data/ui/glabels-ui.xml:
Removed data/ui directory.
* data/glade/Makefile.am:
* data/property-bar.glade:
Added glade description of property-bar for new libglade implementation
of glUIPropertyBar.
* src/Makefile.am:
* src/commands.h:
* src/commands.c:
* src/tools.h:
* src/tools.c:
* src/ui-commands.h:
* src/ui-commands.c:
Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
since the distinction between "commands" and "tools" is no longer that clear.
* src/file.h:
* src/file.c:
Modified to expect glWindow instead of GtkWindow.  gl_file_open_recent()
no longer has knowledge of eggRecent*.
* src/glabels.c: (main):
Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
loop.
* src/object-editor.c: (gl_object_editor_init):
Make sure notebook does not respond to a "show_all" on the parent.
* src/recent-files/Makefile.am:
* src/recent-files/*.[ch]
Updated from latest version of libegg which now has a view based on
GtkUIManager.  Removed unused bonobo and gtk views.
* src/ui-property-bar.h:
* src/ui-property-bar.c:
New implementation based on libglade.
* src/ui-sidebar.h:
* src/ui-sidebar.c:
Sidebar is now simply a GtkWidget and does not expect to be a part of
a libbonoboui interface.
* src/ui-util.h:
* src/ui-util.c:
* src/ui.h:
* src/ui.c:
Converted for use with GtkUIManager.
* src/window.h:
* src/window.c:
Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
to create menus and toolbars.

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

19 years ago2005-04-25 Jim Evins <evins@snaught.com>
Jim Evins [Tue, 26 Apr 2005 02:03:11 +0000 (02:03 +0000)]
2005-04-25  Jim Evins  <evins@snaught.com>

* data/templates/misc-iso-templates.xml:
Added Fellows 04715 template provided by Steve Saxon.
* AUTHORS:
Updated acknowledgement for above.

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

19 years ago2005-04-23 Jim Evins <evins@snaught.com>
Jim Evins [Sun, 24 Apr 2005 01:18:48 +0000 (01:18 +0000)]
2005-04-23  Jim Evins  <evins@snaught.com>

* src/util.c: (gl_util_combo_box_set_strings):
Make sure to clear model before loading a new list of strings.
* src/wdgt-media-select.h:
* src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
(gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
(template_combo_changed_cb), (prefs_changed_cb),
(gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
(gl_wdgt_media_select_get_page_size),
(gl_wdgt_media_select_set_page_size):
Replaced the deprecated GtkCombo widget with the new
GtkComboBox.

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

19 years ago2005-04-21 Jim Evins <evins@snaught.com>
Jim Evins [Fri, 22 Apr 2005 01:53:33 +0000 (01:53 +0000)]
2005-04-21  Jim Evins  <evins@snaught.com>

* data/glade/template-designer.glade:
* src/template-designer.c: (construct_pg_size_page),
(pg_size_page_changed_cb), (build_template):
Replaced the deprecated GtkCombo widget with the new
GtkComboBox.

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

19 years ago2005-04-20 Jim Evins <evins@snaught.com>
Jim Evins [Thu, 21 Apr 2005 00:24:05 +0000 (00:24 +0000)]
2005-04-20  Jim Evins  <evins@snaught.com>

* data/glade/prefs-dialog.glade:
* src/prefs-dialog.c: (construct_object_page),
(update_object_page_from_prefs), (update_prefs_from_object_page):
Replaced the deprecated GtkCombo widget with the new
GtkComboBox.

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

19 years ago2005-04-19 Jim Evins <evins@snaught.com>
Jim Evins [Wed, 20 Apr 2005 00:01:30 +0000 (00:01 +0000)]
2005-04-19  Jim Evins  <evins@snaught.com>

* data/glade/object-editor.glade:
* src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
(style_changed_cb), (gl_object_editor_set_bc_style),
(gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
(gl_object_editor_get_bc_color):
* src/object-editor-data-page.c:
(gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
(gl_object_editor_get_data):
* src/object-editor-edit-page.c:
(gl_object_editor_prepare_edit_page), (insert_button_cb):
* src/object-editor-fill-page.c:
(gl_object_editor_prepare_fill_page),
(gl_object_editor_set_fill_color),
(gl_object_editor_get_fill_color):
* src/object-editor-image-page.c:
(gl_object_editor_prepare_image_page),
(gl_object_editor_set_image), (gl_object_editor_get_image):
* src/object-editor-line-page.c:
(gl_object_editor_prepare_line_page),
(gl_object_editor_set_line_color),
(gl_object_editor_get_line_color):
* 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),
(gl_object_editor_set_text_color),
(gl_object_editor_get_text_color):
* src/object-editor.c: (gl_object_editor_set_key_names):
* src/ui-sidebar.c:
In the object editor: replaced all instances of the deprecated
GtkCombo widget with the new GtkComboBox.

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

19 years ago2005-04-18 Jim Evins <evins@snaught.com>
Jim Evins [Tue, 19 Apr 2005 00:11:53 +0000 (00:11 +0000)]
2005-04-18  Jim Evins  <evins@snaught.com>

* src/stock.c:
Neglected to save this one in previous checkin to support
header cleanup.

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

19 years ago2005-04-17 Jim Evins <evins@snaught.com>
Jim Evins [Mon, 18 Apr 2005 02:45:49 +0000 (02:45 +0000)]
2005-04-17  Jim Evins  <evins@snaught.com>

* libglabels/libglabels-private.h:
* libglabels/paper.c:
* libglabels/paper.h:
* libglabels/template.c:
* libglabels/template.h:
* libglabels/xml-paper.c:
* libglabels/xml-paper.h:
* libglabels/xml-template.c:
* libglabels/xml.c:
* libglabels/xml.h:
* src/base64.c:
* src/base64.h:
* src/bc-gnubarcode.c:
* src/bc-postnet.c:
* src/bc.c:
* src/bc.h:
* src/commands.c:
* src/debug.c:
* src/debug.h:
* src/file.c:
* src/file.h:
* src/hig.c:
* src/hig.h:
* src/label-barcode.c:
* src/label-box.c:
* src/label-ellipse.c:
* src/label-image.c:
* src/label-image.h:
* src/label-line.c:
* src/label-object.c:
* src/label-text.c:
* src/label-text.h:
* src/label.c:
* src/merge-properties-dialog.c:
* src/object-editor-bc-page.c:
* src/object-editor-data-page.c:
* src/object-editor-edit-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-size-page.c:
* src/object-editor-text-page.c:
* src/object-editor.c:
* src/object-editor.h:
* src/pixbuf-cache.h:
* src/prefs-dialog.c:
* src/prefs-dialog.h:
* src/prefs-model.c:
* src/prefs-model.h:
* src/prefs.c:
* src/print-dialog.c:
* src/print-dialog.h:
* src/print.c:
* src/print.h:
* src/recent.c:
* src/recent.h:
* src/splash.c:
* src/splash.h:
* src/stock.h:
* src/template-designer.c:
* src/template-designer.h:
* src/text-node.h:
* src/tools.c:
* src/ui-property-bar.c: (gl_ui_property_bar_construct):
* src/ui-sidebar.c:
* src/ui-util.c:
* src/ui.c:
* src/util.c:
* src/util.h:
* src/view-barcode.c:
* src/view-box.c:
* src/view-ellipse.c:
* src/view-highlight.c:
* src/view-highlight.h:
* src/view-image.c:
* src/view-line.c:
* src/view-object.c:
* src/view-object.h:
* src/view-text.c:
* src/view.c:
* src/view.h:
* src/wdgt-chain-button.c:
* src/wdgt-media-select.c:
* src/wdgt-media-select.h:
* src/wdgt-mini-preview.c:
* src/wdgt-mini-preview.h:
* src/wdgt-print-copies.c:
* src/wdgt-print-copies.h:
* src/wdgt-print-merge.c:
* src/wdgt-print-merge.h:
* src/wdgt-rotate-label.c:
* src/wdgt-rotate-label.h:
* src/window.c:
* src/window.h:
* src/xml-label-04.c:
* src/xml-label-191.c:
* src/xml-label.c:
Cleanup of header files:
- all header files are now stand-alone, verified by including
  first in corresponding "c" files
- replaced blanket includes of gnome, gtk, and glib with
  targetted includes

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

19 years ago2005-04-16 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 16 Apr 2005 18:05:01 +0000 (18:05 +0000)]
2005-04-16  Jim Evins  <evins@snaught.com>

* data/glade/Makefile.am:
* data/glade/merge-properties-dialog.glade:
Added merge properties dialog glade description file.
* src/merge-properties-dialog.h:
* src/merge-properties-dialog.c:
(gl_merge_properties_dialog_get_type),
(gl_merge_properties_dialog_init),
(gl_merge_properties_dialog_finalize),
(gl_merge_properties_dialog_new),
(gl_merge_properties_dialog_construct), (type_changed_cb),
(src_changed_cb), (response_cb), (load_tree),
(record_select_toggled_cb), (select_all_button_clicked_cb),
(unselect_all_button_clicked_cb):
Modified merge properties dialog to use libglade.  Added
"select all" and "unselect all" buttons.
* src/merge-text.c: (parse_line):
Handle empty lines better.
* src/merge.c: (gl_merge_eval_key):
Evaluate the key whether the record is selected or not.
* src/util.h:
* src/util.c: (gl_util_combo_box_add_text_model):
Since libglade does not use the gtk_combo_box_new_text()
constructor for GtkComboBoxes, a utility function was created
to add an appropriate text model to a GtkComboBox.
* src/view.c: (gl_view_edit_merge_props):
Removed unnecessary "show all's".

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

19 years ago2005-04-15 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 16 Apr 2005 02:48:24 +0000 (02:48 +0000)]
2005-04-15  Jim Evins  <evins@snaught.com>

* po/ru.po:
Updated russian translation (Vitaly Lipatov)
* data/templates/misc-iso-templates.xml:
Added templates for russian business cards provided by Vitaly Lipatov.
* AUTHORS:
Updated acknowledgements for above.

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

19 years ago2005-04-15 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 16 Apr 2005 01:47:12 +0000 (01:47 +0000)]
2005-04-15  Jim Evins  <evins@snaught.com>

* data/templates/avery-us-templates.xml:
Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
* data/templates/misc-iso-templates.xml:
Added Ryman standard CD/DVD template, provided by Dan Clark.
* AUTHORS:
Added acknowledgements for above.

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

19 years ago2005-04-10 Jim Evins <evins@snaught.com>
Jim Evins [Sun, 10 Apr 2005 06:47:12 +0000 (06:47 +0000)]
2005-04-10  Jim Evins <evins@snaught.com>

* libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
* libglabels/xml-template.c: (gl_xml_template_parse_template_node),
(xml_parse_label_rectangle_node), (xml_parse_label_round_node),
(xml_parse_label_cd_node), (xml_parse_alias_node):
* libglabels/xml.c: (gl_xml_get_prop_double),
(gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
(gl_xml_get_prop_uint), (gl_xml_get_prop_length):
* src/xml-label-04.c: (xml04_parse_media_description),
(xml04_parse_text_props), (xml04_parse_barcode_props),
(xml04_parse_merge_properties):
* src/xml-label-191.c: (xml191_parse_object),
(xml191_parse_text_props), (xml191_parse_barcode_props),
(xml191_parse_merge_fields), (xml191_parse_pixdata),
(xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
(xml191_parse_alias):
* src/xml-label.c: (xml_parse_object_text),
(xml_parse_object_barcode), (xml_parse_merge_fields),
(xml_parse_pixdata), (xml_parse_toplevel_span):
Make sure to use xmlFree for anything obtained from libxml
in case libxml and glib use different memory management
space.

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

19 years ago2005-04-08 Jim Evins <evins@snaught.com>
Jim Evins [Sat, 9 Apr 2005 02:29:00 +0000 (02:29 +0000)]
2005-04-08  Jim Evins <evins@snaught.com>

* src/util.h:
* src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
(gl_util_combo_box_set_active_text):
Added utility functions to simplify working with GtkComboBox
widgets in GTK-2.6.
* src/ui-property-bar.h:
* src/ui-property-bar.c: (gl_ui_property_bar_construct),
(reset_to_default_properties), (update_text_properties),
(font_family_changed_cb):
Replaced deprecated GtkCombo with GtkComboBox.

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

19 years ago2005-04-03 Jim Evins <evins@snaught.com>
Jim Evins [Mon, 4 Apr 2005 01:41:35 +0000 (01:41 +0000)]
2005-04-03  Jim Evins <evins@snaught.com>

* src/Makefile.am:
* src/wdgt-image-select.h:
* src/wdgt-image-select.c:
Removed obsolete wdgt-image-select.[ch] files.
* libglabels/paper.c: (gl_paper_dup):
Fixed rename of parameter introduced during documentation
updates.
* data/glade/object-editor.glade:
* src/object-editor-image-page.c:
(gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
(gl_object_editor_set_image), (gl_object_editor_get_image),
(update_preview_cb), (add_image_filters_to_chooser):
* src/object-editor-private.h:
Replaced deprecated GnomePixmapEntry with
GtkFileChooserButton.

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

19 years ago2005-04-02 Jim Evins <evins@snaught.com>
Jim Evins [Sun, 3 Apr 2005 03:13:30 +0000 (03:13 +0000)]
2005-04-02  Jim Evins <evins@snaught.com>

* src/mygal/mygal-combo-box.c: (deactivate_arrow),
(mygal_combo_box_popup_hide_unconditional),
(mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
(mygal_combo_toggle_pressed), (mygal_combo_box_init),
(mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
(mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
(cb_tearable_button_release), (mygal_combo_box_set_tearable):
Renamed all internal gtk_combo functions to mygal_combo
to prevent namespace confusion.

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

19 years ago2005-04-02 Jim Evins <evins@snaught.com>
Jim Evins [Sun, 3 Apr 2005 01:44:51 +0000 (01:44 +0000)]
2005-04-02  Jim Evins <evins@snaught.com>

* src/mygal/color-palette.c: (color_palette_change_custom_color),
(cust_color_set), (color_palette_setup):
* src/mygal/color-palette.h:
Replaced deprecated GnomeColorPicker with GtkColorButton.

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

19 years ago * docs/libglabels/libglabels-sections.txt:
Jim Evins [Sun, 3 Apr 2005 00:47:07 +0000 (00:47 +0000)]
* docs/libglabels/libglabels-sections.txt:
* docs/libglabels/libglabels-undocumented.txt:
* docs/libglabels/tmpl/enums.sgml:
* docs/libglabels/tmpl/paper.sgml:
* docs/libglabels/tmpl/xml-paper.sgml:
* docs/libglabels/tmpl/xml-template.sgml:
* libglabels/enums.h:
* libglabels/paper.c: (gl_paper_dup):
* libglabels/paper.h:
* libglabels/xml-paper.c:
* libglabels/xml-template.c:
More documentation updates for libglabels.

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