Jim Evins [Sun, 28 Dec 2003 00:19:55 +0000 (00:19 +0000)]
2003-12-27 Jim Evins <evins@snaught.com>
* configure.in:
Updated to work with latest gnome-common package from CVS.
Removed recursive configuration of barcode-0.98.
* acconfig.h:
* macros/*:
Removed.
* Makefile.am:
Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
* barcode-0.98/Makefile.in:
* barcode-0.98/configure.in:
* barcode-0.98/Makefile.am:
* barcode-0.98/README.glabels:
Modified to ignore the barcode package's build system, and build
as a part of glabels.
Renamed Makefile.in to Makefile.in.dist.
Renamed configure.in to configure.in.dist.
Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
* src/Makefile.am:
* src/mygal/Makefile.am:
* src/recent-files/Makefile.am:
In order to build against the GNOME 2.5 platform,
all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
* src/mygal/Makefile.am:
* src/mygal/mygal-combo-box.c:
* src/mygal/mygal-combo-box.h:
* src/mygal/widget-color-combo.c:
* src/mygal/widget-color-combo.h:
* po/POTFILES.in:
In order to build against the GNOME 2.5 platform,
Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
collisions with the real gtk_combo_box widget, now a part of gtk.
Jim Evins [Sun, 28 Dec 2003 00:13:29 +0000 (00:13 +0000)]
2003-12-27 Jim Evins <evins@snaught.com>
* configure.in:
Updated to work with latest gnome-common package from CVS.
Removed recursive configuration of barcode-0.98.
* acconfig.h:
* macros/*:
Removed.
* Makefile.am:
Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
* barcode-0.98/Makefile.in:
* barcode-0.98/configure.in:
* barcode-0.98/Makefile.am:
* barcode-0.98/README.glabels:
Modified to ignore the barcode package's build system, and build
as a part of glabels.
Renamed Makefile.in to Makefile.in.dist.
Renamed configure.in to configure.in.dist.
Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
* src/Makefile.am:
* src/mygal/Makefile.am:
* src/recent-files/Makefile.am:
In order to build against the GNOME 2.5 platform,
all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
* src/mygal/Makefile.am:
* src/mygal/mygal-combo-box.c:
* src/mygal/mygal-combo-box.h:
* src/mygal/widget-color-combo.c:
* src/mygal/widget-color-combo.h:
* po/POTFILES.in:
In order to build against the GNOME 2.5 platform,
Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
collisions with the real gtk_combo_box widget, now a part of gtk.
Jim Evins [Sat, 27 Dec 2003 04:33:08 +0000 (04:33 +0000)]
2003-12-26 Jim Evins <evins@snaught.com>
* src/paper.c:
* src/template.c:
* src/util.c:
* src/util.h:
Moved local versions of get_home_data_dir() in paper.c and
template.c to util package. Cleaned up formatting in
util.[ch].
* src/template.c:
In gl_template_register() save a copy of the template in
~/.glabels if the template is not known. Still need to
handle duplicate filename case and duplicate name but
different template case.
* src/xml-label.c:
* src/xml.h:
Moved local definition of NAME_SPACE macro from xml-label.c
to xml.h.
* src/xml-template.c:
* src/xml-template.h:
Added function gl_xml_template_write_template_to_file(), used
in gl_template_register().
Jim Evins [Fri, 26 Dec 2003 06:56:12 +0000 (06:56 +0000)]
When looking up templates by name and name isn't found, return
first template instead of NULL (suggested by Wayne Schuller <k_wayne@linuxpower.org>). In addition, added code to register templates (make known, if not already known) when they are encountered when reading a label.
Jim Evins [Fri, 19 Dec 2003 05:21:02 +0000 (05:21 +0000)]
Created 2 methods for setting label for mini-preview widget. The first is "by name" and the second is by template. This second method allows us to use a label's local template, even if its name is not an exact match with an existing template's -- can occur if templates are renamed between versions or if a label uses someone else's custom template.
Jim Evins [Wed, 17 Dec 2003 00:30:21 +0000 (00:30 +0000)]
Modifications to track properties of selected objects. This addresses Bug #839801. Patch provided by Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>.
Jim Evins [Fri, 12 Dec 2003 03:22:14 +0000 (03:22 +0000)]
Removed some artifacts in copy() method. In particular a g_free() on an unitialized automatic variable was removed, which caused a copy/paste of a text object to segfault (See bug #857773).
Jim Evins [Sat, 6 Dec 2003 14:49:16 +0000 (14:49 +0000)]
- Changed gl_prefs from a simple structure to a full-fledged object (prefs_model).
- Moved prefs_init after paper_init so that page size proof reading code in prefs_model_load_settings works properly.
Jim Evins [Sat, 29 Nov 2003 03:34:01 +0000 (03:34 +0000)]
Delay doing a gtk_widget_show on notebook until it is known if any pages are visible or not. Doing the show on a notebook with all hidden pages causes a crash on Fedora Core 1/Gnome 2.4.
Jim Evins [Thu, 27 Nov 2003 06:27:43 +0000 (06:27 +0000)]
Created generic "get" methods for text, fill and line properties for all label objects. This will make it easier to track changes in a general view such as the property toolbar.
Jim Evins [Wed, 26 Nov 2003 01:12:23 +0000 (01:12 +0000)]
Modified zoom code:
- Now keeps track of zoom levels, rather than screen scale
- Calculates home scale from screen DPI
- View size changes are tracked, and if selected zoom_to_fit is maintained.
- New windows default to zoom_to_fit.
- Tracks changes in screen, so that new home scale can be updated
Jim Evins [Mon, 24 Nov 2003 03:44:28 +0000 (03:44 +0000)]
Changed object property dialogs to a single object property editor sidebar.
Added zoom to fit command.
Converted object property editor and preferences dialog to use libglade and removed un-needed widgets.
Jim Evins [Sat, 15 Nov 2003 13:50:29 +0000 (13:50 +0000)]
Added "break" in draw_markup_layer between line and circle cases of switch. This fixes Bug #842705. This is also the 2nd time I have fixed this bug -- I must of neglected to check it in.
Jim Evins [Tue, 11 Nov 2003 01:39:45 +0000 (01:39 +0000)]
Prefixed $(configdir) with $(DESTDIR) in intall-data-local rule. Patch provided by Andrew Lau <netsnipe@users.sourceforge.net> needed to build debian package.
Jim Evins [Sun, 9 Nov 2003 15:34:08 +0000 (15:34 +0000)]
One of the signal handlers (view_scale_changed_cb) created with a view_highlight actually belongs to view. So when a view_highlight is finalized, we must disconnect this handler. This fixes the crash reported in bug #836873.
Jim Evins [Mon, 27 Oct 2003 04:15:24 +0000 (04:15 +0000)]
Fix for Bug #822848: in gl_window_destroy() unreference window->uic and recent_view.
Hack: squirrel away recent_view as data in window->uic, and extract this in gl_window_destroy(). A better approach might be to wrap up the ui_component in its own object, then simply unreference it.
Jim Evins [Sun, 19 Oct 2003 05:00:58 +0000 (05:00 +0000)]
Applied patch #826108: Installs files to register glabels and glabels filetypes/mimetypes with gnome. This addresses bug #822852. Supplied by Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>. This patch adds the files:
Jim Evins [Fri, 17 Oct 2003 03:26:47 +0000 (03:26 +0000)]
Cleanup of Avery US-Letter templates.
- Spaced between manufacturer and part # to facilitate sorting, i.e. Assume part #s are 5 digits and right justified.
- Unified descriptions so they are consistent with the generic portion of Avery's descriptions, and their are fewer unique descriptions to facilitate translations.
- If multiple types per sheet or part #, the part # is suffixed with an appropriate description (e.g. 8391-Disc).
Jim Evins [Wed, 15 Oct 2003 01:02:46 +0000 (01:02 +0000)]
Applied patch #822935. This patch slightly increases the invalidated area during a redraw request, to account for anti-aliasing. This prevent small artifacts from being left around when text and barcode objects are dragged around the canvas. This patch also corrects an oversight in view-barcode.c when converting from gnome_canvas_hacktext to gl_canvas_hacktext. This patch was provided by Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>.
Jim Evins [Mon, 13 Oct 2003 02:00:10 +0000 (02:00 +0000)]
Patch #820699: corrects interpretation of Object-text nodes when it consists of a single Field node. Interpretation gets screwed up by the automatic XML indentation. Patch provided by: Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>.
Jim Evins [Wed, 8 Oct 2003 03:36:00 +0000 (03:36 +0000)]
Applied color combo patch, provided by Emmanuel Pacaud (emmanuelp@sourceforge.net). One distinct improvement is that the icons are grayed out when the widget is insensitive.
Jim Evins [Wed, 8 Oct 2003 01:11:58 +0000 (01:11 +0000)]
Applied patch to correct conversion errors when reading files for many non-"C" locales, i.e. locales where commas are used as decimal points.
Provided by Emmanuel Pacaud (emmanuelp@sourceforge.net).
Additionally modified, to allow locale format for in xml files to be honored and to honor spaces between value and units.
All values written by glabels are now guaranteed to be in the "C" locale.