[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog server/vm/action.cpp
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog server/vm/action.cpp |
Date: |
Thu, 20 Sep 2007 20:33:07 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 07/09/20 20:33:07
Modified files:
. : ChangeLog
server/vm : action.cpp
Log message:
* server/vm/action.cpp (call_method): add more info to the
exception
derived from attempts to call a value which is neither a C
nor an AS
function.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.4364&r2=1.4365
http://cvs.savannah.gnu.org/viewcvs/gnash/server/vm/action.cpp?cvsroot=gnash&r1=1.27&r2=1.28
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.4364
retrieving revision 1.4365
diff -u -b -r1.4364 -r1.4365
--- ChangeLog 20 Sep 2007 20:20:36 -0000 1.4364
+++ ChangeLog 20 Sep 2007 20:33:07 -0000 1.4365
@@ -1,5 +1,8 @@
2007-09-21 Sandro Santilli <address@hidden>
+ * server/vm/action.cpp (call_method): add more info to the exception
+ derived from attempts to call a value which is neither a C nor an AS
+ function.
* server/sprite_instance.cpp (goto_frame): wait for target frame
even if we won't push any action. Fixes bug #21126.
Index: server/vm/action.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/vm/action.cpp,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -b -r1.27 -r1.28
--- server/vm/action.cpp 19 Sep 2007 14:20:51 -0000 1.27
+++ server/vm/action.cpp 20 Sep 2007 20:33:07 -0000 1.28
@@ -156,7 +156,12 @@
}
else
{
- throw ActionException(_("Attempt to call a value which
is neither a C nor an ActionScript function"));
+ char buf[256];
+ snprintf(buf, 256, _("Attempt to call a value which is
neither a C nor an ActionScript function (%s)"),
+ method.to_debug_string().c_str());
+ buf[255] = '\0';
+
+ throw ActionException(buf);
}
}
catch (ActionException& ex)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] gnash ChangeLog server/vm/action.cpp,
Sandro Santilli <=