gnash-commit
[Top][All Lists]
Advanced

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

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


From: Sandro Santilli
Subject: [Gnash-commit] gnash ChangeLog server/action.cpp server/action...
Date: Mon, 16 Oct 2006 12:12:08 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  06/10/16 12:12:08

Modified files:
        .              : ChangeLog 
        server         : action.cpp action.h sprite_instance.cpp 
        testsuite/misc-ming.all: Makefile.am 

Log message:
                * server/: action.cpp, action.h: added ROLLOVER and ROLLOUT 
standard
                  members.
                * server/sprite_instance.cpp: set and get ROLLOVER and ROLLOUT
                  events within get_member and set_member (fixes 
RollOverOutTest)
                * testsuite/misc-ming.all/Makefile.am: enable 
RollOverOutTest-Runner
                  on 'make check'

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.1232&r2=1.1233
http://cvs.savannah.gnu.org/viewcvs/gnash/server/action.cpp?cvsroot=gnash&r1=1.103&r2=1.104
http://cvs.savannah.gnu.org/viewcvs/gnash/server/action.h?cvsroot=gnash&r1=1.44&r2=1.45
http://cvs.savannah.gnu.org/viewcvs/gnash/server/sprite_instance.cpp?cvsroot=gnash&r1=1.64&r2=1.65
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/Makefile.am?cvsroot=gnash&r1=1.24&r2=1.25

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.1232
retrieving revision 1.1233
diff -u -b -r1.1232 -r1.1233
--- ChangeLog   16 Oct 2006 12:01:39 -0000      1.1232
+++ ChangeLog   16 Oct 2006 12:12:07 -0000      1.1233
@@ -1,5 +1,11 @@
 2006-10-16 Sandro Santilli <address@hidden>
 
+       * server/: action.cpp, action.h: added ROLLOVER and ROLLOUT standard
+         members.
+       * server/sprite_instance.cpp: set and get ROLLOVER and ROLLOUT
+         events within get_member and set_member (fixes RollOverOutTest)
+       * testsuite/misc-ming.all/Makefile.am: enable RollOverOutTest-Runner
+         on 'make check'
        * testsuite/misc-ming.all/: Makefile.am, RollOverOutTest-Runner.cpp,
          RollOverOutTest.c: new test for RollOver and RollOut events
        * testsuite/misc-ming.all/ming_utils.{c,h}: added make_fill_square()

Index: server/action.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/action.cpp,v
retrieving revision 1.103
retrieving revision 1.104
diff -u -b -r1.103 -r1.104
--- server/action.cpp   15 Oct 2006 14:26:05 -0000      1.103
+++ server/action.cpp   16 Oct 2006 12:12:07 -0000      1.104
@@ -609,6 +609,8 @@
        s_standard_member_map.add("textWidth", M_TEXTWIDTH);
        s_standard_member_map.add("textColor", M_TEXTCOLOR);
        s_standard_member_map.add("onLoad", M_ONLOAD);
+       s_standard_member_map.add("onRollOver", M_ONROLLOVER);
+       s_standard_member_map.add("onRollOut", M_ONROLLOUT);
     }
     
     as_standard_member result = M_INVALID_MEMBER;

Index: server/action.h
===================================================================
RCS file: /sources/gnash/gnash/server/action.h,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -b -r1.44 -r1.45
--- server/action.h     29 Sep 2006 04:19:34 -0000      1.44
+++ server/action.h     16 Oct 2006 12:12:07 -0000      1.45
@@ -274,6 +274,8 @@
                M_TEXTWIDTH,
                M_TEXTCOLOR,
                M_ONLOAD,
+               M_ONROLLOVER,
+               M_ONROLLOUT,
 
                AS_STANDARD_MEMBER_COUNT
        };

Index: server/sprite_instance.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/sprite_instance.cpp,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -b -r1.64 -r1.65
--- server/sprite_instance.cpp  12 Oct 2006 21:47:52 -0000      1.64
+++ server/sprite_instance.cpp  16 Oct 2006 12:12:07 -0000      1.65
@@ -920,6 +920,14 @@
            // Optimization: if no hit, don't bother looking in the display 
list, etc.
            return false;
        }
+               case M_ONROLLOVER:
+               {
+                       return get_event_handler(event_id::ROLL_OVER, val);
+               }
+               case M_ONROLLOUT:
+               {
+                       return get_event_handler(event_id::ROLL_OUT, val);
+               }
        }       // end switch
 
        // Try variables.
@@ -1348,6 +1356,16 @@
 //                             val->set(0.0);
                    return;
                }
+               case M_ONROLLOVER:
+               {
+                       set_event_handler(event_id::ROLL_OVER, val);
+                       return;
+               }
+               case M_ONROLLOUT:
+               {
+                       set_event_handler(event_id::ROLL_OUT, val);
+                       return;
+               }
        }       // end switch
 
        // Not a built-in property.  See if we have a

Index: testsuite/misc-ming.all/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/Makefile.am,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -b -r1.24 -r1.25
--- testsuite/misc-ming.all/Makefile.am 16 Oct 2006 12:01:39 -0000      1.24
+++ testsuite/misc-ming.all/Makefile.am 16 Oct 2006 12:12:08 -0000      1.25
@@ -162,7 +162,9 @@
        -rm *.swf media
 
 TEST_DRIVERS = ming.exp
-TEST_CASES = DefineEditTextVariableNameTest-Runner
+TEST_CASES = \
+       DefineEditTextVariableNameTest-Runner \
+       RollOverOutTest-Runner
 
 check-DEJAGNU: site-update $(check_PROGRAMS)
        @runtest=$(RUNTEST); \




reply via email to

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