# HG changeset patch # User kiyoshi # Date 1165657779 28800 # Node ID e4c359265eb0bd46fcca333f9a6edc7f67ab4b1b # Parent b9c6f1305c99ca776aee853f2ab7e4d6cad00f73 [svn] Shut up, mkdir. diff -r b9c6f1305c99 -r e4c359265eb0 ChangeLog --- a/ChangeLog Fri Dec 08 15:41:46 2006 -0800 +++ b/ChangeLog Sat Dec 09 01:49:39 2006 -0800 @@ -1,3 +1,18 @@ +2006-12-08 23:41:46 +0000 William Pitcock + revision [3145] + - move urldecode to libaudacious + - use urldecode in the VFS layer + + trunk/audacious/Makefile | 1 + trunk/audacious/urldecode.c | 110 ----------------------------------------- + trunk/audacious/urldecode.h | 25 --------- + trunk/libaudacious/Makefile | 5 + + trunk/libaudacious/urldecode.c | 110 +++++++++++++++++++++++++++++++++++++++++ + trunk/libaudacious/urldecode.h | 25 +++++++++ + trunk/libaudacious/vfs.c | 8 ++ + 7 files changed, 145 insertions(+), 139 deletions(-) + + 2006-12-08 11:26:45 +0000 William Pitcock revision [3143] - don't free the VFS handle here, just our private handle. diff -r b9c6f1305c99 -r e4c359265eb0 autogen.sh --- a/autogen.sh Fri Dec 08 15:41:46 2006 -0800 +++ b/autogen.sh Sat Dec 09 01:49:39 2006 -0800 @@ -10,7 +10,7 @@ ### XXX: Gentoo's subversion.eclass sucks, yet people insist on using ### it. -mkdir audacious/.svn +mkdir -p audacious/.svn AUTOCONF=${AUTOCONF:-autoconf} ACLOCAL=${ACLOCAL:-aclocal} diff -r b9c6f1305c99 -r e4c359265eb0 doc/libaudacious/libaudacious-decl-list.txt --- a/doc/libaudacious/libaudacious-decl-list.txt Fri Dec 08 15:41:46 2006 -0800 +++ b/doc/libaudacious/libaudacious-decl-list.txt Sat Dec 09 01:49:39 2006 -0800 @@ -1,3 +1,8 @@ +
+dirbrowser +xmms_create_dir_browser +
+
vfs VFSFile @@ -95,19 +100,6 @@
-titlestring -TitleInput -BmpTitleInput -XMMS_TITLEINPUT_SIZE -XMMS_TITLEINPUT_VERSION -XMMS_NEW_TITLEINPUT -bmp_title_input_new -bmp_title_input_free -xmms_get_titlestring -xmms_titlestring_descriptions -
- -
formatter Formatter xmms_formatter_new @@ -140,6 +132,19 @@
+titlestring +TitleInput +BmpTitleInput +XMMS_TITLEINPUT_SIZE +XMMS_TITLEINPUT_VERSION +XMMS_NEW_TITLEINPUT +bmp_title_input_new +bmp_title_input_free +xmms_get_titlestring +xmms_titlestring_descriptions +
+ +
xconvert xmms_convert_buffers
@@ -166,8 +171,3 @@ util -
-dirbrowser -xmms_create_dir_browser -
- diff -r b9c6f1305c99 -r e4c359265eb0 doc/libaudacious/libaudacious-decl.txt --- a/doc/libaudacious/libaudacious-decl.txt Fri Dec 08 15:41:46 2006 -0800 +++ b/doc/libaudacious/libaudacious-decl.txt Sat Dec 09 01:49:39 2006 -0800 @@ -1,3 +1,8 @@ + +xmms_create_dir_browser +GtkWidget * +gchar * title, gchar * current_path,GtkSelectionMode mode,void (*handler) (gchar *) + VFSFile @@ -463,64 +468,6 @@ xmms_remote_playlist_add(session,list) -TitleInput -typedef struct { - gint __size; /* Set by bmp_title_input_new() */ - gint __version; /* Ditto */ - - gchar *performer; /* %p */ - gchar *album_name; /* %a */ - gchar *track_name; /* %t */ - gint track_number; /* %n */ - gint year; /* %y */ - gchar *date; /* %d */ - gchar *genre; /* %g */ - gchar *comment; /* %c */ - gchar *file_name; /* %f */ - const gchar *file_ext; /* %e *//* is not always strdup'ed, see xmms_input_get_song_info and plugins! */ - gchar *file_path; /* %F */ - gint length; /* not displayable */ - gchar *formatter; /* not displayable */ - time_t mtime; -} TitleInput; - - -BmpTitleInput -typedef TitleInput BmpTitleInput; - - -XMMS_TITLEINPUT_SIZE -#define XMMS_TITLEINPUT_SIZE sizeof(TitleInput) - - -XMMS_TITLEINPUT_VERSION -#define XMMS_TITLEINPUT_VERSION (1) - - -XMMS_NEW_TITLEINPUT -#define XMMS_NEW_TITLEINPUT(input) input = bmp_title_input_new(); - - -bmp_title_input_new -TitleInput * -void - - -bmp_title_input_free -void -BmpTitleInput * input - - -xmms_get_titlestring -gchar * -const gchar * fmt, TitleInput * input - - -xmms_titlestring_descriptions -GtkWidget * -gchar * tags, gint columns - - Formatter typedef struct { gchar *values[256]; @@ -647,6 +594,64 @@ RcFile * file, const gchar * section,const gchar * key +TitleInput +typedef struct { + gint __size; /* Set by bmp_title_input_new() */ + gint __version; /* Ditto */ + + gchar *performer; /* %p */ + gchar *album_name; /* %a */ + gchar *track_name; /* %t */ + gint track_number; /* %n */ + gint year; /* %y */ + gchar *date; /* %d */ + gchar *genre; /* %g */ + gchar *comment; /* %c */ + gchar *file_name; /* %f */ + const gchar *file_ext; /* %e *//* is not always strdup'ed, see xmms_input_get_song_info and plugins! */ + gchar *file_path; /* %F */ + gint length; /* not displayable */ + gchar *formatter; /* not displayable */ + time_t mtime; +} TitleInput; + + +BmpTitleInput +typedef TitleInput BmpTitleInput; + + +XMMS_TITLEINPUT_SIZE +#define XMMS_TITLEINPUT_SIZE sizeof(TitleInput) + + +XMMS_TITLEINPUT_VERSION +#define XMMS_TITLEINPUT_VERSION (1) + + +XMMS_NEW_TITLEINPUT +#define XMMS_NEW_TITLEINPUT(input) input = bmp_title_input_new(); + + +bmp_title_input_new +TitleInput * +void + + +bmp_title_input_free +void +BmpTitleInput * input + + +xmms_get_titlestring +gchar * +const gchar * fmt, TitleInput * input + + +xmms_titlestring_descriptions +GtkWidget * +gchar * tags, gint columns + + xmms_convert_buffers struct xmms_convert_buffers; @@ -718,8 +723,3 @@ void ConfigDb *db,const gchar *section,const gchar *key - -xmms_create_dir_browser -GtkWidget * -gchar * title, gchar * current_path,GtkSelectionMode mode,void (*handler) (gchar *) -