[Swfdec] 3 commits - libswfdec/swfdec_loader.c
libswfdec/swfdec_loadertarget.c libswfdec/swfdec_xml.c
Benjamin Otte
company at kemper.freedesktop.org
Fri Mar 2 15:19:19 PST 2007
libswfdec/swfdec_loader.c | 2 +-
libswfdec/swfdec_loadertarget.c | 3 +++
libswfdec/swfdec_xml.c | 4 +++-
3 files changed, 7 insertions(+), 2 deletions(-)
New commits:
diff-tree 10106c5992d19bf126c2e32e0761eee05d72b0c2 (from cdb0e26e2fc40492083ff3b4d684768f0f7945e1)
Author: Benjamin Otte <otte at gnome.org>
Date: Sat Mar 3 00:16:05 2007 +0100
register the loader correctly
diff --git a/libswfdec/swfdec_xml.c b/libswfdec/swfdec_xml.c
index b5cbf26..675e532 100644
--- a/libswfdec/swfdec_xml.c
+++ b/libswfdec/swfdec_xml.c
@@ -24,6 +24,7 @@
#include <string.h>
#include "swfdec_xml.h"
#include "swfdec_debug.h"
+#include "swfdec_loader_internal.h"
#include "swfdec_loadertarget.h"
#include "swfdec_player_internal.h"
#include "js/jsapi.h"
@@ -186,6 +187,7 @@ swfdec_xml_load (SwfdecXml *xml, const c
if (xml->loader == NULL) {
swfdec_xml_ondata (xml);
} else {
- swfdec_xml_loader_target_parse (SWFDEC_LOADER_TARGET (xml), xml->loader);
+ swfdec_loader_set_target (xml->loader, SWFDEC_LOADER_TARGET (xml));
+ swfdec_loader_queue_parse (xml->loader);
}
}
diff-tree cdb0e26e2fc40492083ff3b4d684768f0f7945e1 (from 5d3e16ba504b8cfe91e8f6ac7b89a30a818b1e87)
Author: Benjamin Otte <otte at gnome.org>
Date: Sat Mar 3 00:11:57 2007 +0100
improve debugging
diff --git a/libswfdec/swfdec_loadertarget.c b/libswfdec/swfdec_loadertarget.c
index 5a25f1a..3212fc8 100644
--- a/libswfdec/swfdec_loadertarget.c
+++ b/libswfdec/swfdec_loadertarget.c
@@ -22,6 +22,7 @@
#endif
#include "swfdec_loadertarget.h"
+#include "swfdec_debug.h"
#include "swfdec_loader_internal.h"
#include "swfdec_player_internal.h"
@@ -147,6 +148,8 @@ swfdec_loader_target_parse (SwfdecLoader
g_return_if_fail (SWFDEC_IS_LOADER_TARGET (target));
g_return_if_fail (SWFDEC_IS_LOADER (loader));
+ SWFDEC_LOG ("parsing %p%s%s", loader,
+ loader->error ? " ERROR" : "", loader->eof ? " EOF" : "");
if (loader->error)
return;
diff-tree 5d3e16ba504b8cfe91e8f6ac7b89a30a818b1e87 (from f3b5a7ee8d8516b94c160a3c67dca971ab8065f3)
Author: Benjamin Otte <otte at gnome.org>
Date: Fri Mar 2 23:41:34 2007 +0100
: is an unescaped character for formencoded
diff --git a/libswfdec/swfdec_loader.c b/libswfdec/swfdec_loader.c
index 8a5568f..8c85d81 100644
--- a/libswfdec/swfdec_loader.c
+++ b/libswfdec/swfdec_loader.c
@@ -437,7 +437,7 @@ swfdec_loader_get_filename (SwfdecLoader
}
/* if speed ever gets an issue, use a 256 byte array instead of strchr */
-static const char *urlencode_unescaped="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_./";
+static const char *urlencode_unescaped="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_.:/";
static void
swfdec_urlencode_append_string (GString *str, const char *s)
{
More information about the Swfdec
mailing list