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_start-


From: Sandro Santilli
Subject: [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_start-427-g9c79a41
Date: Tue, 29 Mar 2011 22:16:01 +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  9c79a4142f841cb587053fa68a77aea12a3d8eb0 (commit)
      from  4250f74aa729f436becf092523d85b42590677eb (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=9c79a4142f841cb587053fa68a77aea12a3d8eb0


commit 9c79a4142f841cb587053fa68a77aea12a3d8eb0
Author: Sandro Santilli <address@hidden>
Date:   Wed Mar 30 00:14:56 2011 +0200

    Handle ActionLimit exceptions thrown during movie advancement like the 
others, that is virtually asking user if he wants to abort execution.

diff --git a/libcore/movie_root.cpp b/libcore/movie_root.cpp
index c1b8776..2383cff 100644
--- a/libcore/movie_root.cpp
+++ b/libcore/movie_root.cpp
@@ -861,8 +861,11 @@ movie_root::advance()
     catch (const ActionLimitException& al) {
         // The PP does not disable scripts when the stack limit is reached,
         // but rather struggles on. 
-        log_error(_("Action limit hit during advance: %s"), al.what());
-        clear(_actionQueue);
+        // TODO: find a test case for this, if confirmed fix accordingly
+        boost::format fmt = boost::format(
+            _("ActionLimits hit during advance: %1%. Disable scripts ? "))
+            % al.what();
+        handleActionLimitHit(fmt.str());
     }
     catch (const ActionParserException& e) {
         log_error(_("Buffer overread during advance: %s"), e.what());

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

Summary of changes:
 libcore/movie_root.cpp |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Gnash



reply via email to

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