==================== 0.3.0 ==================== Wed Feb 15 00:23:20 PST 2006 Christian Hammond * libleaftag/Makefile.am: * configure.ac: - Fix make distcheck. - Bump the version to 0.3.0, because it's cooler than 0.1.0. Release! Sun Feb 12 03:27:41 PST 2006 Christian Hammond * libleaftag/db.c: * libleaftag/object.c: * libleaftag/object.h: * libleaftag/source.c: * libleaftag/tag.c: - Hopefully properly handle reference counting now. This was the last real thing I wanted done before I started migrating all the old fstaglib-based apps and plugins to libleaftag. Sun Jan 08 20:22:55 PST 2006 Christian Hammond * libleaftag/db.c: * libleaftag/db.h: A libleaftag/db-priv.h: * libleaftag/Makefile.am: * libleaftag/priv.h: - Split parts of db.h off into db-priv.h. Thu Jan 05 01:47:06 PST 2006 Christian Hammond * libleaftag/cache.c: * libleaftag/cache.h: * libleaftag/object.c: * libleaftag/object.h: * libleaftag/source.c: * libleaftag/source.h: * libleaftag/tag.c: * libleaftag/tag.h: - Add the ability to remove tags and sources from the cache, and do so in the dispose handlers. - Purge unused tags and sources when untagging. - Add the ability to delete tags and sources completely, including all associations. Thu Jan 05 00:47:33 PST 2006 Christian Hammond * libleaftag/source.c: - Free the result of g_get_current_dir(). Thu Jan 05 00:43:58 PST 2006 Christian Hammond * libleaftag/source.c: - Pass the correct parameters to g_build_path() in lt_make_abs_path(). Wed Jan 04 23:33:59 PST 2006 Christian Hammond * libleaftag/source.c: - Fixed lt_source_tag_with_names(). The code should be cleaner now, and it certainly works better than earlier. Wed Jan 04 23:12:10 PST 2006 Christian Hammond * libleaftag/source.c: * libleaftag/source.h: * tests/check-leaftag.c: - Added support for untagging. - Fixed some bugs when tagging where the source wasn't being put in the database. Wed Jan 04 01:40:21 PST 2006 Christian Hammond * libleaftag/source.c: * libleaftag/source.h: - Add lt_source_get_filename(), a convenience function for sources with file schemas. - Properly retrieve and set schema properties. Wed Jan 04 01:12:35 PST 2006 Christian Hammond * libleaftag/tag.c: - lt_tag_set_image() should set the image, not the description. Wed Jan 04 00:46:16 PST 2006 Christian Hammond * libleaftag/source.c: - Normalize the URI passed to lt_source_lookup(). Mon Jan 02 18:14:05 PST 2006 Christian Hammond * libleaftag/cache.c: * libleaftag/cache.h: * libleaftag/db.c: * libleaftag/db.h: * libleaftag/object.c: * libleaftag/object.h: * libleaftag/priv.h: * libleaftag/source.c: * libleaftag/source.h: * libleaftag/tag.c: * libleaftag/tag.h: * tests/check-leaftag.c: - Massive.. API.. Breakage! LT* structs are now Lt*. Sun Jan 01 14:55:24 PST 2006 Christian Hammond * libleaftag/source.c: * libleaftag/tag.c: * tests/check-leaftag.c: - Implemented lt_get_visible_tags(). - Added a "schema" property to LTSource, and load the schema when retrieving data from the DB. - Properly update the database when tag or schema properties are set. Sun Jan 01 14:23:24 PST 2006 Christian Hammond * libleaftag/priv.h: * libleaftag/source.c: * libleaftag/tag.c: - Move all the loops through the results that create sources or tags into a couple of convenience functions. Sun Jan 01 14:10:48 PST 2006 Christian Hammond * tests/check-leaftag.c: - Condense the unit tests quite a bit by centralizing a lot of logic. This removes about 100 lines from the code and makes things far easier to read. Sun Jan 01 13:56:30 PST 2006 Christian Hammond * libleaftag/db.c: * libleaftag/source.c: * libleaftag/source.h: * libleaftag/tag.c: * tests/check-leaftag.c: - Implement lt_get_sources_with_tags() and lt_get_sources_with_tag_names(). Fri Dec 30 23:06:39 PST 2005 Christian Hammond * libleaftag/priv.h: * libleaftag/source.c: * libleaftag/tag.c: - Added private lt_tag_lookup_by_sql() and lt_source_lookup_by_sql() functions. Most of the other query functions now use these in order to limit code duplication. - Added private lt_tag_new() and lt_source_new() functions. Fri Dec 30 22:48:50 PST 2005 Christian Hammond * libleaftag/object.h: * libleaftag/source.c: * libleaftag/tag.c: - Remove the save and load vfuncs. Fri Dec 30 22:45:40 PST 2005 Christian Hammond * tests/check-leaftag.c: - Remove some redundancy from the unit tests. Fri Dec 30 22:31:51 PST 2005 Christian Hammond * libleaftag/source.c: * tests/check-leaftag.c: - Implement lt_get_sources_with_schema() and add a test case. Fri Dec 30 21:53:26 PST 2005 Christian Hammond * libleaftag/source.c: * libleaftag/tag.c: - Fill out the schema and ctime values when inserting into the DB. Fri Dec 30 21:11:14 PST 2005 Christian Hammond * libleaftag/db.c: * libleaftag/db.h: * libleaftag/source.c: * libleaftag/tag.c: - Add ctime and schema columns to the sources table, and ctime to the tags table. - Remove lt_db_insert(). Now that I have discovered %Q, I get all the functionality of this function for free without the extra overhead. (Is that redundant?) Fri Dec 30 20:56:54 PST 2005 Christian Hammond * libleaftag/source.c: * libleaftag/tag.c: * tests/check-leaftag.c: - Implement and test lt_tag_get_all_sources(). Fri Dec 30 20:43:25 PST 2005 Christian Hammond * libleaftag/source.c: * libleaftag/source.h: * libleaftag/tag.c: * libleaftag/tag.h: * tests/check-leaftag.c: - Implement lt_tag_get_uris(), and add a test case for it. - Improve the tagging test case just a bit. Fri Dec 30 19:21:23 PST 2005 Christian Hammond * libleaftag/tag.c: * libleaftag/tag.h: - Add '+' to the list of invalid tag characters. Fri Dec 30 19:12:05 PST 2005 Christian Hammond * libleaftag/db.c: * libleaftag/db.h: * libleaftag/priv.h: * libleaftag/source.c: * libleaftag/source.h: * libleaftag/tag.c: * tests/check-leaftag.c: - Added working tagging support. The unit tests say so. Tue Dec 27 23:40:05 PST 2005 Christian Hammond * libleaftag/db.c: * libleaftag/db.h: * libleaftag/object.c: * libleaftag/object.h: * libleaftag/priv.h: * libleaftag/source.c: * libleaftag/source.h: * libleaftag/tag.c: - Added lt_create_source_from_row(), lt_source_lookup_many(), lt_db_build_tags_where_clause(). - Renamed lt_build_multiple_where_clause() to lt_db_build_multiple_where_clause() and lt_build_tags_where_clause() to lt_db_build_sources_where_clause(). - Implemented tag and source lookups. - LTObjects now have IDs. Tue Dec 27 22:49:01 PST 2005 Christian Hammond A libleaftag/cache.c: A libleaftag/cache.h: * libleaftag/db.c: * libleaftag/db.h: * libleaftag/Makefile.am: * libleaftag/priv.h: * libleaftag/source.c: * libleaftag/source.h: * libleaftag/tag.c: * libleaftag/tag.h: * tests/check-leaftag.c: - Added caching and a whole bunch of DB-related stuff. This was getting to be a big change, and I'd rather get what I have in before I mess it up. Sun Dec 25 14:12:30 PST 2005 Christian Hammond * libleaftag/db.c: * libleaftag/db.h: * libleaftag/leaftag.h: * libleaftag/object.c: * libleaftag/object.h: * libleaftag/priv.h: * libleaftag/source.c: * libleaftag/source.h: * libleaftag/tag.c: * libleaftag/tag.h: * tests/check-leaftag.c: - Added copyright headers. Sun Dec 25 14:07:40 PST 2005 Christian Hammond * libleaftag/Makefile.am: A libleaftag/db.c: A libleaftag/db.h: * libleaftag/object.c: * libleaftag/priv.h: * libleaftag/source.c: * libleaftag/source.h: * libleaftag/tag.c: A tests/Makefile.am: A tests/check-leaftag.c: * Makefile.am: * configure.ac: - Added the beginnings of the DB functionality. - Added the beginnings of a test suite. - Fixed lt_uri_parse(). - Fixed some incorrect object property types.