changeset 2786:c539e972b514 trunk

[svn] - reduce startup time.
author yaz
date Tue, 22 May 2007 16:55:33 -0700
parents 182aa34ae6c4
children e35538325145
files ChangeLog src/audacious/build_stamp.c src/audacious/main.c
diffstat 3 files changed, 21 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue May 22 15:17:15 2007 -0700
+++ b/ChangeLog	Tue May 22 16:55:33 2007 -0700
@@ -1,3 +1,21 @@
+2007-05-22 22:17:15 +0000  Yoshiki Yazawa <yaz@cc.rim.or.jp>
+  revision [4596]
+  - implement some audacious-remote functions.
+  - implement some audacious-drct functions.
+  - make some command line options work. (this may incur very slow startup.)
+  - suppress warnings.
+  
+  trunk/src/audacious/Makefile       |    7 +++-
+  trunk/src/audacious/auddrct.c      |   18 +++++++++++
+  trunk/src/audacious/auddrct.h      |    4 +-
+  trunk/src/audacious/dbus.c         |   11 +++++++
+  trunk/src/audacious/main.c         |   16 ++++++++--
+  trunk/src/audacious/signals.c      |    2 -
+  trunk/src/audacious/ui_equalizer.c |    4 +-
+  trunk/src/libaudclient/audctrl.c   |   56 ++++++++++++++++++++++++++++++++++++-
+  8 files changed, 108 insertions(+), 10 deletions(-)
+
+
 2007-05-19 23:59:48 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
   revision [4594]
   Rework the curved border a little.
--- a/src/audacious/build_stamp.c	Tue May 22 15:17:15 2007 -0700
+++ b/src/audacious/build_stamp.c	Tue May 22 16:55:33 2007 -0700
@@ -1,2 +1,2 @@
 #include <glib.h>
-const gchar *svn_stamp = "20070519-4594";
+const gchar *svn_stamp = "20070522-4596";
--- a/src/audacious/main.c	Tue May 22 15:17:15 2007 -0700
+++ b/src/audacious/main.c	Tue May 22 16:55:33 2007 -0700
@@ -908,7 +908,6 @@
         exit(EXIT_SUCCESS);
     }
 
-#if 1
     if (filenames != NULL)
     {
         gint pos = 0;
@@ -965,7 +964,7 @@
         g_list_free(fns);
 
         g_strfreev(filenames);
-    }
+    } /* filename */
 
     if (options->rew)
         audacious_remote_playlist_prev(session);
@@ -993,13 +992,12 @@
 
     if (options->activate)
         audacious_remote_activate(session);
-#endif
 
     if (options->playcd)
         play_medium();
 
     printf("remote = %d\n", remote);
-    {
+    if(remote) {
         gboolean is_running = audacious_remote_is_running(session);
         printf("is_running %d\n", is_running);
         if (is_running)