Author: kelnos
Date: 2006-11-27 04:24:56 +0000 (Mon, 27 Nov 2006)
New Revision: 23976
Modified:
xfmedia/trunk/Makefile.am
xfmedia/trunk/NEWS
xfmedia/trunk/configure.ac.in
xfmedia/trunk/src/xfmedia-plugin.c
Log:
* simplify some plugin loading stuff
* fix quasi-broken makefile
* bump version, prep for 0.9.2
Modified: xfmedia/trunk/Makefile.am
===================================================================
--- xfmedia/trunk/Makefile.am 2006-11-27 03:26:00 UTC (rev 23975)
+++ xfmedia/trunk/Makefile.am 2006-11-27 04:24:56 UTC (rev 23976)
@@ -9,6 +9,7 @@
# plugins don't really work right now
# plugins \
+#
appsdir = $(datadir)/applications
apps_in_files = xfmedia.desktop.in
Modified: xfmedia/trunk/NEWS
===================================================================
--- xfmedia/trunk/NEWS 2006-11-27 03:26:00 UTC (rev 23975)
+++ xfmedia/trunk/NEWS 2006-11-27 04:24:56 UTC (rev 23976)
@@ -2,12 +2,23 @@
| Xfmedia |
+---------+
-Version 0.10.0svn:
+Version 0.9.2 (26 Nov 2006):
Bugfixes:
* Fix finding the global keybindings file when XDG_DATA_DIRS isn't set
up properly (bug 1152).
* Fix some duplicate keyboard mnemonics in the prefs window (bug 1197).
* Fix non-UTF-8 filenames breaking xfmedia-remote (bug 1191)
+ * Fix fullscreen control window positioning.
+ * Fix xine UI message event handling (or at least make it work better).
+ * Fix autosave handling (bug 1722, sorta).
+ * Disable building infopipe plugin, as it's more or less broken.
+ * Fix crash if old infopipe plugin is hanging around (bug 2524).
+ * Update Gtk icon cache when icons are installed.
+ * Fix window size changes between tracks when playing consecutive video
+ files in the playlist.
+ * Fix D-Bus compilation again.
+ * Properly detect the presence of TagLib on systems that break the C
+ bindings out into a separate package.
Features:
* Remember last opened directory in file chooser.
@@ -16,14 +27,21 @@
extension to query X's idle time.
* Add back xine_plugins_garbage_collector() for versions of xine-lib that
do not cause crashes. This should decrease memory usage.
- * New/Updated translations:
- - Japanese (Daichi Kawahata)
- - Traditional Chinese (Hydonsingore Cia)
- - Ukrainian (Maxim Dziumanenko)
+ * Assume files that end in '.iso' are DVD images.
+ * Display files that are longer than an hour as HH:MM:SS rather than
+ MM:SS in the playlist (bug 2370, patch from Erik Harrison).
+ * Support the icon naming spec for some more icons.
+ * New/Updated translations: a bunch; sorry, I lost track!
+
Known Issues:
* If a network connection fails, the infobar may be left in an incorrect
state.
+ * Using drag-and-drop to reorder playlist items is semi-broken (for now,
+ drag the row out of the playlist to get it to recognise the drag)
+ (bug 1041).
+ * Files with the '#' character in them aren't loaded properly (bug 1929).
+ * Streaming audio does not work in many situations (bug 2424).
Version 0.9.1 (14 Sep 2005):
Modified: xfmedia/trunk/configure.ac.in
===================================================================
--- xfmedia/trunk/configure.ac.in 2006-11-27 03:26:00 UTC (rev 23975)
+++ xfmedia/trunk/configure.ac.in 2006-11-27 04:24:56 UTC (rev 23976)
@@ -3,7 +3,7 @@
dnl xfmedia - a simple media player for the xfce desktop environment
dnl
-m4_define([xfmedia_version], [0.10.0svn])
+m4_define([xfmedia_version], [0.9.2])
dnl init autoconf
AC_INIT([xfmedia], [xfmedia_version], [EMAIL PROTECTED])
Modified: xfmedia/trunk/src/xfmedia-plugin.c
===================================================================
--- xfmedia/trunk/src/xfmedia-plugin.c 2006-11-27 03:26:00 UTC (rev 23975)
+++ xfmedia/trunk/src/xfmedia-plugin.c 2006-11-27 04:24:56 UTC (rev 23976)
@@ -23,6 +23,8 @@
#include <gmodule.h>
+#include <libxfce4util/libxfce4util.h>
+
#include <xfmedia/xfmedia-plugin.h>
#include "mainwin.h"
@@ -459,21 +461,22 @@
void
xfmedia_plugins_load(gpointer mwin) /* gpointer to avoid an include */
{
- gchar **plugin_dirs, fullpath[PATH_MAX];
- gint i;
+ gchar *plugin_dirs[N_PLUGIN_DIRS], fullpath[PATH_MAX];
+ gint i = 0;
const gchar *file;
- plugin_dirs = g_malloc(sizeof(gchar *) * (N_PLUGIN_DIRS+1));
- plugin_dirs[0] = g_build_path(G_DIR_SEPARATOR_S, ".local", "lib",
- "xfmedia", "plugins", NULL);
- plugin_dirs[1] = g_build_path(G_DIR_SEPARATOR_S, LIBDIR, "xfmedia",
- "plugins", NULL);
- plugin_dirs[2] = NULL;
+ plugin_dirs[i++] = g_build_path(G_DIR_SEPARATOR_S, xfce_get_homedir(),
+ ".local", "lib", "xfmedia", "plugins",
+ NULL);
+ plugin_dirs[i++] = g_build_path(G_DIR_SEPARATOR_S, LIBDIR, "xfmedia",
+ "plugins", NULL);
- for(i = 0; plugin_dirs[i]; i++) {
+ for(i = 0; i < N_PLUGIN_DIRS; i++) {
GDir *dir = g_dir_open(plugin_dirs[i], 0, NULL);
- if(!dir)
+ if(!dir) {
+ g_free(plugin_dirs[i]);
continue;
+ }
while((file = g_dir_read_name(dir))) {
GModule *gm;
@@ -522,9 +525,9 @@
g_object_set_data(G_OBJECT(plugin), "__xfmedia-plugin-gmodule",
gm);
xfmedia_plugins = g_list_prepend(xfmedia_plugins, plugin);
}
+
+ g_free(plugin_dirs[i]);
}
-
- g_strfreev(plugin_dirs);
}
GList *
_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits