9 years agolibupkg: Make decodeindex test accept an empty string.
Nick Bowler [Fri, 11 May 2012 23:24:01 +0000 (19:24 -0400)]
libupkg: Make decodeindex test accept an empty string.

This test app should not reject empty input outright, because it should
be properly rejected by the function under test.

9 years agolibupkg: Actually fail if the index-decode test fails...
Nick Bowler [Fri, 11 May 2012 22:45:59 +0000 (18:45 -0400)]
libupkg: Actually fail if the index-decode test fails...


9 years agobuild: Fix makefile rules for decode-index test program.
Nick Bowler [Fri, 11 May 2012 22:48:37 +0000 (18:48 -0400)]
build: Fix makefile rules for decode-index test program.

libupkg.la got moved as a result of the non-recursive build changes, but
it wasn't changed here.  Also fix a typo in the Gnulib prerequisites.

9 years agobuild: Non-recursively build the rest of the package.
Nick Bowler [Fri, 11 May 2012 01:53:19 +0000 (21:53 -0400)]
build: Non-recursively build the rest of the package.

9 years agobuild: Integrate libltdl non-recursively using fix-ltdl.
Nick Bowler [Thu, 10 May 2012 22:14:35 +0000 (18:14 -0400)]
build: Integrate libltdl non-recursively using fix-ltdl.

9 years agoengine: Add missing header to Makefile.am
Nick Bowler [Thu, 10 May 2012 02:32:20 +0000 (22:32 -0400)]
engine: Add missing header to Makefile.am

9 years agobuild: Integrate Gnulib non-recursively using fix-gnulib.
Nick Bowler [Thu, 10 May 2012 02:18:37 +0000 (22:18 -0400)]
build: Integrate Gnulib non-recursively using fix-gnulib.

9 years agognulib: Update to latest version.
Nick Bowler [Thu, 10 May 2012 01:43:43 +0000 (21:43 -0400)]
gnulib: Update to latest version.

9 years agomisc: Fix up paths in top-level .gitignore.
Nick Bowler [Thu, 10 May 2012 01:37:52 +0000 (21:37 -0400)]
misc: Fix up paths in top-level .gitignore.

Make paths explicitly match files in the top-level directory so that
similar paths in subdirectories are not unintentionally excluded.

9 years agouobject: First stab at a generic logging mechanism.
Nick Bowler [Wed, 9 May 2012 04:06:19 +0000 (00:06 -0400)]
uobject: First stab at a generic logging mechanism.

Let's build something on top of Glib's logging facilities which probably
work well enough for what we want to do.  Add a couple calls to the
texture class for starters.

9 years agotexture: Add initial support for texture exports.
Nick Bowler [Tue, 8 May 2012 23:53:20 +0000 (19:53 -0400)]
texture: Add initial support for texture exports.

After almost 3 years, we can finally export at least some textures!

9 years agoupkg: Improve messaging a bit.
Nick Bowler [Tue, 8 May 2012 23:45:18 +0000 (19:45 -0400)]
upkg: Improve messaging a bit.

9 years agouobject: Overhaul the UObject property decoding code.
Nick Bowler [Sat, 5 May 2012 02:53:02 +0000 (22:53 -0400)]
uobject: Overhaul the UObject property decoding code.

Mostly a total rewrite, this version actually handles struct and array
properties (read: advances something resembling the correct number of
bytes instead of trying to start the next property somewhere in the
middle of the last).  This version also has (hopefully) much clearer
tracking of file offsets.

9 years agoupkg: Print out object file offsets at high verbosity levels.
Nick Bowler [Fri, 4 May 2012 22:47:11 +0000 (18:47 -0400)]
upkg: Print out object file offsets at high verbosity levels.

When debugging deserialize methods, it can be useful to see the actual
location within the package file of the object being deserialized.  Add
a mode to print out these raw offsets when displaying object info at
high (-vvv) verbosity levels.

9 years agolibupkg: Add const qualifier to upkg_decode_index input buffer.
Nick Bowler [Fri, 4 May 2012 21:22:12 +0000 (17:22 -0400)]
libupkg: Add const qualifier to upkg_decode_index input buffer.

9 years agodocs: Add a README
Nick Bowler [Fri, 4 May 2012 01:15:34 +0000 (21:15 -0400)]
docs: Add a README

The main purpose of adding this now is to document where users can get
the patched GObject Builder tool required to build upkg.

9 years agolibupkg: Fix spurious success in upkg_decode_index.
Nick Bowler [Fri, 4 May 2012 00:28:52 +0000 (20:28 -0400)]
libupkg: Fix spurious success in upkg_decode_index.

Make the upkg_decode_index function fail if the input is truncated,
rather than successfully returning a bogus value.  As an added bonus,
this actually simplifies the code.

9 years agotests: Test some corner cases of upkg_decode_index.
Nick Bowler [Fri, 4 May 2012 00:24:48 +0000 (20:24 -0400)]
tests: Test some corner cases of upkg_decode_index.

It turns out that upkg_decode_index does not fail when there is not
a complete index encoding in the available data.  Add a test case (which
currently does not pass) to verify that the function fails in that

9 years agomusic: Fix obvious use of uninitialized variable.
Nick Bowler [Thu, 3 May 2012 04:51:08 +0000 (00:51 -0400)]
music: Fix obvious use of uninitialized variable.

9 years agoupkg: Fix missing return statement.
Nick Bowler [Fri, 1 Apr 2011 00:37:37 +0000 (20:37 -0400)]
upkg: Fix missing return statement.

9 years agoupkg: Add support for exporting individual objects.
Nick Bowler [Tue, 29 Mar 2011 02:20:40 +0000 (22:20 -0400)]
upkg: Add support for exporting individual objects.

9 years agopalette: Clean up deserialize a bit.
Nick Bowler [Tue, 29 Mar 2011 01:39:05 +0000 (21:39 -0400)]
palette: Clean up deserialize a bit.

10 years agoupkg: Handle errors from u_object_export_name.
Nick Bowler [Tue, 29 Mar 2011 01:37:03 +0000 (21:37 -0400)]
upkg: Handle errors from u_object_export_name.

As opposed to blindly proceeding with a nonsense filename...

10 years agoupkg: Print full object name when exporting.
Nick Bowler [Tue, 29 Mar 2011 00:41:00 +0000 (20:41 -0400)]
upkg: Print full object name when exporting.

10 years agolicense: Make autotools stuff available under WTFPL2.
Nick Bowler [Mon, 28 Mar 2011 23:40:45 +0000 (19:40 -0400)]
license: Make autotools stuff available under WTFPL2.

10 years agouobject: Make interface functions take UObjects directly.
Nick Bowler [Mon, 28 Mar 2011 23:35:28 +0000 (19:35 -0400)]
uobject: Make interface functions take UObjects directly.

This makes implementing the functions a little cleaner.

10 years agomusic: Migrate to GOB2.
Nick Bowler [Mon, 28 Mar 2011 22:55:07 +0000 (18:55 -0400)]
music: Migrate to GOB2.

10 years agouobject: Rename some interface-related identifiers.
Nick Bowler [Mon, 28 Mar 2011 22:53:36 +0000 (18:53 -0400)]
uobject: Rename some interface-related identifiers.

More changes to align with GOB2's expectations.

10 years agotexture: Migrate to GOB2.
Nick Bowler [Mon, 28 Mar 2011 22:51:23 +0000 (18:51 -0400)]
texture: Migrate to GOB2.

10 years agoengine: Start using GOB2 to generate GObject classes.
Nick Bowler [Fri, 25 Mar 2011 14:59:44 +0000 (10:59 -0400)]
engine: Start using GOB2 to generate GObject classes.

GOB2 allows us to eliminate a lot of boilerplate.  Unfortunately,
current versions of GOB2 don't directly support dynamic types, so you
will need a patched version of GOB2 as of this writing.  For now, just
the Palette class is built using GOB2.

10 years agoengine: Include object headers as <engine/xyz.h>.
Nick Bowler [Fri, 25 Mar 2011 00:57:22 +0000 (20:57 -0400)]
engine: Include object headers as <engine/xyz.h>.

This will work with VPATH builds even if the .h file is in the build
tree while the .c file is in the source tree, and vice versa.  For
non-VPATH builds, there should be no change in behaviour.

10 years agouobject: Rename U_OBJECT_TYPE to U_TYPE_OBJECT.
Nick Bowler [Wed, 23 Mar 2011 22:39:04 +0000 (18:39 -0400)]
uobject: Rename U_OBJECT_TYPE to U_TYPE_OBJECT.

Other tools, such as gob2, expect this naming convention.

10 years agouobject: Add initial support for object properties.
Nick Bowler [Wed, 23 Mar 2011 12:58:19 +0000 (08:58 -0400)]
uobject: Add initial support for object properties.

10 years agotexture: Add missing integer properties.
Nick Bowler [Tue, 22 Mar 2011 21:46:48 +0000 (17:46 -0400)]
texture: Add missing integer properties.

The limits for these properties were made up on the spot.

10 years agouobject: Add a helper function to load objects from packages.
Nick Bowler [Tue, 22 Mar 2011 00:11:55 +0000 (20:11 -0400)]
uobject: Add a helper function to load objects from packages.

10 years agoupkg: Print object properties in info mode.
Nick Bowler [Mon, 21 Mar 2011 13:40:38 +0000 (09:40 -0400)]
upkg: Print object properties in info mode.

10 years agotexture: Fix typo in get_property.
Nick Bowler [Mon, 21 Mar 2011 13:39:15 +0000 (09:39 -0400)]
texture: Fix typo in get_property.

These properties are unsigned ints, not booleans...

10 years agoupkg: Print class name in listings.
Nick Bowler [Mon, 21 Mar 2011 11:34:35 +0000 (07:34 -0400)]
upkg: Print class name in listings.

10 years agoengine: Implement Engine.Palette.
Nick Bowler [Sun, 13 Mar 2011 20:37:42 +0000 (16:37 -0400)]
engine: Implement Engine.Palette.

10 years agoupkg: Add an option to list packages.
Nick Bowler [Sun, 13 Mar 2011 18:06:54 +0000 (14:06 -0400)]
upkg: Add an option to list packages.

This new option will eventually replace the dual-purpose "info" option.

10 years agolicense: Update copyright notices.
Nick Bowler [Sun, 13 Mar 2011 16:52:46 +0000 (12:52 -0400)]
license: Update copyright notices.

10 years agoupkg: Add support for querying specific objects.
Nick Bowler [Sun, 13 Mar 2011 16:43:29 +0000 (12:43 -0400)]
upkg: Add support for querying specific objects.

10 years agoupkg: Embed struct upkg into the private structure.
Nick Bowler [Sat, 12 Mar 2011 01:55:50 +0000 (20:55 -0500)]
upkg: Embed struct upkg into the private structure.

This avoids the need to store a pointer to the private struct inside the
public struct and simplifies some code.

10 years agouobject: Don't access upkg_file's pkg member.
Nick Bowler [Sat, 12 Mar 2011 01:55:50 +0000 (20:55 -0500)]
uobject: Don't access upkg_file's pkg member.

The same information is already stored in the UObject class.  Use that

10 years agomusic: Remove file member from private struct.
Nick Bowler [Sat, 12 Mar 2011 01:55:50 +0000 (20:55 -0500)]
music: Remove file member from private struct.

The UObject class already has a file member.  Use that.

10 years agouobject: Remove the file parameter from deserialize.
Nick Bowler [Sat, 12 Mar 2011 01:55:50 +0000 (20:55 -0500)]
uobject: Remove the file parameter from deserialize.

The UObject class already has a file member; restructure the code to use
that instead.

10 years agouobject: Remove pkg_idx field.
Nick Bowler [Sat, 12 Mar 2011 01:55:50 +0000 (20:55 -0500)]
uobject: Remove pkg_idx field.

Nothing used this.

10 years agobuild: Rename autogen.sh to bootstrap.
Nick Bowler [Fri, 4 Mar 2011 00:49:30 +0000 (19:49 -0500)]
build: Rename autogen.sh to bootstrap.

10 years agobuild: Use autoreconf for bootstrapping.
Nick Bowler [Fri, 4 Mar 2011 00:37:08 +0000 (19:37 -0500)]
build: Use autoreconf for bootstrapping.

There is no need to re-invent autoreconf, badly.

10 years agobuild: Import libmodplug test macros from autoconf-dx.
Nick Bowler [Thu, 3 Mar 2011 23:26:31 +0000 (18:26 -0500)]
build: Import libmodplug test macros from autoconf-dx.

10 years agouobject: Add missing header to Makefile.am.
Nick Bowler [Thu, 3 Mar 2011 23:25:05 +0000 (18:25 -0500)]
uobject: Add missing header to Makefile.am.

10 years agolibupkg: Split the upkg_export struct into public/private parts.
Nick Bowler [Thu, 3 Mar 2011 02:46:19 +0000 (21:46 -0500)]
libupkg: Split the upkg_export struct into public/private parts.

This eliminates the need for dedicated functions to extract the name
and flag fields from the export struct.  It should now be easy to convey
export information to applications.

10 years agoupkg: Resolve hierarchical object references.
Nick Bowler [Thu, 3 Mar 2011 01:22:53 +0000 (20:22 -0500)]
upkg: Resolve hierarchical object references.

This doesn't actually do anything useful yet, but it's a start.

10 years agolibupkg: Make upkg_export_find less useless.
Nick Bowler [Tue, 13 Jul 2010 23:14:27 +0000 (19:14 -0400)]
libupkg: Make upkg_export_find less useless.

Add a 'parent' parameter which should allow objects to be uniquely

10 years agolibupkg: Simplify handling of format assertions.
Nick Bowler [Thu, 3 Mar 2011 01:07:31 +0000 (20:07 -0500)]
libupkg: Simplify handling of format assertions.

10 years agoupkg: Add support for controlling which package is acted upon.
Nick Bowler [Wed, 2 Mar 2011 05:31:57 +0000 (00:31 -0500)]
upkg: Add support for controlling which package is acted upon.

Instead of using the last -f option, allow the user to specify one or
more packages explicitly.  This will eventually be extended to allow
specifying individual objects.

10 years agoupkg: Improve error reporting during package load.
Nick Bowler [Wed, 2 Mar 2011 04:55:06 +0000 (23:55 -0500)]
upkg: Improve error reporting during package load.

10 years agognulib: Update to latest version.
Nick Bowler [Sun, 27 Feb 2011 16:44:01 +0000 (11:44 -0500)]
gnulib: Update to latest version.

11 years agoupkg: Update man page.
Nick Bowler [Wed, 7 Jul 2010 00:34:15 +0000 (20:34 -0400)]
upkg: Update man page.

11 years agoengine: Define the exit method.
Nick Bowler [Wed, 7 Jul 2010 00:21:43 +0000 (20:21 -0400)]
engine: Define the exit method.

Apparently, libltdl falls back to looking up the "unadorned" symbol
names if the _LTX_ symbols are not found.  This means it finds exit in
the C library instead of returning an error, with obvious consequences.

11 years agognulib: Remove link-warning.h from repository.
Nick Bowler [Tue, 27 Apr 2010 14:58:47 +0000 (10:58 -0400)]
gnulib: Remove link-warning.h from repository.

This was committed by accident earlier.

11 years agobuild: Abort configure if specified module library is not found.
Nick Bowler [Wed, 3 Feb 2010 19:40:20 +0000 (14:40 -0500)]
build: Abort configure if specified module library is not found.

If the user specifies, say, --with-modlib=modplug, it is not right to
use any other module library.  We also avoid checking for unrequested
module libraries.

11 years agoupkg: Don't crash if the specified package does not exist.
Nick Bowler [Wed, 3 Feb 2010 02:50:39 +0000 (21:50 -0500)]
upkg: Don't crash if the specified package does not exist.

Currently, g_type_module_use(pkg) will succeed even if the package does
not exist, due to the existence of shared-object-only packages.  So the
caller must look inside the UPkg structure to see if anything was
actually opened.  In the future, pending tools to create the things,
such packages probably won't exist and this hack can be removed.

11 years agomusic: Add simple file type detection to the dummy module.
Nick Bowler [Mon, 1 Feb 2010 23:30:04 +0000 (18:30 -0500)]
music: Add simple file type detection to the dummy module.

The dummy module can be a bit smarter so that the file extension of
exported data is correct.  Add support for xm, it and s3m.

11 years agoupkg: Specify package files as options.
Nick Bowler [Thu, 10 Dec 2009 04:34:13 +0000 (23:34 -0500)]
upkg: Specify package files as options.

Now, one must run "upkg -f foo.u" where previously one would run "upkg
foo.u".  This new syntax allows multiple packages to be specified on the
command line for purposes of dependency resolution and (soon) extraction
of specific objects.

The package operated upon is the last one specified in this manner.

11 years agoupkg: Don't unref packages, since gobject does not allow this.
Nick Bowler [Thu, 10 Dec 2009 04:32:07 +0000 (23:32 -0500)]
upkg: Don't unref packages, since gobject does not allow this.

11 years agolibupkg: Add explicit conversions to stdio wrappers.
Nick Bowler [Sun, 31 Jan 2010 21:53:13 +0000 (16:53 -0500)]
libupkg: Add explicit conversions to stdio wrappers.

Some C libraries provide a macro version of feof which does not convert
the provided pointer to FILE * before dereferencing it.  Ordinarily,
this conversion would occur automatically since feof's prototype
specifies FILE *, but this is suppressed in the macro case.

It is not clear to me whether this behaviour is consistent with the
requirements of the C standard.  However, after encountering at least
two implementations which do this, explicit conversions seem simple

11 years agobuild: Don't use a semicolon after sed's 't' command.
Nick Bowler [Sun, 31 Jan 2010 21:52:05 +0000 (16:52 -0500)]
build: Don't use a semicolon after sed's 't' command.

Some (namely, FreeBSD's) sed implementations fail when a semicolon is
used after a 't' command.  This behaviour appears to be acceptable
according to POSIX, so appease these implementations by passing extra
-e options to sed.

11 years agopackage: Move package search code to the VFS.
Nick Bowler [Tue, 8 Dec 2009 05:58:38 +0000 (00:58 -0500)]
package: Move package search code to the VFS.

11 years agopackage: Make the VFS directly open the package file.
Nick Bowler [Tue, 8 Dec 2009 05:54:58 +0000 (00:54 -0500)]
package: Make the VFS directly open the package file.

This is in preparation for moving the package search mechanism to the
VFS, as it nicely allows us to ensure that candidate packages actually
open successfully.

11 years agopackage: Get rid of separate mechanisms for opening packages.
Nick Bowler [Mon, 7 Dec 2009 08:01:06 +0000 (03:01 -0500)]
package: Get rid of separate mechanisms for opening packages.

Remove u_pkg_new_by_name and u_pkg_new_by_file, replacing them with
one function, u_pkg_open, that takes just a package name.  Named files
can now be part of the package search just like any other package.  This
should allow cool things like listing dependency packages on the upkg
command line.

11 years agobuild: Re-arrange CFLAGS/LDFLAGS a bit.
Nick Bowler [Mon, 7 Dec 2009 07:57:27 +0000 (02:57 -0500)]
build: Re-arrange CFLAGS/LDFLAGS a bit.

11 years agognulib: Update to latest version.
Nick Bowler [Mon, 7 Dec 2009 04:26:09 +0000 (23:26 -0500)]
gnulib: Update to latest version.

11 years agopack: Use a user-configurable macro to select 64 bit packing.
Nick Bowler [Fri, 18 Sep 2009 15:05:29 +0000 (11:05 -0400)]
pack: Use a user-configurable macro to select 64 bit packing.

11 years agolibupkg: Remove checks for an unsigned quantity being less than 0.
Nick Bowler [Fri, 18 Sep 2009 14:43:10 +0000 (10:43 -0400)]
libupkg: Remove checks for an unsigned quantity being less than 0.

11 years agouobject: Move source files into the uobject directory.
Nick Bowler [Fri, 18 Sep 2009 14:40:22 +0000 (10:40 -0400)]
uobject: Move source files into the uobject directory.

11 years agoupkg: Update verbosity behaviour for --info.
Nick Bowler [Fri, 18 Sep 2009 13:46:42 +0000 (09:46 -0400)]
upkg: Update verbosity behaviour for --info.

We now have four levels of verbosity:
  0 - Display only header information.
  1 - Also display information on individual exports.
  2 - Also display expanded flag information.
  3 - Also display information on individual names.

11 years agopackage: Allow opening by filename in addition to package name.
Nick Bowler [Wed, 16 Sep 2009 14:05:38 +0000 (10:05 -0400)]
package: Allow opening by filename in addition to package name.

Ultimately, libupkg will be merged into libuobject.  This is step one of
that merger, and doesn't affect very much.

11 years agolibupkg: Add a destructor that is called on package close.
Nick Bowler [Wed, 16 Sep 2009 04:37:50 +0000 (00:37 -0400)]
libupkg: Add a destructor that is called on package close.

This fixes mistake where fclose was called unconditionally in

11 years agolibupkg: Parameterise I/O functions to allow custom streams.
Nick Bowler [Wed, 16 Sep 2009 01:05:32 +0000 (21:05 -0400)]
libupkg: Parameterise I/O functions to allow custom streams.

11 years agobuild: Pass PKGDATADIR to compiled sources.
Nick Bowler [Tue, 15 Sep 2009 23:33:32 +0000 (19:33 -0400)]
build: Pass PKGDATADIR to compiled sources.

11 years agopackage: Add initial support for package search.
Nick Bowler [Tue, 15 Sep 2009 02:43:49 +0000 (22:43 -0400)]
package: Add initial support for package search.

11 years agopack: Relax licensing of integer serialisation routines.
Nick Bowler [Tue, 15 Sep 2009 00:24:11 +0000 (20:24 -0400)]
pack: Relax licensing of integer serialisation routines.

11 years agoupkg: Add a simple man page.
Nick Bowler [Tue, 8 Sep 2009 17:48:43 +0000 (13:48 -0400)]
upkg: Add a simple man page.

11 years agoupkg: Add license information to --version output.
Nick Bowler [Mon, 7 Sep 2009 21:37:20 +0000 (17:37 -0400)]
upkg: Add license information to --version output.

11 years agolicense: Add permissive license to build related source files.
Nick Bowler [Mon, 7 Sep 2009 21:32:15 +0000 (17:32 -0400)]
license: Add permissive license to build related source files.

11 years agolicense: Upgrade to GPL version 3 or later.
Nick Bowler [Mon, 7 Sep 2009 21:30:36 +0000 (17:30 -0400)]
license: Upgrade to GPL version 3 or later.

11 years agobuild: Add uobject/package.h to Makefile.am
Nick Bowler [Mon, 7 Sep 2009 20:58:42 +0000 (16:58 -0400)]
build: Add uobject/package.h to Makefile.am

11 years agobuild: Automatically fetch Gnulib from git when running autogen.sh.
Nick Bowler [Mon, 7 Sep 2009 19:55:41 +0000 (15:55 -0400)]
build: Automatically fetch Gnulib from git when running autogen.sh.

11 years agobuild: Add libuobject.pc
Nick Bowler [Fri, 28 Aug 2009 04:36:02 +0000 (00:36 -0400)]
build: Add libuobject.pc

11 years agoupkg: Support UOBJECT_MODULE_PATH to add library search paths.
Nick Bowler [Fri, 28 Aug 2009 04:35:07 +0000 (00:35 -0400)]
upkg: Support UOBJECT_MODULE_PATH to add library search paths.

11 years agoMerge branch 'uobject' of git://git.draconx.ca/upkg into uobject
Nick Bowler [Sat, 8 Aug 2009 16:59:39 +0000 (12:59 -0400)]
Merge branch 'uobject' of git://git.draconx.ca/upkg into uobject

11 years agoupkg: Print export flags.
Nick Bowler [Sat, 8 Aug 2009 16:02:46 +0000 (12:02 -0400)]
upkg: Print export flags.

11 years agouobject: Install modules to a more appropriate location.
Nick Bowler [Sat, 8 Aug 2009 07:15:45 +0000 (03:15 -0400)]
uobject: Install modules to a more appropriate location.

11 years agoDon't bail out if a read fails but there's still data available.
Nick Bowler [Sat, 8 Aug 2009 06:16:40 +0000 (02:16 -0400)]
Don't bail out if a read fails but there's still data available.

11 years agouobject: Namespace changes.
Nick Bowler [Fri, 7 Aug 2009 05:22:09 +0000 (01:22 -0400)]
uobject: Namespace changes.

Change uobject to u_object, and export all symbols starting with u_.
The library is starting to include package stuff which will use the
u_pkg prefix.

11 years agomodule: Split out the GTypeModule subclass.
Nick Bowler [Fri, 7 Aug 2009 05:11:11 +0000 (01:11 -0400)]
module: Split out the GTypeModule subclass.

12 years agopack: Fix signed unpacking to not modify the input.
Nick Bowler [Tue, 4 Aug 2009 22:06:57 +0000 (18:06 -0400)]
pack: Fix signed unpacking to not modify the input.

Also change the unpack functions to use pointer to const unsigned char
so that this sort of problem doesn't happen in the future.

12 years agoconfigure: add gthread support to glib.m4.
Nick Bowler [Sat, 1 Aug 2009 20:14:31 +0000 (16:14 -0400)]
configure: add gthread support to glib.m4.

12 years agouobject: Don't expose symbols that don't start with uobject.
Nick Bowler [Sat, 1 Aug 2009 03:32:13 +0000 (23:32 -0400)]
uobject: Don't expose symbols that don't start with uobject.