search for: blocked_by

Displaying 4 results from an estimated 4 matches for "blocked_by".

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
...#include <string.h> -#include "swfdec_listener.h" -#include "swfdec_as_context.h" -#include "swfdec_as_object.h" -#include "swfdec_debug.h" - -typedef struct { - SwfdecAsObject * object; /* the object we care about or NULL if empty */ - const char * blocked_by; /* string of event we're about to execute */ - gboolean removed; /* TRUE if was removed but is blocked */ -} SwfdecListenerEntry; - -struct _SwfdecListener { - SwfdecAsContext * context; - /* we can't use GArray here because it reallocated below us, which JS_AddRoot doesn't like...
2005 Aug 04
0
[PATCH 6/11] Xenstore watch rework
...ry_safe(i, tmp, &connections, list) { - if (!i->blocked) - continue; - - if (!transaction_covering_node(i->blocked)) { - talloc_free(i->blocked); - i->blocked = NULL; - consider_message(i); + switch (i->state) { + case BLOCKED: + if (!transaction_covering_node(i->blocked_by)) { + talloc_free(i->blocked_by); + i->blocked_by = NULL; + i->state = OK; + consider_message(i); + } + break; + case OK: + break; } } @@ -1294,7 +1368,8 @@ if (!new) return NULL; - new->blocked = false; + new->state = OK; + new->blocked_by = NULL;...
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
...struct { - JSObject * object; /* the object we care about or NULL if empty */ - gboolean blocked :1; /* TRUE if may not be removed */ - gboolean removed :1; /* TRUE if was removed but is blocked */ + SwfdecAsObject * object; /* the object we care about or NULL if empty */ + const char * blocked_by; /* string of event we're about to execute */ + gboolean removed; /* TRUE if was removed but is blocked */ } SwfdecListenerEntry; struct _SwfdecListener { - SwfdecPlayer * player; + SwfdecAsContext * context; /* we can't use GArray here because it reallocated below us, which J...
2007 Apr 12
0
Branch 'as' - 15 commits - 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 libswfdec/swfdec_as_function.h libswfdec/swfdec_as_interpret.c
...libswfdec/swfdec_listener.c b/libswfdec/swfdec_listener.c index b4495e7..b2021f0 100644 --- a/libswfdec/swfdec_listener.c +++ b/libswfdec/swfdec_listener.c @@ -135,7 +135,7 @@ swfdec_listener_execute (SwfdecListener listener->entries[i].removed = FALSE; } listener->entries[i].blocked_by = NULL; - swfdec_as_object_call (obj, event, 0, NULL); + swfdec_as_object_call (obj, event, 0, NULL, NULL); } } } diff --git a/libswfdec/swfdec_movie.c b/libswfdec/swfdec_movie.c index 3b6a726..e627130 100644 --- a/libswfdec/swfdec_movie.c +++ b/libswfdec/swfdec_movie.c @@ -410,7...