gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash ChangeLog server/impl.cpp


From: Sandro Santilli
Subject: [Gnash-commit] gnash ChangeLog server/impl.cpp
Date: Thu, 23 Nov 2006 16:19:22 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  06/11/23 16:19:22

Modified files:
        .              : ChangeLog 
        server         : impl.cpp 

Log message:
                * server/impl.cpp (set_current_root): don't allow multiple calls
                  to this function, we're not read for it yet.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.1724&r2=1.1725
http://cvs.savannah.gnu.org/viewcvs/gnash/server/impl.cpp?cvsroot=gnash&r1=1.75&r2=1.76

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.1724
retrieving revision 1.1725
diff -u -b -r1.1724 -r1.1725
--- ChangeLog   23 Nov 2006 15:45:42 -0000      1.1724
+++ ChangeLog   23 Nov 2006 16:19:22 -0000      1.1725
@@ -1,5 +1,7 @@
 2006-11-23 Sandro Santilli <address@hidden>
 
+       * server/impl.cpp (set_current_root): don't allow multiple calls
+         to this function, we're not read for it yet.
        * testsuite/actionscript.all/Object.as: object members are
          case-sensitive starting at SWF7 !
        * testsuite/actionscript.all/Date.as: method names are case-sensitive

Index: server/impl.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/impl.cpp,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -b -r1.75 -r1.76
--- server/impl.cpp     21 Nov 2006 00:25:46 -0000      1.75
+++ server/impl.cpp     23 Nov 2006 16:19:22 -0000      1.76
@@ -18,7 +18,7 @@
 //
 //
 
-/* $Id: impl.cpp,v 1.75 2006/11/21 00:25:46 strk Exp $ */
+/* $Id: impl.cpp,v 1.76 2006/11/23 16:19:22 strk Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -637,6 +637,18 @@
 void set_current_root(sprite_instance* m)
 {
     assert(m != NULL);
+
+    // We don't want to change root, do we ?
+    // The rationale is that the "root" movie
+    // drives the whole runtime environment, as
+    // it dictates the "target" compatibility
+    // version.
+    // When this whole crap will be cleaned up
+    // (ie: allow multiple run environment rather
+    // then polluting the global namespace) we
+    // will have better experiences in this reguard.
+    assert(s_current_root == NULL);
+
     s_current_root = m;
 }
 




reply via email to

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