changeset 2504:fcf730269639 trunk

[svn] - convert filename string to utf8 for playlist->title (closes bug #789)
author giacomo
date Mon, 12 Feb 2007 04:34:56 -0800
parents 10692383c103
children 87c53f0e9e0d
files ChangeLog src/audacious/build_stamp.c src/audacious/playlist.c
diffstat 3 files changed, 54 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sun Feb 11 05:19:07 2007 -0800
+++ b/ChangeLog	Mon Feb 12 04:34:56 2007 -0800
@@ -1,3 +1,55 @@
+2007-02-11 13:19:07 +0000  Yoshiki Yazawa <yaz@cc.rim.or.jp>
+  revision [4016]
+  first try for libid3tag integration. this improved libid3tag supports vfs operations and is capable of adding id3v2 tag to files which doesn't have id3v2 tag ever.
+  
+  trunk/configure.ac                  |    7 
+  trunk/src/Makefile                  |    2 
+  trunk/src/libid3tag/Makefile        |   37 +
+  trunk/src/libid3tag/compat.c        |  412 ++++++++++++++++
+  trunk/src/libid3tag/compat.gperf    |  300 +++++++++++
+  trunk/src/libid3tag/compat.h        |   41 +
+  trunk/src/libid3tag/config.h        |   80 +++
+  trunk/src/libid3tag/crc.c           |  137 +++++
+  trunk/src/libid3tag/crc.h           |   29 +
+  trunk/src/libid3tag/debug.c         |  222 ++++++++
+  trunk/src/libid3tag/debug.h         |   34 +
+  trunk/src/libid3tag/field.c         |  895 +++++++++++++++++++++++++++++++++++
+  trunk/src/libid3tag/field.h         |   36 +
+  trunk/src/libid3tag/file.c          |  777 ++++++++++++++++++++++++++++++
+  trunk/src/libid3tag/file.h          |   25 
+  trunk/src/libid3tag/frame.c         |  627 ++++++++++++++++++++++++
+  trunk/src/libid3tag/frame.h         |   36 +
+  trunk/src/libid3tag/frametype.c     |  568 ++++++++++++++++++++++
+  trunk/src/libid3tag/frametype.gperf |  363 ++++++++++++++
+  trunk/src/libid3tag/frametype.h     |   42 +
+  trunk/src/libid3tag/genre.c         |  151 +++++
+  trunk/src/libid3tag/genre.dat       |  480 ++++++++++++++++++
+  trunk/src/libid3tag/genre.dat.in    |  180 +++++++
+  trunk/src/libid3tag/genre.dat.sed   |   54 ++
+  trunk/src/libid3tag/genre.h         |   27 +
+  trunk/src/libid3tag/global.h        |   53 ++
+  trunk/src/libid3tag/id3tag.h        |  364 ++++++++++++++
+  trunk/src/libid3tag/latin1.c        |  217 ++++++++
+  trunk/src/libid3tag/latin1.h        |   45 +
+  trunk/src/libid3tag/parse.c         |  196 +++++++
+  trunk/src/libid3tag/parse.h         |   34 +
+  trunk/src/libid3tag/render.c        |  201 +++++++
+  trunk/src/libid3tag/render.h        |   40 +
+  trunk/src/libid3tag/tag.c           |  912 ++++++++++++++++++++++++++++++++++++
+  trunk/src/libid3tag/tag.h           |   30 +
+  trunk/src/libid3tag/ucs4.c          |  290 +++++++++++
+  trunk/src/libid3tag/ucs4.h          |   41 +
+  trunk/src/libid3tag/utf16.c         |  286 +++++++++++
+  trunk/src/libid3tag/utf16.h         |   51 ++
+  trunk/src/libid3tag/utf8.c          |  365 ++++++++++++++
+  trunk/src/libid3tag/utf8.h          |   42 +
+  trunk/src/libid3tag/util.c          |  147 +++++
+  trunk/src/libid3tag/util.h          |   35 +
+  trunk/src/libid3tag/version.c       |   45 +
+  trunk/src/libid3tag/version.h       |   25 
+  45 files changed, 8980 insertions(+), 1 deletion(-)
+
+
 2007-02-11 09:16:10 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
   revision [4014]
   - Update Welsh translation:
--- a/src/audacious/build_stamp.c	Sun Feb 11 05:19:07 2007 -0800
+++ b/src/audacious/build_stamp.c	Mon Feb 12 04:34:56 2007 -0800
@@ -1,2 +1,2 @@
 #include <glib.h>
-const gchar *svn_stamp = "20070211-4014";
+const gchar *svn_stamp = "20070211-4016";
--- a/src/audacious/playlist.c	Sun Feb 11 05:19:07 2007 -0800
+++ b/src/audacious/playlist.c	Mon Feb 12 04:34:56 2007 -0800
@@ -346,7 +346,7 @@
         return FALSE;
     }
 
-    playlist->title = g_strdup(filename);
+    playlist->title = filename_to_utf8(filename);
     return TRUE;
 }