gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-


From: Benjamin Wolsey
Subject: [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-452-ge5de26f
Date: Fri, 08 Jul 2011 08:06:39 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnash".

The branch, master has been updated
       via  e5de26fb745a8e62514af77732e25119a555bbef (commit)
       via  b4a8554a46a5d8cd4cb48970b595903ad2bae21f (commit)
      from  cbd2c943540042c175f8a07cb0d21a06fafc3098 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit//commit/?id=e5de26fb745a8e62514af77732e25119a555bbef


commit e5de26fb745a8e62514af77732e25119a555bbef
Author: Benjamin Wolsey <address@hidden>
Date:   Fri Jul 8 10:04:55 2011 +0200

    Add click.mp3 to dist.

diff --git a/testsuite/media/Makefile.am b/testsuite/media/Makefile.am
index 2ce11ea..2f156e6 100644
--- a/testsuite/media/Makefile.am
+++ b/testsuite/media/Makefile.am
@@ -29,6 +29,7 @@ EXTRA_DIST = \
        sound1.wav \
        sound1.mp3 \
        mono44.mp2 \
+       click.mp3 \
        stereo8.mp3 \
        square.flv \
        square.ogg \

http://git.savannah.gnu.org/cgit//commit/?id=b4a8554a46a5d8cd4cb48970b595903ad2bae21f


commit b4a8554a46a5d8cd4cb48970b595903ad2bae21f
Author: Benjamin Wolsey <address@hidden>
Date:   Fri Jul 8 09:43:13 2011 +0200

    Move QueuedEvent to where it's needed.

diff --git a/libcore/MovieClip.cpp b/libcore/MovieClip.cpp
index 5e74fd4..a005f98 100644
--- a/libcore/MovieClip.cpp
+++ b/libcore/MovieClip.cpp
@@ -96,7 +96,7 @@ namespace {
 /// Its execution will call constructAsScriptObject() 
 /// on the target movieclip
 ///
-class ConstructEvent: public ExecutableCode
+class ConstructEvent : public ExecutableCode
 {
 public:
 
@@ -111,6 +111,28 @@ public:
 
 };
 
+/// Generic event  (constructed by id, invoked using notifyEvent
+class QueuedEvent : public ExecutableCode
+{
+public:
+
+    QueuedEvent(MovieClip* nTarget, const event_id& id)
+        :
+        ExecutableCode(nTarget),
+        _eventId(id)
+    {}
+
+    virtual void execute() {
+        // don't execute any events for destroyed DisplayObject.
+        if (!target()->isDestroyed()) {
+            static_cast<MovieClip*>(target())->notifyEvent(_eventId);
+        }
+    }
+
+private:
+    const event_id _eventId;
+};
+
 /// Find a DisplayObject hit by the given coordinates.
 //
 /// This class takes care about taking masks layers into
diff --git a/libcore/vm/ExecutableCode.h b/libcore/vm/ExecutableCode.h
index 6023536..9d46287 100644
--- a/libcore/vm/ExecutableCode.h
+++ b/libcore/vm/ExecutableCode.h
@@ -128,28 +128,6 @@ private:
     BufferList _buffers;
 };
 
-/// Generic event  (constructed by id, invoked using notifyEvent
-class QueuedEvent : public ExecutableCode
-{
-public:
-
-    QueuedEvent(MovieClip* nTarget, const event_id& id)
-        :
-        ExecutableCode(nTarget),
-        _eventId(id)
-    {}
-
-    virtual void execute() {
-        // don't execute any events for destroyed DisplayObject.
-        if (!target()->isDestroyed()) {
-            static_cast<MovieClip*>(target())->notifyEvent(_eventId);
-        }
-    }
-
-private:
-    const event_id _eventId;
-};
-
 /// This class is used to queue a function call action
 //
 /// Exact use is to queue onLoadInit, which should be invoked

-----------------------------------------------------------------------

Summary of changes:
 libcore/MovieClip.cpp       |   24 +++++++++++++++++++++++-
 libcore/vm/ExecutableCode.h |   22 ----------------------
 testsuite/media/Makefile.am |    1 +
 3 files changed, 24 insertions(+), 23 deletions(-)


hooks/post-receive
-- 
Gnash



reply via email to

[Prev in Thread] Current Thread [Next in Thread]