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: Sandro Santilli
Subject: [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-1798-g0a6cff3
Date: Mon, 30 Sep 2013 17:36:35 +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  0a6cff3ac38dba6b08536f627029bf59b485f404 (commit)
      from  94fa4689a92a05751f2337c70035b896c1c769eb (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=0a6cff3ac38dba6b08536f627029bf59b485f404


commit 0a6cff3ac38dba6b08536f627029bf59b485f404
Author: Sandro Santilli <address@hidden>
Date:   Mon Sep 30 19:36:22 2013 +0200

    Tabs to spaces

diff --git a/testsuite/misc-mtasc.all/level5.as 
b/testsuite/misc-mtasc.all/level5.as
index 2241fe5..2cc2ee7 100644
--- a/testsuite/misc-mtasc.all/level5.as
+++ b/testsuite/misc-mtasc.all/level5.as
@@ -25,62 +25,62 @@
 
 class Level5
 {
-       static function main(mc)
-       {
-                check_equals(mc._currentframe, 1);
+  static function main(mc)
+  {
+    check_equals(mc._currentframe, 1);
 
-                check(_level0.frameno >= 1);
+    check(_level0.frameno >= 1);
 
-                // Check our depth
-               check_equals(mc.getDepth(), -16379);
+    // Check our depth
+    check_equals(mc.getDepth(), -16379);
 
-                // The ""+ is there to force conversion to a string
-                check_equals(""+mc, "_level5");
+    // The ""+ is there to force conversion to a string
+    check_equals(""+mc, "_level5");
 
-                // Mc level is _level0 ? why ? 
-                check_equals(mc._level, _level0);
+    // Mc level is _level0 ? why ? 
+    check_equals(mc._level, _level0);
 
-                // check that we can acess back to _level0
-                check_equals(_level0.testvar, 1239);
+    // check that we can acess back to _level0
+    check_equals(_level0.testvar, 1239);
 
-                // check that we can modify vars on our own level
-                check_equals(_level5.testvar, undefined);
-                _level5.testvar = 6789;
-                check_equals(_level5.testvar, 6789);
+    // check that we can modify vars on our own level
+    check_equals(_level5.testvar, undefined);
+    _level5.testvar = 6789;
+    check_equals(_level5.testvar, 6789);
 
-                // check that we can modify vars on _level0
-                check_equals(_level0.testvar2, undefined);
-                _level0.testvar2 = true;
-                check_equals(_level0.testvar2, true);
+    // check that we can modify vars on _level0
+    check_equals(_level0.testvar2, undefined);
+    _level0.testvar2 = true;
+    check_equals(_level0.testvar2, true);
 
-               _level5.onUnload = function()
-               {
-                       check(false); // should not be executed
-                       note("Unloading "+this);
-               }
+    _level5.onUnload = function()
+    {
+      check(false); // should not be executed
+      note("Unloading "+this);
+    }
 
-               mc.createEmptyMovieClip("ch", 1);
-               with(mc.ch)
-               {
-                       lineStyle(1, 0x00000);
-                       beginFill(0xFF0000, 80);
-                       var x=200;
-                       var y=200;
-                       var width=100;
-                       var height=100;
-                       moveTo(x, y);
-                       lineTo(x+width, y);
-                       lineTo(x+width, y+height);
-                       lineTo(x, y+height);
-                       lineTo(x, y);
-                       endFill();
-               };
+    mc.createEmptyMovieClip("ch", 1);
+    with(mc.ch)
+    {
+      lineStyle(1, 0x00000);
+      beginFill(0xFF0000, 80);
+      var x=200;
+      var y=200;
+      var width=100;
+      var height=100;
+      moveTo(x, y);
+      lineTo(x+width, y);
+      lineTo(x+width, y+height);
+      lineTo(x, y+height);
+      lineTo(x, y);
+      endFill();
+    };
 
-                check_equals(mc.ch._target, "_level5/ch");
+    check_equals(mc.ch._target, "_level5/ch");
 
-                // load yet another swf
-                getURL("level99.swf","_level"+99);
+    // load yet another swf
+    getURL("level99.swf","_level"+99);
 
-               getURL("level87.swf", "_level87");
-       }
+    getURL("level87.swf", "_level87");
+  }
 }
diff --git a/testsuite/misc-mtasc.all/level87.as 
b/testsuite/misc-mtasc.all/level87.as
index 7e1aa0f..e5c2c57 100644
--- a/testsuite/misc-mtasc.all/level87.as
+++ b/testsuite/misc-mtasc.all/level87.as
@@ -25,52 +25,52 @@
 
 class Level87
 {
-       static function main(mc)
-       {
-               mc.createEmptyMovieClip("ch", 1);
-               with(mc.ch)
-               {
-                       lineStyle(1, 0x00000);
-                       beginFill(0xFFFF00, 80);
-                       var x=220;
-                       var y=170;
-                       var width=100;
-                       var height=100;
-                       moveTo(x, y);
-                       lineTo(x+width, y);
-                       lineTo(x+width, y+height);
-                       lineTo(x, y+height);
-                       lineTo(x, y);
-                       endFill();
-               };
+  static function main(mc)
+  {
+    mc.createEmptyMovieClip("ch", 1);
+    with(mc.ch)
+    {
+      lineStyle(1, 0x00000);
+      beginFill(0xFFFF00, 80);
+      var x=220;
+      var y=170;
+      var width=100;
+      var height=100;
+      moveTo(x, y);
+      lineTo(x+width, y);
+      lineTo(x+width, y+height);
+      lineTo(x, y+height);
+      lineTo(x, y);
+      endFill();
+    };
 
-                check_equals(mc._currentframe, 1);
+    check_equals(mc._currentframe, 1);
 
-                // Check our depth
-               check_equals(mc.getDepth(), -16297);
+    // Check our depth
+    check_equals(mc.getDepth(), -16297);
 
-                // The ""+ is there to force conversion to a string
-                check_equals(""+mc, "_level87");
+    // The ""+ is there to force conversion to a string
+    check_equals(""+mc, "_level87");
 
-               if (_level0.level87loaded )
-               {
-                       check(_level0.frameno >= 3);
+    if (_level0.level87loaded )
+    {
+      check(_level0.frameno >= 3);
 
-                       check_equals(typeof(_level5), 'undefined');
-                       return;
-               }
+      check_equals(typeof(_level5), 'undefined');
+      return;
+    }
 
-               _level0.level87loaded = true;
+    _level0.level87loaded = true;
 
-                       check(_level0.frameno >= 2);
+    check(_level0.frameno >= 2);
 
-               // This one fails because gnash is executing code
-               // in level99 before code in the first load of level87,
-               // probably because it is *loading* level99 before level87,
-               // which is in the order loads are requested rather then
-               // reverse of it as it's common...
-                check_equals(_level5._currentframe, 1);
+    // This one fails because gnash is executing code
+    // in level99 before code in the first load of level87,
+    // probably because it is *loading* level99 before level87,
+    // which is in the order loads are requested rather then
+    // reverse of it as it's common...
+    check_equals(_level5._currentframe, 1);
 
-               _level87.loadMovie("level87.swf");
-       }
+    _level87.loadMovie("level87.swf");
+  }
 }
diff --git a/testsuite/misc-mtasc.all/levels.as 
b/testsuite/misc-mtasc.all/levels.as
index f1a074d..6ea7d34 100644
--- a/testsuite/misc-mtasc.all/levels.as
+++ b/testsuite/misc-mtasc.all/levels.as
@@ -25,28 +25,28 @@
 
 class LevelsMain
 {
-       static function main(mc)
-       {
-                // create a var that other swfs can test
-                _level0.testvar = 1239;
+  static function main(mc)
+  {
+    // create a var that other swfs can test
+    _level0.testvar = 1239;
 
-                var test = new LevelsMain();
-                test.run();
+    var test = new LevelsMain();
+    test.run();
 
-                // Check our depth
-               check_equals(mc.getDepth(), -16384);
+    // Check our depth
+    check_equals(mc.getDepth(), -16384);
 
-                // The ""+ is there to force conversion to a string
-                check_equals(""+mc, "_level0");
+    // The ""+ is there to force conversion to a string
+    check_equals(""+mc, "_level0");
 
-               mc.onEnterFrame = function ()
-               {
-                       this.frameno++;
-               }
-       }
+    mc.onEnterFrame = function ()
+    {
+      this.frameno++;
+    }
+  }
 
-        function run() {
-            trace("main class running");
-            getURL("level5.swf","_level"+5);
-        }
+  function run() {
+    trace("main class running");
+    getURL("level5.swf","_level"+5);
+  }
 }

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

Summary of changes:
 testsuite/misc-mtasc.all/level5.as  |   92 +++++++++++++++++-----------------
 testsuite/misc-mtasc.all/level87.as |   78 +++++++++++++++---------------
 testsuite/misc-mtasc.all/levels.as  |   38 +++++++-------
 3 files changed, 104 insertions(+), 104 deletions(-)


hooks/post-receive
-- 
Gnash



reply via email to

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