]>
git.draconx.ca Git - upkg.git/log
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.
Nick Bowler [Tue, 8 Dec 2009 05:58:38 +0000 (00:58 -0500)]
package: Move package search code to the VFS.
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.
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.
Nick Bowler [Mon, 7 Dec 2009 07:57:27 +0000 (02:57 -0500)]
build: Re-arrange CFLAGS/LDFLAGS a bit.
Nick Bowler [Mon, 7 Dec 2009 04:26:09 +0000 (23:26 -0500)]
gnulib: Update to latest version.
Nick Bowler [Fri, 18 Sep 2009 15:05:29 +0000 (11:05 -0400)]
pack: Use a user-configurable macro to select 64 bit packing.
Nick Bowler [Fri, 18 Sep 2009 14:43:10 +0000 (10:43 -0400)]
libupkg: Remove checks for an unsigned quantity being less than 0.
Nick Bowler [Fri, 18 Sep 2009 14:40:22 +0000 (10:40 -0400)]
uobject: Move source files into the uobject directory.
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.
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.
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
upkg_close.
Nick Bowler [Wed, 16 Sep 2009 01:05:32 +0000 (21:05 -0400)]
libupkg: Parameterise I/O functions to allow custom streams.
Nick Bowler [Tue, 15 Sep 2009 23:33:32 +0000 (19:33 -0400)]
build: Pass PKGDATADIR to compiled sources.
Nick Bowler [Tue, 15 Sep 2009 02:43:49 +0000 (22:43 -0400)]
package: Add initial support for package search.
Nick Bowler [Tue, 15 Sep 2009 00:24:11 +0000 (20:24 -0400)]
pack: Relax licensing of integer serialisation routines.
Nick Bowler [Tue, 8 Sep 2009 17:48:43 +0000 (13:48 -0400)]
upkg: Add a simple man page.
Nick Bowler [Mon, 7 Sep 2009 21:37:20 +0000 (17:37 -0400)]
upkg: Add license information to --version output.
Nick Bowler [Mon, 7 Sep 2009 21:32:15 +0000 (17:32 -0400)]
license: Add permissive license to build related source files.
Nick Bowler [Mon, 7 Sep 2009 21:30:36 +0000 (17:30 -0400)]
license: Upgrade to GPL version 3 or later.
Nick Bowler [Mon, 7 Sep 2009 20:58:42 +0000 (16:58 -0400)]
build: Add uobject/package.h to Makefile.am
Nick Bowler [Mon, 7 Sep 2009 19:55:41 +0000 (15:55 -0400)]
build: Automatically fetch Gnulib from git when running autogen.sh.
Nick Bowler [Fri, 28 Aug 2009 04:36:02 +0000 (00:36 -0400)]
build: Add libuobject.pc
Nick Bowler [Fri, 28 Aug 2009 04:35:07 +0000 (00:35 -0400)]
upkg: Support UOBJECT_MODULE_PATH to add library search paths.
Nick Bowler [Sat, 8 Aug 2009 16:59:39 +0000 (12:59 -0400)]
Merge branch 'uobject' of git://git.draconx.ca/upkg into uobject
Nick Bowler [Sat, 8 Aug 2009 16:02:46 +0000 (12:02 -0400)]
upkg: Print export flags.
Nick Bowler [Sat, 8 Aug 2009 07:15:45 +0000 (03:15 -0400)]
uobject: Install modules to a more appropriate location.
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.
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.
Nick Bowler [Fri, 7 Aug 2009 05:11:11 +0000 (01:11 -0400)]
module: Split out the GTypeModule subclass.
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.
Nick Bowler [Sat, 1 Aug 2009 20:14:31 +0000 (16:14 -0400)]
configure: add gthread support to glib.m4.
Nick Bowler [Sat, 1 Aug 2009 03:32:13 +0000 (23:32 -0400)]
uobject: Don't expose symbols that don't start with uobject.
Nick Bowler [Sat, 1 Aug 2009 03:25:35 +0000 (23:25 -0400)]
uobject: remove pointless private module.h.
Nick Bowler [Fri, 24 Jul 2009 16:10:57 +0000 (12:10 -0400)]
uobject: Add some descriptions of the loadable/exportable interfaces.
Nick Bowler [Fri, 24 Jul 2009 16:08:38 +0000 (12:08 -0400)]
uobject: More namespace cleanups.
Nick Bowler [Fri, 24 Jul 2009 15:52:11 +0000 (11:52 -0400)]
uobject: Clean up the module loader namespace.
Nick Bowler [Fri, 24 Jul 2009 15:37:16 +0000 (11:37 -0400)]
uobject: Move headers into a separate (installable) directory.
Nick Bowler [Mon, 20 Jul 2009 00:13:14 +0000 (20:13 -0400)]
Add all-permissive license to autoconf macros.
Nick Bowler [Sun, 19 Jul 2009 21:12:12 +0000 (17:12 -0400)]
uobject: Split uobject stuff into its own library.
It is likely that libupkg will be merged into this library soon.
Nick Bowler [Sun, 19 Jul 2009 21:08:19 +0000 (17:08 -0400)]
configure: Implement glib checking macro that actually links a test program.
Nick Bowler [Fri, 17 Jul 2009 20:10:04 +0000 (16:10 -0400)]
uobject: Take a package/index tuple instead of a upkg_file for deserialize.
Nick Bowler [Fri, 17 Jul 2009 20:09:24 +0000 (16:09 -0400)]
music: don't forget to propagate object finalize.
Nick Bowler [Thu, 16 Jul 2009 21:10:22 +0000 (17:10 -0400)]
libupkg: Add signed integer unpacking to fix incorrect signedness issue.
Nick Bowler [Thu, 16 Jul 2009 19:03:17 +0000 (15:03 -0400)]
build: Use automake silent rules.
Nick Bowler [Thu, 16 Jul 2009 01:59:18 +0000 (21:59 -0400)]
upkg: fix NULL dereference if upkg_export_class fails.
Nick Bowler [Tue, 14 Jul 2009 23:55:00 +0000 (19:55 -0400)]
Add copyright notices.
Nick Bowler [Tue, 14 Jul 2009 23:41:52 +0000 (19:41 -0400)]
Implement support for libmodplug in Engine.Music.
Nick Bowler [Mon, 13 Jul 2009 22:32:19 +0000 (18:32 -0400)]
uobject: Implement an interface for loading/unloading.
This allows, for example, an instance of Engine.Music to load its music
data only when required. It may be useful to keep around an instance
without allocating gobs of memory to store data that won't be used.
Nick Bowler [Mon, 13 Jul 2009 02:51:10 +0000 (22:51 -0400)]
upkg: Don't forget to close the opened export.
Nick Bowler [Mon, 13 Jul 2009 00:17:38 +0000 (20:17 -0400)]
module: improve error messages.
Nick Bowler [Mon, 13 Jul 2009 00:17:12 +0000 (20:17 -0400)]
upkg: Implement batch export.
Nick Bowler [Mon, 13 Jul 2009 00:11:12 +0000 (20:11 -0400)]
libupkg: Remove the group stuff from upkg_export_class.
Nick Bowler [Sun, 12 Jul 2009 23:47:14 +0000 (19:47 -0400)]
module: add missing return value to module_exit.
Nick Bowler [Sun, 12 Jul 2009 23:44:35 +0000 (19:44 -0400)]
module: Don't use G_TYPE_MODULE for casts in modcmp.
This causes problems since we pass ``fake'' GObjects in to avl_find.
Since everything we store in the AVL tree are properly pointers to
GTypeModule, simple assignment should be perfectly fine.
Nick Bowler [Sat, 11 Jul 2009 04:47:29 +0000 (00:47 -0400)]
upkg: Print usage info on stdout/stderr as appropriate.
Nick Bowler [Sat, 11 Jul 2009 04:43:47 +0000 (00:43 -0400)]
upkg: Print package export info.
Nick Bowler [Fri, 10 Jul 2009 22:38:28 +0000 (18:38 -0400)]
upkg: Start implementing proper command line interface.
Nick Bowler [Fri, 10 Jul 2009 21:52:42 +0000 (17:52 -0400)]
upkg: Add gnulib getopt_long support and implement --help/--version.
Nick Bowler [Fri, 3 Jul 2009 21:25:25 +0000 (17:25 -0400)]
Simplify music I/O.
Nick Bowler [Fri, 3 Jul 2009 19:23:50 +0000 (15:23 -0400)]
Minor fixes.
Nick Bowler [Fri, 3 Jul 2009 19:03:38 +0000 (15:03 -0400)]
Fix pointer signedness issues in libupkg.
Nick Bowler [Thu, 11 Jun 2009 22:06:59 +0000 (18:06 -0400)]
Add missing header to Makefile.am.
Nick Bowler [Thu, 11 Jun 2009 22:04:50 +0000 (18:04 -0400)]
Use GObject properties for stuff since it makes much more sense.
Nick Bowler [Thu, 11 Jun 2009 15:16:47 +0000 (11:16 -0400)]
Fix another mistake in uobject's property parsing.
Nick Bowler [Wed, 10 Jun 2009 23:21:08 +0000 (19:21 -0400)]
Begin work on Engine.Texture.
Nick Bowler [Wed, 10 Jun 2009 23:20:24 +0000 (19:20 -0400)]
Fix stupid mistakes in uobject.
Nick Bowler [Wed, 10 Jun 2009 22:42:40 +0000 (18:42 -0400)]
Reorganize object hierarchy to root at "UObject".
Contrary to past belief, _every_ object serialization has a common header.
This removes the need for a specific serializable interface.
Nick Bowler [Wed, 10 Jun 2009 22:34:44 +0000 (18:34 -0400)]
Fix upkg_export_seek to actually change the offset field.
Nick Bowler [Wed, 10 Jun 2009 22:10:55 +0000 (18:10 -0400)]
Add simple sanity checks to Engine.Music export.
Nick Bowler [Wed, 10 Jun 2009 21:30:52 +0000 (17:30 -0400)]
Add EOF notification to the upkg export API.
Nick Bowler [Tue, 9 Jun 2009 23:37:30 +0000 (19:37 -0400)]
Implement the module class loader.
Nick Bowler [Tue, 9 Jun 2009 22:51:09 +0000 (18:51 -0400)]
Add required HEADERS to the Makefile.am.
Nick Bowler [Tue, 9 Jun 2009 22:49:37 +0000 (18:49 -0400)]
Implement dynamic loading of modules.
Nick Bowler [Tue, 9 Jun 2009 19:23:10 +0000 (15:23 -0400)]
Early start of the module system.
Nick Bowler [Tue, 9 Jun 2009 03:50:16 +0000 (23:50 -0400)]
Add libltdl.
Nick Bowler [Mon, 8 Jun 2009 19:46:50 +0000 (15:46 -0400)]
Initial UObject implementation plus a dumb music extractor.
Nick Bowler [Mon, 8 Jun 2009 20:41:46 +0000 (16:41 -0400)]
Implement GUID handling.
Nick Bowler [Mon, 8 Jun 2009 19:26:32 +0000 (15:26 -0400)]
Store the export name in the file structure.
Nick Bowler [Mon, 8 Jun 2009 19:04:56 +0000 (15:04 -0400)]
Implement file positioning functions for upkg exports.
Nick Bowler [Mon, 8 Jun 2009 19:03:38 +0000 (15:03 -0400)]
Export the decode_index function from the upkg library.
Nick Bowler [Mon, 8 Jun 2009 16:53:53 +0000 (12:53 -0400)]
Implement file reading API on exports.
Nick Bowler [Mon, 8 Jun 2009 05:35:00 +0000 (01:35 -0400)]
Allocate upkg and private structs in one go.
Nick Bowler [Sat, 6 Jun 2009 20:02:37 +0000 (16:02 -0400)]
Add copyright and licensing info.
Nick Bowler [Sat, 6 Jun 2009 19:58:29 +0000 (15:58 -0400)]
Move stuff into a separate source directory.
Nick Bowler [Sat, 6 Jun 2009 01:29:53 +0000 (21:29 -0400)]
Implement parsing of old format name tables.
Nick Bowler [Sat, 6 Jun 2009 01:20:50 +0000 (21:20 -0400)]
Implement import table parsing.
Nick Bowler [Fri, 5 Jun 2009 19:21:14 +0000 (15:21 -0400)]
Fix early return in upkg_close.
Nick Bowler [Fri, 5 Jun 2009 19:18:49 +0000 (15:18 -0400)]
Implement export table parsing.
Nick Bowler [Fri, 5 Jun 2009 19:17:55 +0000 (15:17 -0400)]
Fix error path in pkg_init_names.
Nick Bowler [Fri, 5 Jun 2009 15:27:08 +0000 (11:27 -0400)]
Remove redundant index field from upkg_name and fix some types.
Nick Bowler [Fri, 5 Jun 2009 05:29:08 +0000 (01:29 -0400)]
Implement lookups in the name table.
Nick Bowler [Fri, 5 Jun 2009 05:17:36 +0000 (01:17 -0400)]
Reorganise the upkg structures a bit.
Nick Bowler [Fri, 5 Jun 2009 00:12:18 +0000 (20:12 -0400)]
Initial commit