changeset 2560:5511818eb9d3 trunk

[svn] - added custom field in tuple, for internal use by plugins or by whatever wanting to use it
author giacomo
date Wed, 21 Feb 2007 15:02:54 -0800
parents b474ecb5bde4
children 5b761b745289
files ChangeLog src/audacious/build_stamp.c src/audacious/titlestring.c src/audacious/titlestring.h
diffstat 4 files changed, 26 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Feb 21 04:25:12 2007 -0800
+++ b/ChangeLog	Wed Feb 21 15:02:54 2007 -0800
@@ -1,3 +1,22 @@
+2007-02-21 12:25:12 +0000  Yoshiki Yazawa <yaz@cc.rim.or.jp>
+  revision [4128]
+  revise str_to_utf8():
+  - new utf8 validator using libguess DFA has been implemented. str_to_utf8() tries utf8 validation first.
+  - default conversion from ISO-8859-1 is enabled regardless of chardet.
+  - libguess and librcd is always compiled in.
+  - some libguess cleanups.
+  
+  trunk/configure.ac             |    7 +
+  trunk/src/audacious/strings.c  |   40 +++++----
+  trunk/src/libguess/Makefile    |    3 
+  trunk/src/libguess/guess.c     |   17 ++++
+  trunk/src/libguess/guess.scm   |   45 +++++-----
+  trunk/src/libguess/guess_tab.c |  168 -----------------------------------------
+  trunk/src/libguess/libguess.h  |    1 
+  trunk/src/librcd/Makefile      |    3 
+  8 files changed, 68 insertions(+), 216 deletions(-)
+
+
 2007-02-21 11:52:52 +0000  Yoshiki Yazawa <yaz@cc.rim.or.jp>
   revision [4126]
   - vfs layer doesn't provide fdopen.
--- a/src/audacious/build_stamp.c	Wed Feb 21 04:25:12 2007 -0800
+++ b/src/audacious/build_stamp.c	Wed Feb 21 15:02:54 2007 -0800
@@ -1,2 +1,2 @@
 #include <glib.h>
-const gchar *svn_stamp = "20070221-4126";
+const gchar *svn_stamp = "20070221-4128";
--- a/src/audacious/titlestring.c	Wed Feb 21 04:25:12 2007 -0800
+++ b/src/audacious/titlestring.c	Wed Feb 21 15:02:54 2007 -0800
@@ -93,6 +93,9 @@
     if (input->file_path != NULL)
         g_free(input->file_path);
 
+    if (input->custom != NULL)
+        g_free(input->custom);
+
     g_free(input);
 }
 
--- a/src/audacious/titlestring.h	Wed Feb 21 04:25:12 2007 -0800
+++ b/src/audacious/titlestring.h	Wed Feb 21 15:02:54 2007 -0800
@@ -64,8 +64,9 @@
     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 */
+    gint length;                /* not displayable */
+    gchar *formatter;           /* not displayable */
+    gchar *custom;              /* not displayable, for internal use */
     time_t mtime;
 } TitleInput;