gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash ChangeLog server/edit_text_character.cpp ... [relea


From: Sandro Santilli
Subject: [Gnash-commit] gnash ChangeLog server/edit_text_character.cpp ... [release_0_7_2]
Date: Mon, 13 Nov 2006 14:34:21 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Branch:         release_0_7_2
Changes by:     Sandro Santilli <strk>  06/11/13 14:34:21

Modified files:
        .              : ChangeLog 
        server         : edit_text_character.cpp 
        testsuite/misc-ming.all: DefineEditTextVariableNameTest.c 

Log message:
                * server/edit_text_character.cpp: have M_TEXT member getter
                  use get_text_value (so to get a chance of registering
                  variable name)
                * testsuite/misc-ming.all/DefineEditTextVariableNameTest.c:
                  change last expected failures to successes.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&only_with_tag=release_0_7_2&r1=1.1412.2.162&r2=1.1412.2.163
http://cvs.savannah.gnu.org/viewcvs/gnash/server/edit_text_character.cpp?cvsroot=gnash&only_with_tag=release_0_7_2&r1=1.22.2.6&r2=1.22.2.7
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/DefineEditTextVariableNameTest.c?cvsroot=gnash&only_with_tag=release_0_7_2&r1=1.7.2.3&r2=1.7.2.4

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.1412.2.162
retrieving revision 1.1412.2.163
diff -u -b -r1.1412.2.162 -r1.1412.2.163
--- ChangeLog   13 Nov 2006 14:22:29 -0000      1.1412.2.162
+++ ChangeLog   13 Nov 2006 14:34:21 -0000      1.1412.2.163
@@ -1,5 +1,13 @@
 2006-11-13 Sandro Santilli <address@hidden>
 
+       * server/edit_text_character.cpp: have M_TEXT member getter
+         use get_text_value (so to get a chance of registering
+         variable name)
+       * testsuite/misc-ming.all/DefineEditTextVariableNameTest.c:
+         change last expected failures to successes.
+
+2006-11-13 Sandro Santilli <address@hidden>
+
        * testsuite/misc-ming.all/Makefile.am:
          make sure DefineEditTextVariableNameTest-Runner is created prior
          to use.

Index: server/edit_text_character.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/edit_text_character.cpp,v
retrieving revision 1.22.2.6
retrieving revision 1.22.2.7
diff -u -b -r1.22.2.6 -r1.22.2.7
--- server/edit_text_character.cpp      13 Nov 2006 14:02:24 -0000      1.22.2.6
+++ server/edit_text_character.cpp      13 Nov 2006 14:34:21 -0000      1.22.2.7
@@ -3,7 +3,7 @@
 // This source code has been donated to the Public Domain.  Do
 // whatever you want with it.
 
-/* $Id: edit_text_character.cpp,v 1.22.2.6 2006/11/13 14:02:24 strk Exp $ */
+/* $Id: edit_text_character.cpp,v 1.22.2.7 2006/11/13 14:34:21 strk Exp $ */
 
 #include "utf8.h"
 #include "log.h"
@@ -412,7 +412,7 @@
        case M_TEXT:
                //if (name == "text")
        {
-               val->set_tu_string(m_text);
+               val->set_tu_string(get_text_value());
                return true;
        }
        case M_VISIBLE:

Index: testsuite/misc-ming.all/DefineEditTextVariableNameTest.c
===================================================================
RCS file: 
/sources/gnash/gnash/testsuite/misc-ming.all/DefineEditTextVariableNameTest.c,v
retrieving revision 1.7.2.3
retrieving revision 1.7.2.4
diff -u -b -r1.7.2.3 -r1.7.2.4
--- testsuite/misc-ming.all/DefineEditTextVariableNameTest.c    13 Nov 2006 
12:59:09 -0000      1.7.2.3
+++ testsuite/misc-ming.all/DefineEditTextVariableNameTest.c    13 Nov 2006 
14:34:21 -0000      1.7.2.4
@@ -292,7 +292,7 @@
 
        set_text(mo, "Hi", "mc2", varName2);
        shift_horizontally(mo, varName2, 10);
-       check_equals(mo, "mc2.textfield.text", "'Hi'", 1);
+       check_equals(mo, "mc2.textfield.text", "'Hi'", 0); 
        check_equals(mo, varName2, "'Hi'", 0);
        check_equals(mo, "mc2.textfield._x", "150", 0);
 
@@ -306,7 +306,7 @@
 
        set_text(mo, "There", "mc2", varName2);
        shift_horizontally(mo, varName2, 10);
-       check_equals(mo, "mc2.textfield.text", "'There'", 1);
+       check_equals(mo, "mc2.textfield.text", "'There'", 0);
        check_equals(mo, varName2, "'There'", 0);
        check_equals(mo, "mc2.textfield._x", "150", 0);
 
@@ -320,7 +320,7 @@
 
        set_text(mo, "", "mc2", varName2);
        shift_horizontally(mo, varName2, 10);
-       check_equals(mo, "mc2.textfield.text", "''", 1);
+       check_equals(mo, "mc2.textfield.text", "''", 0);
        check_equals(mo, varName2, "''", 0);
        check_equals(mo, "mc2.textfield._x", "150", 0);
 




reply via email to

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