search for: _swfdecasobjectclass

Displaying 17 results from an estimated 17 matches for "_swfdecasobjectclass".

Did you mean: swfdecasobjectclass
2007 Jul 17
2
swfdec new version
...io backend to complie. But git version is complied with oss backend. b- Git version has -Werror flag and raises errors from deprecated functions in ffmpeg. I removed -Werror flag form configure script and compiled. c- Using 0.5 version in a C++ project is impossible due to delete operant of _SwfdecAsObjectClass struct. Since delete is a keyword of c++ i could not compile it. Is there a trick for it? Or the name of operator should be changed?? 2- This version can not play flv files. As you know. swfdec_flv_decoder_add_movie call aborts program. When this will be implemented??? I strongly need your repl...
2007 Apr 16
0
Branch 'as' - 3 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h
...SE); + return klass->foreach (object, func, data); +} + /*** SIMPLIFICATIONS ***/ /** diff --git a/libswfdec/swfdec_as_object.h b/libswfdec/swfdec_as_object.h index cdd98e8..c80aec0 100644 --- a/libswfdec/swfdec_as_object.h +++ b/libswfdec/swfdec_as_object.h @@ -37,6 +37,8 @@ typedef struct _SwfdecAsObjectClass Swfd typedef struct _SwfdecAsVariable SwfdecAsVariable; typedef void (* SwfdecAsVariableSetter) (SwfdecAsObject *object, const SwfdecAsValue *value); typedef void (* SwfdecAsVariableGetter) (SwfdecAsObject *object, SwfdecAsValue *value); +typedef gboolean (* SwfdecAsVariableForeach) (SwfdecAsObj...
2007 May 17
0
Branch 'as' - 8 commits - libswfdec/.gitignore libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_function.c libswfdec/swfdec_as_object.h libswfdec/swfdec_movie.c libswfdec/swfdec_sprite_movie_as.c
...Benjamin Otte <otte at gnome.org> Date: Thu May 17 21:51:35 2007 +0200 typo in comment diff --git a/libswfdec/swfdec_as_object.h b/libswfdec/swfdec_as_object.h index e5fd2a5..c677d51 100644 --- a/libswfdec/swfdec_as_object.h +++ b/libswfdec/swfdec_as_object.h @@ -66,7 +66,7 @@ struct _SwfdecAsObjectClass { void (* mark) (SwfdecAsObject * object); /* object was added to the context */ void (* add) (SwfdecAsObject * object); - /* get the valueand flags for a variables */ + /* get the value and flags for a variables */ gboolean (* get) (SwfdecAsObject * object,...
2007 Aug 20
0
15 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame_internal.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_as_super.c libswfdec/swfdec_as_with.c
...+++ b/libswfdec/swfdec_as_object.h @@ -34,6 +34,12 @@ typedef enum { SWFDEC_AS_VARIABLE_FLASH6_UP = (1 << 7) } SwfdecAsVariableFlag; +typedef enum { + SWFDEC_AS_DELETE_NOT_FOUND = 0, + SWFDEC_AS_DELETE_DELETED, + SWFDEC_AS_DELETE_NOT_DELETED +} SwfdecAsDeleteReturn; + typedef struct _SwfdecAsObjectClass SwfdecAsObjectClass; typedef gboolean (* SwfdecAsVariableForeach) (SwfdecAsObject *object, const char *variable, SwfdecAsValue *value, guint flags, gpointer data); @@ -80,7 +86,7 @@ struct _SwfdecAsObjectClass { guint flags, guint mask); /* delete the variable - return...
2007 Oct 26
0
2 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.h test/trace
...65,6 +65,7 @@ struct _SwfdecAsObject { GHashTable * watches; /* string->WatchData mapping or NULL when not watching anything */ guint8 flags; /* GC flags */ gsize size; /* size reserved in GC */ + GSList * interfaces; /* list of interfaces this object implements */ }; struct _SwfdecAsObjectClass {
2007 Aug 19
0
2 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_as_super.c libswfdec/swfdec_as_with.c libswfdec/swfdec_movie.c libswfdec/swfdec_player.c libswfdec/swfdec_sprite_movie.c
...set; - var->flags = 0; if (set == NULL) var->flags |= SWFDEC_AS_VARIABLE_CONSTANT; } diff --git a/libswfdec/swfdec_as_object.h b/libswfdec/swfdec_as_object.h index 5baec7d..1109110 100644 --- a/libswfdec/swfdec_as_object.h +++ b/libswfdec/swfdec_as_object.h @@ -72,7 +72,8 @@ struct _SwfdecAsObjectClass { /* set the variable - and return it (or NULL on error) */ void (* set) (SwfdecAsObject * object, const char * variable, - const SwfdecAsValue * val); + const SwfdecAsValue * val, + guint default_flags); /* set flags of a variable */ void (* set_flags...
2007 Aug 15
0
4 commits - libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_as_super.c libswfdec/swfdec_as_with.c libswfdec/swfdec_movie.c libswfdec/swfdec_net_stream.c libswfdec/swfdec_sprite_movie.c test/trace
...{ swfdec_as_context_abort (object->context, "Prototype recursion limit exceeded"); diff --git a/libswfdec/swfdec_as_object.h b/libswfdec/swfdec_as_object.h index f82cd9c..265c6cb 100644 --- a/libswfdec/swfdec_as_object.h +++ b/libswfdec/swfdec_as_object.h @@ -65,6 +65,7 @@ struct _SwfdecAsObjectClass { void (* add) (SwfdecAsObject * object); /* get the value and flags for a variables */ gboolean (* get) (SwfdecAsObject * object, + SwfdecAsObject * orig, const char * variable, SwfdecAsValue * val, guint * flags); diff --git a/libs...
2007 Jul 12
0
Branch 'as' - 7 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_as_with.c libswfdec/swfdec_sprite_movie.c test/trace
...ct); + if (klass->resolve == NULL) + return object; + + return klass->resolve (object); +} diff --git a/libswfdec/swfdec_as_object.h b/libswfdec/swfdec_as_object.h index 2c5c1c3..ef818fb 100644 --- a/libswfdec/swfdec_as_object.h +++ b/libswfdec/swfdec_as_object.h @@ -90,6 +90,9 @@ struct _SwfdecAsObjectClass { gboolean (* foreach) (SwfdecAsObject * object, SwfdecAsVariableForeach func, gpointer data); + /* get the real object referenced by this object (useful for internal objects) */ + SwfdecAsObject * (* resolve) (SwfdecAsObject * object); + /* get a debug string representati...
2007 Mar 28
0
Branch 'as' - 3 commits - libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_as_types.c
...ntext, variable); for (i = 0; i < 256 && object != NULL; i++) { diff --git a/libswfdec/swfdec_as_object.h b/libswfdec/swfdec_as_object.h index 581d0f2..0accee4 100644 --- a/libswfdec/swfdec_as_object.h +++ b/libswfdec/swfdec_as_object.h @@ -34,8 +34,8 @@ typedef enum { typedef struct _SwfdecAsObjectClass SwfdecAsObjectClass; #define SWFDEC_TYPE_AS_OBJECT (swfdec_as_object_get_type()) -#define SWFDEC_AS_IS_OBJECT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SWFDEC_TYPE_AS_OBJECT)) -#define SWFDEC_AS_IS_OBJECT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), S...
2007 Jul 04
0
Branch 'as' - 25 commits - libswfdec/Makefile.am libswfdec/swfdec_as_boolean.c libswfdec/swfdec_as_boolean.h libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_function.c
...o = swfdec_as_object_new_empty (context); if (!proto) return; context->Object = object; diff --git a/libswfdec/swfdec_as_object.h b/libswfdec/swfdec_as_object.h index 73f28e2..953e5fb 100644 --- a/libswfdec/swfdec_as_object.h +++ b/libswfdec/swfdec_as_object.h @@ -93,6 +93,7 @@ struct _SwfdecAsObjectClass { GType swfdec_as_object_get_type (void); SwfdecAsObject *swfdec_as_object_new (SwfdecAsContext * context); +SwfdecAsObject *swfdec_as_object_new_empty (SwfdecAsContext * context); SwfdecAsObject *swfdec_as_object_create (SwfdecAsFunction * construct, guint n_args,...
2007 Jul 13
0
12 commits - AUTHORS doc/Makefile.am doc/swfdec-docs.sgml doc/swfdec-sections.txt libswfdec/Makefile.am libswfdec/swfdec_as_array.c libswfdec/swfdec_as_array.h libswfdec/swfdec_as_context.c libswfdec/swfdec_as_function.c libswfdec/swfdec_as_function.h
...er use. + **/ char * swfdec_as_object_get_debug (SwfdecAsObject *object) { diff --git a/libswfdec/swfdec_as_object.h b/libswfdec/swfdec_as_object.h index 8425e0d..d109a72 100644 --- a/libswfdec/swfdec_as_object.h +++ b/libswfdec/swfdec_as_object.h @@ -39,9 +39,6 @@ typedef enum { typedef struct _SwfdecAsObjectClass SwfdecAsObjectClass; typedef gboolean (* SwfdecAsVariableForeach) (SwfdecAsObject *object, const char *variable, SwfdecAsValue *value, guint flags, gpointer data); -typedef SwfdecAsVariableForeach SwfdecAsVariableForeachRemove; -typedef const char *(* SwfdecAsVariableForeachRename) (SwfdecAs...
2007 Jul 18
0
12 commits - configure.ac doc/swfdec-sections.txt libswfdec-gtk/swfdec_playback_alsa.c libswfdec/jpeg libswfdec/Makefile.am libswfdec/swfdec_amf.c libswfdec/swfdec_as_array.c libswfdec/swfdec_as_boolean.h libswfdec/swfdec_as_context.c
...- return klass->delete (object, variable); + return klass->del (object, variable); } /** diff --git a/libswfdec/swfdec_as_object.h b/libswfdec/swfdec_as_object.h index d796518..aab3cf5 100644 --- a/libswfdec/swfdec_as_object.h +++ b/libswfdec/swfdec_as_object.h @@ -80,7 +80,7 @@ struct _SwfdecAsObjectClass { guint flags, guint mask); /* delete the variable - return TRUE if it exists */ - gboolean (* delete) (SwfdecAsObject * object, + gboolean (* del) (SwfdecAsObject * object, const char * variable); /* call with every variable until func returns...
2007 Jun 06
0
Branch 'as' - 13 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h
...flags & SWFDEC_AS_VARIABLE_NATIVE) == 0) SWFDEC_AS_VALUE_SET_BOOLEAN (retval, TRUE); else diff --git a/libswfdec/swfdec_as_object.h b/libswfdec/swfdec_as_object.h index 2fc8704..3ce58c5 100644 --- a/libswfdec/swfdec_as_object.h +++ b/libswfdec/swfdec_as_object.h @@ -80,8 +80,8 @@ struct _SwfdecAsObjectClass { const char * variable, guint flags, guint mask); - /* delete the variable - it does exists */ - void (* delete) (SwfdecAsObject * object, + /* delete the variable - return TRUE if it exists */ + gboolean (* delete) (SwfdecAsObject * object,...
2007 Aug 16
0
Branch 'vivi' - 23 commits - libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_as_super.c libswfdec/swfdec_as_with.c libswfdec/swfdec_movie.c libswfdec/swfdec_net_stream.c libswfdec/swfdec_sprite_movie.c test/trace vivified/core
...{ swfdec_as_context_abort (object->context, "Prototype recursion limit exceeded"); diff --git a/libswfdec/swfdec_as_object.h b/libswfdec/swfdec_as_object.h index f82cd9c..265c6cb 100644 --- a/libswfdec/swfdec_as_object.h +++ b/libswfdec/swfdec_as_object.h @@ -65,6 +65,7 @@ struct _SwfdecAsObjectClass { void (* add) (SwfdecAsObject * object); /* get the value and flags for a variables */ gboolean (* get) (SwfdecAsObject * object, + SwfdecAsObject * orig, const char * variable, SwfdecAsValue * val, guint * flags); diff --git a/libs...
2007 Jul 26
0
17 commits - doc/swfdec-sections.txt libswfdec/compiler.c libswfdec/.gitignore libswfdec/Makefile.am libswfdec/swfdec_asbroadcaster.c libswfdec/swfdec_as_context.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_as_strings.c
..._DONT_ENUM = (1 << 0), SWFDEC_AS_VARIABLE_PERMANENT = (1 << 1), SWFDEC_AS_VARIABLE_READONLY = (1 << 2), - /* internal flags go here */ - SWFDEC_AS_VARIABLE_NATIVE = (1 << 3) + + SWFDEC_AS_VARIABLE_FLASH6_UP = (1 << 7) } SwfdecAsVariableFlag; typedef struct _SwfdecAsObjectClass SwfdecAsObjectClass; diff-tree cfdeb2996fef35060746d10091f74a770e236d0a (from 16190862796df295e3ee8555d5434fb2e348b4b3) Author: Benjamin Otte <otte at gnome.org> Date: Thu Jul 26 16:42:31 2007 +0200 call AsSetPropFlags on AsBroadcaster diff --git a/libswfdec/swfdec_initialize.as b/lib...
2007 Aug 20
0
Branch 'vivi' - 60 commits - libswfdec-gtk/swfdec_gtk_loader.c libswfdec/Makefile.am libswfdec/swfdec_as_array.c libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame_internal.h libswfdec/swfdec_as_interpret.c
...+++ b/libswfdec/swfdec_as_object.h @@ -34,6 +34,12 @@ typedef enum { SWFDEC_AS_VARIABLE_FLASH6_UP = (1 << 7) } SwfdecAsVariableFlag; +typedef enum { + SWFDEC_AS_DELETE_NOT_FOUND = 0, + SWFDEC_AS_DELETE_DELETED, + SWFDEC_AS_DELETE_NOT_DELETED +} SwfdecAsDeleteReturn; + typedef struct _SwfdecAsObjectClass SwfdecAsObjectClass; typedef gboolean (* SwfdecAsVariableForeach) (SwfdecAsObject *object, const char *variable, SwfdecAsValue *value, guint flags, gpointer data); @@ -80,7 +86,7 @@ struct _SwfdecAsObjectClass { guint flags, guint mask); /* delete the variable - return...
2007 Apr 04
0
Branch 'as' - 17 commits - configure.ac doc/Makefile.am doc/swfdec-docs.sgml doc/swfdec-sections.txt doc/swfdec.types libswfdec-gtk/Makefile.am libswfdec-gtk/swfdec-gtk.h libswfdec-gtk/swfdec_gtk_loader.c libswfdec-gtk/swfdec_gtk_loader.h
...ject.h index 0accee4..6462784 100644 --- a/libswfdec/swfdec_as_object.h +++ b/libswfdec/swfdec_as_object.h @@ -22,6 +22,7 @@ #include <glib-object.h> #include <libswfdec/swfdec_as_types.h> +#include <libswfdec/swfdec_types.h> G_BEGIN_DECLS @@ -40,6 +41,8 @@ typedef struct _SwfdecAsObjectClass Swfd #define SWFDEC_AS_OBJECT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SWFDEC_TYPE_AS_OBJECT, SwfdecAsObjectClass)) #define SWFDEC_AS_OBJECT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SWFDEC_TYPE_AS_OBJECT, SwfdecAsObjectClass)) +#define SWFDEC_AS_OBJECT_HAS_CO...